.
*/
// hide all error
error_reporting(0);
if (!isset($_SESSION["mikhmon"])) {
header("Location:../admin.php?id=login");
} else {
// array color
$color = array('1' => 'bg-blue', 'bg-indigo', 'bg-purple', 'bg-pink', 'bg-red', 'bg-yellow', 'bg-green', 'bg-teal', 'bg-cyan', 'bg-grey', 'bg-light-blue');
?>
Profile : all
comm("/ip/hotspot/user/print", array("count-only" => ""));
if ($countuser < 2) {
echo $countuser . " Item";
} elseif ($countuser > 1) {
echo $countuser . " Items";
}
?>
= $_open ?>
= $_generate ?>
comm("/ip/hotspot/user/profile/print");
$TotalReg = count($getprofile);
for ($i = 0; $i < $TotalReg; $i++) {
$profiledetalis = $getprofile[$i];
$pname = $profiledetalis['name'];
?>
Profile : = $pname; ?>
comm("/ip/hotspot/user/print", array("count-only" => "", "?profile" => "$pname", ));
if ($countuser < 2) {
echo $countuser . " Item";
} elseif ($countuser > 1) {
echo $countuser . " Items";
}
?>
= $_open ?>
= $_generate ?>