Probably from a bracket somewhere?
my code:
$tempext = '_nopost';
}
if ($forum['sponsorimg'] && $forum['cancontainthreads']==0 && $depth==1) {
eval("\$forumbits .= \"".gettemplate("forumhome_forumbit_level1_nopost_ sponsor")."\";");
} else {
if ($forum['link']) {
eval("\$forumbits .= \"".gettemplate("forumdisplay_linkbit_level$depth" )."\";");
} else {
eval("\$forumbits .= \"".gettemplate("forumdisplay_forumbit_level$depth $tempext")."\";");
}
}
if ($depth<$forumhomedepth) {
$forumbits.=makeforumbit($forum['forumid'],$depth+1,$forumperms);
}
} // END if can view
} // END while ( list($key2,$forum)=each($val1) ) {
} // END while ( list($key1,$val1)=each($iforumcache["$forumid"]) ) {
--------------------------------------------------------------------------
yours:
$tempext = '_nopost';
}
if($forum['parentid']!=$columnparent) {
if($colsdone==1) {
$colsdone=0;
eval("\$forumbits .= \"".gettemplate("colforumtablefooter")."\";");
}
if ($forum['sponsorimg'] && $forum['cancontainthreads']==0 && $depth==1) {
eval("\$forumbits .= \"".gettemplate("forumhome_forumbit_level1_nopost_ sponsor")."\";");
} else {
if ($forum['link']) {
eval("\$forumbits .= \"".gettemplate("forumdisplay_linkbit_level$depth" )."\";");
}
}else {
eval("\$forumbits .= \"".gettemplate("forumdisplay_forumbit_level$depth $tempext")."\";");
} else {
if($colsdone!=1) {
$colsdone=1;
$colcounter=1;
eval("\$forumbits .= \"".gettemplate("colforumtableheader")."\";");
} else {
$colcounter++;
if($colcounter%($forumcols+1)==0) $forumbits .= "</tr><tr>";
}
eval("\$forumbits .= \"".gettemplate("colforumbit")."\";");
}
if ($depth<$forumhomedepth) {
$forumbits.=makeforumbit($forum['forumid'],$depth+1,$forumperms);
}
} // END if can view
} // END while ( list($key2,$forum)=each($val1) ) {
} // END while ( list($key1,$val1)=each($iforumcache["$forumid"]) ) {
|