McGansWebsite/admin/application/views/dashboard.php

446 lines
17 KiB
PHP
Raw Normal View History

2023-01-05 12:19:39 +00:00
<?php $this->load->view('includes/header');?>
<!-- start page container -->
<div class="page-container">
<?php $this->load->view('includes/sidebar');?>
<!-- start page content -->
<div class="page-content-wrapper">
<div class="page-content">
<div class="page-bar">
<div class="page-title-breadcrumb">
<div class=" pull-left">
<div class="page-title">Dashboard</div>
</div>
<ol class="breadcrumb page-breadcrumb pull-right">
<li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="index.html">Home</a>&nbsp;<i class="fa fa-angle-right"></i>
</li>
<li class="active">Dashboard</li>
</ol>
</div>
</div>
<!-- start widget -->
<div class="state-overview">
<div class="row">
<div class="col-xl-3 col-md-6 col-12">
<div class="info-box bg-blue">
<span class="info-box-icon push-bottom"><i class="material-icons">group</i></span>
<?php
if(isset($project) && $project->num_rows()>0){
$b=$project->row();
$tProjects=$b->tProjects;
}
?>
2023-01-05 12:19:39 +00:00
<div class="info-box-content">
<span class="info-box-text">Total Project</span>
<span class="info-box-number"><?=$tProjects;?></span>
2023-01-05 12:19:39 +00:00
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<div class="col-xl-3 col-md-6 col-12">
<div class="info-box bg-orange">
<span class="info-box-icon push-bottom"><i class="material-icons">person</i></span>
<?php
if(isset($student) && $student->num_rows()>0){
$b=$student->row();
$tStudents=$b->tStudents;
}
?>
2023-01-05 12:19:39 +00:00
<div class="info-box-content">
<span class="info-box-text">Total Students</span>
<span class="info-box-number"><?=$tStudents;?></span>
2023-01-05 12:19:39 +00:00
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<div class="col-xl-3 col-md-6 col-12">
<div class="info-box bg-purple">
2023-01-06 07:23:42 +00:00
<span class="info-box-icon push-bottom"><i class="material-icons">local_library</i></span>
<?php
if(isset($subject) && $subject->num_rows()>0){
$b=$subject->row();
$tSubjects=$b->tSubjects;
}
?>
2023-01-05 12:19:39 +00:00
<div class="info-box-content">
<span class="info-box-text">Total Subjects</span>
<span class="info-box-number"><?=$tSubjects;?></span>
2023-01-05 12:19:39 +00:00
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<div class="col-xl-3 col-md-6 col-12">
<div class="info-box bg-success">
2023-01-06 07:23:42 +00:00
<span class="info-box-icon push-bottom"><i class="material-icons">school</i></span>
<?php
if(isset($faculty) && $faculty->num_rows()>0){
$b=$faculty->row();
$tFaculties=$b->tFaculties;
}
?>
2023-01-05 12:19:39 +00:00
<div class="info-box-content">
<span class="info-box-text">Total Faculties</span>
<span class="info-box-number"><?=$tFaculties;?></span>
2023-01-05 12:19:39 +00:00
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
</div>
</div>
<!-- end widget -->
2023-01-05 12:19:39 +00:00
<div class="row">
<div class="col-md-12 col-sm-12">
<div class="card card-box">
<div class="card-body ">
<div class="row table-padding">
<div class="col-md-6 col-sm-6 col-xs-6">
<div class="btn-group">
<a href="book_appointment_material.html" id="addRow" class="btn btn-info">
Add New <i class="fa fa-plus"></i>
</a>
</div>
</div>
<div class="col-md-6 col-sm-6 col-xs-6">
<div class="btn-group pull-right">
<button class="btn deepPink-bgcolor btn-outline dropdown-toggle" data-toggle="dropdown">Tools
<i class="fa fa-angle-down"></i>
</button>
<ul class="dropdown-menu pull-right">
<li>
<a href="javascript:;">
<i class="fa fa-print"></i> Print </a>
</li>
<li>
<a href="javascript:;">
<i class="fa fa-file-pdf-o"></i> Save as PDF </a>
</li>
<li>
<a href="javascript:;">
<i class="fa fa-file-excel-o"></i> Export to Excel </a>
</li>
</ul>
</div>
</div>
</div>
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover table-checkable order-column" id="example4">
<thead>
<tr>
<th> S.No </th>
<th> Date </th>
<th> Project Code </th>
<th> Student </th>
<th> Semester </th>
<th> Subject </th>
<th> Department </th>
<th> Action </th>
2023-01-05 12:19:39 +00:00
</tr>
</thead>
<tbody>
<?php if(isset($projectList) && $projectList->num_rows()>0)
{
$i=1;
foreach($projectList->result() as $p)
{
$id=$p->id;
$date=$p->date;
$name=$p->projectName;
$code=$p->code;
$studentName=$p->studentName;
$semName=$p->semName;
$subName=$p->subName;
$depName=$p->depName;
//$faculty=$p->facultyName;
$image=$p->image;
?>
2023-01-05 12:19:39 +00:00
<tr class="odd gradeX">
<td><?=$i;?></td>
<td><?=$date;?></td>
<td><?=$code;?></td>
<td><?=$studentName;?></td>
<td><?=$semName;?></td>
<td><?=$subName;?></td>
<td><?=$depName;?></td>
2023-01-05 12:19:39 +00:00
<td class="center">
<div class="btn-group">
<a href="<?=base_url();?>view-project/<?=$id;?>" class="btn btn-info btn-xs">
View <i class="fa fa-eye"></i>
</a>
2023-01-05 12:19:39 +00:00
</div>
</td>
</tr>
<?php $i++;}}?>
2023-01-05 12:19:39 +00:00
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- end page content -->
<!-- start chat sidebar -->
<div class="chat-sidebar-container" data-close-on-body-click="false">
<div class="chat-sidebar">
<ul class="nav nav-tabs">
<li class="nav-item">
<a href="#quick_sidebar_tab_1" class="nav-link active tab-icon" data-toggle="tab"> <i class="material-icons">chat</i>Chat
<span class="badge badge-danger">4</span>
</a>
</li>
<li class="nav-item">
<a href="#quick_sidebar_tab_3" class="nav-link tab-icon" data-toggle="tab"> <i class="material-icons">settings</i>
Settings
</a>
</li>
</ul>
<div class="tab-content">
<!-- Start Doctor Chat -->
<div class="tab-pane active chat-sidebar-chat in active show" role="tabpanel" id="quick_sidebar_tab_1">
<div class="chat-sidebar-list">
<div class="chat-sidebar-chat-users slimscroll-style" data-rail-color="#ddd" data-wrapper-class="chat-sidebar-list">
<div class="chat-header">
<h5 class="list-heading">Online</h5>
</div>
<ul class="media-list list-items">
<li class="media"><img class="media-object" src="img/doc/doc3.jpg" width="35" height="35" alt="...">
<i class="online dot"></i>
<div class="media-body">
<h5 class="media-heading">John Deo</h5>
<div class="media-heading-sub">Spine Surgeon</div>
</div>
</li>
<li class="media">
<div class="media-status">
<span class="badge badge-success">5</span>
</div> <img class="media-object" src="img/doc/doc1.jpg" width="35" height="35" alt="...">
<i class="busy dot"></i>
<div class="media-body">
<h5 class="media-heading">Rajesh</h5>
<div class="media-heading-sub">Director</div>
</div>
</li>
<li class="media"><img class="media-object" src="img/doc/doc5.jpg" width="35" height="35" alt="...">
<i class="away dot"></i>
<div class="media-body">
<h5 class="media-heading">Jacob Ryan</h5>
<div class="media-heading-sub">Ortho Surgeon</div>
</div>
</li>
<li class="media">
<div class="media-status">
<span class="badge badge-danger">8</span>
</div> <img class="media-object" src="img/doc/doc4.jpg" width="35" height="35" alt="...">
<i class="online dot"></i>
<div class="media-body">
<h5 class="media-heading">Kehn Anderson</h5>
<div class="media-heading-sub">CEO</div>
</div>
</li>
<li class="media"><img class="media-object" src="img/doc/doc2.jpg" width="35" height="35" alt="...">
<i class="busy dot"></i>
<div class="media-body">
<h5 class="media-heading">Sarah Smith</h5>
<div class="media-heading-sub">Anaesthetics</div>
</div>
</li>
<li class="media"><img class="media-object" src="img/doc/doc7.jpg" width="35" height="35" alt="...">
<i class="online dot"></i>
<div class="media-body">
<h5 class="media-heading">Vlad Cardella</h5>
<div class="media-heading-sub">Cardiologist</div>
</div>
</li>
</ul>
<div class="chat-header">
<h5 class="list-heading">Offline</h5>
</div>
<ul class="media-list list-items">
<li class="media">
<div class="media-status">
<span class="badge badge-warning">4</span>
</div> <img class="media-object" src="img/doc/doc6.jpg" width="35" height="35" alt="...">
<i class="offline dot"></i>
<div class="media-body">
<h5 class="media-heading">Jennifer Maklen</h5>
<div class="media-heading-sub">Nurse</div>
<div class="media-heading-small">Last seen 01:20 AM</div>
</div>
</li>
<li class="media"><img class="media-object" src="img/doc/doc8.jpg" width="35" height="35" alt="...">
<i class="offline dot"></i>
<div class="media-body">
<h5 class="media-heading">Lina Smith</h5>
<div class="media-heading-sub">Ortho Surgeon</div>
<div class="media-heading-small">Last seen 11:14 PM</div>
</div>
</li>
<li class="media">
<div class="media-status">
<span class="badge badge-success">9</span>
</div> <img class="media-object" src="img/doc/doc9.jpg" width="35" height="35" alt="...">
<i class="offline dot"></i>
<div class="media-body">
<h5 class="media-heading">Jeff Adam</h5>
<div class="media-heading-sub">Compounder</div>
<div class="media-heading-small">Last seen 3:31 PM</div>
</div>
</li>
<li class="media"><img class="media-object" src="img/doc/doc10.jpg" width="35" height="35" alt="...">
<i class="offline dot"></i>
<div class="media-body">
<h5 class="media-heading">Anjelina Cardella</h5>
<div class="media-heading-sub">Physiotherapist</div>
<div class="media-heading-small">Last seen 7:45 PM</div>
</div>
</li>
</ul>
</div>
</div>
</div>
<!-- End Doctor Chat -->
<!-- Start Setting Panel -->
<div class="tab-pane chat-sidebar-settings" role="tabpanel" id="quick_sidebar_tab_3">
<div class="chat-sidebar-settings-list slimscroll-style">
<div class="chat-header">
<h5 class="list-heading">Layout Settings</h5>
</div>
<div class="chatpane inner-content ">
<div class="settings-list">
<div class="setting-item">
<div class="setting-text">Sidebar Position</div>
<div class="setting-set">
<select class="sidebar-pos-option form-control input-inline input-sm input-small ">
<option value="left" selected="selected">Left</option>
<option value="right">Right</option>
</select>
</div>
</div>
<div class="setting-item">
<div class="setting-text">Header</div>
<div class="setting-set">
<select class="page-header-option form-control input-inline input-sm input-small ">
<option value="fixed" selected="selected">Fixed</option>
<option value="default">Default</option>
</select>
</div>
</div>
<div class="setting-item">
<div class="setting-text">Footer</div>
<div class="setting-set">
<select class="page-footer-option form-control input-inline input-sm input-small ">
<option value="fixed">Fixed</option>
<option value="default" selected="selected">Default</option>
</select>
</div>
</div>
</div>
<div class="chat-header">
<h5 class="list-heading">Account Settings</h5>
</div>
<div class="settings-list">
<div class="setting-item">
<div class="setting-text">Notifications</div>
<div class="setting-set">
<div class="switch">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-1">
<input type="checkbox" id="switch-1" class="mdl-switch__input" checked>
</label>
</div>
</div>
</div>
<div class="setting-item">
<div class="setting-text">Show Online</div>
<div class="setting-set">
<div class="switch">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-7">
<input type="checkbox" id="switch-7" class="mdl-switch__input" checked>
</label>
</div>
</div>
</div>
<div class="setting-item">
<div class="setting-text">Status</div>
<div class="setting-set">
<div class="switch">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-2">
<input type="checkbox" id="switch-2" class="mdl-switch__input" checked>
</label>
</div>
</div>
</div>
<div class="setting-item">
<div class="setting-text">2 Steps Verification</div>
<div class="setting-set">
<div class="switch">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-3">
<input type="checkbox" id="switch-3" class="mdl-switch__input" checked>
</label>
</div>
</div>
</div>
</div>
<div class="chat-header">
<h5 class="list-heading">General Settings</h5>
</div>
<div class="settings-list">
<div class="setting-item">
<div class="setting-text">Location</div>
<div class="setting-set">
<div class="switch">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-4">
<input type="checkbox" id="switch-4" class="mdl-switch__input" checked>
</label>
</div>
</div>
</div>
<div class="setting-item">
<div class="setting-text">Save Histry</div>
<div class="setting-set">
<div class="switch">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-5">
<input type="checkbox" id="switch-5" class="mdl-switch__input" checked>
</label>
</div>
</div>
</div>
<div class="setting-item">
<div class="setting-text">Auto Updates</div>
<div class="setting-set">
<div class="switch">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-6">
<input type="checkbox" id="switch-6" class="mdl-switch__input" checked>
</label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- end chat sidebar -->
</div>
<!-- end page container -->
<!-- start footer -->
<?php $this->load->view('includes/footer');?>