Changeset 2806 for temp/trunk/html/admin/total
- Timestamp:
- 2006/08/30 09:53:13 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/total/index.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/total/index.php
r2805 r2806 71 71 switch ($key) { 72 72 case 'search_startyear': 73 // $sdate = sfGetTimestamp($_POST['search_startyear'], $_POST['search_startmonth'], $_POST['search_startday']);74 73 $sdate = $_POST['search_startyear'] . "/" . $_POST['search_startmonth'] . "/" . $_POST['search_startday']; 75 74 break; 76 75 case 'search_endyear': 77 // $edate = sfGetTimestamp($_POST['search_endyear'], $_POST['search_endmonth'], $_POST['search_endday'], true);78 76 $edate = $_POST['search_endyear'] . "/" . $_POST['search_endmonth'] . "/" . $_POST['search_endday']; 79 77 break; … … 479 477 } 480 478 $where.= " $col_date >= '". $sdate ."'"; 481 // $arrval[] = $sdate;482 479 } 483 480 … … 487 484 } 488 485 $where.= " $col_date < date('" . $edate ."')+1"; 489 // $arrval[] = $edate;490 486 } 491 487 … … 731 727 } 732 728 $where.= " order_date >= '". $sdate ."'"; 733 // $where.= " order_date >= ? ";734 // $arrval[] = $sdate;735 729 } 736 730 … … 739 733 $where.= " AND "; 740 734 } 741 $where.= " order_date < adate('" . $edate ."')"; 742 // $where.= " order_date <= ? "; 743 // $arrval[] = $edate; 744 } 745 735 $where.= " order_date < date('" . $edate ."')+1"; 736 } 737 746 738 // ¸¡º÷·ë²Ì¤Î¼èÆÀ 747 739 $objPage->arrResults = $objQuery->select($col, $from, $where, $arrval);
Note: See TracChangeset
for help on using the changeset viewer.
