<?php if (isset($action) && $action == "add") { include SK_DIR . "/billing/admin_add_user.php"; } elseif (isset($action) && $action == "delete") { include SK_DIR . "/billing/admin_delete_user.php"; } elseif (isset($action) && $action == "edit") { include SK_DIR . "/billing/admin_edit_user.php"; } elseif (isset($action) && $action == "block") { $BILL = new CBilling($GV["dbhost"], $GV["dbname"], $GV["dblogin"], $GV["dbpassword"]); if ($BILL->IsUserActivated($uid)) { $BILL->BlockUser($uid); ?> <div align=center><b>Пользователь заблокирован!</b></div> <?php } else { $BILL->ActivateUser($uid); ?> <div align=center><b>Пользователь активирован!</b></div> <?php } ?> <div align=center><a href="<?php OUT("?p={$p}&act={$act}"); ?> ">назад</a></div> <?php } else { include SK_DIR . "/billing/admin_users.php"; } } elseif (isset($act) && $act == "tarifs") { ?>