%PDF-1.5 % ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY
| Server IP : 122.155.17.190 / Your IP : 216.73.216.99 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/domains/bungkla.go.th/public_html/otops/ |
Upload File : |
<?
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 = 4; //เอากี่อัลบั้ม แก้ไขเลขตรงนี้
?>
<!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" />
</head>
<body background="../images/0bg.jpg" style="background-repeat:no-repeat; background-position:top">
<table width="1100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><div align="center">
<table width="1100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><div align="center"><a href="/index.php" target="_blank"><img src="../images/1button_01.png" width="200" height="78" border="0" /></a></div></td>
<td valign="top"><div align="center"><a href="/news.php?cat_id=1" target="_blank"><img src="../images/1button_02.png" width="185" height="78" border="0" /></a></div></td>
<td valign="top"><div align="center"><a href="/albums/index.php" target="_blank"><img src="../images/1button_03.png" width="157" height="78" border="0" /></a></div></td>
<td valign="top"><div align="center"><a href="/news.php?cat_id=2" target="_blank"><img src="../images/1button_04.png" width="170" height="78" border="0" /></a></div></td>
<td valign="top"><div align="center"><a href="/contacts/?scon_id=4" target="_blank"><img src="../images/1button_05.png" width="170" height="78" border="0" /></a></div></td>
<td valign="top"><div align="center"><a href="/office.php" target="_blank"><img src="../images/1button_06.png" width="218" height="78" border="0" /></a></div></td>
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><div align="center"></div></td>
<td valign="top"><div align="center"></div></td>
<td valign="top"><div align="center"></div></td>
<td valign="top"><div align="center"></div></td>
<td valign="top"><div align="center"></div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/2tex.png" width="1100" height="146" class="animated" /></div></td>
</tr>
<tr>
<td height="250" valign="top"><div align="center"></div></td>
</tr>
<tr>
<td valign="top"><div align="center">
<table width="1100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><div align="center"><img src="../images/3logo_01.png" width="393" height="274" /></div></td>
<td valign="top"><div align="center"><img src="../images/3logo_02.png" width="289" height="274" /></div></td>
<td valign="top"><div align="center"><img src="../images/3logo_03.png" width="418" height="274" /></div></td>
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><div align="center"></div></td>
<td valign="top"><div align="center"></div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
</tr>
<tr>
<td valign="top"> </td>
</tr>
</table>
<div align="center" valign="top">
<?
echo "<table width=\"520\" border=\"0\" cellspacing=\"26\" cellpadding=\"0\" align=\"center\">\n";
echo "<tr>\n";
$sql = "select * From `otop_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/otops/thumb/".$c_alb_thumb;
}
else
{
$images = "images/noimage.gif";
}
echo " <td align=\"center\" width=\"50%\" valign=\"middle\">\n";
echo " <a href=\"activities.php?salb_id=".$c_id."\" title=\"".$c_alb_title."\" target=\"_blank\"><img src=\"".$images."\" width=\"190\" height=\"130\" alt=\"".$c_alb_title."\" style=\"border:0px solid #80BD14\" class=\"magnifyarea\"></a><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 % 2) == 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>