Вход Регистрация
Файл: DARK WARS/dark_war/style/tpl_c/4b94d2c442dd159e93e3fb65a7a9acc69b44a377.file.view_sms.tpl.php
Строк: 288
<?php /* Smarty version Smarty-3.1.8, created on 2013-10-06 18:22:35
         compiled from "/home/usr/data/manyak/public_html/dark_war/style/tpl/view_sms.tpl" */ 
?>
<?php 
/*%%SmartyHeaderCode:3335608495251722be89b88-62147317%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid $_smarty_tpl->decodeProperties(array (
  
'file_dependency' => 
  array (
    
'4b94d2c442dd159e93e3fb65a7a9acc69b44a377' => 
    array (
      
=> '/home/usr/data/manyak/public_html/dark_war/style/tpl/view_sms.tpl',
      
=> 1352471510,
      
=> 'file',
    ),
  ),
  
'nocache_hash' => '3335608495251722be89b88-62147317',
  
'function' => 
  array (
  ),
  
'variables' => 
  array (
    
'title' => 0,
    
'country' => 0,
    
'prefix' => 0,
    
'id' => 0,
    
'list' => 0,
    
'info' => 0,
  ),
  
'has_nocache_code' => false,
  
'version' => 'Smarty-3.1.8',
  
'unifunc' => 'content_5251722c1014b7_83080149',
),
false); /*/%%SmartyHeaderCode%%*/?>
<?php 
if ($_valid && !is_callable('content_5251722c1014b7_83080149')) {function content_5251722c1014b7_83080149($_smarty_tpl) {?>
    <script type="text/javascript">
        function toggle(n) {
            var obj = document.getElementById("content_"+n);

            if(obj.style.display == "block") {
                obj.style.display = "none";
            }else {
                obj.style.display = "block";
            }
        }
    </script>

<div class="view_info">
    <div class="view_info_title"><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</div>
    <div class="view_info_text">
        <br />
            <img src="ua.gif" alt="" /> <a href="payment.php?cn=ua">Украина</a><br />
            <img src="pl.gif" alt="" /> <a href="payment.php?cn=pl">Польша</a><br />
            <img src="ru.gif" alt="" /> <a href="payment.php?cn=ru">Россия</a><br />
        <br />
    </div>
    <?php if ($_smarty_tpl->tpl_vars['country']->value=='ru'){?>
         <div class="view_info_text">
            <u>Номера для абонентов России:</u><br />
            <br />
            <span style="color:green">Отправьте 1 SMS с текстом <?php echo $_smarty_tpl->tpl_vars['prefix']->value['ru'];?>
+id<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
 на номер:</span>
            <br />
            <br />
            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['ru'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['ru']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['name'] = 'ru';
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['list']->value['ru']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['step'] > $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['loop']-1;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['show']) {
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['loop'];
    if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['total'] == 0)
        
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['show'] = false;
} else
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['total'] = 0;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['show']):

            for (
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['iteration'] = 1;
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['total'];
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['ru']['total']);
?>
                <a href="sms:<?php echo $_smarty_tpl->tpl_vars['list']->value['ru'][$_smarty_tpl->getVariable('smarty')->value['section']['ru']['index']]['number'];?>
?body=<?php echo $_smarty_tpl->tpl_vars['prefix']->value['ru'];?>
+id<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
"><b><?php echo $_smarty_tpl->tpl_vars['list']->value['ru'][$_smarty_tpl->getVariable('smarty')->value['section']['ru']['index']]['number'];?>
</b></a>
                - <img src="/dark_war/style/money.png" style="padding:1px" alt="!" /> <b><?php echo $_smarty_tpl->tpl_vars['list']->value['ru'][$_smarty_tpl->getVariable('smarty')->value['section']['ru']['index']]['coint'];?>
</b>
                <small>(~ <?php echo $_smarty_tpl->tpl_vars['list']->value['ru'][$_smarty_tpl->getVariable('smarty')->value['section']['ru']['index']]['price'];?>
 руб.)</small><br />
            <?php endfor; endif; ?>
        </div>
        <div class="view_info_text"><small><?php echo $_smarty_tpl->tpl_vars['info']->value['ru'];?>
</small></div>
    <?php }elseif($_smarty_tpl->tpl_vars['country']->value=='pl'){?>
        <div class="view_info_text">
            <u>Номера для абонентов Польши:</u><br />
            <br />
            <span style="color:green">Отправьте 1 SMS с текстом <?php echo $_smarty_tpl->tpl_vars['prefix']->value['pl'];?>
+id<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
 на номер:</span>
            <br />
            <br />
            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['pl'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['pl']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['name'] = 'pl';
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['list']->value['pl']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['step'] > $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['loop']-1;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['show']) {
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['loop'];
    if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['total'] == 0)
        
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['show'] = false;
} else
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['total'] = 0;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['show']):

            for (
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration'] = 1;
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['total'];
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['pl']['total']);
?>
                <a href="sms:<?php echo $_smarty_tpl->tpl_vars['list']->value['pl'][$_smarty_tpl->getVariable('smarty')->value['section']['pl']['index']]['number'];?>
