MINI MINI MANI MO

Path : /home/phaetpan/domains/phaetpanya.com/public_html/
File Upload :
Current File : /home/phaetpan/domains/phaetpanya.com/public_html/doctor-detail.php

<?  
session_start();
if($_SESSION["lang"] == "") $_SESSION["lang"] = "th" ;    
?> 
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>

	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="author" content="" />
	<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" /> 

	<!-- Stylesheets
	============================================= -->
	<link href="http://fonts.googleapis.com/css?family=Lato:300,400,600,700|Montserrat:400,700|Crete+Round:400italic" rel="stylesheet" type="text/css" />
    <link href="https://fonts.googleapis.com/css?family=Kanit" rel="stylesheet">
	<link rel="stylesheet" href="css/bootstrap.css" type="text/css" />
	<link rel="stylesheet" href="css/style.css" type="text/css" />
	<link rel="stylesheet" href="css/swiper.css" type="text/css" />

	<!-- Medical Demo Specific Stylesheet -->
	<link rel="stylesheet" href="css/medical.css" type="text/css" />
	<!-- / -->

	<link rel="stylesheet" href="css/dark.css" type="text/css" />
	<link rel="stylesheet" href="css/font-icons.css" type="text/css" />
	<link rel="stylesheet" href="css/medical-icons.css" type="text/css" />
	<link rel="stylesheet" href="css/animate.css" type="text/css" />
	<link rel="stylesheet" href="css/magnific-popup.css" type="text/css" />

	<link rel="stylesheet" href="css/fonts.css" type="text/css" />

	<link rel="stylesheet" href="css/responsive.css" type="text/css" />
	<meta name="viewport" content="width=device-width, initial-scale=1" />
	<?php
		if($_SESSION["lang"] == "th")
		{
			?><link href="css/th.css" rel="stylesheet"><?php
		}
		elseif($_SESSION["lang"] == "en")
		{
			?><link href="css/en.css" rel="stylesheet"><?php
		}
		elseif($_SESSION["lang"] == "cn")
		{
			?><link href="css/cn.css" rel="stylesheet"><?php
		}
		elseif($_SESSION["lang"] == "jp")
		{
			?><link href="css/jp.css" rel="stylesheet"><?php
		}
		elseif($_SESSION["lang"] == "mm")
		{
			?><link href="css/mm.css" rel="stylesheet"><?php
		}
		elseif($_SESSION["lang"] == "ara")
		{
			?><link href="css/ara.css" rel="stylesheet"><?php
		}
	?>
	<!--[if lt IE 9]>
		<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
	<![endif]-->

	<link rel="stylesheet" href="css/colors.php?color=168c48" type="text/css" />

	<? include "include/titledata.php"; ?>
	<!-- Document Title
	============================================= -->
	<title><?php echo $title5;?></title>
	<!-- KEYWORDS -->
	<meta name="keywords" content="<?php echo $key5;?>" />
	<!-- DESCRIPTION -->
	<meta name="description" content="<?php echo $des5;?>" />

 <style> 
 #primary-menu ul li#about > a, li#about a { color:#FFF!important; font-weight: 600; }
 </style>

</head>

