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/entry/index.php

    r11569 r11674  
    221221} 
    222222 
    223 if($objPage->year == '') { 
    224     $objPage->year = '----'; 
    225 } 
    226  
    227223//----¡¡¥Ú¡¼¥¸É½¼¨ 
    228224$objView->assignobj($objPage); 
     
    366362function lfErrorCheck2($array) { 
    367363 
    368     global $objConn; 
     364    global $objConn, $objDate; 
    369365    $objErr = new SC_CheckError($array); 
    370366     
     
    374370 
    375371    $objErr->doFunc(array("À­ÊÌ", "sex") ,array("SELECT_CHECK", "NUM_CHECK"));  
    376     $objErr->doFunc(array("À¸Ç¯·îÆü", "year", "month", "day"), array("SELECT_CHECK", "CHECK_DATE")); 
     372    $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", 4), array("EXIST_CHECK", "SPTAB_CHECK", "NUM_CHECK", "NUM_COUNT_CHECK")); 
     373    if (!isset($objErr->arrErr['year'])) { 
     374        $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", $objDate->getStartYear()), array("MIN_CHECK")); 
     375        $objErr->doFunc(array("À¸Ç¯·îÆü (ǯ)", "year", $objDate->getEndYear()), array("MAX_CHECK")); 
     376    } 
     377    $objErr->doFunc(array("À¸Ç¯·îÆü (·îÆü)", "month", "day"), array("SELECT_CHECK")); 
     378    if (!isset($objErr->arrErr['year']) && !isset($objErr->arrErr['month']) && !isset($objErr->arrErr['day'])) { 
     379        $objErr->doFunc(array("À¸Ç¯·îÆü", "year", "month", "day"), array("CHECK_DATE")); 
     380    } 
    377381     
    378382    return $objErr->arrErr; 
Note: See TracChangeset for help on using the changeset viewer.