LOL JERRY SPRINGER didint he die? :s
Printable View
LOL JERRY SPRINGER didint he die? :s
Stay On Topic!
All rise for the Honerable Judge :.:Numark:.: !!
*Hits Hammer Thing on Hitty thing for Hammer*
We are, you changed the topic with me :)
fgs noobs. EGO is good, I have used Hab-Worlds user system admin and it is very good. Good luck.
yeh i have seen Very Good site templates made by EGO!
SwitchGear = £50
I am talking to Denta on M;S;N
Thank You!!
Please Stay on Topic.
Im trying to Sell Products Here. Stupid Noobs
i am joo meanie. noowww i want screenies. dont make me get jerry.
"jerry... jerry... jeery!"
OI, YOU LOST A COSTUMER. FOUL.
fool/
Lawl.
I've seen the user system in action i've seen all your work from Ladders he has this thing with using you. so i've often see your skills or should i say Nick's (nicks done most of the work for ladders)
Just thought i'll let you see their coding skills you decide on how clean/leet they are, to me there not bad :)PHP Code:<?php
// ## EGO! Switchgear - Hab-World - Functions
// ## header function
// ## description: prints the page header with custom variables set
function print_system_header($page_title,$css=FALSE,$js=FALSE,$int_css=FALSE,$int_js=FALSE)
{
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n\n";
echo "<!-- EGO! Switchgear - Designed and Coded by the EGO! boyz -->\n";
echo "<!-- Don't steal it or i'll set my hyena's on you -->\n\n";
echo " <head>\n";
echo " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n";
echo " <title>EGO! Switchgear - $page_title</title>\n\n";
echo " <!-- externals -->\n";
echo " <link rel=\"stylesheet\" href=\"includes/template.css\" type=\"text/css\"/>\n";
echo " <script language=\"javascript\" src=\"includes/template.js\"></script>\n\n";
if($css)
{
echo " <link rel=\"stylesheet\" href=\"$css\" type=\"text/css\"/>\n";
}
if($js)
{
echo " <script language=\"javascript\" src=\"$js\"></script>\n\n";
}
if($int_css)
{
echo " <!-- css -->\n";
echo " $int_css\n\n";
}
if($int_js)
{
echo " <!-- javascript -->\n";
echo " $int_js\n\n";
}
echo " </head>\n\n";
echo "<body>\n\n";
}
// ## footer function
// ## description: prints the page footer
function print_system_footer()
{
echo "\n</body>\n";
echo "</html>";
}
// ## nav category
// ## prints a nav category
function print_nav_category($divid,$spanid,$btnid,$title)
{
*REMOVED*
function print_no_access($where)
{
echo "<p align=\"center\"><b>Sorry, you do not have permission to view the $where!!</b></p>";
}
function bbcode($string)
{
$string = nl2br(htmlspecialchars($string));
$patterns = array
(
'`\[b\](.+?)\[/b\]`is',
'`\[i\](.+?)\[/i\]`is',
'`\[u\](.+?)\[/u\]`is',
'`\[strike\](.+?)\[/strike\]`is',
'`\[color=#([0-9]{6})\](.+?)\[/color\]`is',
'`\[img\](.+?)\[/img\]`is',
'`\[url=([a-z0-9]+://)([\w\-]+\.([\w\-]+\.)*[\w]+(:[0-9]+)?(/[^ \"\n\r\t<]*?)?)\](.*?)\[/url\]`si',
'`\[url\]([a-z0-9]+?://){1}([\w\-]+\.([\w\-]+\.)*[\w]+(:[0-9]+)?(/[^ \"\n\r\t<]*)?)\[/url\]`si',
'`\[url\]((www|ftp)\.([\w\-]+\.)*[\w]+(:[0-9]+)?(/[^ \"\n\r\t<]*?)?)\[/url\]`si',
'`\[quote\](.+?)\[/quote\]`is',
'`\[size=([1-6]+)\](.+?)\[/size\]`is'
);
*REMOVED*
}
function permission($varname,$user)
{
$get_user = mysql_query("SELECT * FROM `user` WHERE `userid` = '".$user."' LIMIT 1");
$user = mysql_fetch_array($get_user);
if($user['membergroupids']) { $usergroupids = explode(',',$user['membergroupids']); }
if($user['usergroupid']) { $usergroupids[] = $user['usergroupid']; }
foreach($usergroupids as $id)
{
$usergroup_query = mysql_query("SELECT * FROM `usergroup` WHERE `usergroupid` = '".$id."' LIMIT 1");
$usergroup = mysql_fetch_array($usergroup_query);
$get_adminpermissions = mysql_query("SELECT ".$varname." FROM `adminpermissions` WHERE `adminpermissionsid` = '".$usergroup['adminpermissions']."' LIMIT 1");
$adminpermissions = mysql_fetch_array($get_adminpermissions);
$i[] = $adminpermissions[$varname];
}
if(in_array('1',$i,true))
{
return true;
}
else
{
return false;
}
}
function redirect($url)
{
echo "<script language=\"javascript\">window.location='".$url."'</script>";
}
function alert($msg)
{
echo "<script language=\"javascript\">alert('".$msg."');</script>";
}
?>
Shut the **** up please, stop spaming.Quote:
Originally Posted by Always-Think