Login   Register  
PHP Classes
elePHPant
Icontem

File: tmpl/admin.view.review.page.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of invitro  >  Navelo CMS  >  tmpl/admin.view.review.page.tpl  >  Download  
File: tmpl/admin.view.review.page.tpl
Role: Auxiliary data
Content type: text/plain
Description: Admin view review page template
Class: Navelo CMS
A complete Content Management System
Author: By
Last change:
Date: 2004-08-04 07:23
Size: 2,461 bytes
 

Contents

Class file image Download
<form method="get">
<input type="Hidden" name="action" value="BulkAction" />
<input type="Hidden" name="section" value="ReviewPage" />
<input type="Hidden" name="u" value="{$smarty.server.QUERY_STRING}" />
<table width="100%">
	<tr><td><strong>Navelo Content Management System</strong></td></tr>
	<tr><td>&nbsp;</td></tr>
	<tr>
		<td>
		[ <a href="?action=FormAddReviewPage&pid={$page.oid}&url=action|ViewReviewPage,pid|{$page.oid}" title="Create new content review">Create New Content Review</a> ]
		[ <a href="javascript:window.close();" title="Close this window">Close Window</a> ]
		</td>
	</tr>
	<tr><td>&nbsp;</td></tr>
</table>

{if count($review) > 1}
	{include file="admin.view.list-bar.tpl"}
{/if}

<table width="100%" border="1" cellpadding="3">
	{section name="review" loop=$review}
	<tr bgcolor="{cycle values="#eeeeee,#d0d0d0"}">
		<td>
		<P>
		[ <a href="?action=FormUpdateReview&id={$review[review].oid}&url=action|ViewReviewPage,pid|{$page.oid}" title="Edit review">Edit</a> ]
		[ <a href="?action=FormDeleteReviewPage&id={$review[review].oid}&url=action|ViewReviewPage,pid|{$page.oid}" title="Delete review">Delete</a> ]
		[ <a href="?action=FormApproveReview&id={$review[review].oid}&url=action|ViewReviewPage,pid|{$page.oid}&s={if $review[review].status eq "1"}2{else}1{/if}" title="Change review visibility">{if $review[review].status eq "1"}Hidden{else}Show{/if}</a> ]
		<br />
		{if count($review) > 1}<input type="Checkbox" name="item[]" value="{$review[review].oid}" />{else}<input type="Checkbox" name="item" value="{$metadata[title].oid}" disabled="disabled" />{/if}
		<strong>{$review[review].review_title}</strong>
		<br />
		Created : {$review[review].create_time|date_format:"%A, %B %d, %Y @ %H:%M:%S"}
		/
		Last Update : {if $review[review].last_update eq ""}not yet{else}{$review[review].last_update|date_format:"%A, %B %d, %Y @ %H:%M:%S"}{/if}
		<br />
		Rating : {if $review[review].rating_times eq "0"}not yet{else}{$review[review].rating_total/$review[review].rating_times|string_format:"%.2f"}{/if}
		/
		Status :
		{if $review[review].status eq "1"}
			Show
		{else}
			Hidden
		{/if}
		</P>
		<P>{$review[review].review_comments}</P>
		</td>
	</tr>
	{sectionelse}
	<tr bgcolor="{cycle values="#eeeeee,#d0d0d0"}"><td align="center">no content review yet</td></tr>
	{/section}
</table>

{if count($review) > 1}
	{include file="admin.view.list-bar.tpl"}
{/if}
</form>