onokazu
onoka****@users*****
2005年 6月 11日 (土) 11:32:38 JST
Index: xoops2jp/extras/theme_x2t/extras/news_index.html diff -u xoops2jp/extras/theme_x2t/extras/news_index.html:1.1 xoops2jp/extras/theme_x2t/extras/news_index.html:1.2 --- xoops2jp/extras/theme_x2t/extras/news_index.html:1.1 Thu Sep 9 14:14:50 2004 +++ xoops2jp/extras/theme_x2t/extras/news_index.html Sat Jun 11 11:32:37 2005 @@ -1,50 +1,50 @@ -<{if $displaynav == true}> - <div style="text-align: center;"> - <form name="form1" action="index.php" method="get"> - <{$topic_select}> <select name="storynum"><{$storynum_options}></select> <input type="submit" value="<{$lang_go}>" class="formButton" /></form> - <hr /> - </div> -<{/if}> - - -<{section name=i loop=$stories}> -<{php}> -global $totalarticulos; -global $impar; -$totalarticulos = $totalarticulos +1; -<{/php}> -<{/section}> - -<{php}> -if (($totalarticulos % 2)==1){ - $impar=true; - echo '<table width=100%><tr><td colspan=2 width="100%">'; -}else{ - echo '<table width=100%><tr><td width="50%">'; -} -<{/php}> -<div style="text-align: right; margin: 10px;"><{$pagenav}></div> -<br /> -<!-- start news item loop --> -<{section name=i loop=$stories}> - <{include file="db:news_item.html" story=$stories[i]}> -<{php}> -global $contador; -$contador = $contador +1; -if ($contador && $impar && (!$arrancado)){ - $arrancado = true; - $contador = 0; - echo "</td></tr><tr><td>"; -}else{ - if (($contador % 2)==1){ - echo "</td><td width='50%'>"; - }else{ - echo "</td></tr><tr><td width='50%'>"; - } -} -<{/php}> -<{/section}> -</td></tr></table> -<!-- end news item loop --> -<div style="text-align: right; margin: 10px;"><{$pagenav}></div> +<{if $displaynav == true}> + <div style="text-align: center;"> + <form name="form1" action="index.php" method="get"> + <{$topic_select}> <select name="storynum"><{$storynum_options}></select> <input type="submit" value="<{$lang_go}>" class="formButton" /></form> + <hr /> + </div> +<{/if}> + + +<{section name=i loop=$stories}> +<{php}> +global $totalarticulos; +global $impar; +$totalarticulos = $totalarticulos +1; +<{/php}> +<{/section}> + +<{php}> +if (($totalarticulos % 2)==1){ + $impar=true; + echo '<table width=100%><tr><td colspan=2 width="100%">'; +}else{ + echo '<table width=100%><tr><td width="50%">'; +} +<{/php}> +<div style="text-align: right; margin: 10px;"><{$pagenav}></div> +<br /> +<!-- start news item loop --> +<{section name=i loop=$stories}> + <{include file="db:news_item.html" story=$stories[i]}> +<{php}> +global $contador; +$contador = $contador +1; +if ($contador && $impar && (!$arrancado)){ + $arrancado = true; + $contador = 0; + echo "</td></tr><tr><td>"; +}else{ + if (($contador % 2)==1){ + echo "</td><td width='50%'>"; + }else{ + echo "</td></tr><tr><td width='50%'>"; + } +} +<{/php}> +<{/section}> +</td></tr></table> +<!-- end news item loop --> +<div style="text-align: right; margin: 10px;"><{$pagenav}></div> <br /> \ No newline at end of file Index: xoops2jp/extras/theme_x2t/extras/news_item.html diff -u xoops2jp/extras/theme_x2t/extras/news_item.html:1.1 xoops2jp/extras/theme_x2t/extras/news_item.html:1.2 --- xoops2jp/extras/theme_x2t/extras/news_item.html:1.1 Thu Sep 9 14:14:50 2004 +++ xoops2jp/extras/theme_x2t/extras/news_item.html Sat Jun 11 11:32:37 2005 @@ -1,44 +1,44 @@ -<table width="100%" border="0" cellpadding="0" cellspacing="5" align="center"> - <tr> - <td width="100%" valign="top" class="newsTitle" colspan="2"><img src="<{$xoops_imageurl}>/folder.gif" align="middle" alt="" /> <b><{$story.title}></b></td> - </tr> - <tr> - <td width="100%" colspan="2" class="newsPoster"> <{$lang_postedby}> <{$story.poster}> <span class="textPoster"><{$lang_on}> <{$story.posttime}> (<{$story.hits}> <{$lang_reads}>)</span></td> - </tr> - <tr> - <{if $story.align == "left" }> - <td width="17%" valign="top" class="newsMisc"> - <table width="100%" border="0" cellpadding="0" cellspacing="0"> - <tr> - <td width="100%" valign="top" align="center"> - <{$story.imglink}></td> - <tr> - <td width="100%" valign="top" align="center" style="padding: 3px;"> - <a href="print.php?storyid=<{$story.id}>" target="_BLANK"><{$lang_printerpage}></a> - <a target="_top" href="<{$story.mail_link}>"><{$lang_sendstory}></a> - </td></tr></table> - </td> - <td width="83%" class="newsContent" valign="top"> - <{$story.text}> - </td> - <{else}> - <td width="83%" class="newsContent" valign="top"> - <{$story.text}> - </td> - <td width="17%" valign="top" class="newsMisc"> - <table width="100%" border="0" cellpadding="0" cellspacing="0"> - <tr> - <tr> - <td width="100%" valign="top" align="center" style="padding: 3px;" class="newsPoster"> - <a href="print.php?storyid=<{$story.id}>" target="_BLANK"><img src="images/print.gif" alt="<{$lang_printerpage}>" /></a> - <a target="_top" href="<{$story.mail_link}>"><img src="images/friend.gif" alt="<{$lang_sendstory}>" /></a> - </td></tr></table> - - </td> - <{/if}> - </tr> - <tr> - <td width="100%" colspan="2" class="newsPoster" align="right"><span class="textPoster"><{$story.adminlink}> <{$story.morelink}> </span></td> - </tr> -</table> +<table width="100%" border="0" cellpadding="0" cellspacing="5" align="center"> + <tr> + <td width="100%" valign="top" class="newsTitle" colspan="2"><img src="<{$xoops_imageurl}>/folder.gif" align="middle" alt="" /> <b><{$story.title}></b></td> + </tr> + <tr> + <td width="100%" colspan="2" class="newsPoster"> <{$lang_postedby}> <{$story.poster}> <span class="textPoster"><{$lang_on}> <{$story.posttime}> (<{$story.hits}> <{$lang_reads}>)</span></td> + </tr> + <tr> + <{if $story.align == "left" }> + <td width="17%" valign="top" class="newsMisc"> + <table width="100%" border="0" cellpadding="0" cellspacing="0"> + <tr> + <td width="100%" valign="top" align="center"> + <{$story.imglink}></td> + <tr> + <td width="100%" valign="top" align="center" style="padding: 3px;"> + <a href="print.php?storyid=<{$story.id}>" target="_BLANK"><{$lang_printerpage}></a> + <a target="_top" href="<{$story.mail_link}>"><{$lang_sendstory}></a> + </td></tr></table> + </td> + <td width="83%" class="newsContent" valign="top"> + <{$story.text}> + </td> + <{else}> + <td width="83%" class="newsContent" valign="top"> + <{$story.text}> + </td> + <td width="17%" valign="top" class="newsMisc"> + <table width="100%" border="0" cellpadding="0" cellspacing="0"> + <tr> + <tr> + <td width="100%" valign="top" align="center" style="padding: 3px;" class="newsPoster"> + <a href="print.php?storyid=<{$story.id}>" target="_BLANK"><img src="images/print.gif" alt="<{$lang_printerpage}>" /></a> + <a target="_top" href="<{$story.mail_link}>"><img src="images/friend.gif" alt="<{$lang_sendstory}>" /></a> + </td></tr></table> + + </td> + <{/if}> + </tr> + <tr> + <td width="100%" colspan="2" class="newsPoster" align="right"><span class="textPoster"><{$story.adminlink}> <{$story.morelink}> </span></td> + </tr> +</table> <br /> \ No newline at end of file Index: xoops2jp/extras/theme_x2t/extras/theme.html diff -u xoops2jp/extras/theme_x2t/extras/theme.html:1.1 xoops2jp/extras/theme_x2t/extras/theme.html:1.2 --- xoops2jp/extras/theme_x2t/extras/theme.html:1.1 Thu Sep 9 14:14:50 2004 +++ xoops2jp/extras/theme_x2t/extras/theme.html Sat Jun 11 11:32:37 2005 @@ -1,146 +1,146 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> -<head> -<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" /> -<meta http-equiv="content-language" content="<{$xoops_langcode}>" /> -<meta name="robots" content="<{$xoops_meta_robots}>" /> -<meta name="keywords" content="<{$xoops_meta_keywords}>" /> -<meta name="description" content="<{$xoops_meta_description}>" /> -<meta name="rating" content="<{$xoops_meta_rating}>" /> -<meta name="author" content="<{$xoops_meta_author}>" /> -<meta name="copyright" content="<{$xoops_meta_copyright}>" /> -<meta name="generator" content="XOOPS" /> -<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title> -<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" /> -<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" /> -<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" /> -<script type="text/javascript"> -<!-- -<{$xoops_js}> -//--> -</script> -</head> -<body> -<!-- Start Header --> -<table cellspacing="0" cellpadding="0" width="100%" border="0" style="background-color : #2F5376; color: #ffffff"> - <tr> - <td height="70" width="150" valign="middle" align="left" rowspan="2"> - <a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>logo.gif" alt="" /></a></td> -<td valign="middle" align="center" width="100%"> -<{$xoops_banner}> -</td></tr><tr> - <td width="100%" valign="bottom" align="right" class="navbar" > - <table border="0" cellpadding="1" cellspacing="0"> - <tr> - <td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="<{$xoops_url}>">Home</a></td> - <td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.xoops.org/modules/newbb/">XOOPS Support</a></td> - <td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.xoops.org/modules/xoopsfaq/">XOOPS FAQ</a></td> - </tr> - </table> - </td> - </tr> -</table> -<!-- End Header --> -<!-- Start Headerbar --> -<table border='0' width='100%' cellspacing='0' cellpadding='0'> - <tr> - <td width='10'><img src='<{$xoops_imageurl}>hbar_left.gif' width='10' height='23' alt='' /></td> - <td style='background-image: url(<{$xoops_imageurl}>hbar_middle.gif);' align='left'> </td> -<td width='15%' style='background-image: url(<{$xoops_imageurl}>hbar_middle.gif);' align='right'> -<form action="<{$xoops_url}>/search.php" method="post"> - <input type="text" name="query" class="navinput" /><input type="hidden" name="action" value="results" /> <input class="navinputImage" type="image" src="<{$xoops_imageurl}>searchButton.gif" name="searchSubmit" /> - </form></td> - <td width='10'><img src='<{$xoops_imageurl}>hbar_right.gif' width='10' height='23' alt='' /></td> - </tr> -</table> -<!-- End Headerbar --> - - <table width="100%" cellspacing="0" cellpadding="0" border="0"> - <tr> - <td class="leftcolumn" valign="top" style='background-image: url(<{$xoops_imageurl}>bg_left.gif);'><div class="leftcolumn"> - <!-- Start left blocks loop --> - <{foreach item=block from=$xoops_lblocks}> - <{include file="x2t/theme_blockleft.html"}> - <{/foreach}> - <!-- End left blocks loop --> - </div></td> - <td width="100%" valign="top" class="contentbox"> - - <!-- Display center blocks if any --> - <{if $xoops_showcblock == 1}> -<br /> -<table width="95%" border="0" cellpadding="0" cellspacing="0" align="center"> -<tr> -<td class="bcenterleft"> </td> -<td class="bcenterbg"> </td> -<td class="bcenterright"> </td> -</tr> -</table> - - <table width="95%" cellpadding="3" cellspacing="0" align="center" style="border-left: #cccccc 1px solid;border-right: #cccccc 1px solid;border-bottom: #cccccc 1px solid;"> - <tr> - <td class="centercolumn" valign="top" colspan="2"> - <div class="centercolumn"> - <!-- Start center-center blocks loop --> - <{foreach item=block from=$xoops_ccblocks}> - <{include file="x2t/theme_blockcenter_c.html"}> - <br /> - <{/foreach}> - <!-- End center-center blocks loop --> - </div> - </td></tr> - <tr> - <td class="centerLcolumn" valign="top"> - <div class="centerLcolumn"> - <!-- Start center-left blocks loop --> - <{foreach item=block from=$xoops_clblocks}> - <{include file="x2t/theme_blockcenter_l.html"}> - <br /> - <{/foreach}> - <!-- End center-left blocks loop --> - </div> - </td> - <td class="centerRcolumn" valign="top"> - <div class="centerRcolumn"> - <!-- Start center-right blocks loop --> - <{foreach item=block from=$xoops_crblocks}> - <{include file="x2t/theme_blockcenter_r.html"}> - <br /> - <{/foreach}> - <!-- End center-right blocks loop --> - </div> - </td> - </tr> - </table> - <{/if}> - <!-- End display center blocks --> - - - <br /> - <div class="content"><{$xoops_contents}></div> - </td> - <{if $xoops_showrblock == 1}> - <td class="rightcolumn" valign="top" align="right" style='background-image: url(<{$xoops_imageurl}>bg_right.gif);'><div class="rightcolumn"> - <!-- Start right blocks loop --> - <{foreach item=block from=$xoops_rblocks}> - <{include file="x2t/theme_blockright.html"}> - <{/foreach}> - <!-- End right blocks loop --> - </div> - </td> -<{else}> -<td width='10' style='background-image: url(<{$xoops_imageurl}>bg_right2.gif);'><img src='<{$xoops_imageurl}>dummy.gif' width='10' height='10' alt='' /></td> -<{/if}> - </tr> - <tr> - <td colspan="3" width="100%"> - -<table border='0' width='100%' cellspacing='0' cellpadding='0'> - <tr> - <td width='10'><img src='<{$xoops_imageurl}>hbar_left.gif' width='10' height='23' alt='' /></td> - <td style='background-image: url(<{$xoops_imageurl}>hbar_middle.gif);' align='center'> <span class="copyright"><{$footer}></span></td> - <td width='10'><img src='<{$xoops_imageurl}>hbar_right.gif' width='10' height='23' alt='' /></td></tr> -</table> -</td></tr></table> -</body> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> +<head> +<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" /> +<meta http-equiv="content-language" content="<{$xoops_langcode}>" /> +<meta name="robots" content="<{$xoops_meta_robots}>" /> +<meta name="keywords" content="<{$xoops_meta_keywords}>" /> +<meta name="description" content="<{$xoops_meta_description}>" /> +<meta name="rating" content="<{$xoops_meta_rating}>" /> +<meta name="author" content="<{$xoops_meta_author}>" /> +<meta name="copyright" content="<{$xoops_meta_copyright}>" /> +<meta name="generator" content="XOOPS" /> +<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title> +<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" /> +<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" /> +<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" /> +<script type="text/javascript"> +<!-- +<{$xoops_js}> +//--> +</script> +</head> +<body> +<!-- Start Header --> +<table cellspacing="0" cellpadding="0" width="100%" border="0" style="background-color : #2F5376; color: #ffffff"> + <tr> + <td height="70" width="150" valign="middle" align="left" rowspan="2"> + <a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>logo.gif" alt="" /></a></td> +<td valign="middle" align="center" width="100%"> +<{$xoops_banner}> +</td></tr><tr> + <td width="100%" valign="bottom" align="right" class="navbar" > + <table border="0" cellpadding="1" cellspacing="0"> + <tr> + <td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="<{$xoops_url}>">Home</a></td> + <td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.xoops.org/modules/newbb/">XOOPS Support</a></td> + <td class="tabOff" onmouseover="this.className='tabOn';" onmouseout="this.className='tabOff';"><a href="http://www.xoops.org/modules/xoopsfaq/">XOOPS FAQ</a></td> + </tr> + </table> + </td> + </tr> +</table> +<!-- End Header --> +<!-- Start Headerbar --> +<table border='0' width='100%' cellspacing='0' cellpadding='0'> + <tr> + <td width='10'><img src='<{$xoops_imageurl}>hbar_left.gif' width='10' height='23' alt='' /></td> + <td style='background-image: url(<{$xoops_imageurl}>hbar_middle.gif);' align='left'> </td> +<td width='15%' style='background-image: url(<{$xoops_imageurl}>hbar_middle.gif);' align='right'> +<form action="<{$xoops_url}>/search.php" method="post"> + <input type="text" name="query" class="navinput" /><input type="hidden" name="action" value="results" /> <input class="navinputImage" type="image" src="<{$xoops_imageurl}>searchButton.gif" name="searchSubmit" /> + </form></td> + <td width='10'><img src='<{$xoops_imageurl}>hbar_right.gif' width='10' height='23' alt='' /></td> + </tr> +</table> +<!-- End Headerbar --> + + <table width="100%" cellspacing="0" cellpadding="0" border="0"> + <tr> + <td class="leftcolumn" valign="top" style='background-image: url(<{$xoops_imageurl}>bg_left.gif);'><div class="leftcolumn"> + <!-- Start left blocks loop --> + <{foreach item=block from=$xoops_lblocks}> + <{include file="x2t/theme_blockleft.html"}> + <{/foreach}> + <!-- End left blocks loop --> + </div></td> + <td width="100%" valign="top" class="contentbox"> + + <!-- Display center blocks if any --> + <{if $xoops_showcblock == 1}> +<br /> +<table width="95%" border="0" cellpadding="0" cellspacing="0" align="center"> +<tr> +<td class="bcenterleft"> </td> +<td class="bcenterbg"> </td> +<td class="bcenterright"> </td> +</tr> +</table> + + <table width="95%" cellpadding="3" cellspacing="0" align="center" style="border-left: #cccccc 1px solid;border-right: #cccccc 1px solid;border-bottom: #cccccc 1px solid;"> + <tr> + <td class="centercolumn" valign="top" colspan="2"> + <div class="centercolumn"> + <!-- Start center-center blocks loop --> + <{foreach item=block from=$xoops_ccblocks}> + <{include file="x2t/theme_blockcenter_c.html"}> + <br /> + <{/foreach}> + <!-- End center-center blocks loop --> + </div> + </td></tr> + <tr> + <td class="centerLcolumn" valign="top"> + <div class="centerLcolumn"> + <!-- Start center-left blocks loop --> + <{foreach item=block from=$xoops_clblocks}> + <{include file="x2t/theme_blockcenter_l.html"}> + <br /> + <{/foreach}> + <!-- End center-left blocks loop --> + </div> + </td> + <td class="centerRcolumn" valign="top"> + <div class="centerRcolumn"> + <!-- Start center-right blocks loop --> + <{foreach item=block from=$xoops_crblocks}> + <{include file="x2t/theme_blockcenter_r.html"}> + <br /> + <{/foreach}> + <!-- End center-right blocks loop --> + </div> + </td> + </tr> + </table> + <{/if}> + <!-- End display center blocks --> + + + <br /> + <div class="content"><{$xoops_contents}></div> + </td> + <{if $xoops_showrblock == 1}> + <td class="rightcolumn" valign="top" align="right" style='background-image: url(<{$xoops_imageurl}>bg_right.gif);'><div class="rightcolumn"> + <!-- Start right blocks loop --> + <{foreach item=block from=$xoops_rblocks}> + <{include file="x2t/theme_blockright.html"}> + <{/foreach}> + <!-- End right blocks loop --> + </div> + </td> +<{else}> +<td width='10' style='background-image: url(<{$xoops_imageurl}>bg_right2.gif);'><img src='<{$xoops_imageurl}>dummy.gif' width='10' height='10' alt='' /></td> +<{/if}> + </tr> + <tr> + <td colspan="3" width="100%"> + +<table border='0' width='100%' cellspacing='0' cellpadding='0'> + <tr> + <td width='10'><img src='<{$xoops_imageurl}>hbar_left.gif' width='10' height='23' alt='' /></td> + <td style='background-image: url(<{$xoops_imageurl}>hbar_middle.gif);' align='center'> <span class="copyright"><{$footer}></span></td> + <td width='10'><img src='<{$xoops_imageurl}>hbar_right.gif' width='10' height='23' alt='' /></td></tr> +</table> +</td></tr></table> +</body> </html> \ No newline at end of file