Mini Kabibi Habibi
<?php
@include 'include/config.php';
session_start();
//Checking User Logged or Not
if(!isset($_SESSION['username'])){
$_SESSION['username'] =$_POST['username'];
$username =mysqli_real_escape_string($conn,$_POST['username']);
header('location:login.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="images/favicon.ico" type="image/ico" />
<title>E-SUPORTA </title>
<!-- Bootstrap -->
<link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome -->
<link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- NProgress -->
<link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
<!-- iCheck -->
<link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">
<!-- bootstrap-progressbar -->
<link href="../vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
<!-- JQVMap -->
<link href="../vendors/jqvmap/dist/jqvmap.min.css" rel="stylesheet"/>
<!-- bootstrap-daterangepicker -->
<link href="../vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
<!-- Custom Theme Style -->
<link href="../build/css/custom.min.css" rel="stylesheet">
</head>
<body class="nav-md">
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="admin_index.php" class="site_title"><i class="fa fa-spinner"></i> <span>E-SUPORTA</span></a>
</div>
<div class="clearfix"></div>
<!-- menu profile quick info -->
<div class="profile clearfix">
<div class="profile_info">
<span>Welcome,</span>
<?php
include('include/config.php');
$sql = "SELECT * from users where username ='{$_SESSION['username']}' ";
$data = mysqli_query($conn,$sql);
while ($row= mysqli_fetch_array($data))
{
?>
<h2 > <?php echo $_SESSION['username'];} ?></h2>
</div>
</div>
<!-- /menu profile quick info -->
<br />
<!-- sidebar menu -->
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<h3>General</h3>
<ul class="nav side-menu">
<li><a><i class="fa fa-home"></i> Home <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="admin_index.php">Dashboard</a></li>
</ul>
</li>
<li><a><i class="fa fa-edit"></i> Request <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="form.php">Create Deped Email Account</a></li>
<li><a href="table_reset_deped_email.php">Reset Deped Email Password</a></li>
<li><a href="table_delete_duplicate_email.php">Delete Duplicate Email</a></li>
<li><a href="table_request_new_o365_account.php">Request New O365 Account</a></li>
<li><a href="table_request_reset_o365_account.php">Reset O365 Account Password (if not yet activated by the end user)</a></li>
<li><a href="table_request_deletion_o365_account.php">Request for Deletion of O365 Account</a></li>
<li><a href="table_request_correction_o365_account.php">Request for Correction of O365 Account</a></li>
<li><a href="table_request_update_o365_account.php">Request for Update of O365 Account</a></li>
<li><a href="table_request_reset_schoolo365_account.php">Reset School Admin O365 Account Password</a></li>
<li><a href="table_request_dpds_account.php">Create New DPDS Account</a></li>
<li><a href="table_request_reset_dpds_account.php">Reset School DPDS Account Password</a></li>
<li><a href="table_request_update_account.php">Update DepEd Email Information</a></li>
<li><a href="table_request_create_wins_account.php">Create WINS Account</a></li>
<li><a href="table_request_reset_wins_account.php">Reset WINS Account Password</a></li>
<li><a href="table_request_dhcp_assistance.php">Request for DCP Technical Assistance</a></li>
</ul>
</li>
<li><a><i class="fa fa-list-alt"></i>Request Monitoring<span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="granted_create_deped_email.php">Create Deped Email Account</a></li>
<li><a href="granted_reset_deped_email.php">Reset Deped Email Password</a></li>
<li><a href="granted_delete_duplicate_email.php">Delete Duplicate Email</a></li>
<li><a href="granted_request_new_o365_account.php">Request New O365 Account</a></li>
<li><a href="granted_request_reset_o365_account.php">Reset O365 Account Password (if not yet activated by the end user)</a></li>
<li><a href="granted_request_deletion_o365_account.php">Request for Deletion of O365 Account</a></li>
<li><a href="granted_request_correction_o365_account.php">Request for Correction of O365 Account</a></li>
<li><a href="granted_request_update_o365_account.php">Request for Update of O365 Account</a></li>
<li><a href="granted_request_reset_schoolo365_account.php">Reset School Admin O365 Account Password</a></li>
<li><a href="granted_request_dpds_account.php">Create New DPDS Account</a></li>
<li><a href="granted_request_reset_dpds_account.php">Reset School DPDS Account Password</a></li>
<li><a href="granted_request_update_account.php">Update DepEd Email Information</a></li>
<li><a href="granted_request_create_wins_account.php">Create WINS Account</a></li>
<li><a href="granted_request_reset_wins_account.php">Reset WINS Account Password</a></li>
<li><a href="granted_request_dhcp_assistance.php">Request for DCP Technical Assistance</a></li>
</ul>
</li>
</div>
</div>
<!-- /sidebar menu -->
<!-- /menu footer buttons -->
<div class="sidebar-footer hidden-small">
<a data-toggle="tooltip" data-placement="top" title="Settings">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="FullScreen">
<span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Lock">
<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Logout" href="logout.php">
<span class="glyphicon glyphicon-off" aria-hidden="true"></span>
</a>
</div>
<!-- /menu footer buttons -->
</div>
</div>
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<div class="nav toggle">
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
</div>
<nav class="nav navbar-nav">
<ul class=" navbar-right">
<li class="nav-item dropdown open" style="padding-left: 15px;">
<?php
include('include/config.php');
$sql = "SELECT * from users where username ='{$_SESSION['username']}' ";
$data = mysqli_query($conn,$sql);
while ($row= mysqli_fetch_array($data))
{
?>
<a href="javascript:;" class="user-profile dropdown-toggle" aria-haspopup="true" id="navbarDropdown" data-toggle="dropdown" aria-expanded="false">
<?php echo $_SESSION['username'];} ?>
</a>
<div class="dropdown-menu dropdown-usermenu pull-right" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="../logout.php"><i class="fa fa-sign-out pull-right"></i> Log Out</a>
</div>
</li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="clearfix"></div>
<div class="row" style="display: block;">
<div class="clearfix"></div>
<div class="clearfix"></div>
<div class="col-md-12 col-sm-12 ">
<div class="x_panel">
<div class="x_title">
<h2>Request New O365 Account</h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
<div class="table-responsive">
<table class="table table-striped jambo_table bulk_action">
<thead>
<tr class="headings">
<th>
<input type="checkbox" id="check-all" class="flat">
</th>
<th class="column-title">ID </th>
<th class="column-title">NAME</th>
<th class="column-title">DESIGNATION</th>
<th class="column-title">EMAIL</th>
<th class="column-title">DEPED EMAIL</th>
<th class="column-title">SCHOOL ID</th>
<th class="column-title">DATE RECEIVED</th>
<th class="column-title">DAYS REMAINING</th>
<th class="column-title no-link last"><span class="nobr">Action</span>
</th>
</tr>
</thead>
<tbody>
<?php
@include 'include/config.php';
$sql = "SELECT * from cre_0365_acc where status='ONGOING' order by date_received";
$data = mysqli_query($conn,$sql);
while ($rows= mysqli_fetch_array($data))
{
?>
<tr class="even pointer">
<td class="a-center ">
<input type="checkbox" class="flat" name="table_records">
</td>
<td class="hidden"><?php echo $rows['id']; ?></td>
<td style="white-space: nowrap;"><?php echo $rows['fullname']; ?></td>
<td style="white-space: nowrap;"><?php echo $rows['designation']; ?></td>
<td style="white-space: nowrap;"><?php echo $rows['email']; ?></td>
<td style="white-space: nowrap;"><?php echo $rows['deped_email']; ?></td>
<td style="white-space: nowrap;"><?php echo $rows['sc_id']; ?></td>
<td style="white-space: nowrap;"><?php echo $rows['date_received']; ?></td>
<td style="white-space: nowrap;"><?php echo $rows['remaining_days']; ?></td>
<td >
<a class="btn btn-success btn-sm" href="done_docs_cre365.php?tracking_no=<?php echo $rows['tracking_no']?>">
<span class = "glyphicon glyphicon-ok" aria-hidden = "true">DONE</span>
</a>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->
<!-- footer content -->
<footer>
<div class="pull-right">
SDO BATANGAS CITY - PROJECT E-SUPORTA
</div>
<div class="clearfix"></div>
</footer>
<!-- /footer content -->
</div>
</div>
<!-- jQuery -->
<script src="../vendors/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="../vendors/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<!-- FastClick -->
<script src="../vendors/fastclick/lib/fastclick.js"></script>
<!-- NProgress -->
<script src="../vendors/nprogress/nprogress.js"></script>
<!-- iCheck -->
<script src="../vendors/iCheck/icheck.min.js"></script>
<!-- Custom Theme Scripts -->
<script src="../build/js/custom.min.js"></script>
</body>
</html>