<?php

include("dbConfig.php");
session_start();
if(isset($_SESSION['username']) && isset($_SESSION['name']))
{
    $username=$_SESSION['username'];
    $name=$_SESSION['name'];

}
if (!isset($_SESSION['username']) || !isset($_SESSION['name'])) {
  header("Location: logout.php");
  exit();
}
?>
<!DOCTYPE html>
<html>
<head>
  <title>
    
  </title>
  <meta charset="UTF-8">
  <link href="assets/img/favicon.png" rel="icon">
  <link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
  <script src='https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css'>
<link href='https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css'>
  <!-- Google Fonts -->
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Raleway:300,400,500,700,800|Montserrat:300,400,700" rel="stylesheet">
<link href='https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css'>
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css'>

  <!-- Vendor CSS Files -->
  <link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="assets/vendor/ionicons/css/ionicons.min.css" rel="stylesheet">
  <link href="assets/vendor/animate.css/animate.min.css" rel="stylesheet">
  <link href="assets/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  <link href="assets/vendor/venobox/venobox.css" rel="stylesheet">
  <link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
  <link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
  <script src="https://code.jquery.com/jquery.min.js"></script>
  <script src="jquery.dependent.fields.js"></script>
  <!-- Template Main CSS File -->
  <link href="assets/css/style.css" rel="stylesheet">
  <script src="https://code.jquery.com/jquery.min.js"></script>
<script src="jquery.dependent.fields.js"></script>
<style type="text/css">
.nav-menu a {
    padding: 3px 3px;
}

.footer {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   background-color: #efe8e8;
   color: black;
   text-align: center;
   padding:4px;
   font-size:12px;
}.footer a{
  font-weight: bold;
  color:#0c0c67;
}
  .hide {
  display: none;
}
h4{
  padding-top: 5px;
  padding-bottom: 0px;
  color:#1abfbf;
  font-weight: bold;
}
hr{
  background-color:#1abfbf;
}
 #text{
  color:white;
  font-weight: bold;
  text-align:center;
}

</style>
</head>
<body>
  <div style="text-align: center">
     <img src="assets/img/logo.png" width="100px" height="100px">
  </div>
  <!--<h1 style="color:red;margin-left:100px;font-weight:bold">Please Stop : Site Under construction.............</h1>-->
     <header id="header">     

    <div class="container">
    <nav id="nav-menu-container">
        <ul class="nav-menu">
      <li class="menu-active">
        <a class="nav-link" style="padding:2;font-size:14px" href="index.php">Home</a>
      </li>
            <li class="menu-has-children">
        <a class="nav-link" style="padding:2;font-size:14px" href="#">IPD Patients</a>
        <ul>
              <li><a href="AddPatient.php">IPD Patient Registration</a></li>
              <li><a href="AddAdvance.php">IPD add Advance</a></li>
              <li><a href="UpdateWard.php">Update Ward</a></li>
               <li><a href="dischargepatient.php"> IPD Patients Discharege</a></li>
               <li><a href="examintaion.php">Add Examination Bills</a></li>
              <li><a href="IPDPatients.php">View IPD Patients</a></li>
              
        </ul>
      </li>
      <li class="menu-has-children">
        <a class="nav-link" style="padding:2;font-size:14px" href="#">OPD Patients</a>
        <ul>
            <li><a href="OPDRegistration.php">OPD Patient Registration</a></li>
            <li><a href="OPDPatientsList.php">View OPD Patients List</a></li>
            <li><a href="OPDPatients.php">View OPD Patients Bill</a></li>
        </ul>
      </li>
      <li class="menu-has-children">
        <a class="nav-link" style="padding:2;font-size:14px" href="#">Staff</a>
        <ul>
              <li><a href="AddStaff.php">Add Staff</a></li>
              <li><a href="StaffList.php">Staff List</a></li>
        </ul>
      </li>
      <li class="menu-has-children">
        <a class="nav-link" style="padding:2;font-size:14px" href="#">Billing</a>
        <ul>
              <li><a href="billingId.php">Generate Consolidate Bill</a></li>
              <li><a href="Directbill.php">Generate IPD Consolidate Bill</a></li>
              <li><a href="InvestigationId.php">Generate Investigation Bill</a></li>
              <li><a href="FinaleBillId.php">Generate Discharge Bill</a></li>
              <li><a href="SearchBill.php">Search Bill</a></li>
        </ul>
      </li>
      <li class="menu-has-children">
        <a class="nav-link" style="padding:2;font-size:14px" href="#">Particular</a>
        <ul>
              <li><a href="AddParticulars.php">Add Particulars</a></li>
              <li><a href="ViewParticulars.php">View Particulars</a></li>
        </ul>
      </li>
      <li class="menu-has-children">
        <a class="nav-link" style="padding:2;font-size:14px" href="#">Report</a>
        <ul>
               <li><a href="UploadReport.php">Upload Patient Report</a></li>
                <li><a href="ipdDailyTrans.php">IPD Transactions</a></li>
                 <li><a href="opdDailyTrans.php">OPD Transactions</a></li>
              <li><a href="DailyTrans.php">Transactions</a></li>
              <li><a href="userTrans.php">User Transactions</a></li>
               <!--<li><a href="doctorTrans.php">Doctor Transactions</a></li>-->
              <li><a href="ViewReport.php">View Patient Reports</a></li>
              
        </ul>
      </li>
      <li class="menu-has-children">
        <a class="nav-link" style="padding:2;font-size:14px" href="#" style="font-size:15px"><? echo $name?></a>
        <ul>
               <li><a href="logout.php">Logout</a></li>
              <li><a href="ResetPassword.php">Reset Password</a></li>              
        </ul>
      </li>
        </ul>
      </nav><!-- #nav-menu-container -->
    </div>
  </header><!-- End Header -->     
  <section>
  <div class="row" style="margin:1%">
   

  <div class="col-md-4">
    <a id="text" href="AddPatient.php">
          <div class="shadow p-3 mb-5 bg-green rounded" style="background-color: #0e840e" >
               <h6><br>IPD Patient Admission<br></h6>
           </div>
    </a>
