Parse error: parse error, unexpected '}' in /home/crocket/public_html/forums/admin/style.php on line 210
I get this error for the first.. therefore the code maybe wrong?!
PHP Code:
"</p></td></tr>\n";
}
echo "</table></td></tr></table>";
}
// ###################### Start download/upload #######################
if (($action=="download") and ($bbuserinfo[userid]!="1")) {
echo"<p>You cannot perform this function</p>";
exit;
}
// get styleid
doformheader("style","dodownload");
maketableheader("Download one of your style sets");
makechoosercode("Style","styleid","style",-1,iif($debug,"Global (base) style set",""));
doformfooter("Download");
*****************
For email...
PHP Code:
<?php
error_reporting(7);
require("./global.php");
if ($bbuserinfo[userid]!="1") {
echo"<p>You cannot perform this function</p>";
exit;
}
adminlog();
cpheader();
if ($action=="" && checklogperms($caneditadmin,1,"<p>You are not allowed to modify the templates</p>")) {
$action = "start";
}
It doesn't work.. just goes thru as normal!
***************
Admin Log
Just goes thru as normal!
PHP Code:
<?php
error_reporting(7);
if ($HTTP_POST_VARS['action']) {
$action = $HTTP_POST_VARS['action'];
} else if ($HTTP_GET_VARS['action']) {
$action = $HTTP_GET_VARS['action'];
}
if (function_exists("set_time_limit")==1 and get_cfg_var("safe_mode")==0) {
@set_time_limit(0);
}
if (isset($action) and ($action=="csvtable" or $action=="sqltable")) {
$noheader=1;
}
//suppress gzipping
$nozip=1;
require("./global.php");
if ($bbuserinfo[userid]!="1") {
echo"<p>You cannot perform this function</p>";
exit;
}
adminlog(iif($table!="","Table = $table",""));
Sorry for the hassle! But i would like some help into why this isnt working?!