Your IP : 13.58.191.60
<?php session_start(); ob_start();
error_reporting(0);
@ini_set('display_error', 0); include("../cludes/connect.inc.php");
$page = 17;
if(array_key_exists('exp', $_POST)){
$_SESSION['psn'] = $_POST['id'] ;
$_SESSION['dmy'] = $_POST['dmy'] ;
$_SESSION['day'] = $_POST['day'] ;
header('location: report.php');
exit;
}
$psn= $_SESSION['psn'];
$dsn= $_SESSION['dsn'];
$query=$db->query("select * FROM district WHERE sn='$dsn' " )or die(mysqli_error());
$ro=mysqli_fetch_array($query);
$district = $ro['district'];
$zone = $ro['zone'];
$dc = $ro['dc'];
$phone = $ro['phone'];
$gsn = $ro['gid'];
$qu=$db->query("select * FROM zone WHERE sn='$gsn' " )or die(mysqli_error());
$ru=mysqli_fetch_array($qu);
$gc = $ru['gc'];
$gphone = $ru['phone'];
$wk = date('W');
$year = date('y');
if(date('D')=="Sun"){$cw=$wk+1; } else{$cw=$wk;}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Attendance Report</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.5 -->
<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<!-- daterange picker -->
<link rel="stylesheet" href="../plugins/daterangepicker/daterangepicker-bs3.css">
<!-- iCheck for checkboxes and radio inputs -->
<link rel="stylesheet" href="../plugins/iCheck/all.css">
<!-- Bootstrap Color Picker -->
<link rel="stylesheet" href="../plugins/colorpicker/bootstrap-colorpicker.min.css">
<!-- Bootstrap time Picker -->
<link rel="stylesheet" href="../plugins/timepicker/bootstrap-timepicker.min.css">
<!-- Select2 -->
<link rel="stylesheet" href="../plugins/select2/select2.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="../dist/css/AdminLTE.min.css">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="../dist/css/skins/_all-skins.min.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<?php require('header.php'); ?>
<!-- Left side column. contains the logo and sidebar -->
<?php require('sidebarx.php'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Attendance Report
<small>WEEK <?php echo $cw.', '.date('M Y'); ?></small>
</h1>
<ol class="breadcrumb">
<li><i class="fa fa-dashboard"></i> <?php echo date('D, d-M-Y'); ?></li>
<li><?php echo strtoupper($zone); ?></li>
<li class=""><?php echo strtoupper($district); ?></li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-lg-6">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Monthly Church Growth Analysis {Blue-SWS, Green-MBS, Red-TRETS}</h3>
</div>
<div class="panel-body">
<?php require('test.php'); ?>
<a href="test.php">Full Size</a>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title"> Weekly Church Growth Chart for Sunday Worship Service</h3>
</div>
<div class="panel-body">
<?php require('test2.php'); ?>
</div>
</div>
</div>
</div><!-- /.row -->
</div><!-- /.row -->
</section> <!-- /.content -->
</div><!-- /.content-wrapper -->
<?php require('footer.php'); ?>
<!-- Control Sidebar -->
<?php // require('settingbar.php'); ?>
<!-- Add the sidebar's background. This div must be placed
immediately after the control sidebar -->
<div class="control-sidebar-bg"></div>
</div><!-- ./wrapper -->
<!-- jQuery 2.1.4 -->
<script src="../dist/js/app.min.js"></script>
</body>
</html>