Index: /temp/branches/ec-cube-beta/html/admin/contents/campaign.php
===================================================================
--- /temp/branches/ec-cube-beta/html/admin/contents/campaign.php	(revision 10656)
+++ /temp/branches/ec-cube-beta/html/admin/contents/campaign.php	(revision 10656)
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+require_once("../require.php");
+
+//---- Ç§¾Ú²ÄÈÝ¤ÎÈ½Äê
+$objSess = new SC_Session();
+sfIsSuccess($objSess);
+
+//---- ¥Ú¡¼¥¸É½¼¨¥¯¥é¥¹
+class LC_Page {
+	
+	function LC_Page() {
+		$this->tpl_mainpage = 'contents/campaign.tpl';
+		$this->tpl_subnavi = 'contents/subnavi.tpl';
+		$this->tpl_subno = "campaign";
+		$this->tpl_mainno = 'contents';
+		$this->tpl_subtitle = '¥­¥ã¥ó¥Ú¡¼¥ó´ÉÍý';
+	}
+}
+
+
+//---- ¥Ú¡¼¥¸½é´üÀßÄê
+$objPage = new LC_Page();
+$objView = new SC_AdminView();
+
+
+//----¡¡¿·µ¬ÅÐÏ¿/ÊÔ½¸ÅÐÏ¿
+switch($_POST['mode']) {
+	case 'regist':
+		break;
+	default:
+		break;
+}
+
+//----¡¡¥Ú¡¼¥¸É½¼¨
+$objView->assignobj($objPage);
+$objView->display(MAIN_FRAME);
+
+
+//--------------------------------------------------------------------------------------------- 
+
+?>
Index: /temp/branches/ec-cube-beta/data/Smarty/templates/admin/contents/campaign.tpl
===================================================================
--- /temp/branches/ec-cube-beta/data/Smarty/templates/admin/contents/campaign.tpl	(revision 10656)
+++ /temp/branches/ec-cube-beta/data/Smarty/templates/admin/contents/campaign.tpl	(revision 10656)
@@ -0,0 +1,203 @@
+<!--{*
+/*
+ * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+*}-->
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
+<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
+<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
+<input type="hidden" name="mode" value="">
+<input type="hidden" name="news_id" value="<!--{$news_id|escape}-->">
+<input type="hidden" name="term" value="">
+	<tr valign="top">
+		<td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
+			<!--¢§SUB NAVI-->
+			<!--{include file=$tpl_subnavi}-->
+			<!--¢¥SUB NAVI-->
+		</td>
+		<td class="mainbg">
+			<!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
+			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+				<tr>
+					<td align="center">
+						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+						
+							<tr><td height="14"></td></tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+							</tr>
+							<tr>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+								<td bgcolor="#cccccc">
+								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+									</tr>
+									<tr>
+										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+										<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥­¥ã¥ó¥Ú¡¼¥ó¥Ú¡¼¥¸ÅÐÏ¿</span></td>
+										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+									</tr>
+								</table>
+
+								<!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
+								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">	
+									<thead>
+									<tr>
+										<td bgcolor="#f2f1ec" width="" class="fs12n">¥­¥ã¥ó¥Ú¡¼¥óÌ¾<span class="red"> *</span></td>
+										<td bgcolor="#ffffff" width="" class="fs12n"><!--{if $arrForm.campaign_name}--><span class="red"><!--{$arrErr.campaign_name}--></span><!--{/if}-->
+										<textarea name="news_title" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" <!--{if $arrErr.campaign_name}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->><!--{$news_title|escape}--></textarea><br/><span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.MTEXT_LEN}-->Ê¸»ú¡Ë</span>
+										</td>
+									</tr>
+									</thead>
+									<tfoot>
+									<tr class="fs12n">
+										<td bgcolor="#f2f1ec" width="78">ÆüÉÕ<span class="red"> *</span></td>
+										<td bgcolor="#ffffff" width="600"><span class="red"><!--{$arrErr.year}--><!--{$arrErr.month}--><!--{$arrErr.day}--></span>
+											<select name="year" <!--{if $arrErr.year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
+												<option value="" selected>----</option>
+												<!--{html_options options=$arrYear selected=$selected_year}-->
+											</select>Ç¯
+											<select name="month" <!--{if $arrErr.month}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
+												<option value="" selected>--</option>
+												<!--{html_options options=$arrMonth selected=$selected_month}-->
+											</select>·î
+											<select name="day" <!--{if $arrErr.day}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
+												<option value="" selected>--</option>
+												<!--{html_options options=$arrDay selected=$selected_day}-->
+											</select>Æü<br/><br/>
+											
+											<select name="year" <!--{if $arrErr.year}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
+												<option value="" selected>----</option>
+												<!--{html_options options=$arrYear selected=$selected_year}-->
+											</select>Ç¯
+											<select name="month" <!--{if $arrErr.month}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
+												<option value="" selected>--</option>
+												<!--{html_options options=$arrMonth selected=$selected_month}-->
+											</select>·î
+											<select name="day" <!--{if $arrErr.day}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
+												<option value="" selected>--</option>
+												<!--{html_options options=$arrDay selected=$selected_day}-->
+											</select>Æü<br/><br/>											
+										</td>
+									</tr>									
+									<tr>
+										<td bgcolor="#f2f1ec" width="38" class="fs12n">¥Ç¥£¥ì¥¯¥È¥êÌ¾</td>
+										<td bgcolor="#ffffff" width="600" class="fs12n"><span class="red"><!--{$arrErr.dir_name}--></span><input type="text" name="dir_name" size="60" class="box60"  value="<!--{$news_url|escape}-->" <!--{if $arrErr.dir_name}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}--> maxlength="<!--{$smarty.const.URL_LEN}-->"/><span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.URL_LEN}-->Ê¸»ú¡Ë</span>
+										</td>
+									</tr>
+									<tr>
+										<td bgcolor="#f2f1ec" width="38" class="fs12n">¿½¹þ¿ôÀ©¸æ</td>
+										<td bgcolor="#ffffff" width="600" class="fs12n"><span class="red"><!--{$arrErr.news_url}--></span><input type="text" name="news_url" size="60" class="box60"  value="<!--{$news_url|escape}-->" <!--{if $arrErr.news_url}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}--> maxlength="<!--{$smarty.const.URL_LEN}-->"/><span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.URL_LEN}-->Ê¸»ú¡Ë</span>
+										</td>
+									</tr>								
+									<tr class="fs12n">
+										<td bgcolor="#f2f1ec" width="78">½ÅÊ£¿½¹þÀ©¸æ</td>
+										<td bgcolor="#ffffff" width="600"><input type="checkbox" name="link_method" value="2" <!--{if $link_method eq 2}--> checked <!--{/if}--> >½ÅÊ£¿½¹þ¤òÀ©¸æ¤¹¤ë</td>
+									</tr>
+									<tr class="fs12n">
+										<td bgcolor="#f2f1ec" width="78">¥«¡¼¥È¤Ë¾¦ÉÊ¤òÆþ¤ì¤ë</td>
+										<td bgcolor="#ffffff" width="600"><input type="checkbox" name="link_method" value="2" <!--{if $link_method eq 2}--> checked <!--{/if}--> >¥«¡¼¥È¤Ë¾¦ÉÊ¤òÆþ¤ì¤ë¤è¤¦¤Ë¤¹¤ë</td>
+									</tr>
+									<tr class="fs12n">
+										<td bgcolor="#f2f1ec" width="78">Á÷ÎÁÌµÎÁÀßÄê</td>
+										<td bgcolor="#ffffff" width="600"><input type="checkbox" name="link_method" value="2" <!--{if $link_method eq 2}--> checked <!--{/if}--> disabled>Á÷ÎÁÌµÎÁ</td>
+									</tr>
+									</tfoot>
+								</table>
+								<!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
+								
+								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+									<tr>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+										<td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+									</tr>
+									<tr>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+										<td bgcolor="#e9e7de" align="center">
+										<table border="0" cellspacing="0" cellpadding="0" summary=" ">
+											<tr>
+												<td><input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="¤³¤ÎÆâÍÆ¤ÇÅÐÏ¿¤¹¤ë" border="0" name="subm" onclick="return func_regist();"></td>
+											</tr>
+										</table>
+										</td>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
+									</tr>
+									</form>
+								</table>
+								
+								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+									<tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
+								</table>
+								
+								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+									</tr>
+									<tr>
+										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+										<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë--></span>¥­¥ã¥ó¥Ú¡¼¥ó°ìÍ÷</td>
+										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+									</tr>
+								</table>
+
+								<!--¢§°ìÍ÷É½¼¨¥¨¥ê¥¢¤³¤³¤«¤é-->
+								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+								<form name="move" id="move" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
+								<input type="hidden" name="mode" value="moveRankSet">
+								<input type="hidden" name="term" value="setposition">
+								<input type="hidden" name="news_id" value="">
+								<input type="hidden" name="moveposition" value="">
+								<input type="hidden" name="rank" value="">
+									<tr bgcolor="#f2f1ec" align="center" class="fs12n">
+										<td width="30" rowspan="2">¥­¥ã¥ó¥Ú¡¼¥óÌ¾</td>
+										<td width="76"rowspan="2">¿½¹þ¿Í¿ô</td>
+										<td width="269"collspan ="2">¥Ç¥¶¥¤¥óÀßÄê</td>
+										<td width="50" rowspan="2">ÊÔ½¸</td>
+										<td width="50" rowspan="2">ºï½ü</td>
+										<td width="100">CSV</td>
+									</tr>
+									<tr bgcolor="#f2f1ec" align="center" class="fs12n">
+										<td width="139"collspan ="2">¥Ç¥¶¥¤¥óÀßÄê</td>
+										<td width="130" rowspan="2">ÊÔ½¸</td>
+									</tr>									
+								</form>
+								</table>
+								<!--¢¥°ìÍ÷É½¼¨¥¨¥ê¥¢¤³¤³¤Þ¤Ç-->
+									
+								</td>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+							</tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+							</tr>
+							<tr><td height="30"></td></tr>
+						</table>
+					</td>
+				</tr>
+				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+			</table>
+			<!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
+		</td>
+	</tr>
+</table>
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
