Вход Регистрация
Файл: plugins/user_credits/views/controllers/admin_index.html
Строк: 188
<?php
{style}
{
literal}
.
peep_box_cap h3, .peep_box_cap_empty h3{
text-transform:lowercase;
font-size:12px;
}
    
td.peep_action_price_td {
        
padding5px;
    }
    
    
input.price_input {
        
width70px
        
displaynone;
    }
    
tr td.peep_inprogress {
        
backgroundurl({/literal}{$imagesUrl}{literal}ajax_preloader_button.gifno-repeat 7px 7px;
    }

    
body .peep_disabled_state a color#bbaba2; }

    
body .peep_disabled_state abody .peep_enabled_state a padding-right1px; }

    
body .peep_disabled_state .lbutton_wrapbody .peep_enabled_state .lbutton_wrap {
        
position:relative;
        
floatright;
        
width1px;
        
height1px;
        
margin-left1px;
    }

    
body .peep_disabled_state .lbutton_wrap abody .peep_enabled_state .lbutton_wrap a {
        
positionabsolute;
        
displaynone;
        
top0;
        
right0;
        
padding-right3px;
    }

    
tr.peep_disabled_state:hover a.action_enabletr.peep_enabled_state:hover a.action_disable displayblock; }
{/
literal}
{/
style}

{
$menu}

{
block_decorator name='box' addClass='peep_std_margin'}{text key='usercredits+actions_description'}{/block_decorator}

{if 
$types && $showTypes}
<
div class="peep_anno peep_center peep_stdmargin">
    {
text key='usercredits+select_account_type'}: &nbsp;
    <
select name="acc_type" onchange="location.href = '{$route}?type='+this.value;">
        {foreach 
from=$types item='type' key='name'}
        <
option value="{$name}"{if $name == $accTypeselected="selected"{/if}>{$type}</option>
        {/foreach}
    </
select>
</
div>
{/if}

<
div class="peep_full peep_stdmargin clearfix">
<
div class="peep_wide peep_stdmargin" style="float:right;">
    {
block_decorator name='box' langLabel='usercredits+earning_actions' iconClass='peep_ic_add' type='empty' addClass=' peep_stdmargin'}
    {if 
$earning}
    <
table class="peep_table_2 peep_smallmargin">
        <
tr class="peep_alt2 peep_tr_first">
            <
td><b>{text key='usercredits+actions'}</b></td>
            <
td style="width: 130px"><b>{text key='usercredits+price_in_credits'}</b></td>
        </
tr>
        {foreach 
from=$earning item='e' name='e'}
        <
tr class="peep_alt1 {if $e.disabled}peep_disabled_state{else}peep_enabled_state{/if}{if $smarty.foreach.e.last} peep_tr_last{/if}">
            <
td class="peep_txtleft">
                <
div class="lbutton_wrap">
                    <
class="peep_lbutton peep_green action_enable" data-action="{$e.id}href="javascript://">{text key='usercredits+enable'}</a>
                    <
class="peep_lbutton peep_red action_disable" data-action="{$e.id}href="javascript://">{text key='usercredits+disable'}</a>
                </
div>
                {
text_edit key="`$e.pluginKey`+usercredits_action_`$e.actionKey`"}
            </
td>
            <
td class="peep_action_price_td">
            {if !empty(
$e.settingsRoute)}
                <
a href="{url_for_route for=$e.settingsRoute}">{text key='admin+btn_label_edit'}</a>
            {else}
                <
class="peep_action_price" rel="{$e.id}href="javascript://">{$e.amount}</a>
                <
input class="price_input" type="text" id="price_input_{$e.id}name="amount[{$e.id}]" value="{$e.amount}/></td>
            {/if}
        </
tr>
        {/foreach}
    </
table>
    {else}
        <
div class="peep_nocontent">{text key='usercredits+no_actions'}</div>
    {/if}
    {/
block_decorator}

    {
block_decorator name='box' langLabel='usercredits+spending_actions' iconClass='peep_ic_warning' type='empty' addClass='peep_stdmargin'}
    {if 
$losing}
    <
table class="peep_table_2 peep_smallmargin">
        <
tr class="peep_alt2 peep_tr_first">
            <
td><b>{text key='usercredits+actions'}</b></td>
            <
td style="width: 130px"><b>{text key='usercredits+price_in_credits'}</b></td>
        </
tr>
        {foreach 
from=$losing item='l' name='l'}
        <
tr class="peep_alt1 {if $l.disabled}peep_disabled_state{else}peep_enabled_state{/if}{if $smarty.foreach.l.last} peep_tr_last{/if}">
            <
td class="peep_txtleft">
                <
div class="lbutton_wrap">
                    <
class="peep_lbutton peep_green action_enable" data-action="{$l.id}href="javascript://">{text key='usercredits+enable'}</a>
                    <
class="peep_lbutton peep_red action_disable" data-action="{$l.id}href="javascript://">{text key='usercredits+disable'}</a>
                </
div>
                {
text_edit key="`$l.pluginKey`+usercredits_action_`$l.actionKey`"}
            </
td>
            <
td class="peep_action_price_td">
            {if !empty(
$l.settingsRoute)}
                <
a href="{url_for_route for=$l.settingsRoute}">{text key='admin+btn_label_edit'}</a>
            {else}
                <
class="peep_action_price" rel="{$l.id}href="javascript://">{$l.amount}</a>
                <
input class="price_input" type="text" id="price_input_{$l.id}name="amount[{$l.id}]" value="{$l.amount}/></td>
            {/if}
        </
tr>
        {/foreach}
    </
table>
    {else}
        <
div class="peep_nocontent">{text key='usercredits+no_actions'}</div>
    {/if}
    {/
block_decorator}
</
div>
    {if 
$unset}    
<
div class="peep_wide peep_stdmargin" style="float:left;">
    {
block_decorator name='box' langLabel='usercredits+unset_actions' iconClass='peep_ic_gear_wheel' type='empty' addClass=' action_addd peep_stdmargin'}
    <
table class="peep_table_2 peep_smallmargin">
        <
tr class="peep_alt2 peep_tr_first">
            <
td><b>{text key='usercredits+actions'}</b></td>
            <
td style="width: 130px;"><b>{text key='usercredits+price_in_credits'}</b></td>
        </
tr>
        {foreach 
from=$unset item='u' name='u'}
        <
tr class="peep_alt1 {if $u.disabled}peep_disabled_state{else}peep_enabled_state{/if}{if $smarty.foreach.u.last} peep_tr_last{/if}">
            <
td class="peep_txtleft">
                <
div class="lbutton_wrap">
                    <
class="peep_lbutton peep_green action_enable" data-action="{$u.id}href="javascript://">{text key='usercredits+enable'}</a>
                    <
class="peep_lbutton peep_red action_disable" data-action="{$u.id}href="javascript://">{text key='usercredits+disable'}</a>
                </
div>
                {
text_edit key="`$u.pluginKey`+usercredits_action_`$u.actionKey`"}
            </
td>
            <
td class="peep_action_price_td">
            {if !empty(
$u.settingsRoute)}
                <
a href="{url_for_route for=$u.settingsRoute}">{text key='admin+btn_label_edit'}</a>
            {else}
                <
class="peep_action_price" rel="{$u.id}href="javascript://">{$u.amount}</a>
                <
input class="price_input" type="text" id="price_input_{$u.id}name="amount[{$u.id}]" value="{$u.amount}/></td>
            {/if}
        </
tr>
        {/foreach}
    </
table>
    {/
block_decorator}
</
div>
    {/if}
</
div>
?>
Онлайн: 2
Реклама