Ignore:
Timestamp:
2007/05/09 15:36:39 (19 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/mobile/nonmember/index.php

    r12377 r12378  
    100100            break; 
    101101        } 
    102     }else{ 
     102    } 
    103103 
    104104    //--¡¡ÆþÎÏ¥¨¥é¡¼¥Á¥§¥Ã¥¯ 
    105      
    106     if ($_POST["mode"] == "set1") { 
    107         $objPage->arrErr = lfErrorCheck1($objPage->arrForm); 
    108         $objPage->tpl_mainpage = 'nonmember/index.tpl'; 
    109         $objPage->tpl_title = '¤ªµÒÍ;ðÊóÆþÎÏ(1/3)'; 
    110     } elseif ($_POST["mode"] == "set2") { 
    111         $objPage->arrErr = lfErrorCheck2($objPage->arrForm); 
    112         $objPage->tpl_mainpage = 'nonmember/set1.tpl'; 
    113         $objPage->tpl_title = '¤ªµÒÍ;ðÊóÆþÎÏ(2/3)'; 
    114     } else { 
    115         $objPage->arrErr = lfErrorCheck3($objPage->arrForm); 
    116         $objPage->tpl_mainpage = 'nonmember/set2.tpl'; 
    117         $objPage->tpl_title = '¤ªµÒÍ;ðÊóÆþÎÏ(3/3)'; 
    118         } 
    119     } 
     105    if (!empty($_POST["mode"])) { 
     106            if ($_POST["mode"] == "set1") { 
     107            $objPage->arrErr = lfErrorCheck1($objPage->arrForm); 
     108            $objPage->tpl_mainpage = 'nonmember/index.tpl'; 
     109            $objPage->tpl_title = '¤ªµÒÍ;ðÊóÆþÎÏ(1/3)'; 
     110        } elseif ($_POST["mode"] == "set2") { 
     111            $objPage->arrErr = lfErrorCheck2($objPage->arrForm); 
     112            $objPage->tpl_mainpage = 'nonmember/set1.tpl'; 
     113            $objPage->tpl_title = '¤ªµÒÍ;ðÊóÆþÎÏ(2/3)'; 
     114        } else { 
     115            $objPage->arrErr = lfErrorCheck3($objPage->arrForm); 
     116            $objPage->tpl_mainpage = 'nonmember/set2.tpl'; 
     117            $objPage->tpl_title = '¤ªµÒÍ;ðÊóÆþÎÏ(3/3)'; 
     118        } 
     119    } 
     120 
    120121    foreach($objPage->arrForm as $key => $val) { 
    121122        $objPage->$key = $val; 
Note: See TracChangeset for help on using the changeset viewer.