Parašė TaduXxX0· 2008 Lie. 4 11:07:13
#3
nu tai va,noriu padaryt,kad pasirinkus nuotaika uzsidetu smailas
Parašė Impossibru· 2008 Lie. 4 11:07:30
#4
Avataras BG o nuotaika su coord galima padaryt. Buvo ne viena krta aptarta tokia tema.
Parašė bruzgis· 2008 Lie. 4 11:07:49
#5
Keletas istrauku is pramogauk.net profilio:
cia kodas avataro tiems kurie naudoja lyties moda:
if ($data['user_avatar']) {
$c ="'".IMAGES."avatars/".$data['user_avatar']."'";
}
else if ($data['gender'] == 0) {
$c ="'".IMAGES."no.gif'";
}
else if ($data['gender'] == 1) {
$c ="'".IMAGES."vyras.gif'";
} elseif ($data['gender'] == 2) {
$c ="'".IMAGES."moteris.gif'";
}
situ nuskaitom nuotaika
$stats = dbarray(dbquery("SELECT * FROM ".$db_prefix."user_status WHERE user_id=".$data['user_id'].""));
$b = $stats['stats'] != "" ? $stats['stats'] : "".$locale['usi125']."";
$user_mood = $stats['mood'];
$a = "<center>
<table border='0' background=$c' cellpadding='0' cellspacing='0' width='100' height='100' style='background-repeat:no-repeat; background-position: center;'>
<tr>
<td width='100%' height='90'>
<table border='0' cellpadding='0' cellspacing='0' width='100%' height='100'>
<tr>
<td width='70' height='74' rowspan='2'> </td>
<td width='30' height='20'>
<img src='".BASEDIR."images/mood/".$user_mood.".gif' width='20' height='20' style='border: 2px solid #FFFFFF;'></td>
</tr>
<tr>
<td width='30' height='54'> </td>
</tr>
</table>
</td>
</tr>
</table>
</center>";
sitas visas $a dedamas ten kur norima matyt avatara su smailu ant jo
Ta prasme nori kad pvz butent sitoj vietoj rodytu avatara: rasai $a ir viskas
manau toliau pasidarysi