view channelInfo.php @ 94:12ed8ad837fc

fix: ¤µ¤é¤Ė½¤Ąµ
author epgrec@park.mda.or.jp <yoneda@recorder.localnet.mda.or.jp>
date Tue, 02 Mar 2010 23:35:28 +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>';
		
		// ćƒćƒ£ćƒ³ćƒćƒ«
		echo '<div class="prg_channel"><span class="labelLeft">ē‰©ē†ćƒćƒ£ćƒ³ćƒćƒ«ļ¼š</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:ćƒćƒ£ćƒ³ćƒćƒ«ęƒ…å ±ć®å–å¾—ć«å¤±ę•—";
	}
}
?>