From: <w4...@us...> - 2002-09-25 23:39:43
|
Update of /cvsroot/xoops/xoops-current/html/modules/mylinks In directory usw-pr-cvs1:/tmp/cvs-serv23193/html/modules/mylinks Modified Files: index.php singlelink.php viewcat.php Log Message: changed the center align to left align Index: index.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/index.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index.php 15 Jul 2002 08:13:23 -0000 1.1.1.1 --- index.php 25 Sep 2002 23:39:41 -0000 1.2 *************** *** 41,46 **** OpenTable(); mainheader(); ! echo "<center>\n"; ! echo "<table border=0 cellspacing=5 cellpadding=0 width=\"90%\"><tr>\n"; $count = 0; while($myrow = $xoopsDB->fetchArray($result)) { --- 41,46 ---- OpenTable(); mainheader(); ! // echo "<center>\n"; ! echo "<table border='0' cellspacing='5' cellpadding='0' width='90%'><tr>\n"; $count = 0; while($myrow = $xoopsDB->fetchArray($result)) { *************** *** 86,90 **** echo "<br><br>"; printf(_MD_THEREARE,$numrows); ! echo "</center>"; CloseTable(); --- 86,90 ---- echo "<br><br>"; printf(_MD_THEREARE,$numrows); ! //echo "</center>"; CloseTable(); *************** *** 95,99 **** showNew(); echo "</div>"; ! CloseTable(); include(XOOPS_ROOT_PATH."/modules/mylinks/footer.php"); --- 95,99 ---- showNew(); echo "</div>"; ! CloseTable(); include(XOOPS_ROOT_PATH."/modules/mylinks/footer.php"); Index: singlelink.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/singlelink.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** singlelink.php 15 Jul 2002 08:13:23 -0000 1.1.1.1 --- singlelink.php 25 Sep 2002 23:39:41 -0000 1.2 *************** *** 34,39 **** $result=$xoopsDB->query($q); list($lid, $cid, $ltitle, $url, $email, $logourl, $status, $time, $hits, $rating, $votes, $comments, $description)=$xoopsDB->fetchRow($result); ! echo "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" border=\"0\"><tr><td align=\"center\">\n"; ! echo "<table width=\"100%\" cellspacing=\"2\" cellpadding=\"2\" border=\"0\" bgcolor=\"cccccc\"><tr><td>\n"; $pathstring = "<a href=index.php>"._MD_MAIN."</a> : "; $nicepath = $mytree->getNicePathFromId($cid, "title", "viewcat.php?op="); --- 34,39 ---- $result=$xoopsDB->query($q); list($lid, $cid, $ltitle, $url, $email, $logourl, $status, $time, $hits, $rating, $votes, $comments, $description)=$xoopsDB->fetchRow($result); ! echo "<table width='100%' cellspacing='0' cellpadding='3' border='0'><tr><td align='left'>\n"; ! echo "<table width='100%' cellspacing='2' cellpadding='2' border='0' bgcolor='cccccc'><tr><td>\n"; $pathstring = "<a href=index.php>"._MD_MAIN."</a> : "; $nicepath = $mytree->getNicePathFromId($cid, "title", "viewcat.php?op="); *************** *** 41,45 **** echo "<b>".$pathstring."</b>"; echo "</td></tr></table><br>"; ! echo "<table width=\"100%\" cellspacing=0 cellpadding=10 border=0>"; $rating = number_format($rating, 2); $ltitle = $myts->makeTboxData4Show($ltitle); --- 41,45 ---- echo "<b>".$pathstring."</b>"; echo "</td></tr></table><br>"; ! echo "<table width='100%' cellspacing='0' cellpadding='10' border='0'>"; $rating = number_format($rating, 2); $ltitle = $myts->makeTboxData4Show($ltitle); Index: viewcat.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/modules/mylinks/viewcat.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** viewcat.php 15 Jul 2002 08:13:24 -0000 1.1.1.1 --- viewcat.php 25 Sep 2002 23:39:41 -0000 1.2 *************** *** 52,56 **** } ! echo "<table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td align='center'>\n"; echo "<table width='100%' cellspacing='1' cellpadding='2' border='0' class='bg3'><tr><td>\n"; $pathstring = "<a href='index.php'>"._MD_MAIN."</a> : "; --- 52,56 ---- } ! echo "<table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td align='left'>\n"; echo "<table width='100%' cellspacing='1' cellpadding='2' border='0' class='bg3'><tr><td>\n"; $pathstring = "<a href='index.php'>"._MD_MAIN."</a> : "; *************** *** 69,73 **** $scount = 0; echo "<table width=\"90%\"><tr>"; ! foreach($arr as $ele){ $title = $myts->makeTboxData4Show($ele['title']); --- 69,73 ---- $scount = 0; echo "<table width=\"90%\"><tr>"; ! foreach($arr as $ele){ $title = $myts->makeTboxData4Show($ele['title']); *************** *** 85,93 **** $fullcountresult=$xoopsDB->query("select count(*) from ".$xoopsDB->prefix("mylinks_links")." where cid=$cid and status>0"); list($numrows) = $xoopsDB->fetchRow($fullcountresult); ! if($numrows>0){ $q = "select l.lid, l.title, l.url, l.email, l.logourl, l.status, l.date, l.hits, l.rating, l.votes, l.comments, t.description from ".$xoopsDB->prefix("mylinks_links")." l, ".$xoopsDB->prefix("mylinks_text")." t where cid=$cid and l.lid=t.lid and status>0 order by $orderby"; $result=$xoopsDB->query($q,$show,$min); ! //if 2 or more items in result, show the sort menu if($numrows>1){ --- 85,93 ---- $fullcountresult=$xoopsDB->query("select count(*) from ".$xoopsDB->prefix("mylinks_links")." where cid=$cid and status>0"); list($numrows) = $xoopsDB->fetchRow($fullcountresult); ! if($numrows>0){ $q = "select l.lid, l.title, l.url, l.email, l.logourl, l.status, l.date, l.hits, l.rating, l.votes, l.comments, t.description from ".$xoopsDB->prefix("mylinks_links")." l, ".$xoopsDB->prefix("mylinks_text")." t where cid=$cid and l.lid=t.lid and status>0 order by $orderby"; $result=$xoopsDB->query($q,$show,$min); ! //if 2 or more items in result, show the sort menu if($numrows>1){ *************** *** 144,149 **** } } ! ! } echo "</td></tr></table>\n"; CloseTable(); --- 144,149 ---- } } ! ! } echo "</td></tr></table>\n"; CloseTable(); |