forked from bopoda/fl-ru-damp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtpl.auth_sms_popup.php
43 lines (42 loc) · 3.8 KB
/
tpl.auth_sms_popup.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<div class="b-shadow__right" id="sms_is_load" data-act="<?= $action?>">
<div class="b-shadow__left">
<div class="b-shadow__top">
<div class="b-shadow__bottom">
<?php if ( !$limitIsExceed ) {?>
<div class="b-shadow__body b-shadow__body_bg_fff b-shadow__body_pad_15">
<h3 class="b-shadow__title b-shadow__title_fontsize_15 b-shadow__title_bold b-shadow__title_padbot_15"><?= $sms_title ? $sms_title : "Àêòèâàöèÿ òåëåôîíà"?></h3>
<div class="b-shadow__txt b-shadow__txt_padbot_5">Íà íîìåð <?= $ureqv['mob_phone']?> áûëî îòïðàâëåíî ÑÌÑ ñ <?= sms_gate::LENGTH_CODE; ?> öèôðàìè. Ââåäèòå èõ:</div>
<div class="b-combo b-combo_inline-block">
<div class="b-combo__input b-combo__input_width_60">
<input id="i_sms_code" onfocus="$('a_sms_act').removeClass('b-button_disabled'); $('sms_error').addClass('b-layout__txt_hide'); $(this).getParent().removeClass('b-combo__input_error')" name="sms_code" type="text" size="80" value="<?= ($code_debug ? $code_debug : '')?>" maxlength="<?= sms_gate::LENGTH_CODE;?>" class="b-combo__input-text b-combo__input-text_center b-combo__input-text_fontsize_18 b-combo__input-text_bold"/>
</div>
</div>
<div class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_inline-block b-layout__txt_padleft_5">
<span class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_color_c10600 b-layout__txt_hide" id="sms_error">Â ÑÌÑ áûëè äðóãèå <?= sms_gate::LENGTH_CODE;?> öèôðû.</span>
<a class="b-layout__link <?=$linkStyle ?>" href="javascript:void(0)" onclick="xajax_<?= $callback_resend ? $callback_resend : "authSMS"?>('<?=$_SESSION['uid']?>', 'resend')" id="a_sms_resend"><?=$linkText?></a>
</div>
<div class="b-buttons b-buttons_padtop_20 b-buttons_padbot_10">
<a href="javascript:void(0)" onclick="if(! $(this).hasClass('b-button_disabled')) { <?= ( $callback_js ? $callback_js : 'a_sms_act' ); ?>(this); }" class="b-button b-button_flat b-button_flat_green <?= $code_debug ? '' : 'b-button_disabled'?>" id="a_sms_act"><?= $sms_btn ? $sms_btn : "Àêòèâèðîâàòü"?>
<img class="b-button__load" width="26" height="6" alt="" src="/css/block/b-button/b-button__load.gif" style="display:none" /></a> 
<span class="b-buttons__txt">èëè</span>
<a href="javascript:void(0)" onclick="$('sms_is_load').getParent().addClass('b-shadow_hide');" class="b-buttons__link b-buttons__link_dot_c10601">çàêðûòü</a>
</div>
</div>
<?} else {?>
<div class="b-shadow__body b-shadow__body_bg_fff b-shadow__body_pad_15">
<h3 class="b-shadow__title b-shadow__title_fontsize_15 b-shadow__title_bold b-shadow__title_padbot_15"><?= $sms_title ? $sms_title : "Àêòèâàöèÿ òåëåôîíà"?></h3>
<div class="b-shadow__txt b-shadow__txt_padtop_10"><?=sms_gate::LIMIT_EXCEED_LINK_TEXT?></div>
<div class="b-buttons b-buttons_padtop_20 b-buttons_padbot_10">
<a href="javascript:void(0)" onclick="$('sms_is_load').getParent().addClass('b-shadow_hide');" class="b-buttons__link b-buttons__link_dot_c10601">çàêðûòü</a>
</div>
</div>
<?} ?>
</div>
</div>
</div>
</div>
<div class="b-shadow__tl"></div>
<div class="b-shadow__tr"></div>
<div class="b-shadow__bl"></div>
<div class="b-shadow__br"></div>
<span class="b-shadow__icon b-shadow__icon_close" onclick="$('sms_is_load').getParent().addClass('b-shadow_hide');"></span>