Server IP : 119.59.102.212 / Your IP : 3.22.217.190 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/sponser/ |
Upload File : |
<?php $navig['link_picture_add']="แก้ไขข้อมูล"; navigator($navig); echo "<br/>"; bar_header("แก้ไขข้อมูล"); // Bar_Header fieldset_top("ลิงค์"); echo "<br/>"; import_request_variables('pG', 'p_'); if($p_id_sponser!="") { $id_sponser=trim($p_id_sponser); } $sql="SELECT * FROM cms_link_sponser WHERE id_sponser='$id_sponser'"; $re=mysql_query($sql); $data=mysql_fetch_array($re); $strings1=substr($data[pic_name],-4); $strings1=strtolower($strings1); ?> <form name="add" action="index.php?mod=sponser_edit_output&path=sponser&id_sponser=<?php echo $id_sponser;?>" method="post" enctype="multipart/form-data" onSubmit=""> <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1"> <tr height='40'> <td width='70'></td> <td><?php echo print_arr1(); ?> อัพโหลดรูปภาพ หรือ Flash <font color='ff0000'></font></td> <td><input name="userfile1" type="file" ></td> </tr> <?php if ($strings1 != ".swf") { ?> <tr height='40'> <td ></td> <td><?php echo print_arr1(); ?> คำอธิบายรูปภาพ</td> <td><input name="pic_description" type="text" size='35' value="<?php echo $data['pic_description'] ?>"></td> </tr> <tr height='40'> <td ></td> <td><?php echo print_arr1(); ?> ลิงค์ไปที่</td> <td><input name="link_target" type="text" size='35' value="<?php echo $data['link'] ?>"></td> </tr> <?php } button_text('แก้ไขข้อมูล', 'Submit', 3); ?> <!-- <tr> <td colspan='3'> <input type="submit" name="Submit" value="แก้ไขข้อมูล" onmouseover="this.style.cursor='hand'"></td> </tr>--> </table> </form> <br/> <?php fieldset_down(); ?>