-
✘✘✘ WIBUHAX0R1337 ✘✘✘
-
✘
PATCH :
/
var
/
www
/
clients
/
client4
/
web4
/
web
/
ris
/
Upload File:
files >> /var/www/clients/client4/web4/web/ris/researcher_info.php
<?php include "_lib.php"; $res_id = $g_util->getParam('res_id', '0'); ?> <!DOCTYPE html> <html lang="en"> <head> <title>ระบบสาระสนเทศงานวิจัย สถาบันวิจัยและพัฒนา มหาวิทยาลัยราชภัฏศรีสะเกษ </title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="images/logo.ico"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <link rel="stylesheet" href="includes/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Noto+Sans+Thai&display=swap"> <style> body,h1,h2,h3,h4,h5 {font-family: 'Noto Sans Thai', sans-serif; color:#333333;} body {font-size:16px;} *{margin: 0; padding: 0; box-sizing: border-box; list-style: none; text-decoration: none; font-family: 'Noto Sans Thai', sans-serif;} .w3-half img{margin-bottom:-6px;margin-top:16px;opacity:0.8;cursor:pointer} .w3-half img:hover{opacity:1} .ris-dark {background-color:#232659; color:#FFF;} .ris-light {color:#f4c213;} .ris-hover:hover {background-color:#f4c213!important; color:#232659!important;} .ris-active {background-color:#f4c213; color:#232659;!important} .ris-link {color:#000088!important;} .ris-link-hover:hover {color:#880000!important;} </style> </head> <body> <!-- Sidebar/menu --> <nav class="w3-sidebar ris-dark w3-collapse w3-top w3-padding" style="z-index:3;width:250px;" id="mySidebar"><br> <a href="javascript:void(0)" onclick="w3_close()" class="w3-button w3-hide-large w3-display-topleft" style="width:100%;font-size:22px">X</a> <div class="w3-container"> <h3 class="w3-padding-16 ris-light" style="font-weight: bold;">RIS SSKRU</h3> </div> <div class="w3-bar-block"> <a href="index.php" onclick="w3_close()" class="w3-bar-item w3-button w3-round-large ris-hover"><i class="fa fa-home" aria-hidden="true"></i> หน้าหลัก</a> <a href="researches.php" onclick="w3_close()" class="w3-bar-item w3-button w3-round-large ris-hover"><i class="fa fa-file-text-o" aria-hidden="true"></i> งานวิจัย</a> <a href="researchers.php" onclick="w3_close()" class="w3-bar-item w3-button w3-round-large ris-active"><i class="fa fa-users" aria-hidden="true"></i> นักวิจัย</a> <a href="publications.php" onclick="w3_close()" class="w3-bar-item w3-button w3-round-large ris-hover"><i class="fa fa-newspaper-o" aria-hidden="true"></i> การตีพิมพ์</a> <a href="innovations.php" onclick="w3_close()" class="w3-bar-item w3-button w3-round-large ris-hover"><i class="fa fa-cogs" aria-hidden="true"></i> นวัตกรรมและสิ่งประดิษฐ์</a> <a href="areas_of_operation.php" onclick="w3_close()" class="w3-bar-item w3-button w3-round-large ris-hover"><i class="fa fa-globe" aria-hidden="true"></i> พื้นที่ดำเนินการ</a> <a href="admin.php" onclick="w3_close()" class="w3-bar-item w3-button w3-round-large ris-hover"><i class="fa fa-user-secret" aria-hidden="true"></i> ผู้ดูแลระบบ</a> </div> </nav> <!-- Top menu on small screens --> <header class="w3-container w3-top w3-hide-large w3-red w3-xlarge w3-padding"> <a href="javascript:void(0)" class="w3-button w3-red w3-margin-right" onclick="w3_open()">☰</a> <span></span> </header> <!-- Overlay effect when opening sidebar on small screens --> <div class="w3-overlay w3-hide-large" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div> <!-- !PAGE CONTENT! --> <div class="w3-main" style="margin-left:250px;margin-right:0px"> <div class="w3-bottombar" style="padding-top:20px;padding-bottom:20px"> <div class="w3-row"> <div class="w3-col" style="width:140px"><img src="images/logo.png" class="w3-image w3-padding"></div> <div class="w3-rest"><br><h3>ระบบสารสนเทศงานวิจัย สถาบันวิจัยและพัฒนา มหาวิทยาลัยราชภัฏศรีสะเกษ<br> Research Information System(RIS)</h3></div> </div> </div> <div class="w3-panel"> <a href="index.php" class="ris-link ris-link-hover">หน้าหลัก</a> > <a href="researchers.php" class="ris-link ris-link-hover">นักวิจัย</a> > รายละเอียดนักวิจัย </div> <p> </p> <?php $sql = "SELECT researcher.*, faculty.name AS faculty_name FROM researcher LEFT JOIN faculty ON (researcher.faculty_id=faculty.id) WHERE researcher.id='".$res_id."' "; $row = $g_db->getObject($sql); $picture = "pics/researcher/".$row->picture; if (!is_file($picture)) { $picture = "pics/researcher/m0000.png"; } ?> <div class="w3-row-padding w3-round-large w3-border w3-margin"> <div class="w3-half w3-padding-16"> <h4>ข้อมูลทั่วไป</h4> <table class="w3-table"> <tr> <td>ชื่อ - นามสกุล</td> <td style="font-weight: bold;" class="w3-large"><?=$row->tname?> <?=$row->name?></td> </tr> <tr> <td>คณะ</td> <td><?=$row->faculty_name?></td> </tr> <tr> <td>ภาควิชา</td> <td><?=$row->department?></td> </tr> <tr> <td>การศึกษา</td> <td><?=$row->education?></td> </tr> <tr> <td>ความเชี่ยวชาญ</td> <td><?=$row->expertise?></td> </tr> </table> </div> <div class="w3-half w3-center w3-padding"><img src="<?=$picture?>" class="" style="max-width: 200px;" /></div> </div> <div class="w3-padding"> <h4 class="w3-margin-top">ผลงานวิจัย</h4> <?php $sql = "SELECT research.id, research.title, research.fund_year, fund.name AS fund_name FROM research LEFT JOIN fund ON (research.fund_id = fund.id) WHERE research.researcher_id = '".$row->id."' ORDER BY research.fund_year, research.id "; $researches = $g_db->getObjects($sql); if (count($researches) < 1) { ?> <p class="w3-text-red w3-margin-bottom">---อยู่ในระหว่างการปรับปรุงเนื้อหา---</p> <?php } else { ?> <div class="w3-responsive w3-white w3-margin-bottom"> <table class="w3-table w3-border w3-bordered w3-hoverable"> <tr class="w3-light-gray w3-round"> <th class="w3-center">ลำดับ</th> <th>เรื่อง</th> <th class="w3-center" width="100">ปีที่ได้รับทุน</th> <th>แหล่งทุน</th> </tr> <?php $no = 1; foreach ($researches as $research) { ?> <tr class="w3-hover-light-grey"> <td class="w3-center"><?=($no++)?>.</td> <td><a href="research_view.php?res_id=<?=$research->id?>" class="ris-link ris-link-hover"><?=$research->title?></a></td> <td class="w3-center"><?=$research->fund_year?></td> <td><?=$research->fund_name?></td> </tr> <?php } ?> </table> </div> <?php } ?> <div class="panel"> </div> <h4 class="w3-margin-top">การตีพิมพ์</h4> <?php $sql = "SELECT publication.id, publication.title, publication.public_year, publication.public_weight FROM publication WHERE publication.researcher_id = '".$row->id."' ORDER BY publication.public_year, publication.id "; $publications = $g_db->getObjects($sql); if (count($publications) < 1) { ?> <p class="w3-text-red w3-margin-bottom">---อยู่ในระหว่างการปรับปรุงเนื้อหา---</p> <?php } else { ?> <div class="w3-responsive w3-white w3-margin-bottom"> <table class="w3-table w3-border w3-bordered w3-hoverable"> <tr class="w3-light-gray w3-round"> <th class="w3-center">ลำดับ</th> <th>เรื่อง</th> <th class="w3-center" width="100">ปีที่ตีพิมพ์</th> <th class="w3-center">ค่าน้ำหนัก</th> <th>แหล่งตีพิมพ์</th> </tr> <?php $no = 1; foreach ($publications as $publication) { ?> <tr class="w3-hover-light-grey"> <td class="w3-center"><?=($no++)?>.</td> <td><?=$publication->title?></td> <td class="w3-center"><?=$publication->public_year?></td> <td><?=$publication->public_weight?></td> <td><?=$publication->journal?></td> </tr> <?php } ?> </table> </div> <?php } ?> <div class="panel"> </div> <h4 class="w3-margin-top">นวัตกรรมและสิ่งประดิษฐ์</h4> <?php $sql = "SELECT innovation.id, innovation.title, patent.name AS patent_name, innovation.patent_year FROM innovation LEFT JOIN patent ON (innovation.patent_id=patent.id) WHERE innovation.researcher_id = '".$row->id."' ORDER BY innovation.patent_year, innovation.id "; $innovations = $g_db->getObjects($sql); if (count($innovations) < 1) { ?> <p class="w3-text-red w3-margin-bottom">---อยู่ในระหว่างการปรับปรุงเนื้อหา---</p> <?php } else { ?> <div class="w3-responsive w3-white w3-margin-bottom"> <table class="w3-table w3-border w3-bordered w3-hoverable"> <tr class="w3-light-gray w3-round"> <th class="w3-center">ลำดับ</th> <th>เรื่อง</th> <th class="w3-center" width="130">การยื่นซอง</th> <th class="w3-center" width="100">ปีที่จด</th> </tr> <?php $no = 1; foreach ($innovations as $innovation) { ?> <tr class="w3-hover-light-grey"> <td class="w3-center"><?=($no++)?>.</td> <td><?=$innovation->title?></td> <td class="w3-center"><?=$innovation->patent_name?></td> <td class="w3-center"><?=$innovation->patent_year?></td> </tr> <?php } ?> </table> </div> <?php } ?> </div> <?php include("footer.php"); ?> </div> <script> // Script to open and close sidebar function w3_open() { document.getElementById("mySidebar").style.display = "block"; document.getElementById("myOverlay").style.display = "block"; } function w3_close() { document.getElementById("mySidebar").style.display = "none"; document.getElementById("myOverlay").style.display = "none"; } // Modal Image Gallery function onClick(element) { document.getElementById("img01").src = element.src; document.getElementById("modal01").style.display = "block"; var captionText = document.getElementById("caption"); captionText.innerHTML = element.alt; } </script> </body> </html> <?php $g_db->close(); ?>
2022 - 2023 Copyright By Lutfifakee || Padang Blackhat ♥