PHP Classes

File: tmpl/client.view.print.tpl

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

Contents

Class file image Download
<P> <a href="?action=">Home</a> &raquo; <a href="?action=title&cid={$category.oid}">{$category.category_name}</a> &raquo; <a href="?action=content&tid={$metadata.oid}">{$metadata.main_title}</a> &raquo; Print Content </P> <table> {if $metadata.rating_times eq "0"} {assign var="rating_content" value="0"} {else} {math equation="ceil(total / times)" total=$metadata.rating_total times=$metadata.rating_times assign="rating_content"} {/if} <tr><td><strong>{$metadata.main_title}</strong></td></tr> {if $metadata.sub_title eq ""} <tr><td></td></tr> {else} <tr><td>{$metadata.sub_title}</td></tr> {/if} <tr> <td> Created : {$metadata.create_time|date_format:"%A, %B %d, %Y @ %H:%M:%S"} / Last Update : {if $metadata.last_update eq ""}not yet{else}{$metadata.last_update|date_format:"%A, %B %d, %Y @ %H:%M:%S"}{/if} </td> </tr> <tr><td>Rating : {$rating_content} / Hits : {$metadata.hits} clicked</td></tr> <tr><td>&nbsp;</td></tr> <tr><td>{$rating}</td></tr> <tr><td><em>"{$metadata.summary}"</em></td></tr> <tr><td>&nbsp;</td></tr> {section name="page" loop=$page} {if $page[page].status eq "1"} {if $page[page].rating_times eq "0"} {assign var="rating_page" value="0"} {else} {math equation="ceil(total / times)" total=$page[page].rating_total times=$page[page].rating_times assign="rating_page"} {/if} <tr><td>{$page[page].page_title}</td></tr> <tr> <td> Created : {$page[page].create_time|date_format:"%A, %B %d, %Y @ %H:%M:%S"} / Last Update : {$page[page].last_update|date_format:"%A, %B %d, %Y @ %H:%M:%S"} </td> </tr> <tr><td>Rating : {$rating_page} / Hits : {$page[page].hits} clicked</td></tr> <tr><td>&nbsp;</td></tr> <tr><td valign="top">{$page[page].page_content}</td></tr> {/if} {sectionelse} no page {/section} </table>