{*********************************************************
* Copyright (c) 2009 PHPLDTemplates.com
* Theme Author: http://www.PHPLDTemplates.com
* Theme URL: http://www.phpldtemplates.com/2009/07/free-phpld-template-dbs-3/
* 
* Report bug: Please email contact @ PHPLDTemplates.com
* License: Free, provided user keeps the footer links intake. Not to be resold.
* More free phpld templates are available at http://www.PHPLDTemplates.com
* 
**********************************************************}
{capture name="title"}&nbsp;- {$NAME|escape|trim} {/capture}
{capture assign="in_page_title"}{$NAME|escape|trim}{/capture}
{capture assign="description"}{$CONTENT|escape|trim}{/capture}

{include file="header.tpl"}
{include file="top_bar.tpl"}
{strip}
{if $error}
   <div class="err">
      <p><b>{l}Error{/l}:</b> {$error}</p>
   </div>
{else}
   <table class="formPage" align="center">
   
   <tr>
      <td class="field">{$CONTENT}</td>
   </tr>
   <tr>
      <td>
        {if $rights.editPage eq 1}
       <a href="{$smarty.const.DOC_ROOT}/inplace_editpage.php?ID={$ID}&detail=1&TB_iframe=true&height=400&width=600" class="thickbox" onclick="return showThickbox(this);">
       <img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/edit.gif" width="14" height="14" style="border: none;" alt="edit page" class="float_tiny" />
       </a>
        {/if}
       {if $rights.delPage eq 1}
       <a href="{$smarty.const.DOC_ROOT}/inplace_editpage.php?ID={$ID}&mode=del&detail=1&TB_iframe=true&height=100&width=250" class="thickbox" onclick="{literal}question = confirm('Are you sure you want to delete this page?');if (question !='0'){return showThickbox(this);} else return false;{/literal}">
       <img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/delete.gif" width="14" height="14" style="border: none;" alt="delete page" class="float_tiny" />
       </a>  
       {/if}
   {if $STATUS < 2 && $rights.editPage eq 1}
   <a href="{$smarty.const.DOC_ROOT}/inplace_editpage.php?ID={$ID}&mode=active&detail=1&TB_iframe=true&height=100&width=250" class="thickbox" onclick="{literal}question = confirm('Are you sure you want to make this page active?');if (question !='0'){return showThickbox(this);} else return false;{/literal}">
  <img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/active.gif" width="14" height="14" style="border: none;" alt="page is inactive" class="float_tiny" />
   </a>
   {/if}
      </td>  
   </tr>
   </table>
{/if}



{/strip}

{include file="footer.tpl"}

