Mercurial > epgrec.yaz
view channelInfo.php @ 118:db185340a981
utf8 collate try1
author | Yoshiki Yazawa <[email protected]> |
---|---|
date | Sun, 14 Mar 2010 20:16:04 +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:ãã£ã³ãã«æ å ±ã®åå¾ã«å¤±æ"; } } ?>