<?php include('techsyn_header.php'); ?> <!-- Main Content Container for side bar and body--> <div class="main-container ace-save-state" id="main-container"> <script type="text/javascript"> try { ace.settings.loadState('main-container') } catch (e) {} </script> <?php include('techsyn_sidebar.php'); ?> <?php error_reporting(E_ERROR | E_PARSE); $id = $_REQUEST['flex_opd_id']; $query = "select * from patient_master where id = '".$id."' "; //echo $query; if (!$result = @mysqli_query($conn,$query)) { exit(mysqli_error($conn)); } else{ $row=@mysqli_fetch_array($result); @extract($row); } $page = $_REQUEST['page']; //echo $row['patient_name']; ?> <!--breadcrumb--> <div class="main-content"> <div class="main-content-inner"> <div class="breadcrumbs ace-save-state" id="breadcrumbs"> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="#">Home</a> </li> <li class="#">Patient Visit</li> <li class="active">OPD</li> </ul> </div> <div class="row"> <div class="col-xs-12"> <div class="widget-box"> <div class="widget-body"> <div class="widget-main"> <div class="row"> <div style="margin:5px;"> <div class="tabbable"> <ul class="nav nav-tabs" id="myTab"> <li id="appoint" class="active"> <a data-toggle="tab" href="#appointment" aria-expanded="false"> OPD Details </a> </li> <li class=""> <a data-toggle="tab" href="#home" aria-expanded="false"> <i class="green ace-icon fa fa-user bigger-120"></i> <?php echo $patient_name?>'s Profile </a> </li> <?php $flex_opd_id=($_REQUEST['flex_opd_id']!=''?$_REQUEST['flex_opd_id']:$_REQUEST['flex_patient_id']); $sql="select * from employee_appointment where emp_id='".$flex_opd_id."'"; $result = mysqli_query($conn,$sql); $num_rows=@mysqli_num_rows($result); if($num_rows=="" || $num_rows==null) $num_rows=0; ?> <!-- <li id="histo" class=""> <a data-toggle="tab" href="#history" aria-expanded="false"> History <span class="badge badge-danger" id="history_record"><?php echo $num_rows?></span> </a> </li> --> </ul> <div class="tab-content"> <!-- <div id="history" class="tab-pane fade"> <?php include('appointment_history.php'); ?> </div> --> <div id="appointment" class="tab-pane fade in active "> <?php include('employee_appointment_form_noprice_view.php'); ?> </div> <div id="home" class="tab-pane fade"> <?php include('emp_dashboard_embed.php'); ?> </div> </div> </div> <!--end tab table--> </div> <!--end of inner row--> </div> <!--end of widget-main --> </div> <!--end of inner widgetbody--> </div> <!--end of inner widgetbox--> </div> <!--end of xs--> </div> <!--end of inner widgetbody--> </div> </div> <!--end of outer col-xs-12">--> </div> <!--end of outer row--> </div>