html for upload.php

This commit is contained in:
Ubuntu 2019-04-20 00:44:46 -04:00
parent e3ae50dfb4
commit 6577bc3bd3
3 changed files with 28 additions and 6 deletions

View File

@ -4,6 +4,7 @@
<link rel="stylesheet" href="main.css"> <link rel="stylesheet" href="main.css">
</head> </head>
<body> <body>
<!-- Titlebar -->
<form class="search" action="search.php"> <form class="search" action="search.php">
<h1 class="title-text">FightHub</h1> <h1 class="title-text">FightHub</h1>
<input type="text" name="query" class="search" placeholder="Search.."> <input type="text" name="query" class="search" placeholder="Search..">

View File

@ -19,7 +19,7 @@ body {
float: left; float: left;
} */ } */
form { form.search {
/* border: white solid 1px; */ /* border: white solid 1px; */
height: 150px; height: 150px;
margin-top: -10px !important; margin-top: -10px !important;
@ -27,11 +27,6 @@ form {
border-bottom: #727272 solid 2px; border-bottom: #727272 solid 2px;
} }
/* div.titlebar-container {
border: white solid 1px;
border-bottom: #727272 solid 2px;
} */
.title-text { .title-text {
float: left; float: left;
margin-top: 26px; margin-top: 26px;

26
upload.php Normal file
View File

@ -0,0 +1,26 @@
<html>
<head>
<title>FightHub - Upload</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<!-- Titlebar -->
<form class="search" action="search.php">
<h1 class="title-text">FightHub</h1>
<input type="text" name="query" class="search" placeholder="Search..">
<input type="submit" name="submit" class="submit" value="Search">
<a href="upload.php"><img src="images/upload.png" class="upload" alt="upload"></a>
</form>
<!-- submit.php will read the variables from the url and add it to the database -->
<form class="upload-form" action="submit.php">
<input type="text" name="url">
<input type="text" name="name">
<textarea name="description" id="" cols="30" rows="10"></textarea>
<textarea name="tags" cols="30" rows="10"></textarea>
<input type="submit" name="submit" value="Submit">
</form>
</body>
</html>