Ok so its safe to remove both header.php and footer.php?
<?phpfunction writebody() {global $db, $domain, $sitename, $con1, $suserid, $userid, $userdata;if(!isset($suserid)){ echo '<div class=\'error\'>Please login first.</div>';}else{if(isset($suserid)){} $ID = clean($_GET['cmd']); $ID = abs((int) ($ID)); $db->query(sprintf('INSERT INTO dd_user_favorites SET userid=\'%u\', gameid=\'%u\'', $suserid, $ID)); echo '<div class=\'msg\'>Game added to your favorites.</div>'; $pgname = 'Add to favorites';}};?>
... Also when i delete it do i delete include ('templates/'.$template.'/footer.php');exit;or justinclude ('templates/'.$template.'/footer.php');
Quote from: spagetiokillers on October 28, 2011, 03:04:41 PM... Also when i delete it do i delete include ('templates/'.$template.'/footer.php');exit;or justinclude ('templates/'.$template.'/footer.php');Leave in the "exit;" and just delete the include statement.I'm working my way through the files now and correcting them, but only on 2.0, not 2.1.