<div class="leftbox">
	<div id="queue_count">&nbsp;</div>
	<p>This will auto-refresh every minute. To refresh manually <a href="#" id="queue_refresh">click here</a></p>
</div>
<div class="rightbox">
	<div id="server_time">&nbsp;</div>
	<div id="queue_last_proc">&nbsp;</div>
</div>
<div class="clear"></div>

<div class="dotline"></div>

<?php
if(is_admin_user())
{
?>

<div class="leftbox">

	<h3>Remove From Lookup Queue</h3>

	<p style="text-align:justify;">Click on any of the buttons below to remove the corresponding lookup queue entries. Please note that
	the lookup queue entries will be removed instantly.</p>

	<input type="button" value="All Entries" class="queueButton" data-name="all" id="qb-all">
	<input type="button" value="Domain Whois" class="queueButton" data-name="dw" id="qb-dw">
	<input type="button" value="Registrar Whois" class="queueButton" data-name="sdw" id="qb-sdw">
	<input type="button" value="Domain IP" class="queueButton" data-name="ip" id="qb-ip">
	<input type="button" value="IP Whois" class="queueButton" data-name="ipw" id="qb-ipw">
	<input type="button" value="Alexa" class="queueButton" data-name="alexa" id="qb-alexa">
	<input type="button" value="Google PR" class="queueButton" data-name="gpr" id="qb-gpr">
	<input type="button" value="Home Page" class="queueButton" data-name="http" id="qb-http">
	<input type="button" value="MX" class="queueButton" data-name="mx" id="qb-mx">
	<input type="button" value="Ping" class="queueButton" data-name="ping" id="qb-ping">
	<input type="button" value="SSL" class="queueButton" data-name="ssl" id="qb-ssl">
	<input type="button" value="DNS" class="queueButton" data-name="dns" id="qb-dns">
	<input type="button" value="Google Index" class="queueButton" data-name="gi" id="qb-gindex">
</div>
<div class="rightbox">
	<h3>Add To Lookup Queue</h3>
	
	<p style="padding-left:20%; text-align:justify">Specify a refresh interval (days) and click on any of the buttons below to add domains for lookup. If you set the days to zero (0)
	all domains will be considered.</p>
	
	<div style="padding-left:20%;">
		<label for qb-refresh-interval>Data Refresh Interval (days): &nbsp;</label>
		<input type="text" value="180" name="qb-refresh-interval" id="qb-refresh-interval" style="width: 80px;"><br>
		<label for qb-domain-limit>Max Domains To Queue (blank=all): &nbsp;</label>
		<input type="text" value="180" name="qb-domain-limit" id="qb-domain-limit" style="width: 80px;"><br>
		
		<input type="button" value="Domain Whois" class="queueAddButton" data-name="dw" id="qb-dw">
		<input type="button" value="Domain IP" class="queueAddButton" data-name="ip" id="qb-ip">
		<input type="button" value="IP Whois" class="queueAddButton" data-name="ipw" id="qb-ipw">
		<input type="button" value="Alexa" class="queueAddButton" data-name="alexa" id="qb-alexa">
		<input type="button" value="Google PR" class="queueAddButton" data-name="gpr" id="qb-gpr">
		<input type="button" value="Home Page" class="queueAddButton" data-name="http" id="qb-http">
		<input type="button" value="MX" class="queueAddButton" data-name="mx" id="qb-mx">
		<input type="button" value="Ping" class="queueAddButton" data-name="ping" id="qb-ping">
		<input type="button" value="Google Index" class="queueAddButton" data-name="gi" id="qb-gindex">
		<input type="button" value="Sub Domains" class="queueAddButton" data-name="dns" id="qb-gindex">
		<input type="button" value="SSL" class="queueAddButton" data-name="ssl" id="qb-ssl">
	</div>
</div>
<div class="clear"></div>

<?php
}
?>