?body=<?php echo $_smarty_tpl->tpl_vars['prefix']->value['pl'];?>
+id<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
"><b><?php echo $_smarty_tpl->tpl_vars['list']->value['pl'][$_smarty_tpl->getVariable('smarty')->value['section']['pl']['index']]['number'];?>
</b></a>
                - <img src="/dark_war/style/money.png" style="padding:1px" alt="!" /> <b><?php echo $_smarty_tpl->tpl_vars['list']->value['pl'][$_smarty_tpl->getVariable('smarty')->value['section']['pl']['index']]['coint'];?>
</b>
                <small>(<?php echo $_smarty_tpl->tpl_vars['list']->value['pl'][$_smarty_tpl->getVariable('smarty')->value['section']['pl']['index']]['price'];?>
 злт. с НДС*)</small><br />
            <?php endfor; endif; ?>
        </div>
        <div class="view_info_text"><small><?php echo $_smarty_tpl->tpl_vars['info']->value['pl'];?>
</small></div>
    <?php }else{ ?>
        <div class="view_info_text">
            <u>Номера для абонентов Украины:</u><br />
            <br />
            <span style="color:green">Отправьте 1 SMS с текстом <?php echo $_smarty_tpl->tpl_vars['prefix']->value['ua'];?>
+id<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
 на номер:</span>
            <br />
            <br />
            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['ua'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['ua']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['name'] = 'ua';
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['list']->value['ua']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['step'] > $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['loop']-1;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['show']) {
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['loop'];
    if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['total'] == 0)
        
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['show'] = false;
} else
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['total'] = 0;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['show']):

            for (
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['iteration'] = 1;
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['total'];
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['ua']['total']);
?>
                <a href="sms:<?php echo $_smarty_tpl->tpl_vars['list']->value['ua'][$_smarty_tpl->getVariable('smarty')->value['section']['ua']['index']]['number'];?>
?body=<?php echo $_smarty_tpl->tpl_vars['prefix']->value['ua'];?>
+id<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
"><b><?php echo $_smarty_tpl->tpl_vars['list']->value['ua'][$_smarty_tpl->getVariable('smarty')->value['section']['ua']['index']]['number'];?>
</b></a>
                - <img src="/dark_war/style/money.png" style="padding:1px" alt="!" /> <b><?php echo $_smarty_tpl->tpl_vars['list']->value['ua'][$_smarty_tpl->getVariable('smarty')->value['section']['ua']['index']]['coint'];?>
</b>
                <small>(<?php echo $_smarty_tpl->tpl_vars['list']->value['ua'][$_smarty_tpl->getVariable('smarty')->value['section']['ua']['index']]['price'];?>
 грн. с НДС*)</small><br />
            <?php endfor; endif; ?>
        </div>
        <div class="view_info_text"><small><?php echo $_smarty_tpl->tpl_vars['info']->value['ua'];?>
</small></div>
    <?php }?>
    <div class="view_info_text"><small>
        Поддержка по вопросам платежей<br />
        e-mail: support@dark-wars.ru
    </small></div>
</div><?php }} ?>
Онлайн: 2
Реклама