Merge pull request #66 from lanlab-org/Hui-Reformat-Code
index.php: make the code look cleaner.SIMPLICITY_Bug-189_Course_Delete_btn
commit
e947b97016
21
index.php
21
index.php
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$page='Home';
|
$page='Home';
|
||||||
include 'Header.php';
|
require 'Header.php';
|
||||||
session_start();
|
session_start();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ if (isset($_SESSION["user_fullname"])) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<br><br><br>
|
||||||
<br><br><br>
|
<br><br><br>
|
||||||
<div class="row" style="width:80%;margin:auto;">
|
<div class="row" style="width:80%;margin:auto;">
|
||||||
|
|
||||||
|
@ -27,6 +28,7 @@ if (isset($_SESSION["user_fullname"])) {
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<h4 class="list-group-item active"> Sign in </h4>
|
<h4 class="list-group-item active"> Sign in </h4>
|
||||||
|
|
||||||
<div class="list-group-item">
|
<div class="list-group-item">
|
||||||
|
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
@ -53,7 +55,7 @@ if (isset($_SESSION["user_fullname"])) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// wrong pass
|
// wrong password
|
||||||
if(isset($_SESSION['wrong_pass'])) {
|
if(isset($_SESSION['wrong_pass'])) {
|
||||||
echo '<hr><div class="alert alert-danger" role="alert">'.$_SESSION['wrong_pass'].'</div>';
|
echo '<hr><div class="alert alert-danger" role="alert">'.$_SESSION['wrong_pass'].'</div>';
|
||||||
$_SESSION['wrong_pass'] = null;
|
$_SESSION['wrong_pass'] = null;
|
||||||
|
@ -71,7 +73,9 @@ if (isset($_SESSION["user_fullname"])) {
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -85,7 +89,7 @@ if (isset($_SESSION["user_fullname"])) {
|
||||||
<input type="hidden" name="frm_signup_1" value="true"/>
|
<input type="hidden" name="frm_signup_1" value="true"/>
|
||||||
|
|
||||||
Student ID
|
Student ID
|
||||||
<input type="text" name="student_id" placeholder="Entre your Student ID" class="form-control" required="">
|
<input type="text" name="student_id" placeholder="Entre your student ID" class="form-control" required="">
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div class="btnsignup" style="padding-top:58px">
|
<div class="btnsignup" style="padding-top:58px">
|
||||||
|
@ -106,14 +110,16 @@ if (isset($_SESSION["user_fullname"])) {
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div style="" id="footer">
|
<div style="" id="footer">
|
||||||
LRRS 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 lanhui _at_ zjnu.edu.cn. Last updated on 18/04/2020 by Ashly. <a href="./homepage" style="color:white;">More information ...</a>
|
LRRS 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 lanhui _at_ zjnu.edu.cn.
|
||||||
|
Last updated on 18/04/2020 by Ashly. <a href="./homepage" style="color:white;">More information ...</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
@ -124,9 +130,10 @@ position:fixed;
|
||||||
bottom:0;
|
bottom:0;
|
||||||
left:0;
|
left:0;
|
||||||
background-color:#03417C;
|
background-color:#03417C;
|
||||||
color:#FFF;
|
color:#e0e0e0;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue