-
Notifications
You must be signed in to change notification settings - Fork 1
/
high_show.php
85 lines (85 loc) · 4.73 KB
/
high_show.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<table width="605px" border="0" cellspacing="0" cellpadding="0" class="right_table">
<tr>
<td height="30px" colspan="6" align="center" valign="middle" background="images/new_file_left.jpg" style=" font-size:14px; color:#FFFFFF;">查询结果</td>
</tr>
<tr>
<td valign="top">
<table width="530" border="0" align="center" cellpadding="0" cellspacing="0">
<?php
if(@$_SESSION['seltype']=="audio"){
?>
<tr>
<td width="34" height="20"><div align="center"></div></td>
<td width="75"><div align="center">类别</div></td>
<td width="129"><div align="center">视频数据名称</div></td>
<td width="161"><div align="center">主要演员 </div></td>
<td width="62"><div align="center">在线观看</div></td>
<td width="38"><div align="center">下载</div></td>
<td width="31"><div align="center">详细</div></td>
</tr>
<?Php
}else{
?>
<tr>
<td width="34" height="20"><div align="center"></div></td>
<td width="75"><div align="center">类别</div></td>
<td width="129"><div align="center">音乐数据名称</div></td>
<td width="161"><div align="center">歌手姓名 </div></td>
<td width="62"><div align="center">在线视听</div></td>
<td width="38"><div align="center">下载</div></td>
<td width="31"><div align="center">详细</div></td>
</tr>
<?php
}
$h_sql=@$_SESSION['sql'];
$h_rst = $conn->execute($h_sql);
while(!$h_rst->EOF){
?>
<tr>
<td height="20"><div align="center"></div></td>
<td><div align="center"><?php echo $h_rst->fields[1]; ?></div></td>
<td><div align="center"><?php echo $h_rst->fields[2]; ?></div></td>
<td><div align="center"><?php echo $h_rst->fields[3]; ?></div></td>
<td><div align="center">
<?php
if(@isset($_SESSION['name'])){
?>
<a href="#" onclick="javascript:Wopen=open('operation.php?action=<?php echo (($_GET['type'] == "audio")?"see":"listen");?>&id=<?php echo $h_rst->fields['id']; ?>','','height=700,width=665,scrollbars=no');">
<img src="images/online_icon.jpg" width="21" height="20" border="0"></a>
<?php
}
?>
</div>
</td>
<td>
<div align="center">
<?php
if(@$_SESSION['grades'] == "高级会员"){
if($_GET['type'] == "audio"){
?>
<a href="download.php?id=<?php echo $h_rst->fields[5] ?>&action=audio">
<img src="images/downall_icon.jpg" height="20" width="20" border="0" /></a>
<?php
}else if($_GET['type'] == "video"){
?>
<a href="download.php?id=<?php echo $h_rst->fields[5] ?>&action=video">
<img src="images/downall_icon.jpg" height="20" width="20" border="0" /></a>
<?php
}}
?>
</div>
</td>
<td>
<div align="center">
<a href="#" onclick="javascript:Wopen=open('operation.php?action=<?php echo (($_GET['type'] == "audio")?"intro":"v_intro");?>&id=<?php echo $h_rst->fields[0]; ?>','','height=700,width=665,scrollbars=no');"><img src="images/show_icon.jpg" width="20" height="20" border="0" ></a>
</div>
</td>
</tr>
<?php
$h_rst->movenext();
}
?>
</table>
</td>
</tr>
</table>