$value) { if (!is_array($value)) { $value = str_replace('"', "'", $value); $arr[$key] = trim(str_replace('$', '', $value)); } else { $arr[$key] = TrimArray($arr[$key]); } } return $arr; } ?> Option Editor
5) && CheckFlags("oXZmM", $flags)) { @count_mysql_query("DELETE FROM uo_chat_adminlog WHERE stamp \"".stripslashes(trim($_REQUEST['ifile'][$cc]))."\",\n"); } fwrite($fi, ");\n\$images = array(\n"); for ($cc=0;$ccPortal Picture not a valid picture!
"; } $pimgx = 200; $pimgy = 100; $newh = ChatImageSize($_REQUEST['cpicture']); fwrite($fi, "\$cpicture = \"".str_replace("\"","'", strip_tags($_REQUEST['cpicture']))."\";\n"); fwrite($fi, "\$cpicturelink = \"".str_replace("\"","'", strip_tags($_REQUEST['cpicturelink']))."\";\n"); fwrite($fi, "\$cpicturesize = \"".str_replace("\"","'", $newh)."\";\n"); $cdescript = strip_tags($_REQUEST['cdescript'], ""); $find = array( "/\"/s", '/ style=/is', '/ on[^=\s]+=/is' ); $repl = array( "'", ' bad=', ' bad=' ); $cdescript = preg_replace($find, $repl, $cdescript); $cdescript = substr($cdescript, 0, 1024); fwrite($fi, "\$cdescript = \"{$cdescript}\";\n"); fwrite($fi, "\$altdata = \"{$_REQUEST['altdata']}\";\n"); fwrite($fi, "\$memonly = {$_REQUEST['memonly']};\n"); fwrite($fi, "\$crating = {$_REQUEST['crating']};\n"); fwrite($fi, "\$xml_anon = {$_REQUEST['xml_anon']};\n"); fwrite($fi, "\$sportal = {$_REQUEST['sportal']};\n"); fwrite($fi, "\$proxyblock = {$_REQUEST['proxyblock']};\n"); fwrite($fi, "\$jbblock = {$_REQUEST['jbblock']};\n"); fwrite($fi, "\$logblock = {$_REQUEST['logblock']};\n"); fwrite($fi, "?>"); fclose($fi); @chmod($fn, 0666); } include("options.php"); $nicon = count($banwords); reset($banwords); echo "
\n"; echo "\n"; echo ""; echo ""; $cc=0; while (list($name, $file) = each($banwords)) { $old = $file; $name = htmlentities($name); $file = htmlentities($file); echo ""; $cc++; } for ($aa=$cc;$aa<$cc+5;$aa++) echo ""; echo "
Automatic Moderation
#Filtered WordReplacementExample
$cc$old
$aa
\n

\n"; echo "
"; echo "\n"; echo ""; echo ""; for ($cc=0;$cc"; } for ($aa=$cc;$aa<$cc+5;$aa++) echo ""; if ($jbbc[0] == "") $jbbc[0] = "000000"; if ($jbbc[1] == "") $jbbc[1] = "0783FF"; if ($jbbc[2] == "") $jbbc[2] = "0682FE"; if ($jbbc[3] == "") $jbbc[3] = "0783FF"; if ($jbbc[4] == "") $jbbc[4] = "FFFFFF"; if ($jbbc[5] == "") $jbbc[5] = "/gfx/modbar.gif"; if ($jbbc[6] == "") $jbbc[6] = "/gfx/up_tile.gif"; if ($jbbc[7] == "") $jbbc[7] = "/gfx/up_tile.gif"; if ($jbbc[8] == "") $jbbc[8] = "/gfx/dn_tile.gif"; if ($jbbc[9] == "") $jbbc[9] = "/gfx/newthread.gif"; if ($jbbc[10] == "") $jbbc[10] = "FFFFFF"; if ($jbbc[11] == "") $jbbc[11] = "e0e0e0"; if ($jbbc[12] == "") $jbbc[12] = "f0f0f0"; if ($jbbc[13] == "") $jbbc[13] = "000000"; if ($jbbc[14] == "") $jbbc[14] = "utime"; if ($jbbc[15] == "") $jbbc[15] = "DESC"; echo "
Permanent Ban
#Banned Ident
$cc
$aa
"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
Customize Board
Text
Link
Active Link
Visited Link
Bgcolor
Control Bar
Control Back
Top Bar
Bottom Bar
Index Bar
View bgcolor
Info bgcolor
Topic bgcolor
Table bgcolor
"; echo "

Sort the threads on the board by "; echo " "; echo "

\n"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
Interface Images
NameURL
Clear
Copyright
Enter
Exit
Manual
Members
Messages
Misc
Post
Profile
Refresh
Register
Undo
Userlist
Null (space)
\n"; echo "

\n"; echo ""; echo ""; echo ""; if ($memonly == 1) $ch = " selected"; else $ch = ""; if ($memonly == 2) $cp = " selected"; else $cp = ""; echo ""; if ($proxyblock == 1) $ch = " selected"; else $ch = ""; echo ""; if (!isset($crating)) $crating = 3; $cl = " selected"; if ($crating == 0) $ch = " selected"; else $ch = ""; if ($crating == 1) $cj = " selected"; else $cj = ""; if ($crating == 2) $ck = " selected"; else $ck = ""; if ($crating == 3) $cl = " selected"; else $cl = ""; if ($crating == 4) $cp = " selected"; else $cp = ""; echo << PHPEND; if ($sportal == 1) $ch = " selected"; else $ch = ""; echo ""; if ($xml_anon == 1) $ch = " selected"; else $ch = ""; echo ""; if ($jbblock == 1) $ch = " selected"; else $ch = ""; echo ""; if ($logblock == 3) $cb = " selected"; else $cb = ""; if ($logblock == 2) $cx = " selected"; else $cx = ""; if ($logblock == 1) $ch = " selected"; else $ch = ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
Miscellaneous
DescriptionValue
Registration link
Restricted area?
Block open proxies?
Chat age rating?
Visible on portal?
Allow anonymous to stream XML?
Who can post on the board?
Who can view the logs?
Portal Picture
Max 200x100.
Picture Link
Chat Description
Max 3 lines, or 1kb.
Allowed tags: font,a,b,i,u,tt
Database (Warning: May mess up everything.)
"; echo "

\n Login: Password: \n"; echo "\n"; echo "

\n"; ?>