Who can please help me with my theme
This is my theme in profile
This is my unrealfunction code
i need my first code to be able to have the boxtitle in it
This is my theme in profile
Code:
/* CSS Document */ body { background: #000000 url(matrix/logo.jpg) fixed; color: #FFFFFF; } input { color: #00FF00; background: #000000; font-size: 8pt; border: #006633 medium solid; } p {padding:0px;margin: 0px 0px 0px 0px;} input,select { color: #009933; background:#000000; border: #00FF00 medium solid; } a, a:active { color: #CCCCCC; } a:visited { color: #CCCCCC; } a:hover { color: #000000; background-color: #00FF00; } head { font-family : Verdana, Arial, Helvetica, sans-serif; font-size: small; } img { border: 0; } div.ahblock2 { margin: 2px 0px 2px 0px; padding: 0px 0px 0px 0px; color: #00FF00; background-color: #000000; border: 1px dotted #00FF00; } a.nav, a.nav:active {color: #FFFFFF;} a.nav:visited {color: #FFFFFF;} a.nav:hover {color: #FFFFFF;} hr { background-color: #00FF00; color: #00FF00; border: none; height: 1px; }
Code:
<?php define ('USER_NOT_FOUND',0); define ('MIME_TYPE','application/xhtml+xml'); function gettheme($sid) { $uid = getuid_sid($sid); $thid = mysql_fetch_array(mysql_query("SELECT themeid FROM ibwf_users WHERE id='".$uid."'")); if($thid[0]==""||$thid[0]==0)$thid[0]=1; $thinfo = mysql_fetch_array(mysql_query("SELECT bgc, txc, lnk, hdc, hbg, boxbg, boxcl FROM ibwf_mainthemes WHERE id='".$thid[0]."'")); $ret = "<style type=\"text/css\">\n"; $ret .= "body {background-color:#$thinfo[0]; color:#$thinfo[1]}\n"; $ret .= "h5 {background-color:#$thinfo[4]; color:#$thinfo[3]}\n"; $ret .= "a:link {color:#$thinfo[2]}\n"; $ret .= "a:visited {color:#$thinfo[2]}\n"; $ret .= "img {border: 0;}\n"; $ret .= "input {border-color:#$thinfo[2];border-width:1px;color:#$thinfo[2];}\n"; $ret .= "input: focus{background-color:#$thinfo[2];color:#$thinfo[2];}\n"; $ret .= "input.BF6: focus{background-color:#$thinfo[2];color:#$thinfo[3];}\n"; $ret .= ".boxed {width: 100%; margin-bottom: 2px; border: px solid #$thinfo[1]}\n"; $ret .= ".boxedTitle {height: 18px; padding: 0 0 0 2px; background: #$thinfo[1] url($thinfo[6]) repeat-x;}\n"; $ret .= ".boxedTitleText {font-size: 11px; color: #$thinfo[2]}\n"; $ret .= ".boxedContent {padding: 2px 2px 2px 2px; background: #$thinfo[3]}\n"; $ret .= "</style>"; return $ret; } function geticonsetid($sid) { $uid = getuid_sid($sid); $thid = mysql_fetch_array(mysql_query("SELECT themeid FROM ibwf_users WHERE id='".$uid."'")); $iconsetid = mysql_fetch_array(mysql_query("SELECT iconset FROM ibwf_mainthemes WHERE id='".$thid[0]."'")); return $iconsetid[0]; } function xhtmlhead($page_title, $page_style="") { $ret = "<html xmlns=\"http://www.w3.org/1999/xhtml\">"; $ret .= "\n<head>\n<title>$page_title</title>\n"; $ret .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />"; $ret .= "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />"; $ret .= "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>"; $ret .= "\n".$page_style; $ret .= "\n</head>\n<body>"; return $ret; } function xhtmlheadchat1($page_title, $page_style="",$rid,$sid) { $ret = "<html xmlns=\"http://www.w3.org/1999/xhtml\">"; $ret .= "\n<head>\n<title>$page_title</title>\n"; $ret .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />"; $ret .= "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />"; $ret .= "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>"; $ret .= "<meta http-equiv=\"refresh\" content=\"20; URL=chat.php?sid=$sid&rid=$rid\"/>"; $ret .= "\n".$page_style; $ret .= "\n</head>\n<body>"; return $ret; } function xhtmlheadchat($page_title, $page_style="") { $ret = "<html xmlns=\"http://www.w3.org/1999/xhtml\">"; $ret .= "\n<head>\n<title>$page_title</title>\n"; $ret .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />"; $ret .= "<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />"; $ret .= "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>"; $ret .= "\n".$page_style; $ret .= "\n</head>\n<body>"; return $ret; } function xhtmlfoot() { $ret = "\n</body>\n</html>"; return $ret; } function gettheme1($thid) { if($thid[0]==""||$thid[0]==0)$thid[0]=1; $thinfo = mysql_fetch_array(mysql_query("SELECT bgc, txc, lnk, hdc, hbg FROM ibwf_mainthemes WHERE id='".$thid[0]."'")); $ret = "<style type=\"text/css\">\n"; $ret .= "body {background-color:#$thinfo[0]; color:#$thinfo[1]}\n"; $ret .= "h3 {background-color:#$thinfo[4]; color:#$thinfo[3]}\n"; $ret .= "a:link {color:#$thinfo[2]}\n"; $ret .= "a:visited {color:#$thinfo[2]}\n"; $ret .= ".boxed {width: 100%; margin-bottom: 3px; border: 1px solid #$thinfo[1]}\n"; $ret .= ".boxedTitle {height: 18px; padding: 0 0 0 2px; background: #$thinfo[1] url(images/box2.jpg) repeat-x;}\n"; $ret .= ".boxedTitleText {font-size: 11px; color: #$thinfo[2]}\n"; $ret .= ".boxedContent {padding: 2px 2px 2px 2px; background: #$thinfo[3]}\n"; $ret .= "</style>"; return $ret; } ?>