|
Server IP : 2a02:4780:3:1493:0:3736:a38e:7 / Your IP : 216.73.216.174 Web Server : LiteSpeed System : Linux sg-nme-web1393.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64 User : u926327694 ( 926327694) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : ON Directory (0755) : /home/u926327694/domains/smsoft.in/public_html/alumini/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php include('adminweb/db.php'); ?>
<?php
if(!isset($_SESSION['roll_number'])) {
echo"<script>window.location='index.php';</script>";
}
$sel=mysqli_query($con,"select * from web_content where id=1");
$website_details = mysqli_fetch_array($sel);
$roll_number = $_SESSION['roll_number'];
$sel_stu=mysqli_query($con,"select * from alumini where roll_number='$roll_number'");
$row_student = mysqli_fetch_array($sel_stu);
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta name="google-adsense-account" content="ca-pub-4761567819211294">
<meta charset="utf-8">
<title><?php echo $website_details['website_name']; ?></title>
<meta name="description" content="<?php echo $website_details['website_name']; ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="assets/images/favicon.png" type="image/png">
<link rel="stylesheet" href="assets/css/plugins/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/plugins/fontawesome.min.css">
<link rel="stylesheet" href="assets/css/plugins/default.css">
<link rel="stylesheet" href="assets/css/plugins/animate.css">
<link rel="stylesheet" href="assets/css/plugins/slick.css">
<link rel="stylesheet" href="assets/css/plugins/magnific-popup.css">
<link rel="stylesheet" href="assets/css/style.css?v=<?php echo time(); ?>">
<!-- Premium Styles for Events -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
</head>
<body>
<!-- Premium Navbar -->
<nav class="navbar navbar-expand-lg navbar-custom" id="navbar">
<div class="container">
<a class="navbar-brand" href="index.php">
<img src="assets/images/logo.png" alt="RCU Alumni">
</a>
<div class="d-flex align-items-center gap-3 order-lg-3">
<!-- User Avatar with Dropdown -->
<div class="user-dropdown">
<div class="user-avatar" title="<?php echo $row_student['name']; ?>">
<?php echo strtoupper(substr($row_student['name'], 0, 1)); ?>
</div>
<div class="dropdown-menu-custom">
<div class="px-3 py-2 border-bottom">
<strong class="text-capitalize"><?php echo $row_student['name']; ?></strong>
<br>
<small class="text-muted">Roll Number: <?php echo $row_student['roll_number']; ?></small>
</div>
<?php /*
<a href="profile.php" class="dropdown-item-custom">
<i class="bi bi-person"></i>
<span>My Profile</span>
</a> */ ?>
<a href="events.php" class="dropdown-item-custom">
<i class="bi bi-calendar-event"></i>
<span>Events</span>
</a>
<div class="dropdown-divider-custom"></div>
<a href="logout.php" class="dropdown-item-custom text-danger">
<i class="bi bi-box-arrow-right"></i>
<span>Logout</span>
</a>
</div>
</div>
</div>
<?php /*
<!-- Mobile Toggle -->
<button class="navbar-toggler border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<i class="bi bi-list fs-4"></i>
</button>*/ ?>
</div>
</div>
</nav>
<!-- Spacer for fixed navbar -->
<script>
// ============================================
// NAVBAR SCROLL EFFECT
// ============================================
const navbar = document.getElementById('navbar');
window.addEventListener('scroll', function() {
if (window.scrollY > 50) {
navbar.classList.add('scrolled');
} else {
navbar.classList.remove('scrolled');
}
});
</script>
</body>
</html>