Server IP : 119.59.102.212 / Your IP : 3.141.244.88 Web Server : Apache/2 System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64 User : yangkam ( 1022) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/product/ |
Upload File : |
<?php import_request_variables('pG', 'p_'); if($p_id_product!="") { $id_product=trim($p_id_product); } if($p_id_pic!="") { $id_pic=trim($p_id_pic); } bar_header("แก้ไขข้อมูลผลิตภัณฑ์"); // Bar_Header $data_link = select_query_object("*","cms_product","id_product",$id_product); echo "<br/>"; ?> <form name="add" action="index.php?mod=product_edit_output&path=product" method="post" enctype="multipart/form-data" onSubmit=""> <table width="100%" border="0" align="center" cellpadding="1" cellspacing="3"> <tr height='35'> <td></td> <td><?php echo print_arr1();?> <strong>ชื่อผลิตภัณฑ์</strong></td> <td><INPUT TYPE="text" NAME="name" size="50" value='<?php echo $data_link->name; ?>'></td> </tr> <tr height='35'> <td></td> <td><?php echo print_arr1();?> รูปภาพปัจจุบัน</td> <td> <img src="<?php echo $_SESSION[web_name]."/module_product/picture_main/".$data_link->picture;?>"> </td> </tr> <tr height='35'> <td ></td> <td><?php echo print_arr1();?> <strong>อัพโหลดรูปภาพลิงค์ใหม่</strong></td> <td><input name="picture_file" type="file" size="50"></td> </tr> <tr height='35'> <td></td> <td><?php echo print_arr1();?> <strong>รายละเอียด</strong></td> <td> <?php $oFCKeditor = new FCKeditor('description') ; $oFCKeditor->BasePath = 'coremain/editor/'; $oFCKeditor->Width = '456'; $oFCKeditor->Height = '250'; $oFCKeditor->Value = $data_link->description; $oFCKeditor->Create() ?> </td> </tr> <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_product" value="<?php echo $id_product;?>"> </form> <? echo "<br/>"; ?>