Browse Source

Добавлен файл в репозиторий

master
Repellent 9 years ago
parent
commit
c6cae5bb76
  1. 73
      rating/admin/admin_ratings.tpl

73
rating/admin/admin_ratings.tpl

@ -0,0 +1,73 @@
<div class="title"><h5>{#RATING_MODULE_NAME#}</h5></div>
<div class="widget" style="margin-top: 0px;">
<div class="body">
{#RATING_STATISTIC#}
</div>
</div>
<div class="breadCrumbHolder module">
<div class="breadCrumb module">
<ul>
<li class="firstB"><a href="index.php" title="{#MAIN_PAGE#}">{#MAIN_PAGE#}</a></li>
<li><a href="index.php?do=modules&amp;cp={$sess}">{#MODULES_SUB_TITLE#}</a></li>
<li><a href="index.php?do=modules&action=modedit&mod=rating&moduleaction=1&cp={$sess}">{#RATING_MODULE_NAME#}</a></li>
<li><strong class="code">{#RATING_STATISTIC#}</strong></li>
</ul>
</div>
</div>
<div class="widget first">
<div class="head">
<h5 class="iFrames">{#RATING_LAST_TEN#}</h5>
<div class="num"><a class="basicNum" href="index.php?do=modules&action=modedit&mod=rating&moduleaction=settings&cp={$sess}">{#RATING_MODULE_SETTINGS#}</a></div>
</div>
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic mainForm">
<col width="20">
<col>
<col width="250">
<col width="150">
<col width="150">
<col width="150">
<thead>
<tr>
<td>{#RATING_ID#}</td>
<td>{#RATING_DOCUMENT#}</td>
<td>{#RATING_RATE#}</td>
<td>{#RATING_USER_ID#}</td>
<td>{#RATING_DATE#}</td>
<td>{#RATING_IP#}</td>
</tr>
</thead>
<tbody>
{if $ratings}
{foreach from=$ratings item=rating}
<tr id="tr{$rating->id}">
<td class="itcen">{$rating->Id}</td>
<td>{$rating->rating_name} (ID: {$rating->rating_id_doc})</td>
<td align="center">
{section name=stars loop=$rating->rating_vote step=1 start=0}
<img src="{$ABS_PATH}modules/rating/admin/star.png" />
{/section}
</td>
<td align="center">{$rating->rating_id_user|escape}</td>
<td align="center"><span class="date_text dgrey">{$rating->rating_date|date_format:'%d %B %Y, %H:%M'|pretty_date}</span></td>
<td align="center"><span class="date_text dgrey">{$rating->rating_user_ip|escape}</span></td>
</tr>
{/foreach}
{else}
<tr>
<td colspan="9">
<ul class="messages">
<li class="highlight yellow">{#RATING_NO_ITEMS#}</li>
</ul>
</td>
</tr>
{/if}
</tbody>
</table>
</div>
Loading…
Cancel
Save