"; echo ""; echo "
"; block_l($styleid); echo" "; $titlemain=$lag_index; a3lan_def_up(); ads("||index"); mysql_query("UPDATE cat SET counter=counter+1 where catid='1'"); $i=1; echo" "; echo" "; $rowsstitle=0; $rowssss==0; $result = mysql_query("SHOW FIELDS FROM block"); $teets=mysql_num_rows($result); if($teets==8) { mysql_query("ALTER TABLE `block` ADD `blocktab` INT NOT NULL "); } $w=mysql_query('select * from block where rtl=3 and showcat=1 order by ratteb asc'); while($rows=mysql_fetch_row($w)) { $rows[4]=stripslashes($rows[4]); $block= substr($rows[4],0,5); if($block=="block") { $teble=blocktable($rows[4],"index"); } else { $teble=$rows[4]; } $rowss=0; $wwws=mysql_query("select * from block where rtl=3 and showcat=1 and ratteb=".$rows[3]." order by blocktab desc"); $teets=mysql_num_rows($wwws); $dsdsd="50%"; if($teets >= 2) { if($rowssss==0) { $dsdsdf=''; $wwwds=mysql_query("select * from block WHERE name='$rows[3]' and rtl=5 "); while($rowdd=mysql_fetch_row($wwwds)) { if($rowdd[5]==0) { $yestab=''; }else{ $yestab='s'; } } if($teets == 2) { $dsdsd="49.8"; } if($teets == 3) { $dsdsd="33.33333"; } if($teets == 4) { $dsdsd="24.9"; } if($teets == 5) { $dsdsd="20"; } if($teets > 5) { $dsdsd=(100 / $teets)-.16; } if(!$yestab) { echo ""; }else { echo ""; if($rows[6]==0) { do_html_2($rows[1],$teble,$styleid,"index"); }else { echo $teble; } echo" "; echo""; } if($teets >= 2) { if($rowss!=1) { if($rowsstitle < ($teets-1)) { $rowsstitle=$rowsstitle+1; }else { $rowsstitle=1; $rowss=0; $rowssss=0; $yestab=''; } } } } echo" "; echo "
"; echo ""; while($rowsfd=mysql_fetch_row($wwws)) { $rowsfd[4]=stripslashes($rowsfd[4]); $block= substr($rowsfd[4],0,5); if($block=="block") { $teble=blocktable($rowsfd[4],"index"); } else { $teble=$rowsfd[4]; } echo "'; } echo"
"; if($rows[6]==0) { do_html_2($rows[1],$teble,$styleid,"index"); }else { echo $teble; } echo '
"; echo "
    "; $wwwsdd=mysql_query("select * from block where rtl=3 and showcat=1 and ratteb=".$rows[3]." order by blocktab desc"); while($rowsf=mysql_fetch_row($wwws)) { if(!$dsdsdf) { $select=" class='selected'"; $dsdsdf=1; } echo "
  • $rowsf[1]
  • "; } echo "
"; $wwwsdd=mysql_query("select * from block where rtl=3 and showcat=1 and ratteb=".$rows[3]." order by blocktab desc"); while($rowsfd=mysql_fetch_row($wwwsdd)) { $rowsfd[4]=stripslashes($rowsfd[4]); $block= substr($rowsfd[4],0,5); if($block=="block") { $teble=blocktable($rowsfd[4],"index"); } else { $teble=$rowsfd[4]; } echo"
$teble
"; } ?>
"; echo "
"; $catsmktba ="c"; a3lan_down(); echo ""; echo ""; block_r($styleid);echo ""; echo ""; template($styleid,""); exit(); ?>