view simpleReservation.php @ 30:1c5f618dc210

add: Settings class
author Sushi-k <epgrec@park.mda.or.jp>
date Mon, 27 Jul 2009 11:21:57 +0900
parents f5a9f0eb4858
children fce37385c8b4 cb7da56c4198
line wrap: on
line source

<?php
include_once('config.php');
include_once( INSTALL_PATH . "/DBRecord.class.php" );
include_once( INSTALL_PATH . "/Reservation.class.php" );
include_once( INSTALL_PATH . "/reclib.php" );

if( ! isset( $_GET['program_id'] ) ) exit("Error: 番組が指定されていません" );
$program_id = $_GET['program_id'];

try {
	Reservation::simple( $program_id );
}
catch( Exception $e ) {
	exit( "Error:". $e->getMessage() );
}
?>