ok

Mini Shell

Direktori : /proc/self/root/home2/selectio/www/thedentalpark.com/admin/
Upload File :
Current File : //proc/self/root/home2/selectio/www/thedentalpark.com/admin/index.php

<?php
include "header.php";
$today_date = date("Y-m-d");

$statement_1 = $pdo->prepare("SELECT * FROM `tbl_appointment_booking` WHERE date=CURRENT_DATE()");
$statement_1->execute();
$query_1 = $statement_1->fetchAll(PDO::FETCH_ASSOC);
$totalDatas_1 = $statement_1->rowCount();

$statement_2 = $pdo->prepare("SELECT * FROM `tbl_appointment_booking` WHERE date=CURRENT_DATE() and status='confirm'");
$statement_2->execute();
$query_2 = $statement_2->fetchAll(PDO::FETCH_ASSOC);
$totalDatas_2 = $statement_2->rowCount();

$statement_3 = $pdo->prepare("SELECT * FROM `tbl_appointment_booking` WHERE date=CURRENT_DATE() and status='delay'");
$statement_3->execute();
$query_3 = $statement_3->fetchAll(PDO::FETCH_ASSOC);
$totalDatas_3 = $statement_3->rowCount();

$statement_4 = $pdo->prepare("SELECT * FROM `tbl_appointment_booking` WHERE date=CURRENT_DATE() and status='cancel'");
$statement_4->execute();
$query_4 = $statement_4->fetchAll(PDO::FETCH_ASSOC);
$totalDatas_4 = $statement_4->rowCount();

$statement_5 = $pdo->prepare("SELECT * FROM `tbl_appointment_booking`");
$statement_5->execute();
$query_5 = $statement_5->fetchAll(PDO::FETCH_ASSOC);
$totalDatas_5 = $statement_5->rowCount();

$statement_6 = $pdo->prepare("SELECT * FROM `tbl_appointment_booking` WHERE status='confirm'");
$statement_6->execute();
$query_6 = $statement_6->fetchAll(PDO::FETCH_ASSOC);
$totalDatas_6 = $statement_6->rowCount();

$statement_7 = $pdo->prepare("SELECT * FROM `tbl_appointment_booking` WHERE status='delay'");
$statement_7->execute();
$query_7 = $statement_7->fetchAll(PDO::FETCH_ASSOC);
$totalDatas_7 = $statement_7->rowCount();

$statement_8 = $pdo->prepare("SELECT * FROM `tbl_appointment_booking` WHERE status='cancel'");
$statement_8->execute();
$query_8 = $statement_8->fetchAll(PDO::FETCH_ASSOC);
$totalDatas_8 = $statement_8->rowCount();
?>

