Ignore:
Timestamp:
2007/03/09 14:14:40 (16 years ago)
Author:
rebelt
Message:

下記の問題点の修正です。

  • 検証結果19
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mobile/html/mobile/mypage/change.php

    r11569 r11674  
    188188} 
    189189 
    190 if($objPage->year == '') { 
    191     $objPage->year = '----'; 
    192 } 
    193  
    194190//----¡¡¥Ú¡¼¥¸É½¼¨ 
    195191$objView->assignobj($objPage); 
     
    367363function lfErrorCheck2($array) { 
    368364 
    369     global $objConn; 
     365    global $objConn, $objDate; 
    370366    $objErr = new SC_CheckError($array); 
    371367     
     
    375371 
    376372    $objErr->doFunc(array("À­ÊÌ", "sex") ,array("SELECT_CHECK", "NUM_CHECK"));  
    377     $objErr->doFunc(array("À¸Ç¯·îÆü", "year", "month", "day"), array("SELECT_CHECK", "CHECK_DATE")); 
     373    $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", 4), array("EXIST_CHECK", "SPTAB_CHECK", "NUM_CHECK", "NUM_COUNT_CHECK")); 
     374    if (!isset($objErr->arrErr['year'])) { 
     375        $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", $objDate->getStartYear()), array("MIN_CHECK")); 
     376        $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", $objDate->getEndYear()), array("MAX_CHECK")); 
     377    } 
     378    $objErr->doFunc(array("À¸Ç¯·îÆü (·îÆü)", "month", "day"), array("SELECT_CHECK")); 
     379    if (!isset($objErr->arrErr['year']) && !isset($objErr->arrErr['month']) && !isset($objErr->arrErr['day'])) { 
     380        $objErr->doFunc(array("À¸Ç¯·îÆü", "year", "month", "day"), array("CHECK_DATE")); 
     381    } 
    378382     
    379383    return $objErr->arrErr; 
Note: See TracChangeset for help on using the changeset viewer.