<body class="stretched"> 
	
	<!-- Document Wrapper ============================ -->
  	<div id="wrapper" class="clearfix">  
		<?php include "include/manualdata.php"; ?>
		<?php include "header.php"; ?>
   
		<?php
			$list_id = null;

			if(isset($_GET['list_id']))
				{
					$list_id = $_GET['list_id'];
				}
													
			$strSQL2 = "SELECT a.*, b.*
			FROM doctor_list a 
			LEFT JOIN department b
			ON a.depart_id=b.depart_id
			where list_id ='".$list_id."'";
			$objQuery2 = mysqli_query($objCon,$strSQL2);
			$objResult2 = mysqli_fetch_array($objQuery2,MYSQLI_ASSOC);												
			switch($_SESSION["lang"])
				{
					case "th" :
						$name = $objResult2["name1"];
						$department = $objResult2["depart1"];
						$blog = $objResult2["blog1"];
					break;
					case "en" :
						$name = $objResult2["name2"];
						$department = $objResult2["depart2"];
						$blog = $objResult2["blog2"];
					break;
					case "cn" :
						$name = $objResult2["name3"];
						$department = $objResult2["depart3"];
						$blog = $objResult2["blog3"];
					break;
					case "jp" :
						$name = $objResult2["name4"];
						$department = $objResult2["depart4"];
						$blog = $objResult2["blog4"];
					break;
					case "mm" :
						$name = $objResult2["name5"];
						$department = $objResult2["depart5"];
						$blog = $objResult2["blog5"];
						break;
					case "ara" :
						$name = $objResult2["name6"];
						$department = $objResult2["depart6"];
						$blog = $objResult2["blog6"];
					break;
					default : 
						$name = $objResult2["name1"];
						$department = $objResult2["depart1"];
						$blog = $objResult2["blog1"];
					break;
				}
		?>
		<!-- Page Title
		============================================= -->
		<section id="page-title">
			<div class="container clearfix"> 
				 <ol class="breadcrumb" >
					<li><a href="index.php"><?php echo $home;?></a></li> 
					<li><a href="doctor-list.php"><?php echo $doctor;?></a></li>
                    <li><?php echo $name;?></li>
				</ol> 
			</div>

		</section><!-- #page-title end -->

		<!-- Content
		============================================= -->
  <section id="content">   
		 <div class="container clearfix">
			  <div class="content-wrap "> 
                

			 <!-- Post Content ================================== -->
					<div class="postcontent bottommargin-sm clearfix">
                    
                            <div class="fancy-title title-bottom-border">
                                <h3><?php echo $Inform;?></h3>
                            </div>
                     <!-- Posts =================================== -->
					<div class="row" >
                        
                        <div class=" col-sm-12 bottommargin clearfix" >
                                <div class="col-sm-4 team-image topmargin-sm">
                                        <img src="upload_file/<?php echo $objResult2["img"];?>" alt="<?php echo $name;?>"> 
											<div class="topmargin-sm">
                                        		<a href="appointment.php?doctorname=<?php echo $name;?>&doctordepart=<?php echo $department;?>" class="button button-3d button-small button-rounded button-blue-dark"><i class="icon-calendar"></i><span> <?php echo $doctorappoint;?></span></a>
                                            </div>
									 </div>                 
                                                   
                              <div class="team-desc col-sm-8"> 
										<div class="team-title">
                                           	<h3 class="orange nobottommargin"><?php echo $name;?></h3>
											<h4 class="color"><?php echo $specialty;?> : <?php echo $department;?></h4>  
                                             
                                            <div class="table-responsive team-detail">   
												<?php echo $blog;?>
                                            </div>
                                        </div>  
 				 			  </div>
                              
                		 </div>
             	   </div>
                              
              </div>
               
                    <!-- Sidebar
					============================================= -->
					<div class="sidebar nobottommargin col_last clearfix">
						<div class="sidebar-widgets-wrap">
   
							<div class="widget clearfix">
								<div class="fancy-title title-dotted-border"><h4><?php echo $menu3;?></h4></div>
									<ul class="iconlist" > 
									<?php
										$strSQL3 = "SELECT * FROM service ORDER BY service_id";
										$objQuery3 = mysqli_query($objCon,$strSQL3);							
									?>
									<?php
										while($objResult3 = mysqli_fetch_array($objQuery3,MYSQLI_ASSOC))    
										{ 
										switch($_SESSION["lang"])
																{
																	case "th" :
																		$service = $objResult3["service1"];
																		$subtitle = $objResult3["sub1"];
																		break;
																	case "en" :
																		$service = $objResult3["service2"];
																		$subtitle = $objResult3["sub2"];
																		break;
																	case "cn" :
																		$service = $objResult3["service3"];
																		$subtitle = $objResult3["sub3"];
																		break;
																	case "jp" :
																		$service = $objResult3["service4"];
																		$subtitle = $objResult3["sub4"];
																		break;
																	case "mm" :
																		$service = $objResult3["service5"];
																		$subtitle = $objResult3["sub5"];
																		break;
																	case "ara" :
																		$service = $objResult3["service6"];
																		$subtitle = $objResult3["sub6"];
																		break;
																	default : 
																		$service = $objResult3["service1"];
																		$subtitle = $objResult3["sub1"];
																		break;
																}
											?>
                                            <li><a href="patient-detail.php?service_id=<?php echo $objResult3["service_id"];?>"><div><i class="<?php echo $objResult3["icon"];?>"></i><?php echo $service;?></div></a></li>
											<?php
											}
									 ?>
									 </ul> 

							</div>

						</div>

					</div><!-- .sidebar end -->
                    
 </div>
  	  </div> 
 	</section><!-- #content end -->

 <?php include "footer.php"; ?>  
</body>
</html>  

OHA YOOOO