Changeset 11635 for branches/mobile
- Timestamp:
- 2007/03/09 00:16:47 (16 years ago)
- Location:
- branches/mobile
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mobile/data/Smarty/templates/mobile/contact/index.tpl
r11414 r11635 9 9 <!--{$business_hour}--><br> 10 10 ÅÅÏÃÈֹ桧<br> 11 <!--{$tel01}-->-<!--{$tel02}-->-<!--{$tel0 2}--><br>11 <!--{$tel01}-->-<!--{$tel02}-->-<!--{$tel03}--><br> 12 12 ¡ÚE-mail¡Û<br> 13 <a href="mailto:<!--{$email0 1}-->"><!--{$email01}--></a><br>13 <a href="mailto:<!--{$email02|escape:'url'}-->"><!--{$email02|escape}--></a><br> 14 14 ¢¨¤ªµÞ¤®¤Î¾ì¹ç¤Ë¤Ï¡¢¤ªÅÅÏäˤƤªÌ䤤¹ç¤»²¼¤µ¤¤¡£<br> 15 15 -
branches/mobile/data/Smarty/templates/mobile/entry/email_mobile.tpl
r11415 r11635 8 8 <br> 9 9 10 <!--{assign var=key value='email_mobile'}--> 10 11 <!--{if @$tpl_kara_mail_to != ''}--> 12 <font color="#ff0000"><!--{$arrErr[$key]|default:''}--></font> 11 13 ¼¡¤Î¥ê¥ó¥¯¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¶õ¥á¡¼¥ë¤òÁ÷¿®¤·¤Æ¤¯¤À¤µ¤¤¡£<br> 12 14 <center><a href="mailto:<!--{$tpl_kara_mail_to|escape:'url'}-->">¥á¡¼¥ëÁ÷¿®</a></center> 13 15 <!--{else}--> 14 16 <form method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> 15 <!--{assign var=key value='email_mobile'}-->16 17 ¢§¥á¡¼¥ë¥¢¥É¥ì¥¹<br> 17 18 <font color="#ff0000"><!--{$arrErr[$key]|default:''}--></font> -
branches/mobile/data/Smarty/templates/mobile/products/list.tpl
r11414 r11635 4 4 5 5 <hr> 6 7 <!--{if isset($tpl_previous_page) || isset($tpl_next_page)}--> 8 <!--{if isset($tpl_previous_page)}--> 9 <a href="<!--{$tpl_previous_page|escape}-->">Á°¤Ø</a> 10 <!--{/if}--> 11 <!--{if isset($tpl_previous_page) && isset($tpl_next_page)}--> 12 ¡Ã 13 <!--{/if}--> 14 <!--{if isset($tpl_next_page)}--> 15 <a href="<!--{$tpl_next_page|escape}-->">¼¡¤Ø</a> 16 <!--{/if}--> 17 <br><br> 18 <!--{/if}--> 6 19 7 20 <!--{foreach from=$arrProducts key=i item=arrProduct}--> … … 28 41 <br> 29 42 <!-- ¢¥¾¦ÉÊ ¤³¤³¤Þ¤Ç --> 43 <!--{foreachelse}--> 44 <!--{if $tpl_search_mode}--> 45 ³ºÅö·ï¿ô0·ï¤Ç¤¹¡£Â¾¤Î¸¡º÷¥¡¼¥ï¡¼¥É¤è¤êºÆÅÙ¸¡º÷¤ò¤·¤Æ¤¯¤À¤µ¤¤¡£<br> 46 <!--{else}--> 47 ¾¦Éʤ¬¤¢¤ê¤Þ¤»¤ó¡£<br> 48 <!--{/if}--> 30 49 <!--{/foreach}--> 50 51 <!--{if isset($tpl_previous_page) || isset($tpl_next_page)}--> 52 <!--{if isset($tpl_previous_page)}--> 53 <a href="<!--{$tpl_previous_page|escape}-->">Á°¤Ø</a> 54 <!--{/if}--> 55 <!--{if isset($tpl_previous_page) && isset($tpl_next_page)}--> 56 ¡Ã 57 <!--{/if}--> 58 <!--{if isset($tpl_next_page)}--> 59 <a href="<!--{$tpl_next_page|escape}-->">¼¡¤Ø</a> 60 <!--{/if}--> 61 <br> 62 <!--{/if}--> 31 63 32 64 <br> -
branches/mobile/html/mobile/entry/email_mobile.php
r11415 r11635 36 36 $objPage->arrErr = lfCheckError($objFormParam, $objCustomer); 37 37 38 if (empty($ arrRet)) {38 if (empty($objPage->arrErr)) { 39 39 lfRegister($objFormParam, $objCustomer); 40 40 $objPage->tpl_mainpage = 'entry/email_mobile_complete.tpl'; -
branches/mobile/html/mobile/products/list.php
r11398 r11635 29 29 30 30 //ɽ¼¨·ï¿ô¤ÎÁªÂò 31 if(sfIsInt($_ POST['disp_number'])) {32 $objPage->disp_number = $_ POST['disp_number'];31 if(sfIsInt($_REQUEST['disp_number'])) { 32 $objPage->disp_number = $_REQUEST['disp_number']; 33 33 } else { 34 34 //ºÇ¾®É½¼¨·ï¿ô¤òÁªÂò … … 37 37 38 38 //ɽ¼¨½ç½ø¤ÎÊݸ 39 $objPage->orderby = $_ POST['orderby'];39 $objPage->orderby = $_REQUEST['orderby']; 40 40 41 41 // GET¤Î¥«¥Æ¥´¥êID¤ò¸µ¤ËÀµ¤·¤¤¥«¥Æ¥´¥êID¤ò¼èÆÀ¤¹¤ë¡£ … … 44 44 // ¥¿¥¤¥È¥ëÊÔ½¸ 45 45 $tpl_subtitle = ""; 46 $tpl_search_mode = false; 46 47 if($_GET['mode'] == 'search'){ 47 48 $tpl_subtitle = "¸¡º÷·ë²Ì"; 49 $tpl_search_mode = true; 48 50 }elseif ($category_id == "" ) { 49 51 $tpl_subtitle = "Á´¾¦ÉÊ"; … … 74 76 75 77 // ¾¦ÉʰìÍ÷¤Îɽ¼¨½èÍý 76 $objPage = lfDispProductsList($category_id, $_GET['name'], $objPage->disp_number, $_ POST['orderby']);78 $objPage = lfDispProductsList($category_id, $_GET['name'], $objPage->disp_number, $_REQUEST['orderby']); 77 79 78 80 // ¸¡º÷¾ò·ï¤ò²èÌ̤Ëɽ¼¨ … … 126 128 127 129 130 // ¥Ú¡¼¥¸Á÷¤êµ¡Ç½ÍѤÎURL¤òºîÀ®¤¹¤ë¡£ 131 $objURL = new Net_URL($_SERVER['PHP_SELF']); 132 foreach ($_REQUEST as $key => $value) { 133 if ($key == session_name() || $key == 'pageno') { 134 continue; 135 } 136 $objURL->addQueryString($key, mb_convert_encoding($value, 'SJIS', 'EUC-JP')); 137 } 138 139 if ($objPage->objNavi->now_page > 1) { 140 $objURL->addQueryString('pageno', $objPage->objNavi->now_page - 1); 141 $objPage->tpl_previous_page = $objURL->path . '?' . $objURL->getQueryString(); 142 } 143 if ($objPage->objNavi->now_page < $objPage->objNavi->max_page) { 144 $objURL->addQueryString('pageno', $objPage->objNavi->now_page + 1); 145 $objPage->tpl_next_page = $objURL->path . '?' . $objURL->getQueryString(); 146 } 147 148 128 149 $objPage->tpl_subtitle = $tpl_subtitle; 150 $objPage->tpl_search_mode = $tpl_search_mode; 129 151 130 152 // »ÙʧÊýË¡¤Î¼èÆÀ … … 153 175 global $objPage; 154 176 $objQuery = new SC_Query(); 155 $objPage->tpl_pageno = $_ POST['pageno'];177 $objPage->tpl_pageno = $_REQUEST['pageno']; 156 178 157 179 //ɽ¼¨·ï¿ô¤Ç¥Æ¥ó¥×¥ì¡¼¥È¤òÀÚ¤êÂØ¤¨¤ë … … 195 217 196 218 // ¥Ú¡¼¥¸Á÷¤ê¤Î¼èÆÀ 197 $objNavi = new SC_PageNavi($_ POST['pageno'], $linemax, $disp_num, "fnNaviPage", NAVI_PMAX);219 $objNavi = new SC_PageNavi($_REQUEST['pageno'], $linemax, $disp_num, "fnNaviPage", NAVI_PMAX); 198 220 199 221 $strnavi = $objNavi->strnavi; … … 222 244 } 223 245 246 $objPage->objNavi =& $objNavi; 224 247 return $objPage; 225 248 }
Note: See TracChangeset
for help on using the changeset viewer.