2wapWorld
Started on the old forum in May 2010 · view the original in the archive · old links redirect here
i have it 🙂
Advertise your mobile site for FREE with AdTwirl
Here is a piece of code that you need:
if(isset($_POST['customize'])){
$style='
body {
background-color: #'.$_POST["bgcol"].'; ';
if(strlen($_POST["bgimg"])>2){ $style.='
background-image : url(http://w.2wap.org/css/bkg/'.$_POST["bgimg"].'); ';
}
$style.='
background-attachment : fixed;
background-repeat : repeat;
font-weight: normal;
font-family: Arial, Verdana, Helvetica, sans-serif;
color: #'.$_POST["tcol"].';
padding: 2px;
margin: 0px;
text-align: '.$_POST["align"].';
}
a{
color: #'.$_POST["lcol"].';
}
div.head{
text-align: left;
}';
echo '<div><i>Profile customized successfully!</i></div>';
@mysql_query("UPDATE 2wap_users SET `user_css_style`='". mysql_real_escape_string($style) ."' WHERE user_id='".intval($user_id)."'");
}
thats how simple it is.
Advertise your mobile site for FREE with AdTwirl
wap_king wrote: cool i like hw that looks...all i need its the profile part and the part to select them i wud be greatful and m8 its simple to u bcuz ur good at it am not yet
the other parts you can code yourself its much easyer.
Advertise your mobile site for FREE with AdTwirl
wap_king wrote: bro the above coding is urs theres no way i can code the other parts without u giving me them....
yes you can, there is nothing special in the code above just a css style which you store in the users table, you got the idea and almost the full code that you need all the other basic things you should do on your own.
In case you cant even code the basic things you should visit this links: HTML Tutorial PHP Tutorial CSS Tutorial or hire someone who would do it for you.
Advertise your mobile site for FREE with AdTwirl