	<?php
	session_start();

	if ($_SESSION["sidx"] == "" || $_SESSION["sidx"] == NULL) {
		header('Location:studentlogin');
	}

	$userid = $_SESSION["sidx"];
	$userfname = $_SESSION["fname"];
	$sEno = $_SESSION["seno"];
	$userlname = $_SESSION["lname"];
	?>
	<?php include('studenthead.php'); ?>

	<div class="container">
		<div class="row">
			<div class="col-md-12 text-center">
				<!--Welcome page for student-->











			</div>

		</div>
		<section id="pricing" class="bg-light mt-5">
			<div class="container">
				<div class="col-md-12 text-center">
					<h3> Welcome <?php echo "<span style='color:red'>" . $userfname . " " . $userlname . "</span>"; ?></h3>

				</div>

				<div class="row my-5 align-center justify-content-center g-0">
					<div class="col-8 col-lg-4 col-xl-3">
						<div class="card border-0">
							<div class="card-body text-center py-4">


								<h4 class="card-title"> <a href="mydetailsstudent.php?myds=<?php echo $userid;  ?>"> <button type="submit" class="btn btn-success" style="border-radius:0%;" title="My Details"><i class="fa fa-user"></i> My Profile</button></a>
								</h4>
								<!-- <p class="lead card-subtitle"></p>
								<p class="display-5 my-4 text-primary fw-bold"></p>
								<p class="card-text mx-5 text-muted d-none d-lg-block"></p> -->
								<a href="askquery.php?eid=<?php echo $userid;  ?>"> <button href="" type="submit" class="btn btn-success" style="border-radius:0%;"><i class="fa fa-question"></i> Ask Query</button></a>


							</div>
						</div>
					</div>

					<div class="col-9 col-lg-4 col-xl-3">
						<div class="card border-2">
							<!-- <div class="card-header text-center text-primary">Most Popular</div> -->
							<div class="card-body text-center py-4">
								<h4 class="card-title">
									<a href="takeassessment.php?seno=<?php echo $sEno; ?>"> <button type="submit" class="btn btn-success" style="border-radius:0%;"><i class="fa fa-pencil-square"></i> Take Assessment</button></a>

								</h4>
								<p class="lead card-subtitle"></p>
								<p class="display-5 my-4 text-primary fw-bold"></p>
								<p class="card-text mx-5 text-muted d-none d-lg-block"></p>
								<a href="viewquery.php?eid=<?php echo $userid;  ?>"> <button href="" type="submit" class="btn btn-success" style="border-radius:0%;"><i class="fa fa-question-circle"></i> My Query</button> </a>
							</div>
						</div>
					</div>

					<div class="col-9 col-lg-4">
						<div class="card border-0">
							<div class="card-body text-center py-5">
								<h4 class="card-title"><a href="viewvideos.php?eid=<?php echo $userid;  ?>"> <button href="" type="submit" class="btn btn-success" style="border-radius:0%;"><i class="fa fa-video-camera"></i> Videos (E-Learn)</button></a>
								</h4>
								<p class="lead card-subtitle"> </p>
								<p class="display-5 my-4 text-primary fw-bold"></p>
								<p class="card-text mx-5 text-muted d-none d-lg-block"></p>
								<a href="viewresult.php?seno=<?php echo $sEno;  ?>"> <button href="" type="submit" class="btn btn-success" style="border-radius:0%;"><i class="fa fa-file"></i> View Results</button> </a>

							</div>
						</div>
					</div>
					<div class="col-9 col-lg-4">
						<div class="card border-0">
							<div class="card-body text-center py-5">
								<h4 class="card-title">
								</h4>
								<p class="lead card-subtitle"> </p>
								<p class="display-5 my-4 text-primary fw-bold"></p>
								<p class="card-text mx-5 text-muted d-none d-lg-block"></p>
								<a href="logoutstudent"><button href="" type="submit" class="btn btn-danger" style="border-radius:0%;">Logout</button></a>

							</div>
						</div>
					</div>

				</div>
			</div>
		</section>

		<?php include('allfoot.php'); ?>