onokazu
onoka****@users*****
2006年 4月 13日 (木) 12:36:10 JST
Index: xoops2jp/html/modules/mylinks/index.php diff -u xoops2jp/html/modules/mylinks/index.php:1.4 xoops2jp/html/modules/mylinks/index.php:1.4.6.1 --- xoops2jp/html/modules/mylinks/index.php:1.4 Wed Aug 3 21:39:13 2005 +++ xoops2jp/html/modules/mylinks/index.php Thu Apr 13 12:36:10 2006 @@ -1,5 +1,5 @@ <?php -// $Id: index.php,v 1.4 2005/08/03 12:39:13 onokazu Exp $ +// $Id: index.php,v 1.4.6.1 2006/04/13 03:36:10 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -107,7 +107,7 @@ $path = str_replace("/"," <img src='".XOOPS_URL."/modules/mylinks/images/arrow.gif' board='0' alt='' /> ",$path); $new = newlinkgraphic($time, $status); $pop = popgraphic($hits); - $xoopsTpl->append('links', array('id' => $lid, 'cid' => $cid, 'rating' => number_format($rating, 2), 'title' => $myts->makeTboxData4Show($ltitle).$new.$pop, 'category' => $path, 'logourl' => $myts->makeTboxData4Show($logourl), 'updated' => formatTimestamp($time,"m"), 'description' => $myts->makeTareaData4Show($description,0), 'adminlink' => $adminlink, 'hits' => $hits, 'votes' => $votestring, 'comments' => $comments, 'mail_subject' => rawurlencode(sprintf(_MD_INTRESTLINK,$xoopsConfig['sitename'])), 'mail_body' => rawurlencode(sprintf(_MD_INTLINKFOUND,$xoopsConfig['sitename']).': '.XOOPS_URL.'/modules/mylinks/singlelink.php?cid='.$cid.'&lid='.$lid))); + $xoopsTpl->append('links', array('id' => $lid, 'cid' => $cid, 'rating' => number_format($rating, 2), 'title' => $myts->makeTboxData4Show($ltitle).$new.$pop, 'category' => $path, 'logourl' => $myts->makeTboxData4Show($logourl), 'updated' => formatTimestamp($time,"m"), 'description' => $myts->makeTareaData4Show($description,0), 'adminlink' => $adminlink, 'hits' => $hits, 'votes' => $votestring, 'comments' => $comments, 'mail_subject' => rawurlencode(sprintf(_MD_INTRESTLINK,$xoopsConfig['sitename'])), 'mail_body' => rawurlencode(sprintf(_MD_INTLINKFOUND,$xoopsConfig['sitename']).': '.XOOPS_URL.'/modules/mylinks/singlelink.php?cid='.$cid.'&lid='.$lid))); } include XOOPS_ROOT_PATH.'/footer.php'; ?> Index: xoops2jp/html/modules/mylinks/myheader.php diff -u xoops2jp/html/modules/mylinks/myheader.php:1.5 xoops2jp/html/modules/mylinks/myheader.php:1.5.4.1 --- xoops2jp/html/modules/mylinks/myheader.php:1.5 Mon Sep 5 05:46:10 2005 +++ xoops2jp/html/modules/mylinks/myheader.php Thu Apr 13 12:36:10 2006 @@ -1,5 +1,5 @@ <?php -// $Id: myheader.php,v 1.5 2005/09/04 20:46:10 onokazu Exp $ +// $Id: myheader.php,v 1.5.4.1 2006/04/13 03:36:10 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -42,7 +42,7 @@ $cid = intval($_GET['cid']); echo"<html><head><style><!--.bg1 { background-color : #E3E4E0;}.bg2 { background-color : #e5e5e5;}.bg3 { background-color : #f6f6f6;}.bg4 { background-color : #f0f0f0;}.bg5 { background-color : f8f8f8;}body { margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;font-family: Tahoma, taipei; color;#000000; font-size: 10px; background-color : #2F5376; color: #ffffff;}a { font-weight: bold;font-family: Tahoma, taipei; font-size: 10px; text-decoration: none; color: #666666; font-style: normal}A:hover { font-weight: bold;text-decoration: underline; font-family: Tahoma, taipei; font-size: 10px; color: #FF9966; font-style: normal}td { font-family: Tahoma, taipei; color: #000000; font-size: 10px;border-top-width : 1px; border-right-width : 1px; border-bottom-width : 1px; border-left-width : 1px;}img { border:0;}//--></style>"; $mail_subject = rawurlencode(sprintf(_MD_INTRESTLINK,$xoopsConfig['sitename'])); -$mail_body = rawurlencode(sprintf(_MD_INTLINKFOUND,$xoopsConfig['sitename']).': '.XOOPS_URL.'/modules/mylinks/singlelink.php?cid='.$cid.'&lid='.$lid); +$mail_body = rawurlencode(sprintf(_MD_INTLINKFOUND,$xoopsConfig['sitename']).': '.XOOPS_URL.'/modules/mylinks/singlelink.php?cid='.$cid.'&lid='.$lid); ?> </head><body> Index: xoops2jp/html/modules/mylinks/viewcat.php diff -u xoops2jp/html/modules/mylinks/viewcat.php:1.5 xoops2jp/html/modules/mylinks/viewcat.php:1.5.4.1 --- xoops2jp/html/modules/mylinks/viewcat.php:1.5 Mon Sep 5 05:46:10 2005 +++ xoops2jp/html/modules/mylinks/viewcat.php Thu Apr 13 12:36:10 2006 @@ -1,5 +1,5 @@ <?php -// $Id: viewcat.php,v 1.5 2005/09/04 20:46:10 onokazu Exp $ +// $Id: viewcat.php,v 1.5.4.1 2006/04/13 03:36:10 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -139,7 +139,7 @@ $path = str_replace("/"," <img src='".XOOPS_URL."/modules/mylinks/images/arrow.gif' board='0' alt='' /> ",$path); $new = newlinkgraphic($time, $status); $pop = popgraphic($hits); - $xoopsTpl->append('links', array('id' => $lid, 'cid' => $cid, 'rating' => number_format($rating, 2), 'title' => $myts->makeTboxData4Show($ltitle).$new.$pop, 'category' => $path, 'logourl' => $myts->makeTboxData4Show($logourl), 'updated' => formatTimestamp($time,"m"), 'description' => $myts->makeTareaData4Show($description,0), 'adminlink' => $adminlink, 'hits' => $hits, 'comments' => $comments, 'votes' => $votestring, 'mail_subject' => rawurlencode(sprintf(_MD_INTRESTLINK,$xoopsConfig['sitename'])), 'mail_body' => rawurlencode(sprintf(_MD_INTLINKFOUND,$xoopsConfig['sitename']).': '.XOOPS_URL.'/modules/mylinks/singlelink.php?cid='.$cid.'&lid='.$lid))); + $xoopsTpl->append('links', array('id' => $lid, 'cid' => $cid, 'rating' => number_format($rating, 2), 'title' => $myts->makeTboxData4Show($ltitle).$new.$pop, 'category' => $path, 'logourl' => $myts->makeTboxData4Show($logourl), 'updated' => formatTimestamp($time,"m"), 'description' => $myts->makeTareaData4Show($description,0), 'adminlink' => $adminlink, 'hits' => $hits, 'comments' => $comments, 'votes' => $votestring, 'mail_subject' => rawurlencode(sprintf(_MD_INTRESTLINK,$xoopsConfig['sitename'])), 'mail_body' => rawurlencode(sprintf(_MD_INTLINKFOUND,$xoopsConfig['sitename']).': '.XOOPS_URL.'/modules/mylinks/singlelink.php?cid='.$cid.'&lid='.$lid))); } $orderby = convertorderbyout($orderby); //Calculates how many pages exist. Which page one should be on, etc...