PHP Classes

File: mylogs.tpl

Recommend this page to a friend!
  Classes of Md. Shahadat Hossain Khan Razon   Log Writer and Reader   mylogs.tpl   Download  
File: mylogs.tpl
Role: Auxiliary script
Content type: text/plain
Description: Example # 01: Template File
Class: Log Writer and Reader
Store and retrieve logs from a MySQL database
Author: By
Last change:
Date: 15 years ago
Size: 688 bytes


Class file image Download
{if $activitieslog}
  <div style="width: 650px; padding-bottom: 15px; ">
  <h3>Latest activities...</h3>
  <table cellpadding=0 cellspacing=0 width="100%" border=0 style="border: 1px solid #cdcdcd; background-color: #F0F0F0; ">
    <tr><th align="left"><u>Time</u></th><th>&nbsp;&nbsp;</th><th align="left"><u>Details</u></th><th align="left"><u>Status</u></th></tr>
  {foreach from=$activitieslog item=ld}
    <tr><td valign="top"><strong>{$}</strong></td><td align="center" valign="top">&nbsp;&nbsp;</td><td valign="top">{$ld.details}</td><td valign="top">{$ld.status_text}</td></tr>
  <h3>No Activities Found at Log Table</h3>