You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
3.1 KiB
102 lines
3.1 KiB
<div class="title"><h5>{#POLL_MODULE_NAME#}</h5></div> |
|
|
|
<div class="widget" style="margin-top: 0px;"> |
|
<div class="body"> |
|
{#POLL_MODULE_TITLE#} |
|
</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&cp={$sess}">{#MODULES_SUB_TITLE#}</a></li> |
|
<li><a href="index.php?do=modules&action=modedit&mod=poll&moduleaction=1&cp={$sess}">{#POLL_MODULE_NAME#}</a></li> |
|
<li><strong class="code">{#POLL_MODULE_ALL#}</strong></li> |
|
</ul> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="widget first"> |
|
<div class="head"> |
|
<h5 class="iFrames">{#POLL_MODULE_ALL#}</h5> |
|
<div class="num"><a class="basicNum" href="index.php?do=modules&action=modedit&mod=poll&moduleaction=new&cp={$sess}">{#POLL_NEW_LINK#}</a></div> |
|
</div> |
|
|
|
<table cellpadding="0" cellspacing="0" width="100%" class="tableStatic mainForm"> |
|
<col width="20"> |
|
<col> |
|
<col width="120"> |
|
<col width="200"> |
|
<col width="200"> |
|
<col width="150"> |
|
{if $items} |
|
<thead> |
|
<tr> |
|
<td align="center" width="1%"><span class="">[!]</span></td> |
|
<td>{#POLL_NAME#}</td> |
|
<td>{#POLL_SYSTEM_TAG#}</td> |
|
<td>{#POLL_START_END#}</td> |
|
<td>{#POLL_HITS_CMMENT#}</td> |
|
<td colspan="3" align="center" width="2%">{#POLL_ACTIONS#}</td> |
|
</tr> |
|
</thead> |
|
|
|
{foreach from=$items item=item} |
|
<tr> |
|
<td width="10"> |
|
{if $item->poll_status != '1'} |
|
<span class="icon_sprite ico_delete_no"></span> |
|
{else} |
|
<span class="icon_sprite ico_ok"></span> |
|
{/if} |
|
</td> |
|
|
|
<td> |
|
<a href="index.php?do=modules&action=modedit&mod=poll&moduleaction=edit&cp={$sess}&id={$item->id}"><strong>{$item->poll_title}</strong></a> |
|
</td> |
|
|
|
<td> |
|
<div class="pr12"><input type="text" value="[mod_poll:{$item->id}]" size="12" readonly></div> |
|
</td> |
|
|
|
<td align="center"> |
|
<span class="date_text dgrey">c {$item->poll_start|date_format:$TIME_FORMAT|pretty_date}</span> |
|
<br /> |
|
<span class="date_text dgrey">по {$item->poll_end|date_format:$TIME_FORMAT|pretty_date}</span> |
|
</td> |
|
|
|
<td align="center"> |
|
{if $item->sum_hits == ''} 0 {else} {$item->sum_hits} {/if} / <a href="index.php?do=modules&action=modedit&mod=poll&moduleaction=comments&cp={$sess}&id={$item->id}">{$item->comments}</a> |
|
</td> |
|
|
|
<td width="1%" align="center"> |
|
<a title="{#POLL_EDIT_POLL#}" href="index.php?do=modules&action=modedit&mod=poll&moduleaction=edit&cp={$sess}&id={$item->id}"><span class="icon_sprite ico_edit"></span></a> |
|
</td> |
|
|
|
<td width="1%" align="center"> |
|
<a title="{#POLL_DELETE#}" class="ConfirmDelete toprightpDir" dir="{#POLL_DELETE#}" name="{#POLL_DELETE_CONFIRM#}" href="index.php?do=modules&action=modedit&mod=poll&moduleaction=delete&cp={$sess}&id={$item->id}"><span class="icon_sprite ico_delete"></span></a> |
|
</td> |
|
</tr> |
|
{/foreach} |
|
{else} |
|
<tr> |
|
<td colspan="7"> |
|
<ul class="messages"> |
|
<li class="highlight yellow">{#POLL_MODULE_NO_ITEMS#}</li> |
|
</ul> |
|
</td> |
|
</tr> |
|
{/if} |
|
</table> |
|
</div> |
|
|
|
|
|
{if $page_nav} |
|
<div class="pagination"> |
|
<ul class="pages"> |
|
{$page_nav} |
|
</ul> |
|
</div> |
|
{/if} |