any body has this script and sql?
2wapWorld
Collapse
This topic is closed.
X
X
-
Here is a piece of code that you need:
thats how simple it is.PHP Code: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)."'");
}
Comment
-
the other parts you can code yourself its much easyer.Originally posted by wap_king View Postcool 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
Comment
-
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.Originally posted by wap_king View Postbro the above coding is urs theres no way i can code the other parts without u giving me them....
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.
Comment

Comment