view channelInfo.php @ 83:f873e3251487

new: EPG取得の並列化テストを追加
author yoneda <yoneda@recorder.localnet.mda.or.jp>
date Sun, 28 Feb 2010 23:58:36 +0900
parents ded62b253bca
children cb04c9ca1cb0
line wrap: on
line source

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

if( isset($_GET['channel_disc']) ) {
	
	try {
		$crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_GET['channel_disc'] );
		
		echo '<div class="prg_title">';
		echo $crec->name . "</div>";
		
		// 腮
		echo '<div class="prg_channel"><span class="labelLeft">腮ワ</span><span class="bold">';
		echo $crec->type;
		echo '</span></div>';
		
		// c潟
		echo '<div class="prg_channel"><span class="labelLeft">c潟鐚</span><span class="bold">';
		echo $crec->channel;
		echo '</span></div>';
		
		// 若
		echo '<form method="post" action="channelSetSID.php">';
		echo '<div class="prg_channel"><span class="labelLeft">泣若ID鐚</span>';
		echo '<span><input type="text" name="n_sid" size="20" id="id_sid" value="'. $crec->sid .'" /></span>';
		echo '<input type="hidden" name="n_channel_disc" id="id_disc" value="'. $crec->channel_disc .'" />';
		echo '</div>';
		echo '</form>';
	}
	catch( Exception $e ) {
		echo "error:c潟宴緇紊掩";
	}
}
?>