here is is the basic script i use on kinky-devils its an old version but enjoy
kinky-devils.co.uk v1 (script)
Collapse
X
-
updated style sheet from my v3 just change it back to this version
PHP Code:function webhead($id)
{
$theme=mysql_fetch_array(mysql_query("SELECT * FROM accounts WHERE id='".$id."'"));
$body_background=$theme["body_background"];
$body_text=$theme["body_text"];
$font_size=$theme["font_size"];
$font_style=$theme["font_style"];
$border_color=$theme["border_color"];
$div_background=$theme["div_background"];
$link_color=$theme["link_color"];
if(!$theme["uid"])
{
$body_background="".body_background()."";
$body_text="".body_text()."";
$font_size="small";
$font_style="Verdana, Arial, sans-serif";
$border_color="".border_color()."";
$div_background="".div_background()."";
$link_color="".link_color()."";}
if(!connect())
{
$body_background="#FFFFFF";
$body_text="#00000";
$font_size="small";
$font_style="Verdana, Arial, sans-serif";
$border_color="#FF0000";
$div_background="#000000";
$link_color="#0000FF";
}
$css.="<style type=\"text/css\">";
$css.="body{color: $body_text;";
$css.="font-family: $font_style;";
$css.="margin: 0;";
$css.="padding: 0;";
$css.="text-align: center;";
$css.="line-height: 110%;";
$css.="background: $body_background;";
$css.="font-size: $font_size;";
$css.="max-width : 80em;";
$css.="margin : 5px auto;";
$css.="border: 2px solid $border_color;}";
$css.="p {padding: 0px;}";
$css.="* {text-decoration: none;}";
$css.="img {border: 0px none;}";
$css.="a, a:active {color: $link_color;}";
$css.="a:visited {color: $link_color;}";
$css.="a:hover {color: $link_color;";
$css.="text-transform: uppercase;";
$css.="font-size: $font_size;";
$css.="color: $border_color;}";
$css.="head {font-family: $font_style;";
$css.="font-size: $font_size;}";
$css.="div {margin: 0px 0px 0px 0px;";
$css.="padding: 0px 0px 0px 0px;";
$css.="color: $body_background;";
$css.="background-color: $div_background;";
$css.="border: 5px solid $border_color;";
$css.="text-align: center;}";
$css.="</style>";
return $css;
}
-
Anyone Have Try This??
m Get Error
Warning: Cannot modify header information - headers already sent by (output started at /home/nahar/public_html/project/core/games.inc:4) in /home/mydimensi/public_html/project/core/header.inc on line 2
Warning: Cannot modify header information - headers already sent by (output started at /home/nahar/public_html/project/core/games.inc:4) in /home/mydimensi/public_html/project/core/header.inc on line 3
Could not connect to the server
Already Set Database Details But Still Get Problem..
Anyone?
Comment
-
lol too many headers overloading ! lolVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
Comment