Location: PHPKode > projects > OrangeDeals > orangedeals_v1.2/http/level_.php
<?php include "config.php"; include "functions.php";

if (isset($_POST["name"], $_POST["level"]))
 if (isset($_SESSION["user"][0]))
  if (($_SESSION["user"][5]>3)&&($_SESSION["user"][3]==md5(clean($_POST["pass"]))))
  {
			$_POST["name"]=clean($_POST["name"]); $_POST["level"]=clean($_POST["level"]);
   $usr=user_($_POST["name"]);
   if ($_SESSION["user"][5]>$usr[5]) ban($_POST["name"], $_POST["level"]);
   else msg($lang['levelLow']);
  }
  else msg($lang['notAdmin']);
 else msg($lang['accessDenied']);
else msg($lang['noInput']);
?>
Return current item: OrangeDeals