Ok, When this script is viewed I get error:
Parse error: syntax error, unexpected $end in /home/reviews/public_html/pages/a_options.php on line 233
The thing that makes no sence to me, is that there is no line 233.
Code:<?php // Do NOT remove this text // // COPYRIGHT 2006 CUSTOM CMS Gaming Script - CustomCMS.net. Created by Erik Hillis (erik@customcms.net) // // Reproduction of this code without written permission is strictly forbidden // // Custom CMS v3.1 (Game CMS) // include "includes/access.php"; include "FCKEditor/fckeditor.php"; if ($access_cheats == '1') { echo "<br><SPAN class=\"texthuge\">$lang_a_cheats</SPAN><br><br>"; if (!$_REQUEST[approve]) { } else { mysql_query("UPDATE cheat SET approved='1' where id='$_REQUEST[approve]'"); } if (!$_REQUEST[delete]) { } else { mysql_query("DELETE from cheat where id='$_REQUEST[delete]'"); } $thecheats = mysql_query("SELECT * from cheat where approved='0' order by id desc"); $cheatnumber = 1; echo "<center> <table width=98% $tablereg>"; while ($row = mysql_fetch_assoc($thecheats)) { $id = $row[id]; $game = $row[game]; $platform = $row[platform]; $cheats = $row[cheats]; $tdate = $row[date]; $usr = $row[submitter]; echo "<tr> <td width=100% $tdreg2><SPAN class=\"content\"> "; echo "<img src=$imagepath/bullet1.jpg border=0></a> <strong>$game</strong> <font style=\"font-size: 10px\">(from <a href=\"profile-$usr.html\">$usr</a> on $tdate) [ <a class=\"content\" href=\"?page=Cheats&approve=$id\"><b>$lang_a_approve</b></a> | <a href=\"?page=Cheats&delete=$id\" class=\"content\"><b>$lang_a_delete</b></a> ]</td> </tr> <tr> <td width=100% $tdreg><div class=\"padding10\"><SPAN class=\"contentlight\">$cheats</div></td> </tr>"; $cheatnumber++; } $cheatcount = mysql_num_rows($thecheats); if (!$cheatcount) { echo "<tr> <td width=100% $tdreg2><SPAN class=\"contentlight\"><center>$lang_a_nocheatsview</td> </tr>"; } echo "</table>"; ?>



Reply With Quote



Bookmarks