require('./global.php'); $userstuff = $DB_site->query_first("SELECT storep FROM user WHERE userid=$bbuserinfo[userid]"); $points=$userstuff[storep]; if ($points < 1000 && $forumid == 51){ echo $points; }
$points=$bbuserinfo[storep]; if ($points < 1000 && $forumid == 51){ echo $points; }
$templatesused = 'showthread_ratingdisplay,postbit_search,postbit_buddy,postbit_ignore,postbit_useremail,icq,aim,yahoo,postbit_homepage,postbit_profile,postbit_ip_show,postbit_ip_hidden,postbit,postbit_sendpm,postbit_avatar,postbit_offline,postbit_online,postbit_editedby,postbit_signature,postbit_attachment,postbit_attachmentimage,showthread_adminoptions,showthread_threadrate,showthread_pollresults_voted,showthread_pollresults_closed,showthread_pollresults_cantvote,showthread_firstunread,showthread_nextnewestthread,showthread_nextoldestthread,forumrules,showthread'; require('./global.php');