Server IP : 10.254.12.21 / Your IP : 10.254.12.21 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40 System : Linux arit.skru.ac.th 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/ |
Upload File : |
<?php include 'dbnews.php';?> <?php include 'header.php';?> <?php $num_string_detail = 200; $sql="SELECT * FROM exhibition WHERE (exhibition_type_id=1 OR exhibition_type_id=2 OR exhibition_type_id=3 OR exhibition_type_id=4) ORDER BY create_date DESC, exhibition_id DESC limit 0,1"; $query = mysqli_query($conn,$sql); if ($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { ?> <!--popup--> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <script> function myFunction(i) { // Get the checkbox var cname = "accept_check[" + i + "]"; var checkBox = document.getElementById(cname); //var checkBox = document.getElementById("accept_check"); // If the checkbox is checked, display the output text if (checkBox.checked == true){ //text.style.display = "block"; //window.location.href = document.getElementById("accept_check").value; window.location.href = checkBox.value; } else { //text.style.display = "none"; alert("กรุณายอมรับเงื่อนไข"); //document.getElementById("accept_check").focus(); //return false; } } </script> <script> $(document).ready(function(){ $("#myModal").modal('show'); }); </script> <div id="myModal" class="modal fade"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <a href="https://arit.skru.ac.th/arit/aritnews/exhibition_detail.php?exhibition_id=<?php echo $result["exhibition_id"];?>"><button type="button" class="btn btn-primary">คลิกที่นี่เพื่อดูรายละเอียด</button></a> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> </div> <div class="modal-body"> <?php if ($result["cover_image"]<>"") { ?> <img src="https://arit.skru.ac.th/arit/aritnews/images/<?php echo $result["cover_image"];?>" width="100%"> <?php } else { //if ($result["cover_image"]<>"") ?> <p><?php echo $result["exhibition_name"];?></p> <?php } //if ($result["cover_image"]<>"") ?> </div> <div class="modal-footer"> <a href="https://arit.skru.ac.th/arit/aritnews/exhibition_detail.php?exhibition_id=<?php echo $result["exhibition_id"];?>"><button type="button" class="btn btn-primary">คลิกที่นี่เพื่อดูรายละเอียด</button></a> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> </div> </div> </div> </div> <!--end popup--> <?php } //if ($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) ?> <!-- blog --> <section class="blog_w3ls pt-5 pb-5" id="blog"> <div class="container pb-xl-5 pb-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">ข่าวประชาสัมพันธ์</h3> <div class="row"> <?php $sql="SELECT * FROM exhibition WHERE (exhibition_type_id=1 OR exhibition_type_id=2 OR exhibition_type_id=3 OR exhibition_type_id=4) ORDER BY create_date DESC, exhibition_id DESC limit 0,3"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { $exhibition_id = $result["exhibition_id"]; $exhibition_name = $result["exhibition_name"]; $exhibition_detail = $result["exhibition_detail"]; ?> <div class="col-lg-4 col-md-6 pb-3"> <div class="card border-0 med-blog"> <div class="card-header p-0"> <a href="https://arit.skru.ac.th/arit/aritnews/exhibition_detail.php?exhibition_id=<?php echo $exhibition_id;?>"> <?php if ($result["cover_image"]<>"") { ?> <img class="card-img-bottom" src="https://arit.skru.ac.th/arit/aritnews/images/<?php echo $result["cover_image"];?>" alt="image"> <?php } else //if ($result["cover_image"]<>"") { ?> <img class="card-img-bottom" src="https://arit.skru.ac.th/images/newsnoimg.png" alt="image"> <?php } //if ($result["cover_image"]<>"") ?> </a> </div> <div class="card-body border border-top-0"> <!--<div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="https://arit.skru.ac.th/arit/aritnews/exhibition_detail.php?exhibition_id=<?php //echo $exhibition_id;?>"><?php //echo $exhibition_name;?></a> </h5> <div class="blog_w3icon"> <span>Jan 12, 2019 - loremipsum</span> </div> </div>--> <p><?php echo $exhibition_name;?>...<a href="https://arit.skru.ac.th/arit/aritnews/exhibition_detail.php?exhibition_id=<?php echo $exhibition_id;?>">อ่านต่อ</a></p> </div> </div> </div> <?php } //end while ?> <!-- blog grid <div class="col-lg-4 col-md-6"> <div class="card border-0 med-blog"> <div class="card-header p-0"> <a href="#"> <img class="card-img-bottom" src="images/IMG20190306142444.jpg" alt="image"> </a> </div> <div class="card-body border border-top-0"> <div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="#">อบรมการใช้บริการห้อง Smart classroom ให้แก่อาจารย์คณะวิทยาลัยนวัตกรรมและการจัดการ </a> </h5> <div class="blog_w3icon"> <span> วันที่ 6 มีนาคม 2562</span> </div> </div> <p>Cras ultricies ligula sed magna dictum porta auris blandita. Nulla viverra pharetra se.</p> </div> </div> </div> //blog grid --> <!-- blog grid <div class="col-lg-4 col-md-6 mt-md-0 mt-5"> <div class="card border-0 med-blog"> <div class="card-header p-0"> <a href="#"> <img class="card-img-bottom" src="images/IMG20190227141307.jpg" alt="image"> </a> </div> <div class="card-body border"> <div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="#">อบรมการใช้งาน MOOC ให้แก่อาจารย์คณะวิทยาลัยนวัตกรรมและการจัดการ</a> </h5> <div class="blog_w3icon"> <span> วันที่ 27 กุมภาพันธ์ 2562</span> </div> </div> <p>Cras ultricies ligula sed magna dictum porta auris blandita. Nulla viverra pharetra se.</p> </div> </div> </div> //blog grid --> <!-- blog grid <div class="col-lg-4 col-md-6 mx-lg-0 mx-md-auto mt-lg-0 mt-5"> <div class="card border-0 med-blog"> <div class="card-header p-0"> <a href="#"> <img class="card-img-bottom" src="images/IMG_20181105_133618.jpg" alt="image"> </a> </div> <div class="card-body border border-top-0"> <div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="#">ประชุมเตรียมแผนงานสร้างสื่อการสอนออนไลน์ พัฒนานักศึกษาเข้มภาษา และทักษะคอมพิวเตอร์</a> </h5> <div class="blog_w3icon"> <span> วันที่ 5 พฤศจิกายน 2561</span> </div> </div> <p>Cras ultricies ligula sed magna dictum porta auris blandita. Nulla viverra pharetra se.</p> </div> </div> </div> //blog grid --> </div> <!--<p> </p><p align="right"><a href="https://arit.skru.ac.th/arit/aritnews/index.php">อ่านข่าวทั้งหมด...</a></p>--> <div class="col-lg-6 col-md-12 grids-w3ls-right-2 mt-xl-5 mt-3"> <?php $sql="SELECT * FROM exhibition WHERE (exhibition_type_id=1 OR exhibition_type_id=2 OR exhibition_type_id=3 OR exhibition_type_id=4) ORDER BY create_date DESC, exhibition_id DESC limit 3,10"; $query = mysqli_query($conn,$sql); ?> <!--<h3 class="title text-bl text-uppercase mb-lg-4 mb-3">Your Title Here</h3>--> <ul class="list-unstyled"> <?php while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { $exhibition_id = $result["exhibition_id"]; $exhibition_name = $result["exhibition_name"]; $exhibition_detail = $result["exhibition_detail"]; ?> <li> <a href="https://arit.skru.ac.th/arit/aritnews/exhibition_detail.php?exhibition_id=<?php echo $exhibition_id;?>"><span class="fa fa-newspaper-o"></span> <?php echo $exhibition_name;?></a> </li> <?php } //end while ?> </ul> <p align="right"><a href="https://arit.skru.ac.th/arit/aritnews/index.php">อ่านข่าวทั้งหมด...</a></p> <!--<h4 class="title text-bl mt-5 mb-sm-4 mb-3">Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.</h4> <p>sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad reprehenderit qui inea voluptate velit esse. </p>--> </div> <div class="col-lg-6 col-md-12 pb-3 mt-xl-5 mt-3"> <iframe src="https://calendar.google.com/calendar/embed?height=360&wkst=1&bgcolor=%23ffffff&ctz=Asia%2FBangkok&src=Y182bHQxM2o5bTB2djg2a2Y4ZDc1bnE1ZjU2c0Bncm91cC5jYWxlbmRhci5nb29nbGUuY29t&color=%239E69AF&title=%E0%B8%9B%E0%B8%8F%E0%B8%B4%E0%B8%97%E0%B8%B4%E0%B8%99%E0%B8%81%E0%B8%B4%E0%B8%88%E0%B8%81%E0%B8%A3%E0%B8%A3%E0%B8%A1" style="border:solid 1px #777" width="100%" height="360" frameborder="0" scrolling="no"></iframe> </div> </div> </section> <!-- //blog --> <!-- about <div class="welcome py-5" id="about"> <div class="container py-xl-5 py-lg-3"> <div class="row py-xl-4"> <div class="col-lg-6 welcome-left pr-lg-5"> <h4 class="mt-2 mb-3">Welcome to ARIT</h4> <h3>ปรัชญา</h3> <p> “แหล่งวิชาการ ก้าวทันเทคโนโลยี บริการมีมนุษยสัมพันธ์ ร่วมสร้างสรรค์ท้องถิ่น”</p> <h3 class="pt-3">วิสัยทัศน์</h3> <p> “ศูนย์กลางการเรียนรู้หลากหลาย ด้วยเทคโนโลยีทันสมัย เพื่อการพัฒนาอย่างยั่งยืน”</p> <h3 class="pt-3">พันธกิจ</h3> <p> 1. พัฒนานวัตกรรมการบริการสารสนเทศและเทคโนโลยีสารสนเทศ เพื่อการสนับสนุนการเรียนรู้ตลอดชีวิต</p> <p> 2. พัฒนาโครงสร้างพื้นฐานด้านเทคโนโลยีสารสนเทศในการสนับสนุนพันธกิจของมหาวิทยาลัยเพื่อก้าวสู่ E-University</p> <p> 3. พัฒนาศูนย์การเรียนรู้เทคโนโลยีสารสนเทศของนักศึกษา บุคลากรของมหาวิทยาลัยและท้องถิ่น</p> <p> 4. สนับสนุนโครงการอันเนื่องมาจากพระราชดำริ โครงการบริการวิชาการ และสืบสานวัฒนธรรมท้องถิ่น</p> <p> <a href="history.php#history" class="btn button-style mt-sm-5 mt-4">ประวัติสำนักฯ</a> <a href="structure.php#structure" class="btn button-style mt-sm-5 mt-4">โครงสร้างสำนักฯ</a> </p> </div> <div class="col-lg-6 welcome-right text-center mt-lg-0 mt-5"> <div class="row"> <div class="col-sm-6"> <div class="about-sty ml-sm-3"> <a href="https://arit.skru.ac.th/lib/index.php"> <span class="fa fa-book text-wh"></span> <p class="text-li mt-2">หอสมุดกลาง</p> </a> </div> </div> <div class="col-sm-6 mt-sm-0 mt-4"> <div class="about-sty-2 px-4 py-5"> <a href="https://cc.skru.ac.th"> <span class="fa fa-television text-wh"></span> <p class="text-li mt-2">ศูนย์คอมพิวเตอร์</p> </a> </div> <div class="about-sty-2 px-4 py-5 mt-4"> <a href="https://lc.skru.ac.th"> <span class="fa fa-language text-wh"></span> <p class="text-li mt-2">ศูนย์ความเป็นเลิศด้านภาษา</p> </a> </div> </div> </div> </div> </div> </div> </div> //about --> <!-- services --> <div class="serives-w3pvt-web py-5" id="services"> <div class="container py-xl-5 py-lg-3"> <div class="row support-bottom text-center"> <div class="col-md-4 services-w3ls-grid"> <a href="https://training.skru.ac.th/"> <!--<div class="serv-icon mx-auto"> <span class="fa fa-pie-chart"></span> </div>--> <img src="images/arittrain.png" width="100"> <h4 class="text-wh mt-md-4 mt-3 mb-3">บริการคอร์สอบรม</h4> </a> <p>โครงการอบรมเชิงปฏิบัติการเกี่ยวกับคอมพิวเตอร์</p> <p>ณ ห้องปฏิบัติการคอมพิวเตอร์ อาคารศูนย์ภาษาและคอมพิวเตอร์</p> </div> <div class="col-md-4 services-w3ls-grid my-md-0 my-4"> <a href="https://arit.skru.ac.th/arit/aritnews/exhibition_detail.php?exhibition_id=347"> <!--<div class="serv-icon clr-2 mx-auto"> <span class="fa fa-opencart"></span> </div>--> <img src="images/aritbooking.png" width="100"> <h4 class="text-wh mt-md-4 mt-3 mb-3">สืบค้นทรัพยากรฯ ในห้องสมุด</h4> </a> <p>สืบค้นทรัพยากรสารสนเทศต่างๆ ในห้องสมุด เช่น หนังสือ วารสาร โสตทัศนวัสดุ</p> </div> <div class="col-md-4 services-w3ls-grid"> <!--<a href="https://skrudl.skru.ac.th/"> <div class="serv-icon clr-3 mx-auto"> <span class="fa fa-ravelry"></span> </div> <img src="images/arittest.png" width="100"> <h4 class="text-wh mt-md-4 mt-3 mb-3">บริการศูนย์สอบคอมพิวเตอร์</h4> </a> <p>จัดตั้งขึ้นเพื่อให้บริการทดสอบวัดความรู้ทางด้านคอมพิวเตอร์พื้นฐาน โดยเปิดให้บริการแก่นักศึกษา บุคลากร และผู้สนใจทั่วไป </p>--> <a href="https://skrudl.skru.ac.th/studentdl"> <!--<div class="serv-icon clr-3 mx-auto"> <span class="fa fa-ravelry"></span> </div>--> <img src="images/arittest.png" width="100"> <h4 class="text-wh mt-md-4 mt-3 mb-3">ทดสอบสมรรถนะดิจิทัล</h4> </a> <p>ทดสอบสมรรถนะด้านการใช้ดิจิทัล ตามมาตรฐานสากลของนักศึกษา มหาวิทยาลัยราชภัฏสงขลา</p> </div> </div> </div> </div> <!-- //services --> <!-- middle <div class="w3pvt-web-wthree-works py-5"> <div class="container py-xl-4 py-lg-3"> <div class="row"> <div class="col-lg-7 img-left-posi text-lg-left text-center mb-3"> <a href="https://olc.skru.ac.th/"><img src="images/olc2.png" alt="" class="img-fluid"></a> </div> <div class="col-lg-5 grids-w3ls-right-2 mt-xl-2 mt-2"> <ul class="list-unstyled"> <li> <a href="https://arit.skru.ac.th/arit/aritnews/exhibition_detail.php?exhibition_id=173"><span class="fa fa-chevron-circle-right"></span> บริการจองห้อง</a> </li> <li> <a href="https://ed.engdis.com/skru#/login"><span class="fa fa-chevron-circle-right"></span> เรียนภาษาอังกฤษออนไลน์ด้วยตนเอง English Discoveries</a> </li> <li class="my-2"> <a href="https://lc.skru.ac.th/traineng/index.php"><span class="fa fa-chevron-circle-right"></span> ลงทะเบียนอบรมภาษาต่างประเทศ</a> </li> <li> <a href="https://forms.gle/BHCEz9SNfz7xu1pe6"><span class="fa fa-chevron-circle-right"></span> ลงทะเบียนอบรมการใช้ห้องสมุดและการสืบค้นสารสนเทศ</a> </li> <li class="my-2"> <a href="https://arit.skru.ac.th/lib/index.php#onlinedatabase"><span class="fa fa-chevron-circle-right"></span> ฐานข้อมูลออนไลน์</a> </li> <li> <a href="https://arit.skru.ac.th/lib/index.php#service"><span class="fa fa-chevron-circle-right"></span> บริการอื่นๆของห้องสมุด...</a> </li> <li class="my-2"> <a href="https://cc.skru.ac.th/"><span class="fa fa-chevron-circle-right"></span> บริการอื่นๆของศูนย์คอมพิวเตอร์...</a> </li> <li> <a href="https://lc.skru.ac.th/"><span class="fa fa-chevron-circle-right"></span> บริการอื่นๆของศูนย์ความเป็นเลิศด้านภาษา...</a> </li> </ul> </div> </div> </div> </div> //middle --> <!--บริการเด่น--> <section class="blog_w3ls pt-3 pb-5" id="onlineservice"> <div class="container pb-xl-5 pb-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">บริการเด่น</h3> <div class="row"> <?php $dbName = "db_lib"; $conn = mysqli_connect($serverName,$userName,$userPassword,$dbName); mysqli_set_charset($conn,"utf8"); $sql = "SELECT * from db_online"; $sql .= " WHERE db_type=14"; $sql .= " ORDER BY db_id DESC"; //$sql .= " LIMIT 3"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { ?> <!-- blog grid --> <div class="col-lg-3 col-md-6 pt-5"> <div class="card border-0 med-blog"> <div class="card-header p-0 border-0"> <a href="<?php echo $result["db_link"];?>"> <?php $img_url = "images/DBonline/" . $result["logo2"]; ?> <img class="card-img-bottom" src="<?php echo $img_url;?>" alt="image"> </a> </div> <div class="card-body border mt-3"> <div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="<?php echo $result["db_link"];?>"><?php echo $result["db_name"];?></a> </h5> <!--<div class="blog_w3icon"> <span> Jan 12, 2019 - loremipsum</span> </div>--> </div> <?php if (strlen($result["db_message"]) > $num_string_detail) { $show_detail = mb_substr($result["db_message"],0,$num_string_detail, 'UTF-8') . "..." . "<a href=bdetail.php?db_id=" . $result["db_id"] .">อ่านต่อ" . "</a>"; } else { //if ($result["db_message"] > $num_string_detail) { $show_detail = $result["db_message"]; } //if ($result["db_message"] > $num_string_detail) { ?> <p><?php echo $show_detail;?></p> <a href="<?php echo $result["db_link"];?>" class="btn button-style mt-sm-0 mt-0">ใช้บริการ</a> <?php if ($result["manual2"]<>"") { ?> <a href="<?php echo $result["manual2"];?>" class="btn button-style mt-sm-0 mt-0">คู่มือ</a> <?php } ?> </div> </div> </div> <!-- //blog grid --> <?php } //end while ?> </div> </div> </section> <!-- บริการเด่น--> <!--เรียนออนไลน์ ทีวี วิดีโอออนไลน์--> <section class="blog_w3ls pt-3 pb-5" id="multimedia"> <div class="container pb-xl-5 pb-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">เรียนออนไลน์ ทีวี วิดีโอ</h3> <div class="row"> <?php $dbName = "db_lib"; $conn = mysqli_connect($serverName,$userName,$userPassword,$dbName); mysqli_set_charset($conn,"utf8"); $sql = "SELECT * from db_online"; $sql .= " WHERE db_type=10"; $sql .= " ORDER BY db_id DESC"; //$sql .= " LIMIT 3"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { ?> <!-- blog grid --> <div class="col-lg-3 col-md-6 pt-5"> <div class="card border-0 med-blog"> <div class="card-header p-0 border-0"> <a href="<?php echo $result["db_link"];?>"> <?php $img_url = "images/DBonline/" . $result["logo2"]; ?> <img class="card-img-bottom" src="<?php echo $img_url;?>" alt="image"> </a> </div> <div class="card-body border mt-3"> <div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="<?php echo $result["db_link"];?>"><?php echo $result["db_name"];?></a> </h5> <!--<div class="blog_w3icon"> <span> Jan 12, 2019 - loremipsum</span> </div>--> </div> <?php if (strlen($result["db_message"]) > $num_string_detail) { $show_detail = mb_substr($result["db_message"],0,$num_string_detail, 'UTF-8') . "..." . "<a href=bdetail.php?db_id=" . $result["db_id"] .">อ่านต่อ" . "</a>"; } else { //if ($result["db_message"] > $num_string_detail) { $show_detail = $result["db_message"]; } //if ($result["db_message"] > $num_string_detail) { ?> <p><?php echo $show_detail;?></p> <a href="<?php echo $result["db_link"];?>" class="btn button-style mt-sm-0 mt-0">ใช้บริการ</a> <?php if ($result["manual2"]<>"") { ?> <a href="<?php echo $result["manual2"];?>" class="btn button-style mt-sm-0 mt-0">คู่มือ</a> <?php } ?> </div> </div> </div> <!-- //blog grid --> <?php } //end while ?> </div> </div> </section> <!-- /เรียนออนไลน์ ทีวี วิดีโอออนไลน์ --> <!--ฐานข้อมูลทดลองใช้ --> <section class="blog_w3ls pt-3 pb-5" id="trialdatabase"> <div class="container pb-xl-5 pb-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">ฐานข้อมูลทดลองใช้</h3> <div class="row"> <?php $dbName = "db_lib"; $conn = mysqli_connect($serverName,$userName,$userPassword,$dbName); mysqli_set_charset($conn,"utf8"); $sql = "SELECT * from db_online"; $sql .= " WHERE db_type=6"; $sql .= " ORDER BY db_id DESC"; //$sql .= " LIMIT 3"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { ?> <!-- blog grid --> <div class="col-lg-3 col-md-6 pt-5"> <div class="card border-0 med-blog"> <div class="card-header p-0 border-0"> <a href="<?php echo $result["db_link"];?>"> <?php $img_url = "images/DBonline/" . $result["logo2"]; ?> <img class="card-img-bottom" src="<?php echo $img_url;?>" alt="image"> </a> </div> <div class="card-body border mt-3"> <div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="<?php echo $result["db_link"];?>"><?php echo $result["db_name"];?></a> </h5> <!--<div class="blog_w3icon"> <span> Jan 12, 2019 - loremipsum</span> </div>--> </div> <?php if (strlen($result["db_message"]) > $num_string_detail) { $show_detail = mb_substr($result["db_message"],0,$num_string_detail, 'UTF-8') . "..." . "<a href=bdetail_accept.php?db_id=" . $result["db_id"] .">อ่านต่อ" . "</a>"; } else { //if ($result["db_message"] > $num_string_detail) { $show_detail = $result["db_message"]; } //if ($result["db_message"] > $num_string_detail) { ?> <p><?php echo $show_detail;?></p> <a href="<?php echo $result["db_link"];?>" class="btn button-style mt-sm-0 mt-0">ใช้บริการ</a> <?php if ($result["manual2"]<>"") { ?> <a href="<?php echo $result["manual2"];?>" class="btn button-style mt-sm-0 mt-0">คู่มือ</a> <?php } ?> </div> </div> </div> <!-- //blog grid --> <?php } //end while ?> </div> </div> </section> <!-- /ฐานข้อมูลทดลองใช้ --> <!--ฐานข้อมูลออนไลน์ --> <section class="blog_w3ls pt-3 pb-5" id="onlinedatabase"> <div class="container pb-xl-5 pb-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">ฐานข้อมูลออนไลน์</h3> <div class="row"> <?php $dbName = "db_lib"; $conn = mysqli_connect($serverName,$userName,$userPassword,$dbName); mysqli_set_charset($conn,"utf8"); $sql = "SELECT * from db_online"; $sql .= " WHERE db_type=1 OR db_type=2 OR db_type=3 OR db_type=5"; $sql .= " ORDER BY db_id DESC"; //$sql .= " LIMIT 3"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { ?> <!-- blog grid --> <div class="col-lg-3 col-md-6 pt-5"> <div class="card border-0 med-blog"> <div class="card-header p-0 border-0"> <a href="<?php echo $result["db_link"];?>"> <?php $img_url = "images/DBonline/" . $result["logo2"]; ?> <img class="card-img-bottom" src="<?php echo $img_url;?>" alt="image"> </a> </div> <div class="card-body border mt-3"> <div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="<?php echo $result["db_link"];?>"><?php echo $result["db_name"];?></a> </h5> <!--<div class="blog_w3icon"> <span> Jan 12, 2019 - loremipsum</span> </div>--> </div> <?php if (strlen($result["db_message"]) > $num_string_detail) { $show_detail = mb_substr($result["db_message"],0,$num_string_detail, 'UTF-8') . "..." . "<a href=bdetail_accept.php?db_id=" . $result["db_id"] .">อ่านต่อ" . "</a>"; } else { //if ($result["db_message"] > $num_string_detail) { $show_detail = $result["db_message"]; } //if ($result["db_message"] > $num_string_detail) { ?> <p><?php echo $show_detail;?></p> <a href="<?php echo $result["db_link"];?>" class="btn button-style mt-sm-0 mt-0">ใช้บริการ</a> <?php if ($result["manual2"]<>"") { ?> <a href="<?php echo $result["manual2"];?>" class="btn button-style mt-sm-0 mt-0">คู่มือ</a> <?php } ?> </div> </div> </div> <!-- //blog grid --> <?php } //end while ?> </div> </div> </section> <!-- /ฐานข้อมูลออนไลน์ --> <!--E-Book (หนังสืออิเล็กทรอนิกส์)--> <section class="blog_w3ls pt-3 pb-5" id="ebook"> <div class="container pb-xl-5 pb-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">E-Book (หนังสืออิเล็กทรอนิกส์)</h3> <div class="row"> <?php $dbName = "db_lib"; $conn = mysqli_connect($serverName,$userName,$userPassword,$dbName); mysqli_set_charset($conn,"utf8"); $sql = "SELECT * from db_online"; $sql .= " WHERE db_type=12"; $sql .= " ORDER BY db_id DESC"; //$sql .= " LIMIT 3"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { ?> <!-- blog grid --> <div class="col-lg-3 col-md-6 pt-5"> <div class="card border-0 med-blog"> <div class="card-header p-0 border-0"> <a href="<?php echo $result["db_link"];?>"> <?php $img_url = "images/DBonline/" . $result["logo2"]; ?> <img class="card-img-bottom" src="<?php echo $img_url;?>" alt="image"> </a> </div> <div class="card-body border mt-3"> <div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="<?php echo $result["db_link"];?>"><?php echo $result["db_name"];?></a> </h5> <!--<div class="blog_w3icon"> <span> Jan 12, 2019 - loremipsum</span> </div>--> </div> <?php if (strlen($result["db_message"]) > $num_string_detail) { $show_detail = mb_substr($result["db_message"],0,$num_string_detail, 'UTF-8') . "..." . "<a href=bdetail_accept.php?db_id=" . $result["db_id"] .">อ่านต่อ" . "</a>"; } else { //if ($result["db_message"] > $num_string_detail) { $show_detail = $result["db_message"]; } //if ($result["db_message"] > $num_string_detail) { ?> <p><?php echo $show_detail;?></p> <a href="<?php echo $result["db_link"];?>" class="btn button-style mt-sm-0 mt-0">ใช้บริการ</a> <?php //if ($result["manual2"]<>"") //{ ?> <!-- <a href="<?php //echo $result["manual2"];?>" class="btn button-style mt-sm-0 mt-0">คู่มือ</a>--> <?php //} ?> <?php if ($result["manual2"]<>"") { ?> <a href="<?php echo $result["manual2"];?>" class="btn button-style mt-sm-0 mt-0">คู่มือ</a> <?php } ?> </div> </div> </div> <!-- //blog grid --> <?php } //end while ?> </div> </div> </section> <!-- /E-Book (หนังสืออิเล็กทรอนิกส์) --> <!--ฐานข้อมูลท้องถิ่น--> <section class="blog_w3ls pt-3 pb-5" id="localdatabase"> <div class="container pb-xl-5 pb-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">ฐานข้อมูลท้องถิ่น</h3> <div class="row"> <?php $dbName = "db_lib"; $conn = mysqli_connect($serverName,$userName,$userPassword,$dbName); mysqli_set_charset($conn,"utf8"); $sql = "SELECT * from db_online"; $sql .= " WHERE db_type=13"; $sql .= " ORDER BY db_id DESC"; //$sql .= " LIMIT 3"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { ?> <!-- blog grid --> <div class="col-lg-3 col-md-6 pt-5"> <div class="card border-0 med-blog"> <div class="card-header p-0 border-0"> <a href="<?php echo $result["db_link"];?>"> <?php $img_url = "images/DBonline/" . $result["logo2"]; ?> <img class="card-img-bottom" src="<?php echo $img_url;?>" alt="image"> </a> </div> <div class="card-body border mt-3"> <div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="<?php echo $result["db_link"];?>"><?php echo $result["db_name"];?></a> </h5> <!--<div class="blog_w3icon"> <span> Jan 12, 2019 - loremipsum</span> </div>--> </div> <?php if (strlen($result["db_message"]) > $num_string_detail) { $show_detail = mb_substr($result["db_message"],0,$num_string_detail, 'UTF-8') . "..." . "<a href=bdetail.php?db_id=" . $result["db_id"] .">อ่านต่อ" . "</a>"; } else { //if ($result["db_message"] > $num_string_detail) { $show_detail = $result["db_message"]; } //if ($result["db_message"] > $num_string_detail) { ?> <p><?php echo $show_detail;?></p> <a href="<?php echo $result["db_link"];?>" class="btn button-style mt-sm-0 mt-0">ใช้บริการ</a> <?php if ($result["manual2"]<>"") { ?> <a href="<?php echo $result["manual2"];?>" class="btn button-style mt-sm-0 mt-0">คู่มือ</a> <?php } ?> </div> </div> </div> <!-- //blog grid --> <?php } //end while ?> </div> </div> </section> <!-- /ฐานข้อมูลท้องถิ่น--> <!--ข่าวหนังสือพิมพ์--> <section class="blog_w3ls pt-3 pb-5" id="newspaper"> <div class="container pb-xl-5 pb-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">ข่าว หนังสือพิมพ์</h3> <div class="row"> <?php $dbName = "db_lib"; $conn = mysqli_connect($serverName,$userName,$userPassword,$dbName); mysqli_set_charset($conn,"utf8"); $sql = "SELECT * from db_online"; $sql .= " WHERE db_type=8"; $sql .= " ORDER BY db_id ASC"; //$sql .= " LIMIT 3"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { ?> <!-- blog grid --> <div class="col-lg-2 col-md-4 col-sm-6 pt-5"> <div class="card border-0 med-blog"> <div class="card-header p-0 border-0"> <a href="<?php echo $result["db_link"];?>"> <?php $img_url = "images/DBonline/" . $result["logo2"]; ?> <img class="card-img-bottom" src="<?php echo $img_url;?>" alt="image"> </a> </div> </div> </div> <!-- //blog grid --> <?php } //end while ?> </div> </div> </section> <!-- /ข่าวหนังสือพิมพ์--> <!--วารสาร-นิตยสาร--> <section class="blog_w3ls pt-3 pb-5" id="journal"> <div class="container pb-xl-5 pb-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">วารสาร นิตยสาร</h3> <div class="row"> <?php $dbName = "db_lib"; $conn = mysqli_connect($serverName,$userName,$userPassword,$dbName); mysqli_set_charset($conn,"utf8"); $sql = "SELECT * from db_online"; $sql .= " WHERE db_type=9"; $sql .= " ORDER BY db_id DESC"; //$sql .= " LIMIT 3"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { ?> <!-- blog grid --> <div class="col-lg-3 col-md-6 pt-5"> <div class="card border-0 med-blog"> <div class="card-header p-0 border-0"> <a href="<?php echo $result["db_link"];?>"> <?php $img_url = "images/DBonline/" . $result["logo2"]; ?> <img class="card-img-bottom" src="<?php echo $img_url;?>" alt="image"> </a> </div> <div class="card-body border mt-3"> <div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="<?php echo $result["db_link"];?>"><?php echo $result["db_name"];?></a> </h5> <!--<div class="blog_w3icon"> <span> Jan 12, 2019 - loremipsum</span> </div>--> </div> <?php if (strlen($result["db_message"]) > $num_string_detail) { $show_detail = mb_substr($result["db_message"],0,$num_string_detail, 'UTF-8') . "..." . "<a href=bdetail.php?db_id=" . $result["db_id"] .">อ่านต่อ" . "</a>"; } else { //if ($result["db_message"] > $num_string_detail) { $show_detail = $result["db_message"]; } //if ($result["db_message"] > $num_string_detail) { ?> <p><?php echo $show_detail;?></p> <a href="<?php echo $result["db_link"];?>" class="btn button-style mt-sm-0 mt-0">ใช้บริการ</a> <?php if ($result["manual2"]<>"") { ?> <a href="<?php echo $result["manual2"];?>" class="btn button-style mt-sm-0 mt-0">คู่มือ</a> <?php } ?> </div> </div> </div> <!-- //blog grid --> <?php } //end while ?> </div> </div> </section> <!-- /วารสาร-นิตยสาร--> <!--แหล่งสารสนเทศออนไลน์อื่น ๆ--> <section class="blog_w3ls pt-3 pb-5" id="other"> <div class="container pb-xl-5 pb-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">แหล่งสารสนเทศออนไลน์อื่น ๆ</h3> <div class="row"> <?php $dbName = "db_lib"; $conn = mysqli_connect($serverName,$userName,$userPassword,$dbName); mysqli_set_charset($conn,"utf8"); $sql = "SELECT * from db_online"; $sql .= " WHERE db_type=11"; $sql .= " ORDER BY db_id DESC"; //$sql .= " LIMIT 3"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { ?> <!-- blog grid --> <div class="col-lg-3 col-md-6 pt-5"> <div class="card border-0 med-blog"> <div class="card-header p-0 border-0"> <a href="<?php echo $result["db_link"];?>"> <?php $img_url = "images/DBonline/" . $result["logo2"]; ?> <img class="card-img-bottom" src="<?php echo $img_url;?>" alt="image"> </a> </div> <div class="card-body border mt-3"> <div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="<?php echo $result["db_link"];?>"><?php echo $result["db_name"];?></a> </h5> <!--<div class="blog_w3icon"> <span> Jan 12, 2019 - loremipsum</span> </div>--> </div> <?php if (strlen($result["db_message"]) > $num_string_detail) { $show_detail = mb_substr($result["db_message"],0,$num_string_detail, 'UTF-8') . "..." . "<a href=bdetail.php?db_id=" . $result["db_id"] .">อ่านต่อ" . "</a>"; } else { //if ($result["db_message"] > $num_string_detail) { $show_detail = $result["db_message"]; } //if ($result["db_message"] > $num_string_detail) { ?> <p><?php echo $show_detail;?></p> <a href="<?php echo $result["db_link"];?>" class="btn button-style mt-sm-0 mt-0">ใช้บริการ</a> <?php if ($result["manual2"]<>"") { ?> <a href="<?php echo $result["manual2"];?>" class="btn button-style mt-sm-0 mt-0">คู่มือ</a> <?php } ?> </div> </div> </div> <!-- //blog grid --> <?php } //end while ?> </div> </div> </section> <!-- /แหล่งสารสนเทศออนไลน์อื่น ๆ--> <!-- stats section --> <div class="stats py-5" id="stats"> <div class="container py-xl-5 py-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3"><font color="#368ff4">VDO แนะนำสำนักวิทยบริการฯ</font></h3> <div class="row text-center py-sm-3"> <div class="col-md-12 col-sm-12 w3layouts_stats_left"> <iframe width="75%" height="315" src="https://www.youtube.com/embed/qbNqb9gXuOo" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div> <!--<div class="col-md-4 col-sm-6 w3layouts_stats_left"> <iframe src="https://www.youtube.com/embed/cXdTJktI9U4" width="100%" height="auto" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div> <div class="col-md-4 col-sm-6 w3layouts_stats_left mt-sm-0 mt-4"> <iframe src="https://www.youtube.com/embed/rYqTFVlYIdQ" width="100%" height="auto" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div> <div class="col-md-4 col-sm-6 w3layouts_stats_left mt-sm-0 mt-4"> <iframe src="https://www.youtube.com/embed/BjwG02r8DEs" width="100%" height="auto" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div> --> <!--<div class="col-md-3 col-sm-6 w3layouts_stats_left mt-md-0 mt-4"> <p class="counter">1200</p> <p class="para-text-w3ls text-li">Happy Clients</p> </div> <div class="col-md-3 col-sm-6 w3layouts_stats_left mt-md-0 mt-4"> <p class="counter">500</p> <p class="para-text-w3ls text-li">Mail Conversation</p> </div>--> </div> <!--<a href="https://www.youtube.com/playlist?list=PLzv6MgNmUNjpFJ7vpD0ojFz0m_QxxBz0w"><p class="text-botm" align="right">VDO กิจกรรมห้องสมุดมนุษย์ทั้งหมด...</p></a>--> </div> </div> <!--//stats section --> <!-- gallery --> <section class="blog_w3ls pt-3 pb-5 py-5" id="gallery"> <div class="container pb-xl-5 pb-lg-3 py-xl-5 py-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">ภาพกิจกรรม</h3> <div class="row"> <?php $serverName = "localhost"; $userName = "arit"; $userPassword = "Arit@Skru2021!#"; $dbName = "igallery"; $conn = mysqli_connect($serverName,$userName,$userPassword,$dbName); mysqli_set_charset($conn,"utf8"); $sql = "SELECT * from gallery"; $sql .= " WHERE album_id=2"; $sql .= " ORDER BY gallery_date DESC"; $sql .= " LIMIT 3"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { $sql2 = "SELECT * from gallery_image"; $sql2 .= " WHERE (gallery_id=" . $result["gallery_id"] . ") AND (is_cover_image=1)"; $query2 = mysqli_query($conn,$sql2); if ($result2=mysqli_fetch_array($query2,MYSQLI_ASSOC)) { $cover_image = "arit/igallery/image_gallery/" . $result["gallery_id"] . "/" . $result2["image_file"]; } else { $sql2 = "SELECT * from gallery_image"; $sql2 .= " WHERE (gallery_id=" . $result["gallery_id"] . ")"; $sql2 .= " ORDER BY image_order ASC"; $query2 = mysqli_query($conn,$sql2); if ($result2=mysqli_fetch_array($query2,MYSQLI_ASSOC)) { $cover_image = "arit/igallery/image_gallery/" . $result["gallery_id"] . "/" . $result2["image_file"]; } else { $cover_image = ""; } } ?> <div class="col-lg-4 col-md-6 pb-3"> <div class="card border-0 med-blog"> <div class="card-header p-0"> <a href="https://arit.skru.ac.th/arit/igallery/image_view.php?id=<?php echo $result["gallery_id"];?>"> <img class="card-img-bottom" src="<?php echo $cover_image;?>" alt="image"> </a> </div> <div class="card-body border border-top-0"> <!--<div class="mb-3"> <h5 class="blog-title card-title font-weight-bold m-0"> <a href="https://arit.skru.ac.th/arit/aritnews/exhibition_detail.php?exhibition_id=<?php //echo $exhibition_id;?>"><?php //echo $exhibition_name;?></a> </h5> <div class="blog_w3icon"> <span>Jan 12, 2019 - loremipsum</span> </div> </div>--> <p><?php echo $result["gallery_name"];?>...<a href="https://arit.skru.ac.th/arit/igallery/image_view.php?id=<?php echo $result["gallery_id"];?>">อ่านต่อ</a></p> </div> </div> </div> <?php } //end while ?> </div> <p> </p><p align="right"><a href="https://arit.skru.ac.th/arit/igallery/index.php">ภาพกิจกรรมทั้งหมด...</a></p> </div> </section> <!-- //gallery --> <!-- team <section class="team py-5" id="team"> <div class="container py-xl-5 py-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">ผู้บริหารและทีมงาน</h3> <div class="row inner-sec-w3layouts-w3pvt-lauinfo"> <div class="col-md-4 team-grids text-center"> </div> <div class="col-md-4 team-grids my-md-0 my-4 text-center"> <img src="images/team2.jpg" class="img-fluid" alt=""> <div class="team-info"> <div class="caption mb-3"> <h4>Adam Ster</h4> </div> <div class="social-icons-section"> <a class="fac" href="#"> <span class="fa fa-facebook"></span> </a> <a class="twitter mx-2" href="#"> <span class="fa fa-twitter"></span> </a> <a class="google" href="#"> <span class="fa fa-google-plus"></span> </a> </div> </div> </div> <div class="col-md-4 team-grids text-center"> </div> </div> <br> <div class="row inner-sec-w3layouts-w3pvt-lauinfo"> <div class="col-md-4 team-grids text-center"> <img src="images/team1.jpg" class="img-fluid" alt=""> <div class="team-info"> <div class="caption mb-3"> <h4>John Doe</h4> </div> <div class="social-icons-section"> <a class="fac" href="#"> <span class="fa fa-facebook"></span> </a> <a class="twitter mx-2" href="#"> <span class="fa fa-twitter"></span> </a> <a class="google" href="#"> <span class="fa fa-google-plus"></span> </a> </div> </div> </div> <div class="col-md-4 team-grids my-md-0 my-4 text-center"> <img src="images/team2.jpg" class="img-fluid" alt=""> <div class="team-info"> <div class="caption mb-3"> <h4>Adam Ster</h4> </div> <div class="social-icons-section"> <a class="fac" href="#"> <span class="fa fa-facebook"></span> </a> <a class="twitter mx-2" href="#"> <span class="fa fa-twitter"></span> </a> <a class="google" href="#"> <span class="fa fa-google-plus"></span> </a> </div> </div> </div> <div class="col-md-4 team-grids text-center"> <img src="images/team3.jpg" class="img-fluid" alt=""> <div class="team-info"> <div class="caption mb-3"> <h4>Chris Tina</h4> </div> <div class="social-icons-section"> <a class="fac" href="#"> <span class="fa fa-facebook"></span> </a> <a class="twitter mx-2" href="#"> <span class="fa fa-twitter"></span> </a> <a class="google" href="#"> <span class="fa fa-google-plus"></span> </a> </div> </div> </div> </div> <br> <div class="row inner-sec-w3layouts-w3pvt-lauinfo"> <div class="col-md-4 team-grids text-center"> <img src="images/team1.jpg" class="img-fluid" alt=""> <div class="team-info"> <div class="caption mb-3"> <h4>John Doe</h4> </div> <div class="social-icons-section"> <a class="fac" href="#"> <span class="fa fa-facebook"></span> </a> <a class="twitter mx-2" href="#"> <span class="fa fa-twitter"></span> </a> <a class="google" href="#"> <span class="fa fa-google-plus"></span> </a> </div> </div> </div> <div class="col-md-4 team-grids my-md-0 my-4 text-center"> <img src="images/team2.jpg" class="img-fluid" alt=""> <div class="team-info"> <div class="caption mb-3"> <h4>Adam Ster</h4> </div> <div class="social-icons-section"> <a class="fac" href="#"> <span class="fa fa-facebook"></span> </a> <a class="twitter mx-2" href="#"> <span class="fa fa-twitter"></span> </a> <a class="google" href="#"> <span class="fa fa-google-plus"></span> </a> </div> </div> </div> <div class="col-md-4 team-grids text-center"> <img src="images/team3.jpg" class="img-fluid" alt=""> <div class="team-info"> <div class="caption mb-3"> <h4>Chris Tina</h4> </div> <div class="social-icons-section"> <a class="fac" href="#"> <span class="fa fa-facebook"></span> </a> <a class="twitter mx-2" href="#"> <span class="fa fa-twitter"></span> </a> <a class="google" href="#"> <span class="fa fa-google-plus"></span> </a> </div> </div> </div> </div> </div> </section> team --> <!-- testimonials <section class="testi text-center py-5" id="testi"> <div class="container pb-xl-5 pb-lg-3"> <div class="title-section mb-sm-5 mb-4 pb-xl-4 text-center"> <h4 class="text-bl mb-2">We have</h4> <h3 class="w3ls-title text-bl text-uppercase let font-weight-bold">7630 happy users</h3> </div> <div class="row pb-4"> <div class="col-lg-6"> <div class="testi-cgrid"> <div class="testi-icon"> <span class="fa fa-user text-wh" aria-hidden="true"></span> </div> <h6 class="b-w3ltxt mt-4">Steve Joe</h6> <p class="mx-auto">Onec consequat sapien ut leo cursus rhoncus. Nullam dui mi, vulputate ac metus semper.</p> </div> </div> <div class="col-lg-6 mt-lg-0 mt-sm-5 mt-4"> <div class="testi-cgrid"> <div class="testi-icon"> <span class="fa fa-user text-wh" aria-hidden="true"></span> </div> <h6 class="b-w3ltxt mt-4">Petey Sty</h6> <p class="mx-auto">Onec consequat sapien ut leo cursus rhoncus. Nullam dui mi, vulputate ac metus semper.</p> </div> </div> </div> </div> </section> testimonials --> <!-- middle section green office--> <section class="w3ls-bnrbtm py-2 text-center"> <div class="container py-xl-5 my-lg-5"> <div class="cont-w3pvt py-sm-5 py-4"> <!--<span class="w3-line text-uppercase">ห้องสมุดสีเขียว / สำนักงานสีเขียว</span>--> <h3 class="w3pvt-web-title mt-2 mb-3">ห้องสมุดสีเขียว / สำนักงานสีเขียว</h3> <!--<p class="text-botm">สำนักวิทยบริการและเทคโนโลยีสารสนเทศ มหาวิทยาลัยราชภัฏสงขลา มีความมุ่งมั่นและพัฒนาให้องค์กรมีการบริหารจัดการที่เป็นมิตรต่อสิ่งแวดล้อม ให้บริการสารสนเทศด้านการอนุรักษ์พลังงานและสิ่งแวดล้อม รวมทั้งสร้างความตระหนักให้แก่ผู้รับบริการและบุคลากรภายในมหาวิทยาลัยราชภัฏสงขลา ในการมีส่วนร่วมด้านการจัดการสิ่งแวดล้อมภายในสำนักวิทยบริการและเทคโนโลยีสารสนเทศ มหาวิทยาลัยราชภัฏสงขลา</p>--> <div class="row"> <?php $dbName = "aritnews"; $conn = mysqli_connect($serverName,$userName,$userPassword,$dbName); mysqli_set_charset($conn,"utf8"); //$sql="SELECT * FROM exhibition WHERE ((exhibition_type_id=10) AND cover_image<>'" . "') ORDER BY create_date DESC, exhibition_id DESC limit 0,2"; $sql="SELECT * FROM exhibition WHERE ((exhibition_type_id=10) AND cover_image<>'" . "') ORDER BY RAND() limit 0,2"; $query = mysqli_query($conn,$sql); while($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { $exhibition_id = $result["exhibition_id"]; $exhibition_name = $result["exhibition_name"]; $exhibition_detail = $result["exhibition_detail"]; ?> <div class="col-lg-6 col-md-6 py-3"> <div class="card border-0 med-blog"> <div class="card-header p-0"> <a href="https://arit.skru.ac.th/arit/aritnews/exhibition_detail.php?exhibition_id=<?php echo $exhibition_id;?>"> <img class="card-img-bottom" src="https://arit.skru.ac.th/arit/aritnews/images/<?php echo $result["cover_image"];?>" alt="image"> </a> </div> </div> </div> <?php } //end while ?> </div> <a href="https://arit.skru.ac.th/arit/greenlibrary" class="btn button-style mt-sm-5 mt-4">กิจกรรมสำนักงานสีเขียวทั้งหมด</a> </div> </div> </section> <!-- //middle section --> <!-- contact --> <section class="contact py-5" id="contact"> <div class="container py-xl-5 py-lg-3"> <h3 class="title text-uppercase text-center text-bl mb-5 pb-xl-3">ติดต่อสำนักฯ</h3> <div class="row mail-w3l-w3pvt-web pt-xl-4"> <div class="col-md-5 contact-left-w3ls"> <!--<h3>Contact Info</h3>--> <div class="row visit"> <div class="col-md-2 col-sm-2 col-2 contact-icon-wthree"> <span class="fa fa-home" aria-hidden="true"></span> </div> <div class="col-md-10 col-sm-10 col-10 contact-text-w3pvt-webinf0"> <h4>ที่อยู่</h4> <p>สำนักวิทยบริการและเทคโนโลยีสารสนเทศ</p> <p>มหาวิทยาลัยราชภัฏสงขลา</p> <p>ถ.กาญจนวนิช ต.เขารูปช้าง อ.เมืองสงขลา</p> <p>จ.สงขลา</p> <p>รหัสไปรษณีย์ 90000</p> </div> </div> <div class="row mail-w3 my-4"> <div class="col-md-2 col-sm-2 col-2 contact-icon-wthree"> <span class="fa fa-envelope-o" aria-hidden="true"></span> </div> <div class="col-md-10 col-sm-10 col-10 contact-text-w3pvt-webinf0"> <h4>อีเมล</h4> <p><a href="mailto:arit.skru@skru.ac.th">arit.skru@skru.ac.th</a></p> </div> </div> <div class="row call"> <div class="col-md-2 col-sm-2 col-2 contact-icon-wthree"> <span class="fa fa-phone" aria-hidden="true"></span> </div> <div class="col-md-10 col-sm-10 col-10 contact-text-w3pvt-webinf0"> <h4>โทรศัพท์</h4> <p>0-7426-0278</p> <br><h4>แฟกซ์</h4> <p>0-7433-6938</p> <br><h4>หมายเลขโทรศัพท์ภายใน</h4> <p>สำนักงานผู้อำนวยการ : 1739</p> <p>ห้องสมุด : 1735</p> <p>ศูนย์คอมพิวเตอร์ : 2104, 2105, 2113</p> <p>ศูนย์ความเป็นเลิศด้านภาษา : 1875, 1876</p> </div> </div> <div class="row mail-w3 my-4"> <div class="col-md-2 col-sm-2 col-2 contact-icon-wthree"> <a href="https://www.facebook.com/arit.skru/"><span class="fa fa-facebook-f" aria-hidden="true"></span></a> </div> <div class="col-md-10 col-sm-10 col-10 contact-text-w3pvt-webinf0"> <h4><a href="https://www.facebook.com/arit.skru/">Facebook Fanpage</a></h4> <p>ติดตามข้อมูล หรือติดต่อสอบถามข้อมูลต่างๆ ผ่านทาง facebook fanpage <a href="https://www.facebook.com/arit.skru/">ได้ที่นี่ <span class="fa fa-facebook-f"></span></a></p> </div> </div> <img src="images/qrarit.png" class="mt-5" style="display: block;margin-left: auto;margin-right: auto;"/> </div> <div class="col-md-6 w3pvt-webinfo_mail_grid_right mt-md-0 mt-5"> <a href="aritpoll.php#aritpoll"><img src="images/aritpoll.jpg" alt="" class="img-fluid"></a> <br /><br /> <h4>สายตรงผู้อำนวยการ</h4><br> <!--<link href="images/phpcaptcha/css/style.css" rel="stylesheet">--> <script type='text/javascript'> function refreshCaptcha(){ var img = document.images['captchaimg']; img.src = img.src.substring(0,img.src.lastIndexOf("?"))+"?rand="+Math.random()*1000; } </script> <form action="hotline.php" method="post"> <div class="form-group"> <input type="text" name="Name" class="form-control" placeholder="ชื่อ" required=""> </div> <div class="form-group"> <input type="email" name="Email" class="form-control" placeholder="อีเมล" required=""> </div> <div class="form-group"> <textarea name="Message" placeholder="ข้อความ......." required=""></textarea> </div> <p class="fax"> <label>ช่องนี้ไม่ต้องกรอกอะไร</label> <input type="text" name="your_fax"> </p> <div class="form-group"> รหัสตรวจสอบ: <img src="images/phpcaptcha/captcha.php?rand=<?php echo rand();?>" id='captchaimg'><br> <label for='message'>ใส่รหัสตรวจสอบที่นี่ :</label> <br> <input id="captcha_code" name="captcha_code" type="text"> <br> อ่านรหัสตรวจสอบไม่ได้? <a href='javascript: refreshCaptcha();'>คลิกที่นี่</a> เพื่อโหลดใหม่ </div> <button type="submit" class="btn" name="submit" onClick="return validate();">ส่งข้อความ</button> </form> <!--<img src="images/qrarit.png" class="mt-5" style="display: block;margin-left: auto;margin-right: auto;"/>--> </div> </div> </div> </section> <!-- //contact --> <!-- map --> <div class="map p-2"> <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d15834.326869480281!2d100.60840599846402!3d7.174253534243161!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x304d3339f5302e53%3A0x7914150f5de677f!2z4Liq4Liz4LiZ4Lix4LiB4Lin4Li04LiX4Lii4Lia4Lij4Li04LiB4Liy4Lij4LmB4Lil4Liw4LmA4LiX4LiE4LmC4LiZ4LmC4Lil4Lii4Li14Liq4Liy4Lij4Liq4LiZ4LmA4LiX4LioIOC4oeC4q-C4suC4p-C4tOC4l-C4ouC4suC4peC4seC4ouC4o-C4suC4iuC4oOC4seC4j-C4quC4h-C4guC4peC4sg!5e0!3m2!1sth!2sth!4v1578379278436!5m2!1sth!2sth" width="600" height="450" frameborder="0" style="border:0;" allowfullscreen=""></iframe> </div> <!-- //map --> <!-- partners --> <section class="partners text-center pt-2 pb-5" id="link"> <div class="container py-xl-5 py-lg-3"> <!--<h4 class="text-bl font-weight-bold mb-sm-5 mb-4">Trusted by the world's best companies</h4>--> <ul class="list-unstyled partners-icon pt-md-5 pt-4"> <div class="row"> <div class="col-12 col-sm-6 col-md-4 col-lg-2 col-xl-2 py-2"><li><a href="https://arit.skru.ac.th/arit/greenlibrary"><span class="fa fa-globe clr1"></span><br>สำนักงานสีเขียว</a></li></div> <div class="col-12 col-sm-6 col-md-4 col-lg-3 col-xl-3 py-2"><li><a href="https://arit.skru.ac.th/arit/QA.php"><span class="fa fa-trophy clr2"></span><br>ประกันคุณภาพ</a></li></div> <div class="col-12 col-sm-6 col-md-4 col-lg-2 col-xl-2 py-2"><li><a href="https://arit.skru.ac.th/arit/Plan.php"><span class="fa fa-calendar clr3"></span><br>แผนกลยุทธ์/แผนปฏิบัติการ</a></li></div> <div class="col-12 col-sm-6 col-md-4 col-lg-3 col-xl-3 py-2"><li><a href="https://arit.skru.ac.th/arit/aritnews/aritform.php"><span class="fa fa-file-text-o clr4"></span><br>แบบฟอร์ม</a></li></div> <div class="col-12 col-sm-6 col-md-4 col-lg-2 col-xl-2 py-2"><li><a href="https://arit.skru.ac.th/forstaff.php#forstaff"><span class="fa fa-cog clr6"></span><br>สำหรับเจ้าหน้าที่</a></li></div> </div> <!--<li> <a href="https://arit.skru.ac.th/arit/greenlibrary"><span class="fa fa-globe clr1"></span><br>สำนักงานสีเขียว</a> </li> <li> <a href="https://arit.skru.ac.th/arit/QA.php"><span class="fa fa-trophy clr2"></span><br>ประกันคุณภาพ</a> </li> <li> <a href="https://arit.skru.ac.th/arit/Plan.php"><span class="fa fa-calendar clr3"></span><br>แผนกลยุทธ์/แผนปฏิบัติการ</a> </li> <li> <a href="https://arit.skru.ac.th/arit/aritnews/aritform.php"><span class="fa fa-file-text-o clr4"></span><br>แบบฟอร์ม</a> </li> <li> <a href="https://arit.skru.ac.th/forstaff.php#forstaff"><span class="fa fa-cog clr6"></span><br>สำหรับเจ้าหน้าที่</a> </li>--> </ul> </div> </section> <!--//partners --> <?php include 'footer.php';?>