<div class="container-fluid" style="padding:0;">
	<div class="row">
		<div class="col-sm-5 luqstatus">
			<div class="row">
				<div class="col-sm-10">
					<h4>Current Queue Status</h4>
				</div>
				<div class="col-sm-2 text-right">
					<a class="btn btn-xs btn-refresh btn-default btn-block" id="queue_refresh" style="margin-left:auto; margin-right:0; margin-top:10px;"></a>
				</div>
			</div>
			<hr class="panelruler">
			<table class="luqtable" width="100%" style="border-bottom: 2px solid #AAA;">
				<tr>
					<td>Server Time</td>
					<td width="180" class="text-right"><b><div id="server_time">&nbsp;</div></b></td>
				</tr>
				
				<tr>
					<td>Queue Last Processed At</td>
					<td width="180" class="text-right"><b><div id="queue_last_proc">&nbsp;</div></b></td>
				</tr>
<?php if(isset($_REQUEST['debug']) && isUserAuthEnabled()) { ?>
				<tr>
					<td>UI Session Timeout In</td>
					<td width="180" class="text-right"><b><span id="timeout">&nbsp;</span> seconds</b></td>
				</tr>
				<tr>
					<td>Server Time Zone</td>
					<td width="180" class="text-right"><b><span id="server_time_zone">&nbsp;</span></b></td>
				</tr>
<?php } ?>
			</table>
			<table class="luqtable" width="100%" style="margin-bottom:16px;">
				<tr>
					<td>Total Queue Size</td>
					<td width="100"><span id="qs-all"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-all"></a></td>
				</tr>
				
				<tr>
					<td valign="middle">Registry Whois</td>
					<td width="100"><span id="qs-dw"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-dw"></a></td>
				</tr>
				
				<tr>
					<td valign="middle">Registrar Whois</td>
					<td width="100"><span id="qs-sdw"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-sdw"></a></td>
				</tr>
				
				<tr>
					<td valign="middle">IP Address</td>
					<td width="100"><span id="qs-ip"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-ip"></a></td>
				</tr>
				
				<tr>
					<td valign="middle">IP Whois</td>
					<td width="100"><span id="qs-ipw"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-ipw"></a></td>
				</tr>
				
				<tr>
					<td valign="middle">Alexa</td>
					<td width="100"><span id="qs-alexa"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-alexa"></a></td>
				</tr>
				
				<tr>
					<td valign="middle">Home Page</td>
					<td width="100"><span id="qs-http"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-http"></a></td>
				</tr>
				<!--
				<tr>
					<td valign="middle">Google PR</td>
					<td width="100"><span id="qs-gpr"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-gpr"></a></td>
				</tr>
				-->
				<tr>
					<td valign="middle">MX</td>
					<td width="100"><span id="qs-mx"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-mx"></a></td>
				</tr>
				
				<tr>
					<td valign="middle">Ping</td>
					<td width="100"><span id="qs-ping"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-ping"></a></td>
				</tr>
				
				<tr>
					<td valign="middle">Sub-domains</td>
					<td width="100"><span id="qs-dns"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-dns"></a></td>
				</tr>
				
				<tr>
					<td valign="middle">SSL</td>
					<td width="100"><span id="qs-ssl"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-ssl"></a></td>
				</tr>
				
				<tr>
					<td valign="middle">Google Index</td>
					<td width="100"><span id="qs-gi"></span></td>
					<td width="20"><a class="btn btn-xs btn-wipe btn-block" id="luqw-gi"></a></td>
				</tr>
			</table>
		</div>
		
		<div class="col-sm-7 luqcontrol">
			<h4>Queue Domains For Lookup</h4>
	
			<hr class="panelruler">
			<p style="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. If you don't specify a number for the maximum domains to queue, all domains will be queued.</p>
			
			<div class="panelwell">
				<p style="margin-top: 12px;">
				<label for qb-refresh-interval>Refresh Interval (days): &nbsp;</label>
				<input type="text" value="180" name="qb-refresh-interval" id="qb-refresh-interval" style="width: 60px; float:right"></p>
				<p style="margin-bottom: 12px;">
				<label for qb-domain-limit>Max Domains To Queue: &nbsp;</label>
				<input type="text" value="180" name="qb-domain-limit" id="qb-domain-limit" style="width: 60px; float: right;"></p>
				
				<div class="row">
					<div class="col-sm-12 text-justify">
						<a class="btn btn-xs btn-queue" id="luqa-dw">Domain Whois</a>
						<a class="btn btn-xs btn-queue" id="luqa-ip">Domain IP</a>
						<a class="btn btn-xs btn-queue" id="luqa-mx">MX</a>
						<a class="btn btn-xs btn-queue" id="luqa-http">Home Page</a>
						<a class="btn btn-xs btn-queue" id="luqa-ipw">IP Whois</a>
						<a class="btn btn-xs btn-queue" id="luqa-ssl">SSL</a>
						<a class="btn btn-xs btn-queue" id="luqa-alexa">Alexa</a>
						<a class="btn btn-xs btn-queue" id="luqa-dns">Sub Domains</a>
						<a class="btn btn-xs btn-queue" id="luqa-ping">Ping</a>
						<a class="btn btn-xs btn-queue" id="luqa-gi">Google Index</a>
						<!-- <a class="btn btn-xs btn-queue" id="luqa-gpr">Google PR</a> -->
					</div>
				</div>
			</div>
			<table class="luqtable" width="100%">
				<tr>
					<td class="text-justify">
					<ol style="padding-left:0; list-style-position:inside;">
						<li style="margin-bottom:8px;">The 'queue status' table will auto-refresh every minute. You can click the 'refresh' button 
							at right of the header to manually force a refresh.</li>
						<li>Click on any of the 'trash' buttons (rightmost column) to <b>instantly</b> remove the corresponding lookup queue entries.</li>
					</ol>
					</td>
				</tr>
			</table>
		</div>
	</div>
</div>
