<?php

$pageTitle = $categoryForPage;

$buttonAction ='';$buttonName = 'Reset';
if($this->input->get()){
	$buttonName = 'Back To List';
	$backUrl = base_url().'admin/'.$categoryFor;
    $buttonAction = "window.location.href='".$backUrl."'";
}

$PER_PAGE = $GLOBALS['PER_PAGE'];
$page = 20;

if($this->input->cookie('perPage',true)){
  $page = $this->input->cookie('perPage',true);
}

$account_id = $this->admin_model->login_id;
$account_type = $this->admin_model->login_type;
?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">

<title>Dashboard | ACP - <?php echo site_name(); ?></title>

<?php $this->load->view('admin/ap_top'); ?>

</head>

<body>

    <div class="wrapper">
        <?php $this->load->view('admin/navbar'); ?>

		<div class="main-panel">
		    <div class="content">
				<div class="panel-header bg-primary-gradient">
					<div class="page-inner py-5">
						<div class="d-flex align-items-left align-items-md-center flex-column flex-md-row">
							<div>
								<h2 class="text-white pb-2 fw-bold"> <?php 
								// if($account_type == "Developer" || if($account_type == "Tester"))
								// {
								//     $account_type_Set = $account_type;
								// }
								// else if($account_type == "Developer")
								// {
								//      $account_type_Set = 'Administrator';
								// }
								// else 
								echo $account_type.' Dashboard';
								?>
								
								</h2>
								<!--<h5 class="text-white op-7 mb-2">Bootstrap 4 Admin Dashboard</h5>-->
							</div>
							<!--<div class="ml-md-auto py-2 py-md-0">-->
							<!--	<a href="#" class="btn btn-white btn-border btn-round mr-2">Manage</a>-->
							<!--	<a href="#" class="btn btn-secondary btn-round">Add Customer</a>-->
							<!--</div>-->
						</div>
					</div>
				</div>
				
			
				
				
			</div>
			    <!--<footer class="footer">-->
    			    <?php //footer();?>
    			<!--</footer>-->
		</div>
		
	</div>
	
</body>

</html>
