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/project/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/project/project_add.php
<?php
if (id_top_permission("a") != 1) {
  permission_fail();
}
// Status Package Module
$status_module = select_query("status_module", "cms_status_module", "id", "18");
if ($status_module[0] != 1) {
  fieldset_no_module();
}
if ($_SESSION['dbname'] != "nversion_62") {
  $navig['project'] = "ผลงานของเรา";
  $navig['project_add'] = "เพิ่มข้อมูล";
  navigator($navig);
  echo"<br>";
  bar_header("เพิ่มข้อมูล"); // Bar_Header
  fieldset_top("ผลงานของเรา");
} else {
  $navig['project'] = "สินค้า/บริการ";
  $navig['project_add'] = "เพิ่มข้อมูล";
  navigator($navig);
  echo"<br>";
  bar_header("เพิ่มข้อมูล"); // Bar_Header
  fieldset_top("สินค้า/บริการ");
}
if ($p_id_type != "") {
  $id_type = trim($p_id_type);
}
if ($p_id_sub != "") {
  $id_sub = trim($p_id_sub);
}
?>

<form  action="index.php?mod=project_output&path=project" method="post" enctype="multipart/form-data" name="add" onSubmit="return checkadd()">
  <table width="98%" border="0" align="center" cellpadding="1" cellspacing="3">
    <tr height="40">
      <td width="150"><div align="left"><img src='coremain/images/marker.gif'> <strong>หัวข้อผลงาน</strong></div></td> 
      <td align="left"><input name="topic" type="text" size="60"></td>
    </tr>

    <?php text_editor('445', '260', 'เนื้อหา', 2, $data['fulltexts']); ?>
    <INPUT TYPE='hidden' name='id_type' value='<?= $id_type ?>'>
    <INPUT TYPE='hidden' name='id_sub' value='<?= $id_sub ?>'>

    <tr height="40">
      <td width="150"><div align="left"><img src='coremain/images/marker.gif'> <strong>งบประมาณ</strong></div></td> 
      <td align="left"><input name="price" type="text" size="60"></td> 
    </tr>

    <!-- pic 1 -->
    <tr height="40">
      <td><div align="left"><img src='coremain/images/marker.gif'> <strong>Upload รูปที่1</strong></div></td> 
      <td align="left"><input name="userfile1" type="file" size="50"><?php detail_pic(); ?></td> 
    </tr>

    <!-- pic 2 -->
    <tr height="40">
      <td><div align="left"><img src='coremain/images/marker.gif'> <strong>Upload รูปที่2</strong></div></td> 
      <td align="left"><input name="userfile2" type="file" size="50"><?php detail_pic(); ?></td> 
    </tr>

    <!-- pic 3 -->
    <tr height="40">
      <td><div align="left"><img src='coremain/images/marker.gif'> <strong>Upload รูปที่3</strong></div></td> 
      <td align="left"><input name="userfile3" type="file" size="50"><?php detail_pic(); ?></td> 
    </tr>

    <!-- pic 4 -->
    <tr height="40">
      <td><div align="left"><img src='coremain/images/marker.gif'> <strong>Upload รูปที่4</strong></div></td> 
      <td align="left"><input name="userfile4" type="file" size="50"><?php detail_pic(); ?></td> 
    </tr>

    <!-- File -->
    <tr height="40">
      <td><div align="left"><img src='coremain/images/marker.gif'> <strong>File ประกอบ</strong></div></td> 
      <td align="left"><input name="userfile5" type="file" size="50"><?php detail_file(); ?></td> 
    </tr>

    <tr height="40">
      <td></td> 
      <td align="left">       
        <?php text_button_insert(); ?>
      </td> 
    </tr>

  </table>
</form>   

<?php fieldset_down(); ?>


<script language="javascript">
  function checkadd() {
    if (document.add.topic.value == "") {
      alert("กรุณากรอกหัวข้อผลงาน !");
      document.add.topic.focus();
      return false;
    } else
      return true;
  }
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit