channeladd.php
资源名称:p2p_vod.rar [点击查看]
上传用户:liguizhu
上传日期:2015-11-01
资源大小:2422k
文件大小:2k
源码类别:
P2P编程
开发平台:
Visual C++
- <?php
- include_once 'functions.php';
- ?>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>频道管理 - 增加频道</title>
- <style type="text/css">
- <!--
- .style1 {
- font-size: 18px;
- font-weight: bold;
- }
- -->
- </style>
- </head>
- <body>
- <p align="center" class="style1">输入频道信息</p>
- <form name="form1" method="post" action="channeladddo.php">
- <table border="0" align="center" cellspacing="5">
- <tr>
- <td width="62">频道名</td>
- <td width="122"><input name="channel" type="text" id="channel"></td>
- </tr>
- <tr>
- <td>码率</td>
- <td><input name="bitrate" type="text" id="bitrate" value="40" size="10"></td>
- </tr>
- <tr>
- <td>添加节目</td>
- <td>
- <?php
- $gramTable = getProgramTable();
- $programnum = $_REQUEST["programnum"];
- for($j=0; $j<$programnum; $j++){
- ?>
- <select name="programlist[]" size="1" id="programlist[]">
- <?php
- foreach ($gramTable as $md5 => $name){
- ?>
- <option value="<?php print($md5); ?>"><?php print($name."[".$md5."]"); ?></option>
- <?php
- }
- ?>
- </select><br/>
- <?php
- }
- ?>
- </td>
- </tr>
- <tr>
- <td colspan="2" align="center"><input type="submit" name="Submit" value="提交">
- <input type="reset" name="Submit2" value="重置"></td>
- </tr>
- </table>
- <p align="center" ><a href="channel.php">返回频道列表</a></p>
- <p> </p>
- </form>
- </body>
- </html>