Index: temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_rating.html
===================================================================
--- temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_rating.html	(revision 757)
+++ temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_rating.html	(revision 757)
@@ -0,0 +1,125 @@
+<div style="padding: 15px 0;">
+	<table border="0" cellspacing="0" cellpadding="0">
+		<tr bgcolor="#2b8200">
+			<td><img src="/themes/default/img/main/title_left_top.gif" width="17" height="12" alt="" border="0"></td>
+			<td style="width:100%;"></td>
+			<td align="left"><img src="/themes/default/img/main/title_right_top.gif" width="17" height="12" alt="" border="0"></td>
+		</tr>
+		<tr>
+			<td bgcolor="#2b8200" colspan="3">
+			<table border="0" cellspacing="0" cellpadding="0">
+				<tr>
+					<td style="padding: 0 0 0 17px;"><img src="/themes/default/img/main/title_ranking.gif" width="197" height="22" alt="µ¡Ç½Í×Ë¾¥é¥ó¥­¥ó¥°" ></td>
+				</tr>
+			</table>
+			</td>
+		</tr>
+		<tr bgcolor="#2b8200">
+			<td><img src="/themes/default/img/main/title_left_bottom.gif" width="17" height="12" alt="" border="0"></td>
+			<td style="width:100%;"></td>
+			<td align="left"><img src="/themes/default/img/main/title_right_bottom.gif" width="17" height="12" alt="" border="0"></td>
+		</tr>
+	</table>
+	<table border="0" cellspacing="0" cellpadding="0">
+		<tr><td height="20"></td></tr>
+		<tr>
+			<td><img src="/themes/default/img/main/ranking_icon.gif" width="34" height="30" alt="" style="vertical-align: middle;"><span class="fs18"><strong>ºß¸Ë¤¬¾¯¤Ê¤¯¤Ê¤Ã¤¿¤é¥á¡¼¥ë¤¬ÆÏ¤¯¤è¤¦¤Ë¤·¤Æ¤Û¤·¤¤</strong></span></td>
+		</tr>
+		<tr><td height="5"></td></tr>
+		<tr><td bgcolor="#cccccc"><img src="/themes/default/img/_.gif" width="10" height="1" alt=""></td></tr>
+		<tr><td height="10"></td></tr>
+	</table>
+	
+	<table border="0" cellspacing="0" cellpadding="0">
+	<form name="form1" id="form1" method="post" action="<{$smarty.const.PHP_SELF|escape}>">
+		<tr>
+			<td bgcolor="#cccccc">
+			<table border="0" cellspacing="1" cellpadding="0">
+				<tr>
+					<td class="ranking01">ÆâÍÆ</td>
+					<td class="ranking02"><{$arrOption[0].body}></td>
+				</tr>
+				<{assign var="status" value=$arrOption[0].status}>
+				<{assign var="cat" value=$arrOption[0].category_id}>
+				<tr>
+					<td class="ranking01">¥¹¥Æ¡¼¥¿¥¹</td>
+					<td class="ranking02"><{$arrStatus[$status]|default:"¼õÉÕÃæ"}></td>
+				</tr>
+				<tr>
+					<td class="ranking01">¥«¥Æ¥´¥ê</td>
+					<td class="ranking02"><{$arrCat[$cat]|default:"»ØÄêÌµ¤·"}></td>
+				</tr>
+<{*
+				<tr>
+					<td class="ranking01">±¿±Ä¼Ô¤«¤é¤Î¥³¥á¥ó¥È</td>
+					<td class="ranking02"><{$arrOption[0].admin_comment|default:"Ìµ¤·"}></td>
+				</tr>
+*}>
+				<tr>
+					<td class="ranking01" nowrap="nowrap">É¾²Á¡ÊÍ×¡¿ÉÔÍ×¡Ë</td>
+					<td class="ranking02"><{$arrOption[0].option_count|default:"0"}>/<{$arrOption[0].minus_count|default:"0"}></td>
+				</tr>
+				<tr>
+					<td class="ranking01">É¾²Á¤¹¤ë</td>
+					<td class="ranking02">
+					<table border="0" cellspacing="0" cellpadding="0">
+						<tr>
+							<td><input type="radio" name="evaluation" id="necessity" value="1" /><label for="necessity">Í×</label>¡¡<input type="radio" name="evaluation" id="unnecessary" value="2" /><label for="unnecessary">ÉÔÍ×</label></td>
+						</tr>
+						<tr><td height="15"></td></tr>
+						<tr>
+							<td><textarea name="message01" style="width: 99%; height:150px;">¥³¥á¥ó¥È¤ò¤´µ­Æþ¤¯¤À¤µ¤¤¡£</textarea></td>
+						</tr>
+						<tr><td height="10"></td></tr>
+						<tr>
+							<td align="center"><input type="submit" value="É¾²Á¤òÁ÷¿®¤¹¤ë" /></td>
+						</tr>
+						<tr><td height="10"></td></tr>
+					</table>
+					</td>
+				</tr>
+			</table>
+			</td>
+		</tr>
+		<tr><td height="50"></td></tr>
+	</form>
+	</table>
+	
+	<!--¥Ú¡¼¥¸Á÷¤ê-->
+	<table border="0" cellspacing="0" cellpadding="0">
+		<tr>
+			<td align="center"><a href="#">¢«Á°¤Ø</a>¡¡<span class="orange"><strong>1</strong></span>¡Ã<a href="#">2</a>¡Ã<a href="#">3</a>¡Ã<a href="#">4</a>¡Ã<a href="#">5</a>¡Ã<a href="#">6</a>¡Ã<a href="#">7</a>¡Ã<a href="#">8</a>¡Ã<a href="#">9</a>¡Ã<a href="#">10</a>¡¡<a href="#">¼¡¤Ø¢ª</a></td>
+		</tr>
+		<tr><td height="15"></td></tr>
+	</table>
+	<!--¥Ú¡¼¥¸Á÷¤ê-->
+	
+	<!--Í×Ë¾°ìÍ÷¥Æ¡¼¥Ö¥ë-->
+	<table>
+		<tr align="center">
+			<th>ÅÐÏ¿¼Ô</th>
+			<th>É¾²Á</th>
+			<th>¥³¥á¥ó¥È</th>
+		</tr>
+		<{section name=cnt loop=$arrComment}>
+		<{assign var="id" value=$arrComment[cnt].rating_id}>
+		<tr class="<{cycle values="even,odd"}>">
+			<td><{$arrComment[cnt].uname|escape}></td>
+			<td align="center"><{$arrRating[$id]|escape}></td>
+			<td><{$arrComment[cnt].comment|escape}></td>
+		</tr>
+		<{/section}>
+	</table>
+	<!--Í×Ë¾°ìÍ÷¥Æ¡¼¥Ö¥ë-->
+	
+	<!--¥Ú¡¼¥¸Á÷¤ê-->
+	<table border="0" cellspacing="0" cellpadding="0">
+		<tr><td height="15"></td></tr>
+		<tr>
+			<td align="center"><a href="#">¢«Á°¤Ø</a>¡¡<span class="orange"><strong>1</strong></span>¡Ã<a href="#">2</a>¡Ã<a href="#">3</a>¡Ã<a href="#">4</a>¡Ã<a href="#">5</a>¡Ã<a href="#">6</a>¡Ã<a href="#">7</a>¡Ã<a href="#">8</a>¡Ã<a href="#">9</a>¡Ã<a href="#">10</a>¡¡<a href="#">¼¡¤Ø¢ª</a></td>
+		</tr>		
+	</table>
+	<!--¥Ú¡¼¥¸Á÷¤ê-->
+	
+	<div style="height: 40px;"></div>
+</div>
Index: temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_regist.html
===================================================================
--- temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_regist.html	(revision 755)
+++ 	(revision )
@@ -1,125 +1,0 @@
-<div style="padding: 15px 0;">
-	<table border="0" cellspacing="0" cellpadding="0">
-		<tr bgcolor="#2b8200">
-			<td><img src="/themes/default/img/main/title_left_top.gif" width="17" height="12" alt="" border="0"></td>
-			<td style="width:100%;"></td>
-			<td align="left"><img src="/themes/default/img/main/title_right_top.gif" width="17" height="12" alt="" border="0"></td>
-		</tr>
-		<tr>
-			<td bgcolor="#2b8200" colspan="3">
-			<table border="0" cellspacing="0" cellpadding="0">
-				<tr>
-					<td style="padding: 0 0 0 17px;"><img src="/themes/default/img/main/title_ranking.gif" width="197" height="22" alt="µ¡Ç½Í×Ë¾¥é¥ó¥­¥ó¥°" ></td>
-				</tr>
-			</table>
-			</td>
-		</tr>
-		<tr bgcolor="#2b8200">
-			<td><img src="/themes/default/img/main/title_left_bottom.gif" width="17" height="12" alt="" border="0"></td>
-			<td style="width:100%;"></td>
-			<td align="left"><img src="/themes/default/img/main/title_right_bottom.gif" width="17" height="12" alt="" border="0"></td>
-		</tr>
-	</table>
-	<table border="0" cellspacing="0" cellpadding="0">
-		<tr><td height="20"></td></tr>
-		<tr>
-			<td><img src="/themes/default/img/main/ranking_icon.gif" width="34" height="30" alt="" style="vertical-align: middle;"><span class="fs18"><strong>ºß¸Ë¤¬¾¯¤Ê¤¯¤Ê¤Ã¤¿¤é¥á¡¼¥ë¤¬ÆÏ¤¯¤è¤¦¤Ë¤·¤Æ¤Û¤·¤¤</strong></span></td>
-		</tr>
-		<tr><td height="5"></td></tr>
-		<tr><td bgcolor="#cccccc"><img src="/themes/default/img/_.gif" width="10" height="1" alt=""></td></tr>
-		<tr><td height="10"></td></tr>
-	</table>
-	
-	<table border="0" cellspacing="0" cellpadding="0">
-	<form name="form1" id="form1" method="post" action="<{$smarty.const.PHP_SELF|escape}>">
-		<tr>
-			<td bgcolor="#cccccc">
-			<table border="0" cellspacing="1" cellpadding="0">
-				<tr>
-					<td class="ranking01">ÆâÍÆ</td>
-					<td class="ranking02"><{$arrOption[0].body}></td>
-				</tr>
-				<{assign var="status" value=$arrOption[0].status}>
-				<{assign var="cat" value=$arrOption[0].category_id}>
-				<tr>
-					<td class="ranking01">¥¹¥Æ¡¼¥¿¥¹</td>
-					<td class="ranking02"><{$arrStatus[$status]|default:"¼õÉÕÃæ"}></td>
-				</tr>
-				<tr>
-					<td class="ranking01">¥«¥Æ¥´¥ê</td>
-					<td class="ranking02"><{$arrCat[$cat]|default:"»ØÄêÌµ¤·"}></td>
-				</tr>
-<{*
-				<tr>
-					<td class="ranking01">±¿±Ä¼Ô¤«¤é¤Î¥³¥á¥ó¥È</td>
-					<td class="ranking02"><{$arrOption[0].admin_comment|default:"Ìµ¤·"}></td>
-				</tr>
-*}>
-				<tr>
-					<td class="ranking01" nowrap="nowrap">É¾²Á¡ÊÍ×¡¿ÉÔÍ×¡Ë</td>
-					<td class="ranking02"><{$arrOption[0].option_count|default:"0"}>/<{$arrOption[0].minus_count|default:"0"}></td>
-				</tr>
-				<tr>
-					<td class="ranking01">É¾²Á¤¹¤ë</td>
-					<td class="ranking02">
-					<table border="0" cellspacing="0" cellpadding="0">
-						<tr>
-							<td><input type="radio" name="evaluation" id="necessity" value="1" /><label for="necessity">Í×</label>¡¡<input type="radio" name="evaluation" id="unnecessary" value="2" /><label for="unnecessary">ÉÔÍ×</label></td>
-						</tr>
-						<tr><td height="15"></td></tr>
-						<tr>
-							<td><textarea name="message01" style="width: 99%; height:150px;">¥³¥á¥ó¥È¤ò¤´µ­Æþ¤¯¤À¤µ¤¤¡£</textarea></td>
-						</tr>
-						<tr><td height="10"></td></tr>
-						<tr>
-							<td align="center"><input type="submit" value="É¾²Á¤òÁ÷¿®¤¹¤ë" /></td>
-						</tr>
-						<tr><td height="10"></td></tr>
-					</table>
-					</td>
-				</tr>
-			</table>
-			</td>
-		</tr>
-		<tr><td height="50"></td></tr>
-	</form>
-	</table>
-	
-	<!--¥Ú¡¼¥¸Á÷¤ê-->
-	<table border="0" cellspacing="0" cellpadding="0">
-		<tr>
-			<td align="center"><a href="#">¢«Á°¤Ø</a>¡¡<span class="orange"><strong>1</strong></span>¡Ã<a href="#">2</a>¡Ã<a href="#">3</a>¡Ã<a href="#">4</a>¡Ã<a href="#">5</a>¡Ã<a href="#">6</a>¡Ã<a href="#">7</a>¡Ã<a href="#">8</a>¡Ã<a href="#">9</a>¡Ã<a href="#">10</a>¡¡<a href="#">¼¡¤Ø¢ª</a></td>
-		</tr>
-		<tr><td height="15"></td></tr>
-	</table>
-	<!--¥Ú¡¼¥¸Á÷¤ê-->
-	
-	<!--Í×Ë¾°ìÍ÷¥Æ¡¼¥Ö¥ë-->
-	<table>
-		<tr align="center">
-			<th>ÅÐÏ¿¼Ô</th>
-			<th>É¾²Á</th>
-			<th>¥³¥á¥ó¥È</th>
-		</tr>
-		<{section name=cnt loop=$arrComment}>
-		<{assign var="id" value=$arrComment[cnt].rating_id}>
-		<tr class="<{cycle values="even,odd"}>">
-			<td><{$arrComment[cnt].uname|escape}></td>
-			<td align="center"><{$arrRating[$id]|escape}></td>
-			<td><{$arrComment[cnt].comment|escape}></td>
-		</tr>
-		<{/section}>
-	</table>
-	<!--Í×Ë¾°ìÍ÷¥Æ¡¼¥Ö¥ë-->
-	
-	<!--¥Ú¡¼¥¸Á÷¤ê-->
-	<table border="0" cellspacing="0" cellpadding="0">
-		<tr><td height="15"></td></tr>
-		<tr>
-			<td align="center"><a href="#">¢«Á°¤Ø</a>¡¡<span class="orange"><strong>1</strong></span>¡Ã<a href="#">2</a>¡Ã<a href="#">3</a>¡Ã<a href="#">4</a>¡Ã<a href="#">5</a>¡Ã<a href="#">6</a>¡Ã<a href="#">7</a>¡Ã<a href="#">8</a>¡Ã<a href="#">9</a>¡Ã<a href="#">10</a>¡¡<a href="#">¼¡¤Ø¢ª</a></td>
-		</tr>		
-	</table>
-	<!--¥Ú¡¼¥¸Á÷¤ê-->
-	
-	<div style="height: 40px;"></div>
-</div>
Index: temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollrating.php
===================================================================
--- temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollrating.php	(revision 757)
+++ temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollrating.php	(revision 757)
@@ -0,0 +1,56 @@
+<?php
+// $Id: pollresults.php,v 1.3 2005/09/04 20:46:12 onokazu Exp $
+//  ------------------------------------------------------------------------ //
+//                XOOPS - PHP Content Management System                      //
+//                    Copyright (c) 2000 XOOPS.org                           //
+//                       <http://www.xoops.org/>                             //
+//  ------------------------------------------------------------------------ //
+//  This program is free software; you can redistribute it and/or modify     //
+//  it under the terms of the GNU General Public License as published by     //
+//  the Free Software Foundation; either version 2 of the License, or        //
+//  (at your option) any later version.                                      //
+//                                                                           //
+//  You may not change or alter any portion of this comment or credits       //
+//  of supporting developers from this source code or any supporting         //
+//  source code which is considered copyrighted (c) material of the          //
+//  original comment or credit authors.                                      //
+//                                                                           //
+//  This program is distributed in the hope that it will be useful,          //
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
+//  GNU General Public License for more details.                             //
+//                                                                           //
+//  You should have received a copy of the GNU General Public License        //
+//  along with this program; if not, write to the Free Software              //
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
+//  ------------------------------------------------------------------------ //
+
+include "../../mainfile.php";
+include XOOPS_ROOT_PATH."/modules/xoopspoll/include/constants.php";
+include_once XOOPS_ROOT_PATH."/modules/xoopspoll/class/xoopspoll.php";
+include_once XOOPS_ROOT_PATH."/modules/xoopspoll/class/xoopspolloption.php";
+include_once XOOPS_ROOT_PATH."/modules/xoopspoll/class/xoopspolllog.php";
+include_once XOOPS_ROOT_PATH."/modules/xoopspoll/class/xoopspollrenderer.php";
+
+$option_id = $_GET['option_id'];
+
+$option_id = (!empty($option_id)) ? intval($option_id) : 0;
+if (empty($option_id)) {
+	redirect_header("index.php",0);
+	exit();
+}
+$xoopsOption['template_main'] = 'xoopspoll_rating.html';
+include XOOPS_ROOT_PATH."/header.php";
+
+$renderer = new XoopsPollRenderer();
+$renderer->assignOption($xoopsTpl, $option_id);
+$renderer->assignComment($xoopsTpl, $option_id);
+
+$xoopsTpl->assign('arrStatus', $arrStatus);
+$xoopsTpl->assign('arrCat', $arrCategory);
+$xoopsTpl->assign('arrRating', $arrRating);
+
+include XOOPS_ROOT_PATH.'/include/comment_view.php';
+
+include XOOPS_ROOT_PATH."/footer.php";
+?>
Index: temp/test-xoops.ec-cube.net/html/modules/xoopspoll/xoops_version.php
===================================================================
--- temp/test-xoops.ec-cube.net/html/modules/xoopspoll/xoops_version.php	(revision 708)
+++ temp/test-xoops.ec-cube.net/html/modules/xoopspoll/xoops_version.php	(revision 757)
@@ -58,5 +58,5 @@
 $modversion['templates'][3]['file'] = 'xoopspoll_results.html';
 $modversion['templates'][3]['description'] = '';
