【php开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了php开源代码-audio.php的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
<?php
session_start();
include "conn/conn.php";
include "inc/chec.php";
?>
<table width="380" height="440" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4" valign="top"><table width="380" height="60" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20" colspan="4" align="center" valign="middle">视 频 数 据 管 理</td>
</tr>
<tr>
<td colspan="4" class="style1"><table width="375" border="0" align="center" cellpadding="2" cellspacing="2">
<tr>
<td height="10" colspan="5" align="right" valign="middle"><a href="#" onclick="javacript:Wopen=open('operation.php?action=audioadd','添加视频','height=700,width=665,scrollbars=no');">数据添加</a></td>
</tr>
<tr>
<td width="22" height="30" align="center" valign="middle">ID</td>
<td width="134" height="30" align="center" valign="middle">名称</td>
<td width="67" height="30" align="center" valign="middle">类别</td>
<td width="78" height="30" align="center" valign="middle">主演</td>
<td height="30" align="center" valign="middle">操作</td>
</tr>
<?php
$sqlstr = "select * from tb_audio";
$rst = $conn->execute($
sqlstr);
While(!$rst->EOF){
?>
<tr>
<td height="18" align="center" valign="middle"><?php echo $rst->fields[0]; ?></td>
<td height="18" align="center" valign="middle"><a href="#"><?php echo $rst->fields[1]; ?></a></td>
<td height="18" align="center" valign="middle"><?php echo $rst->fields[11]; ?></td>
<td height="18" align="center" valign="middle"><?php echo $rst->fields[6]; ?></td>
<td height="18" align="center" valign="middle"><a href="del_audio_chk.php?id=<?php echo $rst->fields[0]; ?>" onclick="return del_chk();">删除</a></td>
</form>
</tr>
<?php $rst->MoveNext();}
?>
</table></td>
</tr>
</table></td>
</tr>
</table>