<div class="content-wrapper" style="background: #b5dcdd;">
    <section class="content-header">
        <div class="row" style="margin-top:10px">
            <div class="col-md-3">
                <a href="booking_appointment_list.php">
                <div class="box box-info" >
                    <div class="box-body" style="box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;">
                        <div class="flex">
                            <div>
                                <p class="mb-0 text-secondary">Total Patient's </p>
    						    <h4 class="my-1 text-info"><i class="fa fa-user"></i>&nbsp;&nbsp; <?=$totalDatas_5?>&nbsp;&nbsp; Patient's</h4>
                            </div>
                        </div>
                          
                    </div>
                </div>
                </a>
            </div>
            <div class="col-md-3">
                <a href="booking_appointment_list.php">
                <div class="box box-info" style="border-top-color:#5abf63;">
                    <div class="box-body" style="box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;">
                        <div class="flex">
                            <div>
                                <p class="mb-0 text-secondary">Total Patient's Confirmed</p>
    						    <h4 class="my-1 text-info"><i class="fa fa-check"></i>&nbsp;&nbsp; <?=$totalDatas_6?>&nbsp;&nbsp; Confirmed</h4>
                            </div>
                        </div>
                    </div>
                </div>
                </a>
            </div>
            <div class="col-md-3">
                <a href="booking_appointment_list.php">
                <div class="box box-info" style="border-top-color:#ff4844;">
                    <div class="box-body" style="box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;">
                        <div class="flex">
                            <div>
                                <p class="mb-0 text-secondary">Total Patient's Delayed</p>
    						    <h4 class="my-1 text-info"><i class="fa fa-copy"></i>&nbsp;&nbsp;  <?=$totalDatas_7?>&nbsp;&nbsp; Delayed</h4>
                            </div>
                        </div>
                    </div>
                </div>
                </a>
            </div>
            <div class="col-md-3">
                <a href="booking_appointment_list.php">
                <div class="box box-info">
                    <div class="box-body" style="box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;">
                        <div class="flex">
                            <div>
                                <p class="mb-0 text-secondary">Total Patient's Canceled</p>
    						    <h4 class="my-1 text-info"><i class="fa fa-ban"></i>&nbsp;&nbsp;  <?=$totalDatas_8?>&nbsp;&nbsp; Canceled</h4>
                            </div>
                        </div>
                    </div>
                </div>
                </a>
            </div>
            <div class="col-md-3">
                <a href="booking_appointment_list.php">
                <div class="box box-info" >
                    <div class="box-body" style="box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;">
                        <div class="flex">
                            <div>
                                <p class="mb-0 text-secondary">Today Appointment's </p>
    						    <h4 class="my-1 text-info"><i class="fa fa-user"></i>&nbsp;&nbsp; <?=$totalDatas_1?>&nbsp;&nbsp; Patient's</h4>
                            </div>
                        </div>
                          
                    </div>
                </div>
                </a>
            </div>
            <div class="col-md-3">
                <a href="booking_appointment_list.php">
                <div class="box box-info" style="border-top-color:#5abf63;">
                    <div class="box-body" style="box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;">
                        <div class="flex">
                            <div>
                                <p class="mb-0 text-secondary">Today Appointment Confirmed</p>
    						    <h4 class="my-1 text-info"><i class="fa fa-check"></i>&nbsp;&nbsp; <?=$totalDatas_2?>&nbsp;&nbsp; Confirmed</h4>
                            </div>
                        </div>
                    </div>
                </div>
                </a>
            </div>
            <div class="col-md-3">
                <a href="booking_appointment_list.php">
                <div class="box box-info" style="border-top-color:#ff4844;">
                    <div class="box-body" style="box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;">
                        <div class="flex">
                            <div>
                                <p class="mb-0 text-secondary">Today Appointment Delayed</p>
    						    <h4 class="my-1 text-info"><i class="fa fa-copy"></i>&nbsp;&nbsp;  <?=$totalDatas_3?>&nbsp;&nbsp; Delayed</h4>
                            </div>
                        </div>
                    </div>
                </div>
                </a>
            </div>
            <div class="col-md-3">
                <a href="booking_appointment_list.php">
                <div class="box box-info">
                    <div class="box-body" style="box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;">
                        <div class="flex">
                            <div>
                                <p class="mb-0 text-secondary">Today Appointment Canceled</p>
    						    <h4 class="my-1 text-info"><i class="fa fa-ban"></i>&nbsp;&nbsp;  <?=$totalDatas_4?>&nbsp;&nbsp; Canceled</h4>
                            </div>
                        </div>
                    </div>
                </div>
                </a>
            </div>
        </div>
    </section>
    
    
    <section>
        
        <div class="row">
		<div class="col-md-12">
			<div class="box box-warning" <?=$border_style?>>
			<div class="box-body table-responsive">
					  <div class="table-responsive">
                        <table id="StData" class="table table-striped table-bordered table-condensed table-hover" style="margin-bottom:5px;">
                            <div class="box-header" style="Text-align:center">
                                <h3 class="box-title"><b>Appointment List </b></h3>
                            </div>
                            <thead>
                                 <tr>
                                    <td colspan="10" class="p0"><input type="text" class="form-control b0" name="search_table" id="search_table"  placeholder="Search Here" style="width:100%;background-color: darkblue;color: white;"></td>
                                </tr>
                                <tr>
								<th>S.No</th>
								<th>Action</th>
								<th>Patient's Name</th>
								<th>Patient's Phone Number</th>
								<th>Patient's Another Number</th>
								<th>Appointment Date</th>
								<th>Time Slot</th>
							</tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td colspan="10" class="dataTables_empty"><center> Loading Pls Wait Data</center></td>
                                </tr>
                            </tbody>
                            
                        </table>
                    </div>
			</div>
			</div>
		</div>
	</div>
    </section>
    <section>
        <div class="row">
		<div class="col-md-12">
			<div class="box box-warning" <?=$border_style?>>
			<div class="box-body table-responsive">
					  <div class="table-responsive">
                        <table id="CallData" class="table table-striped table-bordered table-condensed table-hover" style="margin-bottom:5px;">
                            <div class="box-header" style="Text-align:center">
                                <h3 class="box-title"><b>Call List </b></h3>
                            </div>
                            <thead>
                                 <tr>
                                    <td colspan="10" class="p0"><input type="text" class="form-control b0" name="search_table1" id="search_table1"  placeholder="Search Here" style="width:100%;background-color: darkblue;color: white;"></td>
                                </tr>
                                <tr>
								<th>S.No</th>
								<th>Patient's Name</th>
								<th>Patient's Phone Number</th>
								<th>Date</th>
								<th>Time</th>
								<th>Status</th>
								<th>Reason</th>
								<th>Call Report</th>
							</tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td colspan="10" class="dataTables_emptys"><center> Loading Pls Wait Data</center></td>
                                </tr>
                            </tbody>
                            
                        </table>
                    </div>
			</div>
			</div>
		</div>
	</div>
    </section>
    
</div>


<?php
include "footer.php";
?>

<script type="text/javascript">

<?php
$columns = "0, 1, 2, 3, 4, 5, 6, 7, 8";
$data_table = "var search_table = $('#search_table').val();
                var table = $('#StData').DataTable({
                        'ajax' : { 
                            url: 'data-tables/booking_list.php', 
                            data:{search:search_table}, 
                            type: 'POST'},
                            bFilter: true,
                            bDestroy: true,
                            searching: true,pageLength: 5,
                        'buttons': []
                    });";

?>
$(document).ready(function() {
    get_data();
    function get_data(){
            <?=$data_table?>
        }
    $('#search_table').keyup(function() {  
            get_data();
            document.getElementById("search_table").focus();
        });
    
});

<?php
$columns1 = "0, 1, 2, 3, 4, 5, 6, 7, 8";
$data_table1 = " var search_table1 = $('#search_table1').val();
                var table1 = $('#CallData').DataTable({
                        'ajax' : { 
                            url: 'data-tables/call_list.php', 
                            data:{search:search_table1}, 
                            type: 'POST'},
                            bFilter: true,
                            bDestroy: true,
                            searching: true,pageLength: 5,
                        'buttons': []
    
                    });";

?>

$(document).ready(function() {
    get_data1();
    function get_data1(){
            <?=$data_table1?>
        }
    $('#search_table1').keyup(function() {  
            get_data1();
            document.getElementById("search_table1").focus();
        });
    
});
    

</script>               
                
                
                
                
                
                
                
  



Zerion Mini Shell 1.0