![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /home/claqxcrl/www/ondjoweb/admin/includes/ |
<div class="container"> <div class="row"> <div class="col-xs-12"> <div class="page-title-box"> <h4 class="page-title">Painel principal do <?php if($_SESSION["profile"] == "clube") { echo $getProfile ."-". $_SESSION['staff']; }else{ echo $getProfile; } ?> </h4> <ol class="breadcrumb p-0 m-0"> <li> <a href="#">OndjoWEB</a> </li> <li> <a href="#"><?php echo $getProfile ?></a> </li> <li class="active"> <?php if($_SESSION["profile"] != "administrador"){echo $_SESSION['staff'];} ?> </li> </ol> <div class="clearfix"></div> </div> </div> </div> <!-- end row --> <!-- WIDGET FOR ADMIN --> <?php if($_SESSION["profile"] == "administrador"){?> <div class="row"> <a href="manage-categories.php"> <div class="col-lg-4 col-md-4 col-sm-6"> <div class="card-box widget-box-one"> <i class="mdi mdi-chart-areaspline widget-one-icon"></i> <div class="wigdet-one-content"> <p class="m-0 text-uppercase font-600 font-secondary text-overflow" title="Statistics">Categorias activas</p> <?php $query=mysqli_query($con,"select * from tblcategoria where Is_Active=1"); $countcat=mysqli_num_rows($query); ?> <h2><?php echo htmlentities($countcat);?> <small></small></h2> </div> </div> </div></a><!-- end col --> <a href="manage-subcategories.php"> <div class="col-lg-4 col-md-4 col-sm-6"> <div class="card-box widget-box-one"> <i class="mdi mdi-layers widget-one-icon"></i> <div class="wigdet-one-content"> <p class="m-0 text-uppercase font-600 font-secondary text-overflow" title="User This Month">Subcategorias activas</p> <?php $query=mysqli_query($con,"select * from tblsubcategoria where Is_Active=1"); $countsubcat=mysqli_num_rows($query); ?> <h2><?php echo htmlentities($countsubcat);?> <small></small></h2> </div> </div> </div><!-- end col --> </a> <a href="manage-posts.php"> <div class="col-lg-4 col-md-4 col-sm-6"> <div class="card-box widget-box-one"> <i class="mdi mdi-layers widget-one-icon"></i> <div class="wigdet-one-content"> <p class="m-0 text-uppercase font-600 font-secondary text-overflow" title="User This Month">NotÃcias online</p> <?php $query=mysqli_query($con,"select * from tblposts where Is_Active=1"); $countposts=mysqli_num_rows($query); ?> <h2><?php echo htmlentities($countposts);?> <small></small></h2> </div> </div> </div><!-- end col --> </a> </div> <!-- end row --> <div class="row"> <a href="trash-posts.php"> <div class="col-lg-4 col-md-4 col-sm-6"> <div class="card-box widget-box-one"> <i class="mdi mdi-layers widget-one-icon"></i> <div class="wigdet-one-content"> <p class="m-0 text-uppercase font-600 font-secondary text-overflow" title="User This Month">NotÃcias na lixeira</p> <?php $query=mysqli_query($con,"select * from tblposts where Is_Active=0"); $countposts=mysqli_num_rows($query); ?> <h2><?php echo htmlentities($countposts);?> <small></small></h2> </div> </div> </div></a> </div> <?php }?> <!-- WIDGET FOR CLUBE --> <?php if($_SESSION["profile"] == "clube"){?> <div class="row"> <a href="manage-jogadores.php"> <div class="col-lg-4 col-md-4 col-sm-6"> <div class="card-box widget-box-one"> <i class="mdi mdi-chart-areaspline widget-one-icon"></i> <div class="wigdet-one-content"> <p class="m-0 text-uppercase font-600 font-secondary text-overflow" title="Statistics">Jogadores</p> <?php $getClube = $_SESSION['staff']; $query=mysqli_query($con,"select * from tbljogadores where clube ='$getClube' "); $countcat=mysqli_num_rows($query); ?> <h2><?php echo htmlentities($countcat);?> <small></small></h2> </div> </div> </div></a><!-- end col --> </div> <!-- end row --> <?php }?> </div> <!-- container -->