User Viewer and some Date adding

master
Rubenwardy 2012-09-07 20:28:19 +01:00
parent 46431b9d83
commit cb80921f89
3 changed files with 7 additions and 14 deletions

View File

@ -2,7 +2,7 @@
include "../../scripts/setup.php";
$id="mod";
$res = mysql_query("SELECT * FROM mods WHERE tags LIKE '%$id%' ORDER BY likes",$handle) or SQLerror("MySQL Query Error","Error on searching database.mods.tags for '$query'");
$res = mysql_query("SELECT * FROM mods WHERE tags LIKE '%$id%' ORDER BY mod_id",$handle) or SQLerror("MySQL Query Error","Error on searching database.mods.tags for '$query'");
header("Content-type: text/plain");

View File

@ -38,7 +38,7 @@ if ($owner=="")
$owner=$_SESSION['user'];
//Load on_submit values
$date = date("F j, Y, g:i a");
$date = date('Y-m-d H:i:s');
$tags = "$tags_type,$tags_msc,";
if (entry_exists($name,$handle))

View File

@ -3,16 +3,9 @@ include "scripts/setup.php";
$page_title="Users";
include "scripts/pageheader.php";
?>
<p>
<p>
<p>
<p>
Nothing here yet...
</p>
</p>
</p>
</p>
<?php
include "scripts/pagefooter.php";
echo "<table width=\"100%\"><tr><th colspan=2>Username</th></tr>\n";
echo "</table>";
include "scripts/pagefooter.php";
?>