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
|
<?php $navig['link_picture_add']="เพิ่มข้อมูลชนิดรูปภาพลิงค์"; navigator($navig); echo "<br>"; bar_header("เพิ่มข้อมูลชนิดรูปภาพลิงค์"); // Bar_Header
//include ("ajax_link_picture.php"); fieldset_top("ลิงค์"); ?>
<form name="add" action="index.php?mod=upload_picture&path=link_picture&id_top=<?php echo $_GET['id_top'];?>" method="post" enctype="multipart/form-data" onSubmit=""> <table width="100%" border="0" align="center" cellpadding="1" cellspacing="3">
<tr height='35'> <td></td> <td><img src='coremain/images/marker.gif'> <strong>ชื่อของลิงค์</strong></td> <td><INPUT TYPE="text" NAME="link_name" size="50" value=''></td> </tr> <tr height='35'> <td></td> <td colspan="2"> <div id="pic_show"> </div> </td> </tr> <tr height='35'> <td></td> <td><img src='coremain/images/marker.gif'> <strong>อัพโหลดรูปภาพ</strong></td> <td><input name="picture_file" type="file" size="50"></td> </tr>
<tr valign="top"> <td></td> <td colspan="2"> <img src='coremain/images/marker.gif'> <strong>รายละเอียด</strong> <?php text_editor("445", "250", "รายละเอียด", 0, '', 'pic_description'); // Text Editor ?> </td> </tr>
<!-- <tr height='35'> <td></td> <td><img src='coremain/images/marker.gif'> <strong>รายละเอียด</strong></td> <td> <?php // $oFCKeditor = new FCKeditor('pic_description') ; // $oFCKeditor->BasePath = 'coremain/editor/'; // $oFCKeditor->Width = '445'; // $oFCKeditor->Height = '250'; // $oFCKeditor->Create() ?> </td> -->
<?php button_text('เพิ่มข้อมูล', 'Submit', 3); ?> <input type="hidden" name="place" value="<?= $_GET['place']; ?>" /> <!-- <tr height='35'>
<td colspan='3' align="center"> <input type="submit" name="Submit" value="เพิ่มข้อมูล" onmouseover="this.style.cursor='hand'"></td> </tr> -->
</table> </form>
<? fieldset_down(); ?>
|