2024-10-10

This commit is contained in:
2024-10-10 12:56:56 +08:00
commit 7b347c848a
2648 changed files with 643965 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php require_once("admin-header.php");?>
<?php require_once("../include/check_get_key.php");
if (!(isset($_SESSION[$OJ_NAME.'_'.'administrator']))){
echo "<a href='../loginpage.php'>Please Login First!</a>";
exit(1);
}
if(isset($_GET['uid'])){
$user_id=$_GET['uid'];
$rightstr =$_GET['rightstr'];
$sql="delete from `privilege` where user_id=? and rightstr=?";
$rows=pdo_query($sql,$user_id,$rightstr);
echo "$user_id $rightstr deleted!";
}
?>
<script language=javascript>
window.setTimeOut(1000,"history.go(-1)");
</script>