Location: PHPKode > projects > Simple PHP Shopping cart - asaancart > asaancart v-0.9/templates/show_page_content.tpl
{if $total_page>0}
{section name=page_content loop=$page_content}
<table width="700" border="0" cellspacing="0" cellpadding="0" id="irForm">
  <tr>
    <td height="54" valign="bottom">{if $page_content[page_content].reserve_page=="yes"} <div style="width:400px; float:left; padding:7px; margin-top:5px; background-color:#FFFFD5"><img src="images/icons/help.png" align="absmiddle" /> ( This is a reserve page and for system use only. You can not change name or delete this page. But you can modify contents of this page )</div><div style="clear:both;"></div>{/if}
    <br />
    Name<br />
<input id="page_id" name="page_id" type="hidden" value="{$page_content[page_content].page_id}" />
<input id="page_name" name="page_name" type="text" class="irInput" value="{$page_content[page_content].page_name}" {if $page_content[page_content].reserve_page=="yes"} readonly="readonly"{/if} /> 
    (This name is for system use only)</td>
  </tr>
  <tr>
    <td height="52" valign="bottom">Title<br />
    <input name="page_title" type="text" class="irInput" id="page_title" size="80" value="{$page_content[page_content].page_title}"/></td>
  </tr>
  <tr>
    <td height="190" valign="bottom">Page Content<br />
    <textarea name="page_text" cols="77" rows="8" class="irTextarea" id="page_text">{$page_content[page_content].page_text}</textarea>      <br /></td>
  </tr>
  <tr>
    <td height="50"><input name="btn_submit" id="btn_create" type="submit" value="Save"  class="irBtnSave" />
    <br /></td>
  </tr>
</table>
{/section}
{else}
<table width="700" border="0" cellspacing="0" cellpadding="0" id="irForm">
  <tr>
    <td height="54" valign="bottom">Name<br />
<input id="page_name" name="page_name" type="text" class="irInput" /> 
    (This name is for system use only)</td>
  </tr>
  <tr>
    <td height="52" valign="bottom">Title<br />
    <input name="page_title" type="text" class="irInput" id="page_title" size="80" /></td>
  </tr>
  <tr>
    <td height="190" valign="bottom">Page Content<br />
    <textarea name="page_text" cols="77" rows="8" class="irTextarea" id="page_text"></textarea>      <br /></td>
  </tr>
  <tr>
    <td height="50"><input name="btn_submit" id="btn_create" type="submit" value="Create"  class="irBtnCreate" />
    <br /></td>
  </tr>
</table>
{/if}
Return current item: Simple PHP Shopping cart - asaancart