signup.php: indent code
parent
49d6f4997a
commit
e3b57edac7
33
signup.php
33
signup.php
|
@ -2,7 +2,6 @@
|
||||||
include 'NoDirectPhpAcess.php';
|
include 'NoDirectPhpAcess.php';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
include 'Header.php';
|
include 'Header.php';
|
||||||
?>
|
?>
|
||||||
|
@ -18,11 +17,10 @@ include 'Header.php';
|
||||||
|
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
||||||
|
<form method="post" action="Script.php">
|
||||||
<form method="post" action="Script.php" >
|
<input type="hidden" name="frm_signup_2" value="true" />
|
||||||
<input type="hidden" name="frm_signup_2" value="true"/>
|
|
||||||
Full Name
|
Full Name
|
||||||
<input type="text" name="fullname" placeholder="Your full name" class="form-control" value="<?php echo $_SESSION['user_fullname']; ?>" required="required"/>
|
<input type="text" name="fullname" placeholder="Your full name" class="form-control" value="<?php echo $_SESSION['user_fullname']; ?>" required="required" />
|
||||||
|
|
||||||
Student ID
|
Student ID
|
||||||
<input type="text" name="user_student_id" placeholder="Entre your student ID" class="form-control" value="<?php echo $_SESSION['user_student_id']; ?>" required="required">
|
<input type="text" name="user_student_id" placeholder="Entre your student ID" class="form-control" value="<?php echo $_SESSION['user_student_id']; ?>" required="required">
|
||||||
|
@ -37,29 +35,28 @@ include 'Header.php';
|
||||||
<input type="password" class="form-control" name="confirmpassword" placeholder="Confirm password" required="required" />
|
<input type="password" class="form-control" name="confirmpassword" placeholder="Confirm password" required="required" />
|
||||||
<br>
|
<br>
|
||||||
<input type="submit" class="btn-primary" value="Sign up">
|
<input type="submit" class="btn-primary" value="Sign up">
|
||||||
<?php
|
<?php
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
if(isset($_SESSION['info_signup2'])) {
|
if (isset($_SESSION['info_signup2'])) {
|
||||||
echo '<hr><div class="alert alert-danger" role="alert">'.$_SESSION['info_signup2'].'</div>';
|
echo '<hr><div class="alert alert-danger" role="alert">' . $_SESSION['info_signup2'] . '</div>';
|
||||||
$_SESSION['info_signup2'] = null;
|
$_SESSION['info_signup2'] = null;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<style>
|
<style>
|
||||||
/*------------------------------------------------------------------
|
/*------------------------------------------------------------------
|
||||||
[ Login Button ]*/
|
[ Login Button ]*/
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
color: white;
|
color: white;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
||||||
background: rgb(75, 184, 240);
|
background: rgb(75, 184, 240);
|
||||||
padding:5px 105px;
|
padding: 5px 105px;
|
||||||
font-family: Poppins-Regular;
|
font-family: Poppins-Regular;
|
||||||
font-size: 23px;
|
font-size: 23px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
|
Loading…
Reference in New Issue