<?php

/*** Freedom City | Check RPGBUNNY.COM for more Full RPG Sources | www.rpgbunny.com ***/include "antet.php"; include "func.php";

if (isset($_POST["name"]))
 if (isset($_SESSION["user"][0]))
  if (($_SESSION["user"][4]>3)&&($_SESSION["user"][2]==md5($_POST["pass"])))
  {
   $usr=user_($_POST["name"]);
   if ($_SESSION["user"][4]>$usr[4])
   {
    del_u($usr[0]); msg($lang['userDeleted']);
   }
   else msg($lang['levelLow']);
  }
  else msg($lang['notAdmin']);
 else msg($lang['accessDenied']);
else msg($lang['noInput']);
?>
