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
|
<?php import_request_variables('pG', 'p_'); if($p_test!="") { $test=trim($p_test); } if($p_id_pic!="") { $id_pic=trim($p_id_pic); }
$navig['link_picture']="รายละเอียดข้อมูล"; $navig['link_picture_add']="แก้ไขข้อมูล"; navigator2($navig, "&id_pic=$p_id_pic"); echo "<br>"; bar_header("แก้ไขข้อมูล"); // Bar_Header fieldset_top("ลิงค์"); $data_link = select_query_object("*","cms_link_picture","id_pic",$id_pic);
echo "<br/>"; ?>
<form name="add" action="index.php?mod=link_picture_edit_output&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='<?php echo $data_link->pic_name_info; ?>'></td> </tr> <tr height='35'> <td ></td> <td><img src='coremain/images/marker.gif'> <b>รูปภาพ</b></td> <td colspan=> <img src="<?php echo $_SESSION[web_name]."/module_picture/".$data_link->pic_name;?>" width="300"> </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, $data_link->pic_description, '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->Value = $data_link->pic_description; // $oFCKeditor->Create() ?> </td> </tr> -->
<?php button_text('แก้ไขข้อมูล', 'Submit', 3); ?> <!-- <td colspan='3' align=center> <input type="submit" name="submit_edit" value="แก้ไขข้อมูล" onmouseover="this.style.cursor='hand'"></td> </tr> -->
</table> <input type="hidden" name="id_pic" value="<?php echo $_GET[id_pic];?>"> </form>
<?php fieldset_down(); ?>
|