Changeset 4721 for temp/trunk
- Timestamp:
- 2006/09/14 14:33:42 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/conf/core.php (modified) (1 diff)
-
html/admin/home.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/conf/core.php
r4720 r4721 31 31 // ¥µ¥¤¥ÈÍÑDB 32 32 define("DB_TYPE", "pgsql"); 33 define("DB_SERVER", "test.ec-cube.net");33 //define("DB_SERVER", "test.ec-cube.net"); 34 34 define ("DEFAULT_DSN", DB_TYPE . "://" . DB_USER . ":" . DB_PASSWORD . "@" . DB_SERVER . "/" . DB_NAME); 35 35 -
temp/trunk/html/admin/home.php
r4715 r4721 85 85 if ( $method == 'SUM' or $method == 'COUNT'){ 86 86 $sql = "SELECT ".$method."(total) FROM dtb_order 87 WHERE del_flg = 0 AND cast(substring(create_date,1, 6) as date) = ?87 WHERE del_flg = 0 AND cast(substring(create_date,1,7) as date) = ? 88 88 AND cast(substring(create_date,1, 10) as date) <> cast(substring(now(),1, 10) as date)"; 89 89 $return = $conn->getOne($sql, array($month));
Note: See TracChangeset
for help on using the changeset viewer.
