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

if (isset($_SESSION["user"][1], $_POST["pass"]))
 if ($_SESSION["user"][3]==md5(clean($_POST["pass"])))
  if ($_SESSION["user"][5]==5)
  {
   if (config_(clean($_POST["var"]), clean($_POST["val"]))) msg("Variables changed.");
   else msg("Failed.".mysql_error());
  }
  else msg("Only the owner can modify variables.");
 else msg("Incorrect password.");
else msg("Insuficient data.");
?>
Return current item: OrangeDeals