. */ // 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", )); } } ?>
| /ip hotspot user | add name="' . $uname . '" password="' . $upass . '" profile="' . $uprofile . '" ' . $comment . ' ' . $timelimit . ' ' . $datalimit . ' | '; } } else if ($_GET['export'] == "csv") { ?>||||
| Username | Password | Profile | Time Limit | Data Limit | Comment | ' . $uname . ' | ' . $upass . ' | ' . $uprofile . ' | ' . $utimelimit . ' | ' . $udatalimit . ' | ' . $ucomment . ' | '; } } ?>
|---|