view simpleReservation.php @ 75:11f63ae04a96

delete trailing white space
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sun, 14 Feb 2010 17:01:02 +0900
parents fce37385c8b4
children 36ac7c416bd7
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" );
include_once( INSTALL_PATH . "/Settings.class.php" );

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

try {
    	$settings = Settings::factory();

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