Mercurial > epgrec.yaz
comparison channelInfo.php @ 87:36ac7c416bd7
merged with upstream
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 01 Mar 2010 20:51:36 +0900 |
parents | ded62b253bca |
children | cb04c9ca1cb0 |
comparison
equal
deleted
inserted
replaced
75:11f63ae04a96 | 87:36ac7c416bd7 |
---|---|
1 <?php | |
2 include_once('config.php'); | |
3 include_once( INSTALL_PATH . "/DBRecord.class.php" ); | |
4 include_once( INSTALL_PATH . "/Settings.class.php" ); | |
5 | |
6 if( isset($_GET['channel_disc']) ) { | |
7 | |
8 try { | |
9 $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $_GET['channel_disc'] ); | |
10 | |
11 echo '<div class="prg_title">'; | |
12 echo $crec->name . "</div>"; | |
13 | |
14 // 種別 | |
15 echo '<div class="prg_channel"><span class="labelLeft">種別:</span><span class="bold">'; | |
16 echo $crec->type; | |
17 echo '</span></div>'; | |
18 | |
19 // チャンネル | |
20 echo '<div class="prg_channel"><span class="labelLeft">物理チャンネル:</span><span class="bold">'; | |
21 echo $crec->channel; | |
22 echo '</span></div>'; | |
23 | |
24 // フォーム | |
25 echo '<form method="post" action="channelSetSID.php">'; | |
26 echo '<div class="prg_channel"><span class="labelLeft">サービスID:</span>'; | |
27 echo '<span><input type="text" name="n_sid" size="20" id="id_sid" value="'. $crec->sid .'" /></span>'; | |
28 echo '<input type="hidden" name="n_channel_disc" id="id_disc" value="'. $crec->channel_disc .'" />'; | |
29 echo '</div>'; | |
30 echo '</form>'; | |
31 } | |
32 catch( Exception $e ) { | |
33 echo "error:チャンネル情報の取得に失敗"; | |
34 } | |
35 } | |
36 ?> |