<html>
<head>
<title>Php Image Host Admin</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
<script language="JavaScript" src="../js.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript" src="jsadmin.js"></script>
</head>
<body style="margin: 0px;">
<div id="navbar">
<ul id="nav">
	<li><a href="index.php">Site Admin</a>
		<ul>
			<li><a href="settings.php">Settings</a></li>
			<li><a href="pagecontent.php">Page Content</a></li>
			<li><a href="plans.php">Plan Details</a></li>
			<li><a href="ips.php">Banned IPs</a></li>
			<li><a href="index.php?logout=1">Logout</a></li>
		</ul>
	</li>
	<li><a href="images.php?checked=-1">Images</a>
		<ul>
			<li><a href="images.php?checked=-1">All Images</a></li>
<!-- line below has been added to show images in order of newest uploads first -->
			<li><a href="images.php?checked=-1&orderby=uploaded&orderdir=desc&perpage=30">New Images</a>
<!-- line below edited to show all unchecked images ordered by the newest uploads first -->
			<li><a href="images.php?checked=0&orderby=uploaded&orderdir=desc&perpage=30">Unchecked</a></li>
			<li><a href="images.php?checked=1">Checked</a></li>
			<li><a href="galleries.php">Galleries</a></li>
		</ul>
	</li>
	<li><a href="users.php?status=-1">Users</a>
		<ul>
			<li><a href="users.php?status=-1">All Users</a></li>
<!-- line below added to provide menu option to list users with newest first -->
			<li><a href="users.php?status=-1&orderby=joined&orderdir=desc&perpage=30">New Users</a>
			<li><a href="users.php?status=0">Unconfirmed</a></li>
			<li><a href="users.php?status=1">Confirmed</a></li>
			<li><a href="users.php?status=2">Suspended</a></li>
			<li><a href="users.php?status=-1&bandwidth=1">Over Bandwidth</a></li>
			<li><a href="users.php?status=-1&account=free">Free Users</a></li>
			<li><a href="users.php?status=-1&account=paid">Paid Users</a></li>
			<li><a href="users.php?edit=1">Add A User</a></li>
		</ul>
	</li>
	<li><a href="payments.php">Payments</a>
		<ul>
			<li><a href="payments.php?fromdate=<?php echo date('Y-m-d');?>">Today</a></li>
			<li><a href="payments.php?fromdate=<?php echo date('Y-m-d', mktime(0,0,0,date('m'), (int)date('d')-7,date('Y')));?>">Last 7 Days</a></li>
			<li><a href="payments.php?fromdate=<?php echo date('Y-m-d', mktime(0,0,0,date('m'), 1, date('Y')));?>">This Month</a></li>
			<li><a href="payments.php?fromdate=<?php echo date('Y-m-d', mktime(0,0,0,date('m')-1, 1, date('Y'))).'&todate='.date('Y-m-d', mktime(0,0,0,date('m'), -1, date('Y')));?>">Last Month</a></li>
			<li><a href="payments.php?fromdate=<?php echo date('Y-m-d', mktime(0,0,0,date('m')-3, 1, date('Y')));?>">Last 3 Months</a></li>
			<li><a href="payments.php?fromdate=<?php echo date('Y-m-d', mktime(0,0,0,date('m')-6, 1, date('Y')));?>">Last 6 Months</a></li>
		</ul>
	</li>
	<li><a href="banners.php">Banner Ads</a>
		<ul>
			<li><a href="banners.php">List Ads</a></li>
			<li><a href="banners.php?edit=1">New Ad</a></li>
		</ul>
	</li>
</ul>
</div>
<br clear="all" />