Changeset 10719 for temp/branches/ec-cube-beta
- Timestamp:
- 2006/12/15 23:25:08 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/ec-cube-beta/data/class/SC_CheckError.php
r10717 r10719 590 590 // value[3] = DD 591 591 // value[4] = HH 592 // value[5] = mm 593 // value[6] = ss 592 594 function CHECK_DATE2($value) { 593 595 if(isset($this->arrErr[$value[1]])) { … … 595 597 } 596 598 // ¾¯¤Ê¤¯¤È¤â¤É¤ì¤«°ì¤Ä¤¬ÆþÎϤµ¤ì¤Æ¤¤¤ë¡£ 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) { 598 600 // ǯ·îÆü»þ¤Î¤É¤ì¤«¤¬ÆþÎϤµ¤ì¤Æ¤¤¤Ê¤¤¡£ 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)) { 600 602 $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]])) { 602 604 $this->arrErr[$value[1]] = "¢¨ " . $value[0] . "¤¬Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó¡£<br />"; 603 605 }
Note: See TracChangeset
for help on using the changeset viewer.
