Changeset 11175


Ignore:
Timestamp:
2006/12/24 00:42:40 (20 years ago)
Author:
uehara
Message:
 
Location:
temp/branches/ec-cube-beta
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/data/Smarty/templates/campaign/application.tpl

    r11161 r11175  
    99//--> 
    1010</script> 
    11 <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> 
    12 <input type="hidden" name="mode" value="cart"> 
    13 <input type="hidden" name="product_id" value=""> 
    14 <input type="hidden" name="cp" value="true"> 
    1511 
    1612<!--{*¥³¥ó¥Æ¥ó¥ÄÆÉ¹þ*}--> 
    1713<!--{include file=`$tpl_dir_name`/contents.tpl}--> 
    18  
    19 </form> 
    2014 
    2115<!--{*¥í¥°¥¤¥ó¥Õ¥©¡¼¥à¡¼*}--> 
  • temp/branches/ec-cube-beta/html/campaign/default/application.php

    r11174 r11175  
    1919$objQuery = new SC_Query(); 
    2020$objCampaignSess = new SC_CampaignSession(); 
     21 
     22$objLoginFormParam = new SC_FormParam();    // ¥í¥°¥¤¥ó¥Õ¥©¡¼¥àÍÑ 
     23lfInitLoginFormParam();                     // ½é´üÀßÄê 
     24$objLoginFormParam->setParam($_POST);       // POSTÃͤμèÆÀ 
    2125 
    2226// ¥Ç¥£¥ì¥¯¥È¥ê̾¤ò¼èÆÀ 
     
    6872            } 
    6973        }  
    70     } else { 
    71         // ¥í¥°¥¤¥ó¥Ú¡¼¥¸¤ËÌá¤ë 
    72         header("Location: " . URL_SHOP_TOP); 
    73         exit;    
    7474    } 
    7575    break; 
     
    8787 
    8888//--------------------------------------------------------------------------------------------------------------------------------------------------------- 
     89 
     90/*  
     91 * ´Ø¿ô̾¡§lfInitLoginFormParam() 
     92 * ÀâÌÀ¡¡¡§¥í¥°¥¤¥ó¥Õ¥©¡¼¥à¤ò½é´ü²½ 
     93 * Ìá¤êÃÍ¡§Ìµ¤· 
     94 */ 
     95function lfInitLoginFormParam() { 
     96    global $objLoginFormParam; 
     97    $objLoginFormParam->addParam("µ­²±¤¹¤ë", "login_memory", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK")); 
     98    $objLoginFormParam->addParam("¥á¡¼¥ë¥¢¥É¥ì¥¹", "login_email", STEXT_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
     99    $objLoginFormParam->addParam("¥Ñ¥¹¥ï¡¼¥É", "login_pass", STEXT_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK")); 
     100} 
     101 
    89102/*  
    90103 * ´Ø¿ô̾¡§lfCheckActive() 
Note: See TracChangeset for help on using the changeset viewer.