<?php

$featureContext = array('user' => array('username' => $_SESSION['S_USERID']));
$totalPageRecord=count($this->blacklist);
$thePage = $this->page;
$thePageRecord = $this->pageRecord;
$theTotalRecord = $this->total_blacklists;
$theTotalPage = ceil($theTotalRecord / $thePageRecord);
if ($this->searchTerms == 'null')
	$theQueryString = '';
else
	$theQueryString = "searchTerms=".urlencode($this->searchTerms);
?>
<form method="get" name="">
	<center>
		<b class="errormsgForBlackList"><?php echo $this->errorMsg;?></b>
	</center>
	<div class="panelHeader">
		<b>Blacklist</b>
		<label class="totalblacklist" id="totalrecords"></label>
	</div>
	<div  class="panelContent">
		<table class="data">
			<thead>
				<tr>
					<th class="rowSelect" align="center"><b>#</b></th>
					<th align="center"><b>Word</b></th>
					<th align="center"><b>Reason</b></th>
					<th align="center"><b>Date Added</b></th>
					<th align="center"><b>Added By</b></th>
					<th class="rowSelect" align="center"><b>Delete</b></th>
				</tr>
			</thead>
			<tbody id="Blacklistresult">
			</tbody>
		</table>
	</div>
	<div id="divPagination" ></div>
</form>
