Skip to content

Commit

Permalink
geekhaven data form in admin data with home.php styling
Browse files Browse the repository at this point in the history
  • Loading branch information
garvitchittora committed Oct 20, 2020
1 parent fbbad34 commit c9971d8
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 17 deletions.
88 changes: 88 additions & 0 deletions geekhaven/geekhavenData.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@

<?php
require "../database/member_info.php";
session_start();
include 'auth.php';
$res = callCheck();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>Geekhaven Data</title>
<link rel="shortcut icon" href="../images/gh.svg" type="image/png" />
<link rel="stylesheet" href="form.css" type="text/css">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Roboto:wght@700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">

</head>
<body>

<!--CSS Spinner-->
<div class="b1">
<div class="con1">
<div class="item item-1"></div>
<div class="item item-2"></div>
<div class="item item-3"></div>
<div class="item item-4"></div>
</div>
</div>

<nav class="navbar navbar-fixed-top"style="opacity: 0.9;">
<div class="container-fullwidth" style="padding: 0 5%;">
<a href="../index.php"><img class="nav-logo" src="../images/gh.png"></a>
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" style="color: aliceblue !important;" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<i class="fa fa-bars" aria-hidden="true"></i>
</button>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="./home.php">Home</a></li>
<li><a href="https://medium.com/nybles">Blogs</a></li>
<li><a href="./updateProfile.php">Update Profile</a></li>
<li><a href="./logout.php">Logout</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<style>

</style>

<section class="form" style="margin-top: 200px;;margin-bottom: 50px;">
<div class="container" style="background: #171717;border-radius: 16px;">
<form method='post' style="text-align: center;" enctype="multipart/form-data">
<p class="contactUs" >Geekhaven Data</p>
<div class="form-group col-lg-12">
<input name="name" type="text" required></input>
<span class="floating-label">Name</span>
</div>
<div class="form-group col-lg-12">
<textarea name="description" type="text"><?php echo $des;?></textarea>
<span class="floating-label">Description</span>
</div>

<div class="form-group form-button">
<button name="submit" type="submit" class="form-submit button" >Update</button>
</div>
</form>
<?php
if(isset($_POST['submit'])){

}
?>
</div>

<script src="https://code.jquery.com/jquery-2.1.3.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>

<script type="text/javascript" src="form.js"></script>

</body>
</html>
40 changes: 23 additions & 17 deletions geekhaven/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,37 +59,43 @@
<section class="form" style="margin-top: 200px;;margin-bottom: 50px;">
<div class="container" style="background: #171717;border-radius: 16px;">
<p class="contactUs" >Only officials</p>
<form action='addmember.php' class="form-group col-lg-6">
<form action='addmember.php' class="form-group col-lg-4">
<input type="submit" value="Add/Remove Member" style="color: aliceblue;">
</form>

<form action='makeAdmin.php' class="form-group col-lg-6">
<form action='makeAdmin.php' class="form-group col-lg-4">
<input type="submit" value="Add Admin" style="color: aliceblue;">
</form>
<form action='updateProfile.php' class="form-group col-lg-12">
<input type="submit" value="Update My Profile" style="color: aliceblue;">
</form>
<form action='makehof.php' class="form-group col-lg-6">

<form action='makehof.php' class="form-group col-lg-4">
<input type="submit" value="Manage HOF" style="color: aliceblue;">
</form>
<form action='social_handles.php' class="form-group col-lg-6">
<input type="submit" value="Social Handle" style="color: aliceblue;">
</form>

<form action='wing.php' class="form-group col-lg-12">
<input type="submit" value="wings" style="color: aliceblue;">
</form>
<form action='project.php' class="form-group col-lg-6">
<form action='project.php' class="form-group col-lg-4">
<input type="submit" value="Projects" style="color: aliceblue;">
</form>
<form action='blog.php' class="form-group col-lg-6">
<form action='blog.php' class="form-group col-lg-4">
<input type="submit" value="Blogs" style="color: aliceblue;">
</form>
<form action='changePass.php' class="form-group col-lg-6">
<form action='announcement.php' class="form-group col-lg-4">
<input type="submit" value="Announcements" style="color: aliceblue;">
</form>

<form action='wing.php' class="form-group col-lg-6">
<input type="submit" value="wings" style="color: aliceblue;">
</form>
<form action='geekhavenData.php' class="form-group col-lg-6">
<input type="submit" value="Geekhaven Data" style="color: aliceblue;">
</form>

<form action='changePass.php' class="form-group col-lg-4">
<input type="submit" value="Change Password" style="color: aliceblue;">
</form>
<form action='announcement.php' class="form-group col-lg-6">
<input type="submit" value="Announcements" style="color: aliceblue;">
<form action='updateProfile.php' class="form-group col-lg-4">
<input type="submit" value="Update My Profile" style="color: aliceblue;">
</form>
<form action='social_handles.php' class="form-group col-lg-4">
<input type="submit" value="Social Handle" style="color: aliceblue;">
</form>
<div class="col-lg-4">
</div>
Expand Down

0 comments on commit c9971d8

Please sign in to comment.