-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathimportposter.php
46 lines (41 loc) · 2.03 KB
/
importposter.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
<?php
/* FilmDB (based on php4flicks) */
require('config/config.php');
//importposter.php - display upload form.
session_start();
// if(!isset($_SESSION['user'])){
// }
$pid = $_GET['id'];
?>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/edit/k1.png" width="8" height="8" border="0"></td><td background="images/edit/k2.png"></td><td><img src="images/edit/k3.png" width="8" height="8" border="0"></td>
</tr><tr>
<td background="images/edit/k4.png"></td><td background="images/edit/k5.png" bgcolor="#dee3cb">
<div ID="innereditreq">
<form name="filename" action="uploadimage.php" target="uploadframe" method="POST" enctype="multipart/form-data">
<table border="0" cellpadding="2" cellspacing="0">
<tr><td valign="top" class="txt" nowrap>
<h2><b><?= $trans['edit_poster']?>:</b></h2><br><br>
<strong><small><?= $trans['upload_poster']?><br></small></strong>
</td></tr>
<tr><td class="txt">
<input type="file" name="upload_file" maxlength="200000" accept="image/*">
<input type="hidden" id="pid" name="pid" value="<?= $pid ?>">
<input type="hidden" id="first_time" name="first_time" value="1">
<iframe id="uploadframe" name="uploadframe" src=""></iframe>
</td></tr>
</table>
</form></div>
</td><td background="images/edit/k6.png"></td>
</tr><tr>
<td><img src="images/edit/k7.png" width="8" height="8" border="0"></td><td background="images/edit/k8.png"></td><td><img src="images/edit/k9.png" width="8" height="8" border="0"></td>
</tr>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr><td align="left">
<button name="cancel" type="button" value="Cancel" onClick="showRequest(false,'editreq','');"> <b><?= $trans['b_cancel']?></b> </button>
</td><td align="right">
<button name="upload" type="button" value="Upload" onClick="if(document.filename.upload_file.value==''){alert('<?= $trans['js_enter_file']?>');return false;}document.filename.submit();"> <b><?= $trans['b_upload']?></b> </button>
</td></tr>
</table>