-
Notifications
You must be signed in to change notification settings - Fork 0
/
uploadMore.php
115 lines (109 loc) · 4.08 KB
/
uploadMore.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
108
109
110
111
112
113
114
115
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<?php date_default_timezone_set("Asia/Shanghai");?>
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/base.css" />
<title>微电影上传</title>
<link rel="stylesheet" type="text/css" href="css/upload.css" />
</head>
<body>
<div id="header" style="width:900px;margin:0 auto;">
<img src="img/vec_logo2.jpg" width=800>
</div>
<div id="layout">
<?php
include "common/table.php";
?>
<div style="width:760px; margin:0 auto; clear:both;border-radius: 5px;" class="change">
<h2 class="post_title">上传微视频</h2>
<div style=" width:600px; margin:0 auto;" class="post_left">
<form id="news" method="post" action="insertdata.php" enctype="multipart/form-data">
<table>
<tbody>
<tr>
<td class="label">视频名称(中文):</td>
<td><input name="titleCn" id="titleCn" title="视频中文名称" type="text" /></td>
</tr>
<tr>
<td class="label">视频名称(英文):</td>
<td><input name="titleEn" id="titleEn" title="视频英文名称" type="text" /></td>
</tr>
<tr>
<td class="label">导演:</td>
<td><input type="text" id="director" name="director" title="导演" /></td>
</tr>
<tr>
<td></td>
<td><p class="tips">多个导演用“,”隔开</p></td>
</tr>
<tr>
<td class="label">制作:</td>
<td><input type="text" id="producer" name="producer" title="制作" /></td>
</tr>
<tr>
<td></td>
<td><p class="tips">多个制作用“,”隔开</p></td>
</tr>
<tr>
<td class="label">主演:</td>
<td><input name="actor" id="actor" title="主演" type="text" /></td>
</tr>
<tr>
<td></td>
<td><p class="tips">多个主演用“,”隔开</p></td>
</tr>
<tr>
<td class="label">视频类型:</td>
<td>
<select name="videoType" id="videoType" title="视频分类">
<option value="" selected="selected">请选择分类</option>
<option value="1">微电影</option>
<option value="2">微纪录</option>
<option value="3">微栏目</option>
<option value="4">微动漫</option>
<option value="5">创意视频</option>
<option value="6">信息视频</option>
</select>
</td>
</tr>
<tr>
<td class="label">时长:</td>
<td><input name="timelength" id="timelength" title="时长" type="text" />
</td>
</tr>
<tr>
<td></td>
<td><p class="tips">请填写秒数,格式为:200</p></td>
</tr>
<tr>
<td class="label">视频封面图:</td>
<td><input type="file" name="poster" id="poster" title="海报" /></td>
</tr>
<tr>
<td></td>
<td><p class="tips">没有海报请上传一张精彩的视频截图。大小建议不小于120*170</p></td>
</tr>
<tr>
<td>剧情简介:</td>
<td><textarea name="content" id="content" title="剧情简介" rows="8" cols="40"></textarea></td>
</tr>
<tr>
<td></td>
<td><p class="tips">内容不能少于20个字</p></td>
</tr>
<tr>
<td></td>
<td class="button"><input id="submit" type="submit" name="submit" value="确定" /></td>
<td class="button"><input id="reset" type="reset" name="reset" value="重置" /></td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</div>
<?php
require('common/footer.php');
?>