File Manager

Current Path : /webspace/www.promiel.be/html/admin/templates/
Upload File :
Current File : //webspace/www.promiel.be/html/admin/templates/adminlog.tpl

<div class="pagecontainer">
  <div class="pageoverflow">
  {$header}
    {if $filteruser != '' or $filteraction != ''}
    <div>
      <p class="pagetext">{'filterapplied'|lang}:</p>
      {if $filteruser != ''}<p class="pageinput">{'user'|lang} = {$filteruser}</p>{/if}
      {if $filteraction != ''}<p class="pageinput">{'actioncontains'|lang}: {$filteraction}</p>{/if}
    </div>
    {/if}
    <p class="pageinput">
    </p>

    <div id="adminlog_filters" style="display: {$filterdisplay}">
      <fieldset>
        <legend>{$langfilters}</legend>
        <form id="adminlog_filter" method="post" action="adminlog.php?{$SECURE_PARAM_NAME}={$CMS_USER_KEY}">
          <div class="pageoverflow">
  <p class="pagetext">{$langfilteruser}</p>
  <p class="pageinput"><input type="text" name="filteruser" value="{$filteruservalue}"/></p>
</div>
{*
<div class="pageoverflow">
  <p class="pagetext">{$langfiltername}</p>
  <p class="pageinput"><input type="text" name="filtername" value="{$filternamevalue}"/></p>
</div>
*}
          <div class="pageoverflow">
  <p class="pagetext">{$langfilteraction}</p>
  <p class="pageinput"><input type="text" name="filteraction" value="{$filteractionvalue}"/></p>
</div>
          <div class="pageoverflow">
  <p class="pagetext"></p>
  <p class="pageinput"><input type="submit" name="filterapply" value="{$langfilterapply}"/><input type="submit" name="filterreset"
                                                                                     value="{$langfilterreset}"/></p>
</div>

        </form>
      </fieldset>
    </div>

  {if $logempty==false}

    <div class="pageoptions">
    <div style="float: left; width: 49%;">
    <input type="checkbox" id="toggle_filters" {if $filterdisplay=="block"}checked="1"  {/if}
           onclick="if (this.checked) document.getElementById('adminlog_filters').style.display = 'block'; else document.getElementById('adminlog_filters').style.display = 'none';"/>
    <label for="toggle_filters">{$langshowfilters}</label>&nbsp;
    {if isset($downloadlink)}
      <a href="adminlog.php{$urlext}&amp;download=1">{$downloadlink}</a>
      <a href="adminlog.php{$urlext}&amp;download=1">{$langdownload}</a>
    {/if}
    {if $clearicon != ''}
      &nbsp;
      <a href="adminlog.php{$urlext}&amp;clear=true">{$clearicon}</a>
      <a href="adminlog.php{$urlext}&amp;clear=true">{$langclear}</a>
    {/if}
    </div>
    <div style="text-align: right;">{$pagestring}</div>
    </div>

    <table class="pagetable">
      <thead>
      <tr>
        <th>{'ip_addr'|lang}</th>
        <th>{$languser}</th>
        <th>{$langitemid}</th>
        <th>{$langitemname}</th>
        <th>{$langaction}</th>
        <th>{$langdate}</th>
      </tr>
      </thead>
      <tbody>
        {foreach from=$loglines item='line'}
          {cycle values='row1,row2' assign='currow'}
        <tr class="{$currow}">
          <td>{$line.ip_addr|default:''}</td>
          <td>{$line.username}</td>
          <td>{$line.itemid}</td>
          <td>{$line.itemname}</td>
          <td>{$line.action}</td>
          <td>{$line.date}</td>
        </tr>
        {/foreach}

      </tbody>
    </table>

    {else}
    <p>{$langlogempty}</p>
  {/if}

  </div>


  <table>
  <tr>
    <td>
      <div class="pageoptions">
        <p class="pageoptions">
	{if isset($downloadlink)}
          <a href="adminlog.php{$urlext}&amp;download=1">{$downloadlink}</a>
          <a href="adminlog.php{$urlext}&amp;download=1">{$langdownload}</a>
        {/if}
        </p>
      </div>
    </td>
  {if $clearicon!=""}
    <td>
      <div class="pageoptions">
        <p class="pageoptions">
          <a href="adminlog.php{$urlext}&amp;clear=true">{$clearicon}</a>
          <a class="pageoptions" href="adminlog.php{$urlext}&amp;clear=true">{$langclear}</a>
        </p>
      </div>
    </td></tr>
  {/if}
  </table>


</div>

<p class="pageback"><a class="pageback" href="{$backurl}">&#171;{$langback}</a></p>

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com