From: <on...@us...> - 2002-09-28 22:35:29
|
Update of /cvsroot/xoops/xoops-current/html/modules/mylinks In directory usw-pr-cvs1:/tmp/cvs-serv10777 Modified Files: viewcat.php index.php Log Message: no message Index: viewcat.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/viewcat.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** viewcat.php 25 Sep 2002 23:39:41 -0000 1.2 --- viewcat.php 28 Sep 2002 22:35:26 -0000 1.3 *************** *** 65,69 **** if ( count($arr) > 0 ) { echo "</td></tr>"; - echo "<tr><td align=\"left\"><h4>"._MD_CATEGORIES."</h4></td></tr>\n"; echo "<tr><td align=\"center\">"; $scount = 0; --- 65,68 ---- *************** *** 103,107 **** echo "</b></center><br /><br />"; } ! echo "<table width=\"100%\" cellspacing=0 cellpadding=10 border=0>"; while(list($lid, $ltitle, $url, $email, $logourl, $status, $time, $hits, $rating, $votes, $comments, $description) = $xoopsDB->fetchRow($result)) { $rating = number_format($rating, 2); --- 102,106 ---- echo "</b></center><br /><br />"; } ! echo "</td></tr></table><table width=\"100%\" cellspacing=0 cellpadding=10 border=0>"; while(list($lid, $ltitle, $url, $email, $logourl, $status, $time, $hits, $rating, $votes, $comments, $description) = $xoopsDB->fetchRow($result)) { $rating = number_format($rating, 2); *************** *** 122,126 **** //Page Numbering if ($linkpages!=1 && $linkpages!=0) { ! echo "<br /><br />"; $prev = $min - $show; if ($prev>=0) { --- 121,125 ---- //Page Numbering if ($linkpages!=1 && $linkpages!=0) { ! echo "<br /><br /><div style:text-align:center;>"; $prev = $min - $show; if ($prev>=0) { *************** *** 143,150 **** echo "<b>[ "._MD_NEXT." ></b></a>"; } } } ! echo "</td></tr></table>\n"; CloseTable(); --- 142,152 ---- echo "<b>[ "._MD_NEXT." ></b></a>"; } + echo '</div>'; } + } else { + echo '</td></tr></table>'; } ! CloseTable(); Index: index.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.php 28 Sep 2002 22:21:02 -0000 1.3 --- index.php 28 Sep 2002 22:35:26 -0000 1.4 *************** *** 84,90 **** echo "</td></tr></table>"; list($numrows)=$xoopsDB->fetchRow($xoopsDB->query("select count(*) from ".$xoopsDB->prefix("mylinks_links")." where status>0")); ! echo "<br><br>"; printf(_MD_THEREARE,$numrows); ! //echo "</center>"; CloseTable(); --- 84,90 ---- echo "</td></tr></table>"; list($numrows)=$xoopsDB->fetchRow($xoopsDB->query("select count(*) from ".$xoopsDB->prefix("mylinks_links")." where status>0")); ! echo "<br><br><div align='center'>"; printf(_MD_THEREARE,$numrows); ! echo "</div>"; CloseTable(); |