$tblstart";
if(@mysql_num_rows($mods)) $ismod=1;
if(!$action && $ismod){
$thread[icon]=str_replace("
","",$thread[icon]);
$customicon=$thread[icon];
for($i=0;$posticons[$i];){
$posticons[$i]=str_replace($br,"",$posticons[$i]);
if($thread[icon]==$posticons[$i]){
$checked='checked=1';
$customicon='';
}
$posticonlist.="    ";
$i++;
if($i%10==0) $posticonlist.='
';
$checked='';
}
if(!$thread[icon]) $checked='checked=1';
$posticonlist.="
$radio=iconid value=-1 $checked>  None    
Custom: $inpt=custposticon VALUE='$customicon' SIZE=40 MAXLENGTH=100>
";
$check1[$thread[closed]]='checked=1';
$check2[$thread[sticky]]='checked=1';
$forums=mysql_query("SELECT id,title FROM forums WHERE minpower<=$power ORDER BY forder");
while($forum=mysql_fetch_array($forums)){
$checked='';
if($thread[forum]==$forum[id]) $checked='selected';
$forummovelist.="";
}
print "