annotate simpleReservation.php @ 76:69e0dabc765a
fixed: Reservation.class.php
modified: config.php.sample
modified: index.php
modified: install/step1.php
modified: install/step3.php
install/grscan.php
author |
Sushi-k <epgrec@park.mda.or.jp> |
date |
Tue, 23 Feb 2010 19:58:30 +0900 |
parents |
f5a9f0eb4858 |
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 ?> |