- Timestamp:
- 2007/09/20 14:14:52 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-templates/data/Smarty/templates/admin/design/template.tpl
r15056 r15775 6 6 */ 7 7 *}--> 8 <script type="text/javascript"><!-- 9 function submitRegister() { 10 var form = document.form1; 11 var msg = "¥Æ¥ó¥×¥ì¡¼¥È¤òÊѹ¹¤·¤Þ¤¹¡£\n´û¸¤Î¥Ç¡¼¥¿¤Ï¾å½ñ¤¤µ¤ì¤Þ¤¹¤¬¤è¤í¤·¤¤¤Ç¤¹¤«¡©"; 12 13 if (window.confirm(msg)) { 14 form['mode'].value = 'register'; 15 form.submit(); 16 } 17 } 18 // --> 19 </script> 8 20 <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú--> 9 21 <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" "> 10 <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" onsubmit="return lfnModeSubmit('confirm')"> 11 <!--{foreach from=$smarty.post key="key" item="item"}--> 12 <!--{if $key ne "mode"}--><input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"> 13 <!--{/if}--> 14 <!--{/foreach}--> 22 <form name="form1" method="post" action=""> 15 23 <input type="hidden" name="mode" value=""> 16 <input type="hidden" name="tpl_subno_template" value="<!--{$tpl_subno_template}-->"> 24 <input type="hidden" name="template_code_delete" value=""> 25 <input type="hidden" name="uniqid" value="<!--{$uniqid}-->"> 17 26 <tr valign="top"> 18 27 <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402"> … … 41 50 <tr> 42 51 <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> 43 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë--> <!--{$template_name}--></span></td>52 <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥Æ¥ó¥×¥ì¡¼¥ÈÀßÄê</span></td> 44 53 <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> 45 54 </tr> … … 51 60 </tr> 52 61 </table> 62 63 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 64 <tr bgcolor="#f2f1ec" class="fs12n"> 65 <td> 66 ¥Æ¥ó¥×¥ì¡¼¥È¤òÁªÂò¤·¡¢¡Ö¤³¤ÎÆâÍÆ¤ÇÅÐÏ¿¤¹¤ë¡×¥Ü¥¿¥ó¤ò²¡¤¹¤È¡¢<br> 67 ÁªÂò¤·¤¿¥Æ¥ó¥×¥ì¡¼¥È¤Ø¥Ç¥¶¥¤¥ó¤òÊѹ¹¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£<br> 68 <br> 69 Êѹ¹¤·¤¿¾ì¹ç¡¢²¼¤Î¥Õ¥¡¥¤¥ë¤¬¾å½ñ¤¤µ¤ì¤Þ¤¹¡£ 70 <ul> 71 <li>user_data/css/contents.css</li> 72 <li>user_data/include/*</li> 73 <li>user_data/templates/mypage/*</li> 74 <li>user_data/templates/detail.tpl</li> 75 <li>user_data/templates/list.tpl</li> 76 <li>user_data/templates/top.tpl</li> 77 </ul> 78 </td> 79 </tr> 80 <tr bgcolor="#ffffff" class="fs12n"> 81 <td> 82 <table width="650" bgcolor="#cccccc" border="0" cellspacing="1" cellpadding="5" summary=" "> 83 <tr bgcolor="#f2f1ec" align="center" class="fs12n"> 84 <td width="">ÁªÂò</td> 85 <td width="">̾Á°</td> 86 <td width="">ÊݸÀè</td> 87 <!--<td width="50">³Îǧ</td>--> 88 <td width="50">ºï½ü</td> 89 </tr> 90 <!--{foreach from=$templates item=tpl}--> 91 <!--{assign var=tplcode value=$tpl.template_code}--> 92 <tr bgcolor="#ffffff" align="center" class="fs12"> 93 <td width="" ><input type="radio" name="template_code" value="<!--{$tplcode|escape}-->" <!--{if $tplcode == $now_template}-->checked<!--{/if}-->></td> 94 <td width=""><!--{$tpl.template_name|escape}--></td> 95 <td width="">user_data/tpl_packages/<!--{$tplcode|escape}-->/</td> 96 <!--<td width=""><span class="icon_confirm"><a href="" onClick="">³Îǧ</span></a></td>--> 97 <td width=""><span class="icon_delete"><a href="" onClick="fnModeSubmit('delete','template_code_delete','<!--{$tplcode}-->');return false;">ºï½ü</a></span></td> 98 </tr> 99 <!--{/foreach}--> 53 100 54 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 55 <tr class="fs12n"> 56 <td bgcolor="#f2f1ec" align="center"><strong>¸½ºß¤Î¥Æ¥ó¥×¥ì¡¼¥È</strong></td> 57 </tr> 58 <tr class="fs12n"> 59 <td bgcolor="#ffffff" align="center"><img height=500 width=400 src="<!--{$smarty.const.URL_DIR}--><!--{$arrTemplate.image[$MainImage]}-->" name="main_img" ></td> 60 </tr> 61 </table> 62 63 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 64 <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr> 101 </table> 102 </td> 103 </tr> 65 104 </table> 66 105 67 <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">68 <tr class="fs12n">69 <td bgcolor="#f2f1ec" align="center" colspan="3"><strong>¥Æ¥ó¥×¥ì¡¼¥È°ìÍ÷</strong></td>70 </tr>71 72 <!--{section name=template loop=$arrTemplate.image step=3}-->73 <!--{*foreach key=key item=item from=$arrTemplate.image*}-->74 <tr>75 <!--{assign var=cnt value=$smarty.section.template.iteration-1}-->76 <!--{assign var=key value=$cnt*$smarty.section.template.step}-->77 <!--{assign var=code value=$arrTemplate.code[$key]}-->78 <!--{assign var=image value=$arrTemplate.image[$code]}-->79 <td bgcolor="#ffffff" align="center"><!--{$arrTemplate[template]}-->80 <span class="fs12">¡Ú<!--{$code}-->¡Û</span><br/>81 <label for="radio<!--{$key}-->"><img src="<!--{$smarty.const.URL_DIR}--><!--{$image}-->" width="160" height="200" name="<!--{$key}-->" alt="<!--{$code}-->"></label><br>82 <span class="fs10n"><label for="radio<!--{$key}-->"><input type="radio" name="check_template" value="<!--{$code}-->" id="radio<!--{$key}-->" onClick="ChangeImage('<!--{$smarty.const.URL_DIR}--><!--{$image}-->');" <!--{if $arrTemplate.check[$code] != ""}-->checked<!--{/if}-->>ÁªÂò</label></span>83 </td>84 <!--{assign var=cnt value=$smarty.section.template.iteration-1}-->85 <!--{assign var=key value=$cnt*$smarty.section.template.step+1}-->86 <!--{assign var=code value=$arrTemplate.code[$key]}-->87 <!--{assign var=image value=$arrTemplate.image[$code]}-->88 <!--{if $image != ""}-->89 <td bgcolor="#ffffff" align="center"><!--{$arrTemplate[template]}-->90 <span class="fs12">¡Ú<!--{$code}-->¡Û</span><br/>91 <label for="radio<!--{$key}-->"><img src="<!--{$smarty.const.URL_DIR}--><!--{$image}-->" width="160" height="200" name="<!--{$key}-->" alt="<!--{$code}-->></label><br>92 <span class="fs10n"><label for="radio<!--{$key}-->"><input type="radio" name="check_template" value="<!--{$code}-->" id="radio<!--{$key}-->" onClick="ChangeImage('<!--{$smarty.const.URL_DIR}--><!--{$image}-->');" <!--{if $arrTemplate.check[$code] != ""}-->checked<!--{/if}-->>ÁªÂò</label></span>93 </td>94 <!--{/if}-->95 <!--{assign var=cnt value=$smarty.section.template.iteration-1}-->96 <!--{assign var=key value=$cnt*$smarty.section.template.step+2}-->97 <!--{assign var=code value=$arrTemplate.code[$key]}-->98 <!--{assign var=image value=$arrTemplate.image[$code]}-->99 <!--{if $image != ""}-->100 <td bgcolor="#ffffff" align="center"><!--{$arrTemplate[template]}-->101 <span class="fs12">¡Ú<!--{$code}-->¡Û</span><br/>102 <label for="radio<!--{$key}-->"><img src="<!--{$smarty.const.URL_DIR}--><!--{$image}-->" width="160" height="200" name="<!--{$key}-->" alt="<!--{$code}-->></label><br>103 <span class="fs10n"><label for="radio<!--{$key}-->"><input type="radio" name="check_template" value="<!--{$code}-->" id="radio<!--{$key}-->" onClick="ChangeImage('<!--{$smarty.const.URL_DIR}--><!--{$image}-->');" <!--{if $arrTemplate.check[$code] != ""}-->checked<!--{/if}-->>ÁªÂò</label></span>104 </td>105 <!--{/if}-->106 107 </tr>108 <!--{/section}-->109 </table>110 111 106 <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" "> 112 107 <tr> … … 121 116 <tr> 122 117 <td> 123 <a href="javascript:fnModeSubmit('download', '', '');"><img onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_download_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_download.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_download.jpg" width="123" height="24" alt="¥À¥¦¥ó¥í¡¼¥É" border="0" name="subm"></a> 124 <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"> 118 <a href="" onClick="submitRegister();return false;"> 119 <img 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"> 120 </a> 125 121 </td> 126 122 </tr> … … 151 147 </table> 152 148 <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú--> 153 154 <script type="text/javascript">155 function ChangeImage(strUrl)156 {157 document.main_img.src=strUrl;158 }159 160 // ¥â¡¼¥É¤È¥¡¼¤ò»ØÄꤷ¤ÆSUBMIT¤ò¹Ô¤¦¡£161 function lfnModeSubmit(mode) {162 if(!window.confirm('ÅÐÏ¿¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«?')){163 return false;164 }165 document.form1['mode'].value = mode;166 return true;167 }168 169 170 </script>
Note: See TracChangeset
for help on using the changeset viewer.