-
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
0 parents
commit fdd5c79
Showing
2,069 changed files
with
789,087 additions
and
0 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 @@ | ||
.vscode | ||
.idea |
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,3 @@ | ||
RewriteEngine on | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteRule ^(.*)$ index.php?route=$1 [QSA] |
Empty file.
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,11 @@ | ||
<?php | ||
|
||
if (route(0) == 'home') { | ||
|
||
view('home/home', [ | ||
'name' => 'Kutluhan', | ||
'surname' => 'Azaflı', | ||
]); | ||
|
||
} | ||
|
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,11 @@ | ||
<?php | ||
|
||
if (route(0) == 'login') { | ||
if (isset($_POST['submit'])) { | ||
$email = post('email'); | ||
$password = post('password'); | ||
|
||
} | ||
|
||
view('auth/login'); | ||
} |
Empty file.
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,78 @@ | ||
<?php view('static/header') ?> | ||
|
||
<div class="hold-transition login-page"> | ||
<div class="login-box"> | ||
<div class="login-logo"> | ||
<a href="#"><b>ToDo</b>App</a> | ||
</div> | ||
<!-- /.login-logo --> | ||
<div class="card"> | ||
<div class="card-body login-card-body"> | ||
<p class="login-box-msg"> <?= lang('login') ?> </p> | ||
|
||
<form action="<?= URL . 'login' ?>" method="post"> | ||
<div class="input-group mb-3"> | ||
<input type="email" class="form-control" name="email" placeholder=" <?= lang('email') ?> "> | ||
<div class="input-group-append"> | ||
<div class="input-group-text"> | ||
<span class="fas fa-envelope"></span> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="input-group mb-3"> | ||
<input type="password" class="form-control" name="password" placeholder=" <?= lang('password') ?> "> | ||
<div class="input-group-append"> | ||
<div class="input-group-text"> | ||
<span class="fas fa-lock"></span> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-8"> | ||
<div class="icheck-primary"> | ||
<input type="checkbox" id="remember"> | ||
<label for="remember"> | ||
<?= lang('remember') ?> | ||
</label> | ||
</div> | ||
</div> | ||
<!-- /.col --> | ||
<div class="col-4"> | ||
<button type="submit" class="btn btn-primary btn-block" name="submit" value="1"> <?= lang('signin') ?> </button> | ||
</div> | ||
<!-- /.col --> | ||
</div> | ||
</form> | ||
|
||
<div class="social-auth-links text-center mb-3"> | ||
<p>- OR -</p> | ||
<a href="#" class="btn btn-block btn-primary"> | ||
<i class="fab fa-facebook mr-2"></i> Sign in using Facebook | ||
</a> | ||
<a href="#" class="btn btn-block btn-danger"> | ||
<i class="fab fa-google-plus mr-2"></i> Sign in using Google+ | ||
</a> | ||
</div> | ||
<!-- /.social-auth-links --> | ||
|
||
<p class="mb-1"> | ||
<a href="forgot-password.html">I forgot my password</a> | ||
</p> | ||
<p class="mb-0"> | ||
<a href="register.html" class="text-center">Register a new membership</a> | ||
</p> | ||
</div> | ||
<!-- /.login-card-body --> | ||
</div> | ||
</div> | ||
<!-- /.login-box --> | ||
|
||
<!-- jQuery --> | ||
<script src="<?= assets('plugins/jquery/jquery.min.js') ?>"></script> | ||
<!-- Bootstrap 4 --> | ||
<script src="<?= assets('plugins/bootstrap/js/bootstrap.bundle.min.js') ?>"></script> | ||
<!-- AdminLTE App --> | ||
<script src="<?= assets('dist/js/adminlte.min.js') ?>"></script> | ||
</body> | ||
</html> | ||
|
Oops, something went wrong.