
06-13-2003, 05:52 PM
|
 |
|
|
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Steve make it look like this
Quote:
while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) {
if ($postdone[$post[postid]]) {
$counter--;
continue;
} else {
$postdone[$post[postid]]=1;
}
$post[postcount] = ++$postcount;
$post[totalposts] = $totalposts;
$onlinestat = "";
if(($post[miserable] == 1) || ($post[stunned] & 4)){
if(($bbuserinfo[usergroupid] == 5) or ($bbuserinfo[usergroupid] == 6) or ($bbuserinfo[usergroupid] == 7)) {
$onlinestat = "$onlinestat<br><font color=\"red\"><b>Miserable User</b></font>";
}
}
$post[posts]="$post[posts]$onlinestat";
$postbits .= getpostbit($post);
}
|
Quote:
$DB_site->query("UPDATE user SET birthday='$birthday',options='$options',usergroupi d='$usergroupid',username='".addslashes(htmlspecia lchars($ausername))."'$pwdinclude,email='".addslas hes(htmlspecialchars($email))."',styleid='$usersty leid',parentemail='".addslashes(htmlspecialchars($ parentemail))."',coppauser=$coppauser,homepage='". addslashes(htmlspecialchars($homepage))."',icq='". addslashes(htmlspecialchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslash es(htmlspecialchars($yahoo))."',signature='".addsl ashes($signature)."',adminemail=$adminemail,showem ail=$showemail,invisible=$invisible,usertitle='".a ddslashes($usertitle)." ',customtitle=$customtitle,joindate=$joindate,cook ieuser=$cookieuser,nosessionhash=$nosessionhash,da ysprune='$daysprune',lastvisit=$lastvisit,lastacti vity=$lastactivity,lastpost=$lastpost,posts='$post s',profileview='$profileview', timezoneoffset='$timezoneoffset',emailnotification =$emailnotification,receivepm='$receivepm',emailon pm='$emailonpm',ipaddress='".addslashes($aipaddres s)."',pmpopup=IF(pmpopup=2 AND $pmpopup=1,pmpopup,'$pmpopup'), miserable=$miserable WHERE userid=$userid");
|
|