Mercurial > epgrec.yaz
diff reservationTable.php @ 39:8965ef108821
change: modify all scripts for web base setting.
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Tue, 28 Jul 2009 11:50:04 +0900 |
parents | f5a9f0eb4858 |
children |
line wrap: on
line diff
--- a/reservationTable.php Tue Jul 28 10:49:55 2009 +0900 +++ b/reservationTable.php Tue Jul 28 11:50:04 2009 +0900 @@ -4,11 +4,11 @@ include_once( INSTALL_PATH . '/Smarty/Smarty.class.php' ); try{ - $rvs = DBRecord::createRecords(TBL_PREFIX.RESERVE_TBL, "WHERE complete='0' ORDER BY starttime ASC" ); + $rvs = DBRecord::createRecords(RESERVE_TBL, "WHERE complete='0' ORDER BY starttime ASC" ); $reservations = array(); foreach( $rvs as $r ) { - $cat = new DBRecord(TBL_PREFIX.CATEGORY_TBL, "id", $r->category_id ); + $cat = new DBRecord(CATEGORY_TBL, "id", $r->category_id ); $arr = array(); $arr['id'] = $r->id; $arr['type'] = $r->type;