0 && par2<1) order by listorder, home desc, id limit $limit,1"; //echo $sql; $result=mysql_query($sql); $num1=mysql_num_rows($result); $i=0; while ($i < $num1) { $id=mysql_result($result,$i,"id"); $title=mysql_result($result,$i,"title"); $description=mysql_result($result,$i,"description"); $permalinks=mysql_result($result,$i,"permalinks"); $blog=mysql_result($result,$i,"blog"); if (strlen($title)>10) { $style='padding-left:7px; padding-right:7px; width:86px; display:block; text-align:center;padding-top:3px;height:36px'; } else { $style='padding-left:7px; padding-right:7px; width:86px; display:block; text-align:center;padding-top:11px;height:29px'; } ?>
  • " title="" style=""> 0) { echo "
    "; } $i=0; while ($i < $num) { $id=mysql_result($result,$i,"id"); $title=mysql_result($result,$i,"title"); $description=mysql_result($result,$i,"description"); $permalinks=mysql_result($result,$i,"permalinks"); ?>
    ' title=''>
    0) { echo "
    "; } if ($num1>0) { echo '
  • '; } ?>