One Hat Cyber Team
Your IP :
216.73.216.62
Server IP :
122.155.17.190
Server :
Linux cat17190.thaihostserver.com 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
Server Software :
Apache/2
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
neunkho
/
public_html
/
albums
/
View File Name :
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 = 10; //เอากี่อัลบั้ม แก้ไขเลขตรงนี้ ?> <!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 leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <div align="center" valign="top"> <? echo "<table width=\"450\" border=\"0\" cellspacing=\"26\" cellpadding=\"0\" align=\"center\">\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=\"450\" valign=\"middle\">\n"; echo " <a href=\"activities.php?salb_id=".$c_id."\" title=\"".$c_alb_title."\" target=\"_blank\"><img src=\"".$images."\" width=\"150\" height=\"110\" alt=\"".$c_alb_title."\" style=\"border:1px 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 % 8) == 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>