//Drakks Warning Hack $warnifield="field10" //make x the field for ur warning level $warnlevel = $DB_site->query_first("SELECT $warnifield FROM userfield WHERE $userid=$bbuserinfo"); if ($warnlevel >= "10") { $warnphraze="NEEDS BANNING"; //u may set the warn phraze for each one } elseif ($warnlevel >= "7") { $warnphraze="Very Bad"; } elseif ($warnlevel >= "4") { $warnphraze="Thats Rough"; } elseif ($warnlevel >= "1") { $warnphraze="Evil's Apprentice"; } else { $warnphraze= "Goody Goody"; } if ($warnfield >= "10") { $warning='<img src="{imagefolder}/warn1.jpg"> $warnphraze'; } elseif ($warnlevel >= "7") { $warning='<img src="{imagefolder}/warn2.jpg"> $warnphraze'; } elseif ($warnlevel >= "4") { $warning='<img src="{imagefolder}/warn3.gif"> $warnphraze'; } elseif ($warnlevel >= "1") { $warning='<img src="{imagefolder}/warn4.gif"> $warnphraze'; } else { $warning='<img src="{imagefolder}/warn5.gif"> $warnphraze'; } //End Warning hack
Show Your Support
$warnlevel = $DB_site->query_first("SELECT $warnifield,userid FROM userfield WHERE userid='$uservar'");