OldManWillow
02-26-2002, 06:58 PM
Here is the original Line:
$DB_site->query("UPDATE user SET birthday='$birthday',options='$options',usergroupi d='$usergroupid',username='".a ddslashes(htmlspecialchars($ausername))."'$pwdinclude,email='".addslashes(htmlsp ecialchars($email))."',styleid='$userstyleid',parentemail='".addslashes(htmlspec ialchars($parentemail))."',coppauser=$coppauser,homepage='".addslashes(htmlspeci alchars($homepage))."',icq='".addslashes(htmlspecialchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslashes(htmlspecialchars($yahoo))." ',signature='".addslashes($signature)."',adminemail=$adminemail,showemail=$showe mail,invisible=$invisible,usertitle='".addslashes($usertitle)."',customtitle=$cu stomtitle,joindate=$joindate,cookieuser=$cookieuse r,nosessionhash=$nosessionhash ,daysprune='$daysprune',lastvisit=$lastvisit,lasta ctivity=$lastactivity,lastpost =$lastpost,posts='$posts',timezoneoffset='$timezon eoffset',emailnotification=$em ailnotification,receivepm='$receivepm',emailonpm=' $emailonpm',ipaddress='".addsl ashes($aipaddress)."',donator='$donation',showdonation='$showdonation' ,pmpopup=I F(pmpopup=2 AND $pmpopup=1,pmpopup,'$pmpopup') WHERE userid=$userid");
Here is the line that I am suppose to replace it with:
$DB_site->query("UPDATE user SET birthday='$birthday',options='$options',usergroupi d='$usergroupid',username='".a ddslashes(htmlspecialchars($ausername))."'$pwdinclude,email='".addslashes(htmlsp ecialchars($email))."',styleid='$userstyleid',parentemail='".addslashes(htmlspec ialchars($parentemail))."',coppauser=$coppauser,homepage='".addslashes(htmlspeci alchars($homepage))."',icq='".addslashes(htmlspecialchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslashes(htmlspecialchars($yahoo))." ',signature='".addslashes($signature)."',adminemail=$adminemail,showemail=$showe mail,invisible=$invisible,usertitle='".addslashes($usertitle)."',customtitle=$cu stomtitle,joindate=$joindate,cookieuser=$cookieuse r,nosessionhash=$nosessionhash ,daysprune='$daysprune',lastvisit=$lastvisit,lasta ctivity=$lastactivity,lastpost =$lastpost,posts='$posts',timezoneoffset='$timezon eoffset',emailnotification=$em ailnotification,receivepm='$receivepm',emailonpm=' $emailonpm',ipaddress='".addsl ashes($aipaddress)."',award='$hasaward',pmpopup=IF(pmpopup=2 AND $pmpopup=1,pmpopup,'$pmpopup') WHERE userid=$userid");
Basically it has to do with the awards part but I have other edits in the first line I need to keep to have certain things running correctly on the forums. anyway I can add the award part without getting an error?
Any help would be great.
$DB_site->query("UPDATE user SET birthday='$birthday',options='$options',usergroupi d='$usergroupid',username='".a ddslashes(htmlspecialchars($ausername))."'$pwdinclude,email='".addslashes(htmlsp ecialchars($email))."',styleid='$userstyleid',parentemail='".addslashes(htmlspec ialchars($parentemail))."',coppauser=$coppauser,homepage='".addslashes(htmlspeci alchars($homepage))."',icq='".addslashes(htmlspecialchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslashes(htmlspecialchars($yahoo))." ',signature='".addslashes($signature)."',adminemail=$adminemail,showemail=$showe mail,invisible=$invisible,usertitle='".addslashes($usertitle)."',customtitle=$cu stomtitle,joindate=$joindate,cookieuser=$cookieuse r,nosessionhash=$nosessionhash ,daysprune='$daysprune',lastvisit=$lastvisit,lasta ctivity=$lastactivity,lastpost =$lastpost,posts='$posts',timezoneoffset='$timezon eoffset',emailnotification=$em ailnotification,receivepm='$receivepm',emailonpm=' $emailonpm',ipaddress='".addsl ashes($aipaddress)."',donator='$donation',showdonation='$showdonation' ,pmpopup=I F(pmpopup=2 AND $pmpopup=1,pmpopup,'$pmpopup') WHERE userid=$userid");
Here is the line that I am suppose to replace it with:
$DB_site->query("UPDATE user SET birthday='$birthday',options='$options',usergroupi d='$usergroupid',username='".a ddslashes(htmlspecialchars($ausername))."'$pwdinclude,email='".addslashes(htmlsp ecialchars($email))."',styleid='$userstyleid',parentemail='".addslashes(htmlspec ialchars($parentemail))."',coppauser=$coppauser,homepage='".addslashes(htmlspeci alchars($homepage))."',icq='".addslashes(htmlspecialchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslashes(htmlspecialchars($yahoo))." ',signature='".addslashes($signature)."',adminemail=$adminemail,showemail=$showe mail,invisible=$invisible,usertitle='".addslashes($usertitle)."',customtitle=$cu stomtitle,joindate=$joindate,cookieuser=$cookieuse r,nosessionhash=$nosessionhash ,daysprune='$daysprune',lastvisit=$lastvisit,lasta ctivity=$lastactivity,lastpost =$lastpost,posts='$posts',timezoneoffset='$timezon eoffset',emailnotification=$em ailnotification,receivepm='$receivepm',emailonpm=' $emailonpm',ipaddress='".addsl ashes($aipaddress)."',award='$hasaward',pmpopup=IF(pmpopup=2 AND $pmpopup=1,pmpopup,'$pmpopup') WHERE userid=$userid");
Basically it has to do with the awards part but I have other edits in the first line I need to keep to have certain things running correctly on the forums. anyway I can add the award part without getting an error?
Any help would be great.