Location: PHPKode > projects > Backend code/CMS for blizzle.com > v1.x/moderate.php
<?
require "functions.php";

if ((retLoggedIn()) && (is_numeric($points))) {
$points = abs($points);

if (retModPoints() >= $points) {

$query = "UPDATE item_headers SET modpoints = modpoints $posneg $points WHERE itemID = $itemid;";
$result = mysql_query ($query, $link) or die (mysql_error());
removeModPoints($points);

}
}
header("Location: $returnl"); 
?>
Return current item: Backend code/CMS for blizzle.com