PHP Classes

File: tmpl/client.view.title.tpl

Recommend this page to a friend!
  Classes of invitro   Navelo CMS   tmpl/client.view.title.tpl   Download  
File: tmpl/client.view.title.tpl
Role: Auxiliary data
Content type: text/plain
Description: user view title template
Class: Navelo CMS
A complete Content Management System
Author: By
Last change:
Date: 19 years ago
Size: 1,551 bytes
 

Contents

Class file image Download
<P> <a href="?action=">Home</a> &raquo; {$category.category_name} </P> <table width="100%"> <tr><td><strong>{$category.category_name}</strong></td></tr> <tr><td>Created : {$category.create_time|date_format:"%A, %B %d, %Y @ %H:%M:%S"} / Last Update : {if $category.last_update eq ""}{else}{$category.last_update|date_format:"%A, %B %d, %Y @ %H:%M:%S"}{/if}</td></tr> <tr><td><strong>Description:</strong>{$category.description}</td></tr> </table> <hr size="1" width="100%" noshade /> <table width="100%"> {section name=title loop=$metadata} {if $metadata[title].status eq "1"} {if $metadata[title].rating_times eq "0"} {assign var="rating" value="0"} {else} {math equation="ceil(total / times)" total=$metadata[title].rating_total times=$metadata[title].rating_times assign="rating"} {/if} <tr><td><a href="?action=HitsContent&tid={$metadata[title].oid}">{$metadata[title].main_title}</a></td></tr> <tr><td>{if $metadata[title].sub_title eq ""}{else}{$metadata[title].sub_title}{/if}</td></tr> <tr><td>Created : {$metadata[title].create_time|date_format:"%A, %B %d, %Y @ %H:%M:%S"} / Last Update : {if $metadata[title].last_update eq ""}not yet{else}{$metadata[title].last_update|date_format:"%A, %B %d, %Y @ %H:%M:%S"}{/if}</td></tr> <tr><td>Rating : {$rating} / Read : {$metadata[title].hits} clicked</td></tr> <tr><td>&nbsp;</td></tr> <tr><td><strong>Description:</strong>{$metadata[title].summary}</td></tr> {/if} {sectionelse} <tr><td></td></tr> {/section} </table>