> $forum301 > $w_forum[forum]"; include "header.php"; $locked_f = "on"; $stopuser = "on"; $posts1 = listall("archivi/$id"); function compare($a,$b) { $x = def($a, "archivi/p_forum"); $y = def($b, "archivi/p_forum"); return ComparaDate($y[last_post],$x[last_post]); } $l_stuff=def($posts1[0], "archivi/p_forum"); $l_id = $l_stuff[id]+1; @usort($posts1, "compare"); $fsticky = @fopen("archivi/sticky.dat", "r"); $read_st = @fread($fsticky, filesize("./archivi/sticky.dat")); $info_st = @explode("<~>", $read_st); @fclose($fsticky); for($i=0;$i"; if(!$pgt) { $pgt=1; } //if((count($posts)/$topics_per_page)>1) { d_topic(bottom); } echo "\n"; if ($posts[0] == "") { echo ""; } else { echo " "; for($i=($topics_per_page*$pgt)-$topics_per_page;$i-5000) { $v_icon = "\"new\""; } else { $v_icon = ""; } @settype($stuff[replies], "integer"); $topic = listall("./archivi/$id/$stuff[id]"); $c1 = count($topic); if ($c1 <= $posts_per_page) { $num_pages = 1; } else if (($c1 % $posts_per_page) == 0) { $num_pages = ($c1 / $posts_per_page); } else { $num_pages = ($c1 / $posts_per_page) + 1; } $num_pages = (int) $num_pages; if($num_pages == 1){ $r_ext = ""; } else { $r_ext = "$forum54 : "; for($m=1;$m<=$num_pages;$m++) { $r_ext .= "$m "; } } $locked= "\"\""; if($sticky[$i]!="ok"){ $class="table"; $gifs=""; $inpp = ""; } else { $inpp = "$forum113 : "; $class="topic"; $gifs="\"\""; } echo ""; } } echo "
$forum57
$forum50 $forum51 $forum52 $forum12 $forum53
\"\"
$inpp$stuff[subject] $v_icon
$r_ext
$stuff[user] $stuff[replies]   $stuff[last_post]
$forum41 $stuff[user_name]
$locked $gifs
"; if((count($posts)/$topics_per_page)>1)d_topic(top); echo ""; btab(); include "footer.php"; ?>