upload
This commit is contained in:
commit
a54152fcc0
18 changed files with 658 additions and 0 deletions
44
index.php
Executable file
44
index.php
Executable file
|
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
include 'config.php';
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="/css/main.css" id="pagestyle">
|
||||
<title><?php echo constant("sitename"); ?></title>
|
||||
</head>
|
||||
<body>
|
||||
<img class="banner" src="/banner.webp" /><br>
|
||||
<div class="about">
|
||||
<p><?php echo constant("sitename"); ?> lets you discover and share niche, non-corporate, hobby websites with others by submitting them to our database.<br>It's intended to help small forum operators, blog authors, and anyone else with a small website recieve traffic without having to market their site.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<table>
|
||||
<tr>
|
||||
<th>name</th>
|
||||
<th>summary</th>
|
||||
<th>category</th>
|
||||
<th>added</th>
|
||||
</tr>
|
||||
<?php
|
||||
require 'pagination.php';
|
||||
getEntries();
|
||||
?>
|
||||
</table>
|
||||
<br>
|
||||
<table>
|
||||
<tr>
|
||||
<?php
|
||||
pageButtons();
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<a href="submit.php"><button>+ Add a Site</button></a>
|
||||
<a href="random.php"><button>Random Site</button></a>
|
||||
<a href="rules.php"><button>Rules</button></a>
|
||||
<footer>
|
||||
<hr>
|
||||
<?php echo constant("footer"); ?>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue