-
Notifications
You must be signed in to change notification settings - Fork 14
/
welcomestudent.php
37 lines (26 loc) · 1.46 KB
/
welcomestudent.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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-8">
<!--Welcome page for student-->
<h3> Welcome <?php echo "<span style='color:red'>".$userfname." ".$userlname."</span>";?></h3>
<a href="mydetailsstudent.php?myds=<?php echo $userid; ?>"> <button type="submit" class="btn btn-primary" title="My Details">My Details</button></a>
<a href="takeassessment.php?seno=<?php echo $sEno; ?>"> <button type="submit" class="btn btn-primary" >Take Assessment</button></a>
<a href="viewresult.php?seno=<?php echo $sEno; ?>"> <button href="" type="submit" class="btn btn-primary">Result</button> </a>
<a href="viewquery.php?eid=<?php echo $userid; ?>"> <button href="" type="submit" class="btn btn-primary">My Query</button> </a>
<a href="askquery.php?eid=<?php echo $userid; ?>"> <button href="" type="submit" class="btn btn-primary">Ask Query</button></a>
<a href="viewvideos.php?eid=<?php echo $userid; ?>"> <button href="" type="submit" class="btn btn-primary">Videos (E-Learn)</button></a>
<a href="logoutstudent"><button href="" type="submit" class="btn btn-danger">Logout</button></a>
</div>
</div>
<?php include('allfoot.php'); ?>