Ignore:
Timestamp:
2006/12/15 23:25:08 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/data/class/SC_CheckError.php

    r10717 r10719  
    590590    // value[3] = DD 
    591591    // value[4] = HH 
     592    // value[5] = mm 
     593    // value[6] = ss 
    592594    function CHECK_DATE2($value) {                       
    593595        if(isset($this->arrErr[$value[1]])) { 
     
    595597        }                                        
    596598        // ¾¯¤Ê¤¯¤È¤â¤É¤ì¤«°ì¤Ä¤¬ÆþÎϤµ¤ì¤Æ¤¤¤ë¡£ 
    597         if($this->arrParam[$value[1]] > 0 || $this->arrParam[$value[2]] > 0 || $this->arrParam[$value[3]] > 0 || $this->arrParam[$value[4]] > 0) { 
     599        if($this->arrParam[$value[1]] > 0 || $this->arrParam[$value[2]] > 0 || $this->arrParam[$value[3]] > 0 || $this->arrParam[$value[4]] > 0 || $this->arrParam[$value[5]] > 0 || $this->arrParam[$value[6]] > 0) { 
    598600            // ǯ·îÆü»þ¤Î¤É¤ì¤«¤¬ÆþÎϤµ¤ì¤Æ¤¤¤Ê¤¤¡£ 
    599             if(!(strlen($this->arrParam[$value[1]]) > 0 && strlen($this->arrParam[$value[2]]) > 0 && strlen($this->arrParam[$value[3]]) > 0 && strlen($this->arrParam[$value[4]]) > 0)) { 
     601            if(!(strlen($this->arrParam[$value[1]]) > 0 && strlen($this->arrParam[$value[2]]) > 0 && strlen($this->arrParam[$value[3]]) > 0 && strlen($this->arrParam[$value[4]]) > 0 && strlen($this->arrParam[$value[5]]) > 0 && strlen($this->arrParam[$value[6]]) > 0)) { 
    600602                $this->arrErr[$value[1]] = "¢¨ " . $value[0] . "¤Ï¤¹¤Ù¤Æ¤Î¹àÌܤòÆþÎϤ·¤Æ²¼¤µ¤¤¡£<br />"; 
    601             } else if ( ! checkdate($this->arrParam[$value[2]], $this->arrParam[$value[3]], $this->arrParam[$value[1]])) {                       
     603            } else if ( ! checkdate($this->arrParam[$value[2]], $this->arrParam[$value[3]], $this->arrParam[$value[1]])) { 
    602604                $this->arrErr[$value[1]] = "¢¨ " . $value[0] . "¤¬Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó¡£<br />"; 
    603605            } 
Note: See TracChangeset for help on using the changeset viewer.