Viewing file: memberview.php (6.12 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php require_once("getglobal.php"); ?> <!DOCTYPE html> <html> <head>
<!-- Basic --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php showtitle(); ?></title>
<meta name="keywords" content="<?php showkeyword(); ?>" /> <meta name="description" content="<?php showcontent(); ?>"> <meta name="author" content="mophlawyer.com">
<!-- Favicon --> <link rel="shortcut icon" href="img/favicon2.ico" type="image/x-icon" /> <link rel="apple-touch-icon" href="img/logoapple.png">
<!-- Mobile Metas --> <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Web Fonts --> <link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800%7CShadows+Into+Light" rel="stylesheet" type="text/css">
<!-- Vendor CSS --> <link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.css"> <link rel="stylesheet" href="vendor/font-awesome/css/font-awesome.css"> <link rel="stylesheet" href="vendor/simple-line-icons/css/simple-line-icons.css"> <link rel="stylesheet" href="vendor/owl.carousel/assets/owl.carousel.min.css"> <link rel="stylesheet" href="vendor/owl.carousel/assets/owl.theme.default.min.css"> <link rel="stylesheet" href="vendor/magnific-popup/magnific-popup.css">
<!-- Theme CSS --> <link rel="stylesheet" href="css/theme.css"> <link rel="stylesheet" href="css/theme-elements.css"> <link rel="stylesheet" href="css/theme-blog.css"> <link rel="stylesheet" href="css/theme-shop.css"> <link rel="stylesheet" href="css/theme-animate.css">
<!-- Skin CSS --> <link rel="stylesheet" href="css/skins/default.css">
<!-- Theme Custom CSS --> <link rel="stylesheet" href="css/custom.css">
<!-- Head Libs --> <script src="vendor/modernizr/modernizr.js"></script>
</head>
<body> <div class="body">
<?php //include('header.php'); ?>
<div role="main" class="main"> <div class="container">
<div class="row"> <?php require_once('../admin/db.php'); $id=$_REQUEST['tbl_image_id']; $result1 = $conn->prepare("SELECT * FROM tbl_image Where tbl_image_id='$id' "); $result1->execute(); for($i=0; $row1 = $result1->fetch(); $i++){ ?> <div class="container">
<div class="row"> <div class="col-md-4">
<div class="owl-carousel" data-plugin-options='{"items": 1}'> <div> <div class="thumbnail"> <?php if($row1['pname'] == "นาย"): ?> <img src="../admin/images/man.png" height="200" class="img-responsive"> <?php else: ?> <?php if($row1['pname'] == "นาง"): ?> <img src="../admin/images/woman.png" height="200" class="img-responsive"> <?php else: ?> <?php if($row1['pname'] == "นางสาว"): ?> <img src="../admin/images/woman.png" height="200" class="img-responsive"> <?php else: ?> <img src="../admin/images/default.png" height="200" class="img-responsive"> <?php endif;endif;endif; ?> </div> </div> </div>
</div>
<div class="col-md-8">
<h2 class="shorter"><strong><?php echo $row1 ['pname'].$row1 ['first_name']." ".$row1 ['last_name']; ?></strong></h2> <h4><?php echo $row1['position'].$row1['level']; ?></h4>
<span class="thumb-info-social-icons"> <a data-tooltip data-placement="bottom" target="_blank" href="http://www.facebook.com" data-original-title="Facebook"><i class="fa fa-facebook"></i><span>Facebook</span></a> <a data-tooltip data-placement="bottom" href="http://www.twitter.com" data-original-title="Twitter"><i class="fa fa-twitter"></i><span>Twitter</span></a> <a data-tooltip data-placement="bottom" href="http://www.linkedin.com" data-original-title="Linkedin"><i class="fa fa-linkedin"></i><span>Linkedin</span></a> </span>
<ul class="list icons list-unstyled"> <li> เขต : <?php echo $row1 ['area']; ?></li> <li> ส่วนราชการ : <?php echo $row1 ['type']; ?></li> <li> จังหวัด : <?php echo $row1 ['province']; ?></li> <li> เบอร์โทร : <?php echo $row1 ['phone']; ?></li> </ul>
</div> </div> </div> </div> </div>
<?php } ?> </div> </div> </div> </div> </div> <!-- Vendor --> <script src="vendor/jquery/jquery.js"></script> <script src="vendor/jquery.appear/jquery.appear.js"></script> <script src="vendor/jquery.easing/jquery.easing.js"></script> <script src="vendor/jquery-cookie/jquery-cookie.js"></script> <script src="vendor/bootstrap/js/bootstrap.js"></script> <script src="vendor/common/common.js"></script> <script src="vendor/jquery.validation/jquery.validation.js"></script> <script src="vendor/jquery.stellar/jquery.stellar.js"></script> <script src="vendor/jquery.easy-pie-chart/jquery.easy-pie-chart.js"></script> <script src="vendor/jquery.gmap/jquery.gmap.js"></script> <script src="vendor/jquery.lazyload/jquery.lazyload.js"></script> <script src="vendor/isotope/jquery.isotope.js"></script> <script src="vendor/owl.carousel/owl.carousel.js"></script> <script src="vendor/magnific-popup/jquery.magnific-popup.js"></script> <script src="vendor/vide/vide.js"></script> <!-- Theme Base, Components and Settings --> <script src="js/theme.js"></script> <!-- Theme Custom --> <script src="js/custom.js"></script> <!-- Theme Initialization Files --> <script src="js/theme.init.js"></script>
</body> </html>
|