. */ // hide all error error_reporting(0); ini_set('max_execution_time', 300); if (!isset($_SESSION["mikhmon"])) { header("Location:../admin.php?id=login"); } else { if ($prof == "all") { $getuser = $API->comm("/ip/hotspot/user/print"); $TotalReg = count($getuser); $counttuser = $API->comm("/ip/hotspot/user/print", array( "count-only" => "" )); } elseif ($prof != "all") { $getuser = $API->comm("/ip/hotspot/user/print", array( "?profile" => "$prof", )); $TotalReg = count($getuser); $counttuser = $API->comm("/ip/hotspot/user/print", array( "count-only" => "", "?profile" => "$prof", )); } if ($comm != "") { $getuser = $API->comm("/ip/hotspot/user/print", array( "?comment" => "$comm", //"?uptime" => "00:00:00" )); $TotalReg = count($getuser); $counttuser = $API->comm("/ip/hotspot/user/print", array( "count-only" => "", "?comment" => "$comm", )); } $exp = $_GET['exp']; if ($exp != "") { $getuser = $API->comm("/ip/hotspot/user/print", array( "?limit-uptime" => "1s", )); $counttuser = $API->comm("/ip/hotspot/user/print", array( "count-only" => "", "?limit-uptime" => "1s", )); } $getprofile = $API->comm("/ip/hotspot/user/profile/print"); $TotalReg2 = count($getprofile); } ?>

window.location='./?hotspot=users&profile=all&session=" . $session . ""; } ?>   |     |     |   &export=script" title="Download User List as Mikrotik Script"> Script  |   &export=csv" title="Download User List as CSV"> CSV  

"; ?> '; } else { $uriprocess = "'./?disable-hotspot-user=" . $uid . "&session=" . $session."'"; echo ''; } echo ""; if ($uname == $upass) { $usermode = "vc"; } else { $usermode = "up"; } $popup = "javascript:window.open('./voucher/print.php?user=" . $usermode . "-" . $uname . "&qr=no&session=" . $session . "','_blank','width=320,height=550').print();"; $popupQR = "javascript:window.open('./voucher/print.php?user=" . $usermode . "-" . $uname . "&qr=yes&session=" . $session . "','_blank','width=320,height=550').print();"; echo "'; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } ?>
Server Print Mac Address Bytes In Bytes Out
       " . $userver . " " . $uname . " "; echo '   " . $uprofile . "" . $umacadd . "" . $uuptime . "" . $ubytesi . "" . $ubyteso . ""; if ($uname == "default-trial") { } else if (substr($ucomment,0,3) == "vc-" || substr($ucomment,0,3) == "up-") { echo " ". $ucomment." ". $udatalimit ." ".$utimelimit . ""; } else if ($utimelimit == ' expired') { echo " " . $ucomment." ". $udatalimit ." ".$utimelimit . ""; }else{ echo $ucomment.' '; } echo "