mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
23 lines
1022 B
PHP
23 lines
1022 B
PHP
<?php
|
|
|
|
#################################################################################
|
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
|
## --------------------------------------------------------------------------- ##
|
|
## Filename medals.php ##
|
|
## Developed by: aggenkeech ##
|
|
## License: TravianX Project ##
|
|
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
|
|
#################################################################################
|
|
|
|
include_once("../../Account.php");
|
|
mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS);
|
|
mysql_select_db(SQL_DB);
|
|
if ($session->access < ADMIN) die("Access Denied: You are not Admin!");
|
|
|
|
|
|
|
|
$userid = $_POST['userid'];
|
|
mysql_query("DELETE FROM ".TB_PREFIX."medal WHERE userid = ".$userid."");
|
|
|
|
header("Location: ../../../Admin/admin.php?p=player&uid=".$userid."");
|
|
?>
|