program.php
资源名称:p2p_vod.rar [点击查看]
上传用户:liguizhu
上传日期:2015-11-01
资源大小:2422k
文件大小:1k
源码类别:
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">节目列表 <a href="channel.php">频道列表</a></p>
- <p align="center" >
- </p>
- <table width="80%" border="1" align="center">
- <tr>
- <td nowrap><strong>编号</strong></td>
- <td nowrap><strong>节目名</strong></td>
- <td nowrap><strong>MD5</strong></td>
- <td nowrap><strong>码率</strong></td>
- <td nowrap><strong>操作</strong></td>
- </tr>
- <?php
- $listTable = getProgramInfoTable();
- $gramTable = getProgramTable();
- $i=0;
- foreach ($gramTable as $md5 => $name){
- $infoarray = $listTable[$md5];
- $i++;
- ?>
- <tr>
- <td><?php print($i); ?> </td>
- <td><?php print($name); ?> </td>
- <td><?php print($md5); ?> </td>
- <td><?php print($infoarray["BitRate"]); ?> </td>
- <td><a href="programdel.php?program=<?php print($md5); ?>" onClick="return confirm('确定你想要删除这个节目么?删除之后不能恢复!');">删除</a></td>
- </tr>
- <?php
- }
- ?>
- </table>
- </body>
- </html>