Mercurial > epgrec.yaz
annotate simpleReservation.php @ 1:f5a9f0eb4858
deleted: LICENSE.ja
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Wed, 08 Jul 2009 11:44:50 +0900 |
parents | |
children | fce37385c8b4 cb7da56c4198 |
rev | line source |
---|---|
1 | 1 <?php |
2 include_once('config.php'); | |
3 include_once( INSTALL_PATH . "/DBRecord.class.php" ); | |
4 include_once( INSTALL_PATH . "/Reservation.class.php" ); | |
5 include_once( INSTALL_PATH . "/reclib.php" ); | |
6 | |
7 if( ! isset( $_GET['program_id'] ) ) exit("Error: 番組が指定されていません" ); | |
8 $program_id = $_GET['program_id']; | |
9 | |
10 try { | |
11 Reservation::simple( $program_id ); | |
12 } | |
13 catch( Exception $e ) { | |
14 exit( "Error:". $e->getMessage() ); | |
15 } | |
16 ?> |