<%@include file="include/header.jsp"%>
<%
//-----------------------------------------------
// Set permission for this page.
permission.addAdmin();

//Check permission.
if(!checkPermission()){
	return;
}

// Create data access object.
ClassifiedDao dao = new ClassifiedDao();

// Global.
ClassifiedData data = dao.selectOne(paramInt("id"));
%>
<%@include file="include/action_info.jsp"%>

<!--  -->
<fieldset>
	<legend>CLASSIFIED</legend>
<table class="view">

	<tr>
		<td width="200">Domain</td>
		<td>
			<%= data.domain%>
		</td>
	</tr>
	<tr>
		<td>Last URL</td>
		<td>
			<%= data.lastUrl%>
		</td>
	</tr>
	<tr>
		<td>Character Set</td>
		<td>
			<%= data.charset%>
		</td>
	</tr>
	<tr>
		<td>Title</td>
		<td>
			<%= data.title%>
		</td>
	</tr>
	<tr>
		<td>Description</td>
		<td>
			<%= data.description%>
		</td>
	</tr>
	<tr>
		<td>Keywords</td>
		<td>
			<%= data.keywords%>
		</td>
	</tr>
	<tr>
		<td>Text</td>
		<td>
			<%= data.bodyText%>
		</td>
	</tr>
	<tr>
		<td>Category</td>
		<td>
			<%= data.categoryName%>
		</td>
	</tr>
	<tr>
		<td valign="top">Reason</td>
		<td>
			<%= data.reason.replaceAll("[\n;]", "<br>\n&nbsp;&nbsp;")%>
		</td>
	</tr>

</table>
</fieldset>
</form>

<%@include file="include/footer.jsp"%>
