Changeset 6965 for temp/trunk/html/admin


Ignore:
Timestamp:
2006/10/27 15:45:15 (20 years ago)
Author:
kakinaka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/batch/daily.php

    r6964 r6965  
    256256    for($i = 0; $i <= $age_loop; $i++) { 
    257257        $start_age = $i * 10; 
    258         $where = $base_where . " AND order_birth >= cast('$start_date' as date) -interval '$start_age year'"; 
     258        $where = $base_where . " AND order_birth >= cast('$start_date' as date) -interval '$start_age' year"; 
    259259        if($i < $age_loop) { 
    260260            $end_age = $start_age+9; 
    261             $where = $where . " AND order_birth < cast('$end_date' as date) -interval '$start_age year'"; 
     261            $where = $where . " AND order_birth < cast('$end_date' as date) -interval '$start_age' year'"; 
    262262        }else{ 
    263             $where = $base_where . " AND order_birth < cast('$end_date' as date) -interval '$start_age year'"; 
     263            $where = $base_where . " AND order_birth < cast('$end_date' as date) -interval '$start_age' year"; 
    264264            $end_age = 999; 
    265265        } 
     
    298298    for($i = 0; $i <= $age_loop; $i++) { 
    299299        $start_age = $i * 10; 
    300         $where = $base_where . " AND order_birth >= cast('$start_date' as date) -interval '$start_age year'"; 
     300        $where = $base_where . " AND order_birth >= cast('$start_date' as date) -interval '$start_age' year"; 
    301301        if($i < $age_loop) { 
    302302            $end_age = $start_age+9; 
    303             $where = $where . " AND order_birth < cast('$end_date' as date) -interval '$start_age year'"; 
     303            $where = $where . " AND order_birth < cast('$end_date' as date) -interval '$start_age' year'"; 
    304304        }else{ 
    305             $where = $base_where . " AND order_birth < cast('$end_date' as date) -interval '$start_age year'"; 
     305            $where = $base_where . " AND order_birth < cast('$end_date' as date) -interval '$start_age' year"; 
    306306            $end_age = 999; 
    307307        } 
Note: See TracChangeset for help on using the changeset viewer.