onokazu
onoka****@users*****
2005年 5月 30日 (月) 19:31:28 JST
Index: xoops2jp/html/banners.php diff -u xoops2jp/html/banners.php:1.2.6.4 xoops2jp/html/banners.php:1.2.6.5 --- xoops2jp/html/banners.php:1.2.6.4 Fri May 13 19:34:22 2005 +++ xoops2jp/html/banners.php Mon May 30 19:31:28 2005 @@ -1,5 +1,5 @@ <?php -// $Id: banners.php,v 1.2.6.4 2005/05/13 10:34:22 minahito Exp $ +// $Id: banners.php,v 1.2.6.5 2005/05/30 10:31:28 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -57,7 +57,7 @@ $token =& XoopsMultiTokenHandler::quickCreate('banner_Ok'); echo $token->getHtml(); echo " - <input type='submit' value='Login'></td></tr> + <input type='submit' value='Login' /></td></tr> <tr><td colspan='2' align='center'><hr />Please type your client information</td></tr> </table></form>"; include "footer.php"; @@ -89,7 +89,7 @@ <td class='b_td'><b>Imp. Left</b></td> <td class='b_td'><b>Clicks</b></td> <td class='b_td'><b>% Clicks</b></td> - <td class='b_td'><b>Functions</b></td><tr>"; + <td class='b_td'><b>Functions</b></td></tr>"; $result = $xoopsDB->query("select bid, imptotal, impmade, clicks, date from ".$xoopsDB->prefix("banner")." where cid=$cid"); while ( list($bid, $imptotal, $impmade, $clicks, $date) = $xoopsDB->fetchRow($result) ) { if ( $impmade == 0 ) { @@ -103,13 +103,13 @@ $left = $imptotal-$impmade; } $token =& XoopsMultiTokenHandler::quickCreate('banner_EmailStats'); - echo "<td align='center'>$bid</td> + echo "<tr><td align='center'>$bid</td> <td align='center'>$impmade</td> <td align='center'>$imptotal</td> <td align='center'>$left</td> <td align='center'>$clicks</td> <td align='center'>$percent%</td> - <td align='center'><a href='banners.php?op=EmailStats&login=$login&pass=$pass&cid=$cid&bid=$bid&".$token->getUrl()."'>E-mail Stats</a></td><tr>"; + <td align='center'><a href='banners.php?op=EmailStats&login=$login&pass=$pass&cid=$cid&bid=$bid&".$token->getUrl()."'>E-mail Stats</a></td></tr>"; } echo "</table><br /><br /><div>Following are your running Banners in ".htmlspecialchars($xoopsConfig['sitename'])." </div><br /><br />"; $result = $xoopsDB->query("select bid, imageurl, clickurl, htmlbanner, htmlcode from ".$xoopsDB->prefix("banner")." where cid=$cid");