</div>
  <div class="col-md-4">
    <a id="text" href="OPDRegistration.php">
          <div class="shadow p-3 mb-5 bg-green rounded" style="background-color: #821766" >
               <h6><br>OPD Patient Registration<br></h6>
           </div>
    </a>
</div>
<div class="col-md-4">
    <a id="text" href="OPDPatients.php">
          <div class="shadow p-3 mb-5 bg-red rounded" style="background-color: #e0086c">
               <h6><br>OPD Patients Bills<br></h6>
           </div>
    </a>
    </div>
    
   
 

</div>


  <div class="row" style="margin:1%">
   <div class="col-md-4">
    <a id="text" href="IPDPatients.php">
          <div class="shadow p-3 mb-5 bg-red rounded" style="background-color: #a57c09">
               <h6><br>IPD Patients<br></h6>
           </div>
    </a>
    </div>
    
<div class="col-md-4">
    <a id="text" href="DailyTrans.php">
          <div class="shadow p-3 mb-5 bg-red rounded" style="background-color:#3131c5">
               <h6><br>Daily Transactions<br></h6>
           </div>
    </a>
  </div>
  <div class="col-md-4">
    <a id="text" href="examintaion.php">
          <div class="shadow p-3 mb-5 bg-red rounded" style="background-color:#a307d6">
               <h6><br>Examination Bills<br></h6>
           </div>
    </a>
  </div>

  
      
      

      
    
</div>


<div class="row" style="margin:1%" align:"center">
    
<div class="col-md-4">
    <a id="text" href="FinaleBillId.php">
          <div class="shadow p-3 mb-5 bg-red rounded" style="background-color: #12a080">
               <h6><br>Generate Discharge Bill<br></h6>
           </div>
    </a>
    </div>
   
   <div class="col-md-4">
    <a id="text" href="billingId.php">
          <div class="shadow p-3 mb-5 bg-gold rounded" style="background-color: #ce1b1b">
               <h6><br>Generate Consolidate Bill(OPD)<br></h6>
           </div>
    </a>
</div>

      
    <div class="col-md-4">
    <a id="text" href="Directbill.php">
          <div class="shadow p-3 mb-5 bg-red rounded" style="background-color:#0e840e">
               <h6><br>IPD Consolidate Bill<br></h6>
           </div>
    </a>
  </div>
  <div class="col-md-4">
    <a id="text" href="searchconsultant.php">
          <div class="shadow p-3 mb-5 bg-red rounded" style="background-color: #e0086c">
               <h6><br> Search Patients by Consultant<br></h6>
           </div>
    </a>
</div>
 <div class="col-md-4">
    <a id="text" href="dischargepatient.php">
          <div class="shadow p-3 mb-5 bg-green rounded" style="background-color:purple" >
               <h6><br>View IPD Dischareg Patient<br></h6>
           </div>
    </a>
</div>
  <div class="col-md-4">
    <a id="text" href="editBills.php">
          <div class="shadow p-3 mb-5 bg-red rounded" style="background-color:#0e840e">
               <h6><br>Edit Bill<br></h6>
           </div>
    </a>
  </div> 
  <div class="col-md-4">
    <a id="text" href="addDoc.php">
          <div class="shadow p-3 mb-5 bg-green rounded" style="background-color:purple" >
               <h6><br>Add Doctor<br></h6>
           </div>
    </a>
</div>
<div class="col-md-4">
    <a id="text" href="userTrans.php">
          <div class="shadow p-3 mb-5 bg-red rounded" style="background-color:#a307d6">
               <h6><br>User Transaction Report<br></h6>
           </div>
    </a>
  </div>

</div>
</div>
 
 <script src='https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js'></script>
  <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
  <script src="assets/vendor/jquery/jquery.min.js"></script>
  <script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  <script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
  <script src="assets/vendor/php-email-form/validate.js"></script>
  <script src="assets/vendor/wow/wow.min.js"></script>
  <script src="assets/vendor/venobox/venobox.min.js"></script>
  <script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
  <script src="assets/vendor/jquery-sticky/jquery.sticky.js"></script>
  <script src="assets/vendor/superfish/superfish.min.js"></script>
  <script src="assets/vendor/hoverIntent/hoverIntent.js"></script>
  <script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
  <script src="assets/js/main.js"></script>
 
   
      <div class="footer">
        &copy; Copyright 2024 All Rights Reserved <strong>Vidyaranya Hospital PVt LTD.</strong>. | Designed by <a href="http://www.vatsinsoft.in/">Vatsin Soft</a>
      </div>

   
<!-- End Footer -->
</body>
</html>
<?

?>