updated admin page and connect with database
This commit is contained in:
parent
98a2bdc1d3
commit
92cd23b3af
1 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
require('components/db_config.php');
|
||||||
|
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
@ -38,12 +43,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="m-4">
|
<div class="m-4">
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<input type="text" class="form-control shadow-none" placeholder="Username"/>
|
<input name="admin_name" type="text" class="form-control shadow-none" placeholder="Username"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<input type="password" class="form-control shadow-none" placeholder="Password"/>
|
<input name="admin_pass" type="password" class="form-control shadow-none" placeholder="Password"/>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-main">Login</button>
|
<button name="login" type="submit" class="btn btn-main">Login</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue