Changeset 4835
- Timestamp:
- 2006/09/17 12:57:12 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/batch/daily.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/batch/daily.php
r4834 r4835 231 231 $start_date = date("Y/m/d",strtotime("1 day" ,strtotime($end_date))); 232 232 233 $end_date = date("Y/m/d H:i:s", time());233 $end_date = date("Y/m/d", time()); 234 234 $start_date = date("Y/m/d",strtotime("-10 year")); 235 235 $start_age = null; … … 238 238 // ǯÎðËè¤Ë½¸·×¤¹¤ë¡£ 239 239 for($i = 0; $i <= $age_loop; $i++) { 240 $where = $base_where . " AND order_birth >= $start_date";240 $where = $base_where . " AND order_birth >= '$start_date'"; 241 241 if($i <= $age_loop) { 242 $where = $where . " AND order_birth <= $end_date";242 $where = $where . " AND order_birth <= '$end_date'"; 243 243 } 244 244 lfBatOrderAgeSub($sql . $where, $start, $end, $start_age, $end_age, 1);
Note: See TracChangeset
for help on using the changeset viewer.
