コード例 #1
0
<?php

session_start();
require_once "functions.php";
$user = new loginRegistration();
$uid = $_SESSION['uid'];
$uname = $_SESSION['uname'];
if (isset($_REQUEST['message'])) {
    $id = $_REQUEST['message'];
} else {
    header("Location:index.php");
    exit;
}
if (!$user->getSession()) {
    header('Location:index.php');
    exit;
}
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 101 Template</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
  </head>
  <body>
   <div class="container">
    <div style="margin-top:70px;margin-bottom:50px" class="row">
      <div class="col-md-2">
コード例 #2
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
コード例 #3
0
<?php

session_start();
require_once "functions.php";
$user = new loginRegistration();
$uid = $_SESSION['uid'];
$uname = $_SESSION['uname'];
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <style type="text/css">
    .col{color:#E6DB67;}
    </style>
  </head>
  <body>
   <div class="container">
   	<div class="row">
   	 <div class="col-md-2">
   	 </div>
   	 <div style="margin-top:30px"  class="col-md-8">
   	 
コード例 #4
0
<?php

session_start();
require_once "functions.php";
$uid = $_SESSION['uid'];
$uname = $_SESSION['uname'];
$user = new loginRegistration();
if (!$user->getSession()) {
    header('Location:index.php');
    exit;
}
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>List of Customers</title>
    <!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">

<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<link href="css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
    body{ background:url(images/b3.png) no-repeat center top scroll;
コード例 #5
0
<?php

session_start();
require_once "functions.php";
$user = new loginRegistration();
$uid = $_SESSION['uid'];
$uname = $_SESSION['uname'];
//if(isset($_REQUEST['id'])){
//$id=$_REQUEST['id'];
//}
//else{
// header("Location:index.php");
//exit();
//}
if (!$user->getSession()) {
    header('Location:login.php');
    exit;
}
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 101 Template</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
  </head>
  <body>
    <div class="container">
     <div style="margin-top:70px;margin-bottom:50px" class="row">
コード例 #6
0
<?php

require_once "functions.php";
$user = new loginRegistration();
require_once 'Mc.class.php';
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 101 Template</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
   
    <script type="text/javascript" src="jquere.js"></script>
     <script type="text/javascript" src="externaljs.js"></script>
     <style type="text/css">
        .color{color:red;} 
        .color1{color:#31B0D5;}
        .color2{color:#39AA39;}
     </style>
  </head>
  <body>
    <div class="container">
     <div style="margin-top:70px;margin-bottom:50px" class="row">
     <div class="col-md-4">
     </div>
      <div style="border:1px solid;padding:40px" class="col-md-4 "> 
          <?php 
if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['answer'])) {
コード例 #7
0
<?php

session_start();
require_once "functions.php";
$user = new loginRegistration();
if (!$user->getSession()) {
    header('Location:index.php');
    exit;
}
$user->logout();
header('Location:index.php');
コード例 #8
0
<?php

session_start();
require_once "functions.php";
header('Refresh: 5; url=wait.php');
$user = new loginRegistration();
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>Waiting Room</title>
    <!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">

<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<link href="css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
    body{ background:url(images/b1.jpg) no-repeat center top scroll;
background-size: 100% auto;
padding-bottom: 50%;}
    </style>

  </head>
コード例 #9
0
<?php

session_start();
require_once "functions.php";
$user = new loginRegistration();
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
    $user_name = $_POST['user_name'];
    $password = $_POST['password'];
    if (empty($user_name) or empty($password)) {
        echo "<h4>Every field should be filup </h4>";
    } else {
        $password = md5($password);
        $login = $user->userLogin($user_name, $password);
        if ($login) {
            $cech = $user->checkscope();
            if ($cech == true) {
                $wait = $user->userwait($user_name);
                header('Location:wait.php ');
            } else {
                header('Location:chat.php');
            }
        } else {
            echo "Invalid username or password";
        }
    }
}
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
コード例 #10
0
<?php

session_start();
require_once "functions.php";
$user = new loginRegistration();
$uid = $_SESSION['uid'];
$uname = $_SESSION['uname'];
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <style type="text/css">
    .col{color:#E6DB67;}
    </style>
  </head>
  <body>
   <div class="container">
   	<div class="row">
   	 <div class="col-md-2">
   	 </div>
   	 <div style="margin-top:30px"  class="col-md-8">
   	 
コード例 #11
0
<?php

session_start();
require_once "functions.php";
$user = new loginRegistration();
$uid = $_SESSION['uid'];
$uname = $_SESSION['uname'];
$id = $_REQUEST['id'];
if ($uid != 13 && $uid != 18) {
    header('Location:index.php');
    exit;
}
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>List of Customers</title>
    <!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">

<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<link href="css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
コード例 #12
0
<?php

session_start();
require_once "functions.php";
$user = new loginRegistration();
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 101 Template</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    
  </head>
  <body>
    <div class="container">
     <div style="margin-top:70px;margin-bottom:50px" class="row">
     <div class="col-md-4">
     </div>
      <div style="border:1px solid;padding:40px" class="col-md-4 "> 
         <?php 
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
    $user_name = $_POST['user_name'];
    $password = $_POST['password'];
    if (empty($user_name) or empty($password)) {
        echo "<h4>Every field should be filup </h4>";
    } else {
        $password = md5($password);
        $login = $user->userLogin($user_name, $password);
コード例 #13
0
<?php

session_start();
require_once "functions.php";
header('Refresh: 10; url=finalwait.php');
$user = new loginRegistration();
$hh = $user->checkscope();
if ($hh == false) {
    $deletefr = $user->deletefromfinalwait();
    header('Location:chat.php');
}
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>Waiting Room</title>
    <!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">

<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<link href="css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
    body{ background:url(images/b1.jpg) no-repeat center top scroll;