Changeset 10726
- Timestamp:
- 2006/12/15 23:35:41 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/ec-cube-beta/data/class/SC_CheckError.php
r10725 r10726 591 591 // value[4] = HH 592 592 // value[5] = mm 593 // value[6] = ss594 593 function CHECK_DATE2($value) { 595 594 if(isset($this->arrErr[$value[1]])) { 596 595 return; 597 596 } 598 sfprintr($this->arrParam);597 599 598 // ¾¯¤Ê¤¯¤È¤â¤É¤ì¤«°ì¤Ä¤¬ÆþÎϤµ¤ì¤Æ¤¤¤ë¡£ 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) { 601 600 // ǯ·îÆü»þ¤Î¤É¤ì¤«¤¬ÆþÎϤµ¤ì¤Æ¤¤¤Ê¤¤¡£ 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 )) { 603 602 $this->arrErr[$value[1]] = "¢¨ " . $value[0] . "¤Ï¤¹¤Ù¤Æ¤Î¹àÌܤòÆþÎϤ·¤Æ²¼¤µ¤¤¡£<br />"; 604 603 } 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.