-$modversion['templates'][4]['file'] = 'xoopspoll_regist.html';
+$modversion['templates'][4]['file'] = 'xoopspoll_rating.html';
 $modversion['templates'][4]['description'] = '';
 
Index: temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollregist.php
===================================================================
--- temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollregist.php	(revision 747)
+++ 	(revision )
@@ -1,56 +1,0 @@
-<?php
-// $Id: pollresults.php,v 1.3 2005/09/04 20:46:12 onokazu Exp $
-//  ------------------------------------------------------------------------ //
-//                XOOPS - PHP Content Management System                      //
-//                    Copyright (c) 2000 XOOPS.org                           //
-//                       <http://www.xoops.org/>                             //
-//  ------------------------------------------------------------------------ //
-//  This program is free software; you can redistribute it and/or modify     //
-//  it under the terms of the GNU General Public License as published by     //
-//  the Free Software Foundation; either version 2 of the License, or        //
-//  (at your option) any later version.                                      //
-//                                                                           //
-//  You may not change or alter any portion of this comment or credits       //
-//  of supporting developers from this source code or any supporting         //
-//  source code which is considered copyrighted (c) material of the          //
-//  original comment or credit authors.                                      //
-//                                                                           //
-//  This program is distributed in the hope that it will be useful,          //
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
-//  GNU General Public License for more details.                             //
-//                                                                           //
-//  You should have received a copy of the GNU General Public License        //
-//  along with this program; if not, write to the Free Software              //
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
-//  ------------------------------------------------------------------------ //
-
-include "../../mainfile.php";
-include XOOPS_ROOT_PATH."/modules/xoopspoll/include/constants.php";
-include_once XOOPS_ROOT_PATH."/modules/xoopspoll/class/xoopspoll.php";
-include_once XOOPS_ROOT_PATH."/modules/xoopspoll/class/xoopspolloption.php";
-include_once XOOPS_ROOT_PATH."/modules/xoopspoll/class/xoopspolllog.php";
-include_once XOOPS_ROOT_PATH."/modules/xoopspoll/class/xoopspollrenderer.php";
-
-$option_id = $_GET['option_id'];
-
-$option_id = (!empty($option_id)) ? intval($option_id) : 0;
-if (empty($option_id)) {
-	redirect_header("index.php",0);
-	exit();
-}
-$xoopsOption['template_main'] = 'xoopspoll_regist.html';
-include XOOPS_ROOT_PATH."/header.php";
-
-$renderer = new XoopsPollRenderer();
-$renderer->assignOption($xoopsTpl, $option_id);
-$renderer->assignComment($xoopsTpl, $option_id);
-
-$xoopsTpl->assign('arrStatus', $arrStatus);
-$xoopsTpl->assign('arrCat', $arrCategory);
-$xoopsTpl->assign('arrRating', $arrRating);
-
-include XOOPS_ROOT_PATH.'/include/comment_view.php';
-
-include XOOPS_ROOT_PATH."/footer.php";
-?>
