-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ee9ad5
commit 55cb470
Showing
21 changed files
with
596 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
RewriteEngine On | ||
ErrorDocument 404 /http://localhost/blog/404.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php echo 'error Page Not Found' ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<nav class="uk-navbar uk-width-1-1 uk-margin-remove down_nav" uk-navbar> | ||
<ul class="uk-navbar-nav uk-width-1-1 uk-text-center" uk-grid> | ||
<!-- Right --> | ||
<li class="profile_email"> | ||
<a> | ||
<span class="uk-text-capitalize">��� �������� : <?php echo $_SESSION['user']; ?> </span> | ||
</a> | ||
</li> | ||
<li class="profile_email"> | ||
<a> | ||
<span class="">������ ����������</span> | ||
<span class=""><?php echo $user_info['Email']; ?></span> | ||
</a> | ||
</li> | ||
<li class="profile_email"> | ||
<a> | ||
<span class="">���� ��������</span> | ||
<?php if ($user_info['RegStatus'] == 1) { | ||
echo "<span class=''>Activated</span>"; | ||
} else{ | ||
echo "<span class='uk-label-danger'>Not Activated</span>"; | ||
|
||
}?> | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
============== important for sign up front end page | ||
|
||
<!-- Start Sign Up Form --> | ||
|
||
<form class="uk-form uk-height-1-1 uk-width-1-1 uk-flex-middle signup uk-flex" method="POST" <?php $_SERVER['PHP_SELF'] ?>> | ||
<div class="uk-form-row uk-text-center"> | ||
<div class="uk-margin"> | ||
<label class="uk-form-label uk-padding-small" for="user">User Name</label> | ||
<div class="uk-form-controls uk-inline-clip"> | ||
<input name="user" pattern=".{4,20}" title="Must be between 4 - 20" class="uk-padding-small uk-input" type="text" id="user" placeholder="User Name" required autocomplete="off"> | ||
</div> | ||
</div> | ||
<div class="uk-margin"> | ||
<label class="uk-form-label uk-padding-small" for="password">Password</label> | ||
<div class="uk-form-controls uk-inline-clip"> | ||
<input name="pass" minlength="6" class="uk-padding-small uk-input" type="password" id="password" placeholder="Password" autocomplete="new-password" required> | ||
</div> | ||
</div> | ||
<div class="uk-margin"> | ||
<label class="uk-form-label uk-padding-small" for="password">Repeat Password</label> | ||
<div class="uk-form-controls uk-inline-clip"> | ||
<input name="pass2" minlength="6" class="uk-padding-small uk-input" type="password" id="password2" placeholder="Password" autocomplete="new-password" required> | ||
</div> | ||
</div> | ||
<div class="uk-margin"> | ||
<label class="uk-form-label uk-padding-small" for="user">Email</label> | ||
<div class="uk-form-controls uk-inline-clip"> | ||
<input name="email" class="uk-padding-small uk-input" type="email" id="email" placeholder="your Email" required> | ||
</div> | ||
</div> | ||
<div class="uk-margin"> | ||
<div class="uk-form-controls"> | ||
<input class="uk-button uk-button-primary" name="signup" type="submit" id="submit" value="Sign Up"> | ||
</div> | ||
</div> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
/* | ||
================================================ | ||
== Edit Profile Page | ||
== You Can Edit your Profile From Here | ||
================================================ | ||
*/ | ||
|
||
ob_start(); // Output Buffering Start | ||
|
||
session_start(); | ||
|
||
$pageTitle = $_SESSION['user'] . "'s" . " Edit Profile"; | ||
|
||
if (isset($_SESSION['user'])) { | ||
// get init | ||
include 'init.php'; | ||
// get header | ||
$hook_up->inc_header('light', '-'); | ||
// users table | ||
global $user_info; | ||
?> | ||
<?php echo 'edit profile'; ?> | ||
|
||
<?php | ||
$hook_up->inc_footer('main', '-'); | ||
} else { | ||
header('Location: login.php'); | ||
|
||
exit(); | ||
} | ||
|
||
ob_end_flush(); // Release The Output | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.