コード例 #1
0
<?php

session_start();
require_once "functions.php";
$user = new loginRegistration();
include "connect_to_mysql.php";
include_once "cookie.php";
$uid = $_SESSION['uid'];
$uname = $_SESSION['uname'];
if (!$user->getSession()) {
    header('Location:index.php');
    exit;
}
if ($uid != 13 && $uid != 18) {
    header('Location:index.php');
    exit;
}
?>
<!DOCTYPE HTML>
<html>
	<head>
		<title>Medica a Medical Hospital Category Website Template | Home :: W3layouts</title>
		<link href="css/style.css" rel="stylesheet" type="text/css"  media="all" />
		<link href='//fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
		<link rel="stylesheet" href="css/responsiveslides.css">
		<script src="js/jquery.min.js"></script>		
		<script src="js/responsiveslides.min.js"></script>
		  <script>
		    // You can also use "$(window).load(function() {"
			    $(function () {
			      // Slideshow 1