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
|
<?php if(id_top_permission("data_other")!=1){ permission_fail(); }
$navig['news']="แก้ไขข้อมูล"; navigator($navig); echo "<br>"; bar_header("แก้ไขข้อมูล"); // Bar_Header fieldset_top("ข้อมูลทั่วไป");
$sql="SELECT name_web,address,tel,fax FROM cms_main_data WHERE id_main_data=2"; $re=mysql_query($sql); $data=mysql_fetch_array($re); ?>
<form action="index.php?mod=page_others_update_output&path=page_others" method="post" name="add" id="add" enctype="multipart/form-data"> <table width="100%" border="0" align="center" cellpadding="1" cellspacing="3"> <tr> <td><b>Upload รูป</b></td> <td> <input name="userfile1" type="file" size="45" /> <img src="coremain/images/bu.gif" title="ไฟล์ควรมีขนาดประมาณ 450*250 Pixel" /> <?php if($data['address'] != ''){ ?> <br/> <input type="checkbox" name="check_pic1" value="1" /> คลิกเพื่อเอารูปหรือ Flash ออก <?php } ?> </td> </tr>
<?php text_editor('456', '250', 'เนื้อหา', 2, $data[0]); ?>
<?php text_button_update(); // ปุ่มแก้ไข ?>
</table> </form> <?php fieldset_down(); ?>
|