
PK 
<?php
ob_start();
//error_reporting(E_ALL ^ E_NOTICE);
@session_start();
ini_set('allow_url_include',1);
date_default_timezone_set("Asia/Kolkata");
set_time_limit(600);
ini_set('max_execution_time',600);
include '../includes/settings/constant.php';
require_once '../includes/settings/PDODB.php';
include '../includes/modules/functions.php';
$function = new FUNCTIONS();
if(empty($_SESSION['adminId'])){
header("Location: ../index.php");
exit();
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>TAATTVA | Dashboard</title>
<?php include_once '../layout/style.php'; ?>
<link href="../css/plugins/datapicker/datepicker3.css" rel="stylesheet">
</head>
<body>
<div id="wrapper">
<nav class="navbar-default navbar-static-side" role="navigation">
<div class="sidebar-collapse">
<ul class="nav metismenu" id="side-menu">
<li class="nav-header">
<div class="dropdown profile-element"> <span>
<img alt="image" class="img-circle" src="../img/profile_small.jpg" />
</span>
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">Taattva</strong>
</span> <span class="text-muted text-xs block">Art Director <b class="caret"></b></span> </span> </a>
<ul class="dropdown-menu animated fadeInRight m-t-xs">
<li><a href="#">Profile</a></li>
<li class="divider"></li>
<li><a href="#">Logout</a></li>
</ul>
</div>
<div class="logo-element">Taattva</div>
</li>
<li>
<a href="#"><i class="fa fa-th-large"></i> <span class="nav-label">Dashboards</span> <span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li><a href="../dashboard/index.php">Dashboard</a></li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-tag"></i><span class="nav-label">Meta Tag</span><span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li><a href="../meta/create.php">Create</a></li>
<li><a href="../meta/index.php">List</a></li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-list"></i><span class="nav-label">About</span><span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li><a href="../aboutus/index.php">View</a></li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-list"></i><span class="nav-label">Contact</span><span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li><a href="../contact/index.php">View</a></li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-list"></i><span class="nav-label">Category</span><span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li><a href="../category/create.php">Create Category</a></li>
<li><a href="../category/index.php">List of Category</a></li>
<li><a href="../category/inactive.php">Off Category List</a></li>
</ul>
</li>
<li>
<a href="#"><i class="fa fa-file-image-o"></i> <span class="nav-label">Gallery</span><span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li><a href="../gallery/index.php">Products Category</a></li>
</ul>
<!-- <ul class="nav nav-second-level collapse">
<li><a href="../category/create.php">Add Banner</a></li>
</ul> -->
</li>
<li>
<a href="#"><i class="fa fa-file-image-o"></i> <span class="nav-label">Home Banner</span><span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li><a href="../banner/index.php">Banner List</a></li>
</ul>
<ul class="nav nav-second-level collapse">
<li><a href="../banner/create.php">Add Banner</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<div id="page-wrapper" class="gray-bg dashbard-1">
<?php include_once '../layout/header.php'; ?>
<div class="row border-bottom white-bg dashboard-header">
<div class="col-sm-6">
<h2>Welcome Admin Dashboard</h2>
<small>TAATTVA.</small>
</div>
</div>
</div>
</div>
<?php include_once '../layout/script.php'; ?>
<script type="text/javascript">
$('#data_5 .input-daterange').datepicker({
keyboardNavigation: false,
forceParse: false,
autoclose: true
});
</script>
<script>
$(document).ready(function() {
setTimeout(function() {
toastr.options = {
closeButton: true,
progressBar: true,
showMethod: 'slideDown',
timeOut: 4000
};
toastr.success('Responsive Admin Theme', 'Welcome to TAATTVA.');
}, 1300);
var data1 = [
[0,4],[1,8],[2,5],[3,10],[4,4],[5,16],[6,5],[7,11],[8,6],[9,11],[10,30],[11,10],[12,13],[13,4],[14,3],[15,3],[16,6]
];
var data2 = [
[0,1],[1,0],[2,2],[3,0],[4,1],[5,3],[6,1],[7,5],[8,2],[9,3],[10,2],[11,1],[12,0],[13,2],[14,8],[15,0],[16,0]
];
$("#flot-dashboard-chart").length && $.plot($("#flot-dashboard-chart"), [
data1, data2
],
{
series: {
lines: {
show: false,
fill: true
},
splines: {
show: true,
tension: 0.4,
lineWidth: 1,
fill: 0.4
},
points: {
radius: 0,
show: true
},
shadowSize: 2
},
grid: {
hoverable: true,
clickable: true,
tickColor: "#d5d5d5",
borderWidth: 1,
color: '#d5d5d5'
},
colors: ["#1ab394", "#1C84C6"],
xaxis:{
},
yaxis: {
ticks: 4
},
tooltip: false
}
);
var doughnutData = [
{
value: 300,
color: "#a3e1d4",
highlight: "#1ab394",
label: "App"
},
{
value: 50,
color: "#dedede",
highlight: "#1ab394",
label: "Software"
},
{
value: 100,
color: "#A4CEE8",
highlight: "#1ab394",
label: "Laptop"
}
];
var doughnutOptions = {
segmentShowStroke: true,
segmentStrokeColor: "#fff",
segmentStrokeWidth: 2,
percentageInnerCutout: 45, // This is 0 for Pie charts
animationSteps: 100,
animationEasing: "easeOutBounce",
animateRotate: true,
animateScale: false
};
var ctx = document.getElementById("doughnutChart").getContext("2d");
var DoughnutChart = new Chart(ctx).Doughnut(doughnutData, doughnutOptions);
var polarData = [
{
value: 300,
color: "#a3e1d4",
highlight: "#1ab394",
label: "App"
},
{
value: 140,
color: "#dedede",
highlight: "#1ab394",
label: "Software"
},
{
value: 200,
color: "#A4CEE8",
highlight: "#1ab394",
label: "Laptop"
}
];
var polarOptions = {
scaleShowLabelBackdrop: true,
scaleBackdropColor: "rgba(255,255,255,0.75)",
scaleBeginAtZero: true,
scaleBackdropPaddingY: 1,
scaleBackdropPaddingX: 1,
scaleShowLine: true,
segmentShowStroke: true,
segmentStrokeColor: "#fff",
segmentStrokeWidth: 2,
animationSteps: 100,
animationEasing: "easeOutBounce",
animateRotate: true,
animateScale: false
};
var ctx = document.getElementById("polarChart").getContext("2d");
var Polarchart = new Chart(ctx).PolarArea(polarData, polarOptions);
});
</script>
</body>
</html>


PK 99