-
Notifications
You must be signed in to change notification settings - Fork 1
/
intro.php
107 lines (106 loc) · 6.81 KB
/
intro.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?php
include "conn/conn.php";
?>
<link rel="stylesheet" href="css/style.css">
<body>
<table width="558" height="110" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="567" height="26" align="center" valign="middle">
<font style="font-size:20px; font-family:Algerian;">电影介绍</font>
</td>
</tr>
<tr>
<td>
<table width="559" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="92">
<table width="404" height="90" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="402" align="center" valign="middle">
<?php
$sql="select * from tb_audio where id=".$_GET['id'];
$rst = $conn->execute($sql);
if(!$rst->EOF){
?>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="15" colspan="2"> </td>
</tr>
<tr>
<td width="131" height="20" align="right" valign="middle">电影名称:</td>
<td width="269" height="20"><?php echo $rst->fields['name']; ?></td>
</tr>
<tr>
<td height="20" align="right" valign="middle">电影大小:</td>
<td height="20"><?php echo $rst->fields['sizes']; ?></td>
</tr>
<tr>
<td height="20" align="right" valign="middle">等级:</td>
<td height="20"><?php echo $rst->fields['grade']; ?></td>
</tr>
<tr>
<td height="20" align="right" valign="middle">发现方:</td>
<td height="20"><?php echo $rst->fields['publisher']; ?></td>
</tr>
<tr>
<td height="20" align="right" valign="middle">演员:</td>
<td height="20"><?php echo $rst->fields['actor']; ?></td>
</tr>
<tr>
<td height="20" align="right" valign="middle">导演:</td>
<td height="20"><?php echo $rst->fields['director']; ?></td>
</tr>
<tr>
<td height="20" align="right" valign="middle">语言:</td>
<td height="20"><?php echo $rst->fields['languages']; ?></td>
</tr>
<tr>
<td height="20" align="right" valign="middle">种类:</td>
<td height="20"><?php echo $rst->fields['type']; ?></td>
</tr>
<tr>
<td height="20" align="right" valign="middle">电影类型:</td>
<td height="20"><?php echo $rst->fields['style']; ?></td>
</tr>
<tr>
<td height="20" align="right" valign="middle">发行地区:</td>
<td height="20"><?php echo $rst->fields['froms']; ?></td>
</tr>
<tr>
<td height="20" align="right" valign="middle">发型时间:</td>
<td height="20"><?php echo $rst->fields['publishTime']; ?></td>
</tr>
<tr>
<td height="20" align="right" valign="middle">电影评语:</td>
<td height="20">
<textarea name="textarea" cols="40" rows="5" readonly="readonly"><?php echo $rst->fields['remark']; ?></textarea> </td>
</tr>
<tr>
<td height="30" colspan="2" align="center" valign="middle">
<?php
if(isset($_SESSION['name'])){
?>
<input name="Submit" type="submit" value="播放"
onclick="javascript:Wopen=open('operation.php?action=see&id=<?php echo $rst->fields['id']; ?>','','height=700,width=665,scrollbars=no');">
<?php
}
if(isset($_SESSION['name'])){
?>
<input name="Submit" type="button" <?php if ($_SESSION['grade']=="普通会员"){ echo 'hidden'; }?> value="下载"
onClick="javascript:Wopen=location='download.php?action=audio&id=<?php echo $rst->fields['id']; ?>';">
<?php
}
?>
<input name="Submit2" type="button" value="关闭" class="submit" onClick="javascript:top.window.close();"></td>
</tr>
</table>
<?php } ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>