Add non-sticky footer.
parent
0e4a49fb3d
commit
6af2d77912
|
@ -221,6 +221,9 @@ if ($_SESSION['user_type'] != "Lecturer" && $_SESSION['user_type'] != "Admin") {
|
|||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php include 'Footer.php';?>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
@ -250,3 +253,8 @@ if ($_SESSION['user_type'] != "Lecturer" && $_SESSION['user_type'] != "Admin") {
|
|||
})
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
15
Course.php
15
Course.php
|
@ -6,6 +6,11 @@ include 'NoDirectPhpAcess.php';
|
|||
<?php
|
||||
$page='Courses+';
|
||||
include 'Header.php';
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<?php
|
||||
$student_id = $_SESSION["user_student_id"];
|
||||
$group_id = $_SESSION["user_group_id"];
|
||||
$c_date = date("Y-m-d H:i");
|
||||
|
@ -545,6 +550,12 @@ where course_group_members_table.Course_Group_id=$id");
|
|||
}
|
||||
?>
|
||||
|
||||
<?php include 'Footer.php';?>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="./css/jquery-1.11.1.min.js"></script>
|
||||
<script src="./css/jquery-ui.min.js"></script>
|
||||
<link rel="stylesheet" href="./css/jquery-ui.css" />
|
||||
|
@ -701,3 +712,7 @@ where course_group_members_table.Course_Group_id=$id");
|
|||
})
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
22
Courses.php
22
Courses.php
|
@ -4,23 +4,22 @@ include 'NoDirectPhpAcess.php';
|
|||
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
$page='Courses';
|
||||
include 'Header.php';
|
||||
?>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<?php
|
||||
$user_d = $_SESSION['user_id'];
|
||||
|
||||
if( $_SESSION['user_type']=="Lecturer" || $_SESSION['user_type']=="TA")
|
||||
{
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<!-- FOR LECTURER-->
|
||||
|
||||
|
||||
<div class="row" style="width:80%;margin:auto; text-align:left;">
|
||||
<div class="row">
|
||||
<script src="./css/jquery-1.11.1.min.js"></script>
|
||||
<script src="./css/jquery-ui.min.js"></script>
|
||||
<link rel="stylesheet" href="./css/jquery-ui.css" />
|
||||
|
@ -492,7 +491,7 @@ if( $_SESSION['user_type']=="Student")
|
|||
?>
|
||||
|
||||
<!--STUDENT CODE-->
|
||||
<div class="row" style="width:80%;margin:auto; text-align:left;">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
||||
<?php
|
||||
|
@ -509,7 +508,7 @@ if( $_SESSION['user_type']=="Student")
|
|||
</div>
|
||||
|
||||
|
||||
<div class="row" style="width:80%;margin:auto; text-align:left;">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
||||
<?php
|
||||
|
@ -652,3 +651,10 @@ INNER JOIN course_students_table on course_students_table.Course_ID=courses_tabl
|
|||
}
|
||||
|
||||
?>
|
||||
|
||||
<?php include 'Footer.php';?>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
echo "<p id='myfooter' class='text-center'>Copyright © 2018-" . date("Y") . " The Authors</p>";
|
||||
?>
|
|
@ -109,8 +109,6 @@ if (mysqli_connect_errno()) {
|
|||
position:fixed;
|
||||
bottom:0;
|
||||
left:0;
|
||||
background-color:#03417C;
|
||||
color:#FFF;
|
||||
text-align:center;
|
||||
width:100%;
|
||||
}
|
||||
|
@ -206,4 +204,5 @@ if (mysqli_connect_errno()) {
|
|||
}
|
||||
window.location.href = "\Script.php\?action=statuschange&uid=" + id + "&status=" + status;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
|
|
@ -31,15 +31,16 @@ while ($row = mysqli_fetch_assoc($resultx1)) {
|
|||
$Report_Title = $row['Title'];
|
||||
$url = $row['URL'];
|
||||
}
|
||||
|
||||
echo "<div class='alert' style='margin-left:20px;border-bottom:2px solid #1D91EF;'> <a href='Courses.php?course=$url'>
|
||||
$header
|
||||
</a></div>
|
||||
";
|
||||
|
||||
?>
|
||||
|
||||
<div class="row" style="width:80%;margin:auto; text-align:left;">
|
||||
<div class="container">
|
||||
|
||||
<?php
|
||||
echo "<div><a href='Courses.php?course=$url'> $header </a></div>";
|
||||
?>
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<!-- Lecturer CODE-->
|
||||
<?php
|
||||
|
@ -184,7 +185,7 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Pending' order by Sub
|
|||
|
||||
echo "<div class='btn btn-default break-word' style='dislay:block; word-wrap: break-word; border: 1px solid #F0F0F0;border-left: 4px solid #03407B;'>
|
||||
$title <br> by: <b> <span class = 'text-selectable'>$submitted_by </span> </b>
|
||||
<br> <span style='font-size:8pt'>Submitted : $posted <button class='btn btn-sm btn-info' style='margin-left:50px;' onclick='mark($Submission_ID,\"$title\",$total)'> Mark</button><br> Attachments : $full_link </span>
|
||||
<br> <span style='font-size:8pt'>Submitted : $posted <button class='btn btn-sm btn-primary' style='margin-left:50px;' onclick='mark($Submission_ID,\"$title\",$total)'> Mark</button><br> Attachments : $full_link </span>
|
||||
</div>";
|
||||
}
|
||||
}
|
||||
|
@ -412,6 +413,11 @@ where course_group_members_table.Course_Group_id=$id");
|
|||
}
|
||||
?>
|
||||
|
||||
<?php include 'Footer.php';?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script src="./css/jquery-1.11.1.min.js"></script>
|
||||
<script src="./css/jquery-ui.min.js"></script>
|
||||
<link rel="stylesheet" href="./css/jquery-ui.css" />
|
||||
|
@ -462,3 +468,6 @@ where course_group_members_table.Course_Group_id=$id");
|
|||
})
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -7,7 +7,9 @@ $page='Submit LAB+';
|
|||
include 'Header.php';
|
||||
?>
|
||||
|
||||
<div class='row' style='width:80%;margin:auto;'>
|
||||
<div class="container">
|
||||
|
||||
<div class='row'>
|
||||
|
||||
|
||||
<?php
|
||||
|
@ -69,13 +71,8 @@ include 'Header.php';
|
|||
$full_link = $full_link."| <a href='~\..\Lab_Report_Assignments\\$att4'>$att4</a>";
|
||||
}
|
||||
|
||||
echo " <div class='alert' style='margin-left:20px;border-bottom:2px solid #1D91EF;'> <a href='~\..\Courses.php?course=$url'>
|
||||
Courses > $url > Submlit Lab Report > $title
|
||||
<br>
|
||||
</a></div>
|
||||
";
|
||||
echo "<div><a href='~\..\Courses.php?course=$url'> Courses > $url > Submit > $title </a></div>";
|
||||
|
||||
echo "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -87,7 +84,7 @@ include 'Header.php';
|
|||
</div>
|
||||
|
||||
|
||||
<div style="width:80%;margin:auto;">
|
||||
<div>
|
||||
|
||||
<h3>Submit assignment</h3>
|
||||
<hr>
|
||||
|
@ -128,3 +125,5 @@ include 'Header.php';
|
|||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -71,9 +71,8 @@ if (isset($_SESSION["user_fullname"])) {
|
|||
</div>
|
||||
|
||||
<div id="footer">
|
||||
LRR was originally developed as a <a href="http://lanlab.org/course/2018f/se/homepage.html" style="color:white;">software engineering course project</a> by Mohamed Nor and Elmahdi Houzi. Please submit your suggestions or bug reports to Mr Lan. <a href="./homepage" style="color:white;">More information ...</a>
|
||||
LRR was originally developed in 2018 as a <a href="http://lanlab.org/course/2018f/se/homepage.html">software engineering course project</a> by Mohamed Nor and Elmahdi Houzi. Please submit your suggestions or bug reports to Mr Lan. <a href="./homepage">More information ...</a>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -30,3 +30,5 @@ include 'Header.php';
|
|||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php include 'Footer.php';?>
|
||||
|
|
|
@ -42,3 +42,5 @@ include 'Header.php';
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include 'Footer.php';?>
|
||||
|
|
Loading…
Reference in New Issue