Changeset 10726


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

Legend:

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

    r10725 r10726  
    591591    // value[4] = HH 
    592592    // value[5] = mm 
    593     // value[6] = ss 
    594593    function CHECK_DATE2($value) {                       
    595594        if(isset($this->arrErr[$value[1]])) { 
    596595            return; 
    597596        } 
    598 sfprintr($this->arrParam);                                   
     597                                     
    599598        // ¾¯¤Ê¤¯¤È¤â¤É¤ì¤«°ì¤Ä¤¬ÆþÎϤµ¤ì¤Æ¤¤¤ë¡£ 
    600         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) { 
     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) { 
    601600            // ǯ·îÆü»þ¤Î¤É¤ì¤«¤¬ÆþÎϤµ¤ì¤Æ¤¤¤Ê¤¤¡£ 
    602             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)) { 
     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 )) { 
    603602                $this->arrErr[$value[1]] = "¢¨ " . $value[0] . "¤Ï¤¹¤Ù¤Æ¤Î¹àÌܤòÆþÎϤ·¤Æ²¼¤µ¤¤¡£<br />"; 
    604603            } else if ( ! checkdate($this->arrParam[$value[2]], $this->arrParam[$value[3]], $this->arrParam[$value[1]])) { 
Note: See TracChangeset for help on using the changeset viewer.