403Webshell
Server IP : 23.111.136.34  /  Your IP : 216.73.216.136
Web Server : Apache
System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : meusitei ( 1072)
PHP Version : 5.6.40
Disable Function : show_source, system, shell_exec, passthru, proc_open
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/meusitei/templates_c/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/meusitei/templates_c//2e9ce4cb70338e3ac0231ca912f6901aa894da9b_0.file.serverstatus.tpl.php
<?php
/* Smarty version 3.1.29, created on 2024-12-04 14:19:13
  from "/home/meusitei/public_html/central/templates/six/serverstatus.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_675064e15a2c58_22977854',
  'file_dependency' => 
  array (
    '2e9ce4cb70338e3ac0231ca912f6901aa894da9b' => 
    array (
      0 => '/home/meusitei/public_html/central/templates/six/serverstatus.tpl',
      1 => 1531218804,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_675064e15a2c58_22977854 ($_smarty_tpl) {
$_from = $_smarty_tpl->tpl_vars['issues']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_issue_0_saved_item = isset($_smarty_tpl->tpl_vars['issue']) ? $_smarty_tpl->tpl_vars['issue'] : false;
$_smarty_tpl->tpl_vars['issue'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['issue']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['issue']->value) {
$_smarty_tpl->tpl_vars['issue']->_loop = true;
$__foreach_issue_0_saved_local_item = $_smarty_tpl->tpl_vars['issue'];
?>

    <div class="panel <?php if ($_smarty_tpl->tpl_vars['issue']->value['clientaffected']) {?>panel-warning<?php } else { ?>panel-info<?php }?>">
        <div class="panel-heading">
            <?php echo $_smarty_tpl->tpl_vars['issue']->value['title'];?>
 (<?php echo $_smarty_tpl->tpl_vars['issue']->value['status'];?>
)
        </div>
        <ul class="list-group">
            <li class="list-group-item <?php if ($_smarty_tpl->tpl_vars['issue']->value['rawPriority'] == 'Critical') {?>list-group-item-danger<?php } elseif ($_smarty_tpl->tpl_vars['issue']->value['rawPriority'] == 'High') {?>list-group-item-warning<?php } elseif ($_smarty_tpl->tpl_vars['issue']->value['rawPriority'] == 'Low') {?>list-group-item-success<?php } else { ?>list-group-item-info<?php }?>"><strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['networkissuespriority'];?>
</strong> - <?php echo $_smarty_tpl->tpl_vars['issue']->value['priority'];?>
</li>
            <?php if ($_smarty_tpl->tpl_vars['issue']->value['server'] || $_smarty_tpl->tpl_vars['issue']->value['affecting']) {?><li class="list-group-item"><strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['networkissuesaffecting'];?>
 <?php echo $_smarty_tpl->tpl_vars['issue']->value['type'];?>
</strong> - <?php if ($_smarty_tpl->tpl_vars['issue']->value['type'] == $_smarty_tpl->tpl_vars['LANG']->value['networkissuestypeserver']) {
echo $_smarty_tpl->tpl_vars['issue']->value['server'];
} else {
echo $_smarty_tpl->tpl_vars['issue']->value['affecting'];
}?></li><?php }?>
            <li class="list-group-item">
                <p>
                    <?php echo $_smarty_tpl->tpl_vars['issue']->value['description'];?>

                </p>
            </li>
            <li class="list-group-item"><strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['networkissuesdate'];?>
</strong> - <?php echo $_smarty_tpl->tpl_vars['issue']->value['startdate'];
if ($_smarty_tpl->tpl_vars['issue']->value['enddate']) {?> - <?php echo $_smarty_tpl->tpl_vars['issue']->value['enddate'];
}?></li>
            <li class="list-group-item"><strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['networkissueslastupdated'];?>
</strong> - <?php echo $_smarty_tpl->tpl_vars['issue']->value['lastupdate'];?>
</li>
        </ul>
    </div>

<?php
$_smarty_tpl->tpl_vars['issue'] = $__foreach_issue_0_saved_local_item;
}
if (!$_smarty_tpl->tpl_vars['issue']->_loop) {
?>
    <?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)$_smarty_tpl->tpl_vars['template']->value)."/includes/alert.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('type'=>"success",'msg'=>$_smarty_tpl->tpl_vars['noissuesmsg']->value,'textcenter'=>true), 0, true);
?>

<?php
}
if ($__foreach_issue_0_saved_item) {
$_smarty_tpl->tpl_vars['issue'] = $__foreach_issue_0_saved_item;
}
?>

<div class="btn-group">
    <a href="<?php if ($_smarty_tpl->tpl_vars['prevpage']->value) {
echo $_SERVER['PHP_SELF'];?>
?<?php if ($_smarty_tpl->tpl_vars['view']->value) {?>view=<?php echo $_smarty_tpl->tpl_vars['view']->value;?>
&amp;<?php }?>page=<?php echo $_smarty_tpl->tpl_vars['prevpage']->value;
} else { ?>#<?php }?>" class="btn btn-default <?php if (!$_smarty_tpl->tpl_vars['prevpage']->value) {?>disabled<?php }?>">&lt; <?php echo $_smarty_tpl->tpl_vars['LANG']->value['previouspage'];?>
</a>
    <a href="<?php if ($_smarty_tpl->tpl_vars['nextpage']->value) {
echo $_SERVER['PHP_SELF'];?>
?<?php if ($_smarty_tpl->tpl_vars['view']->value) {?>view=<?php echo $_smarty_tpl->tpl_vars['view']->value;?>
&amp;<?php }?>page=<?php echo $_smarty_tpl->tpl_vars['nextpage']->value;
} else { ?>#<?php }?>" class="btn btn-default <?php if (!$_smarty_tpl->tpl_vars['nextpage']->value) {?>disabled<?php }?>"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['nextpage'];?>
 &gt;</a>
</div>

<?php if ($_smarty_tpl->tpl_vars['servers']->value) {?>

    <?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)$_smarty_tpl->tpl_vars['template']->value)."/includes/subheader.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('title'=>$_smarty_tpl->tpl_vars['LANG']->value['serverstatustitle']), 0, true);
?>


    <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['serverstatusheadingtext'];?>
</p>

    <div class="table-responsive">
        <table class="table table-striped">
            <thead>
                <tr>
                    <th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['servername'];?>
</th>
                    <th class="text-center">HTTP</th>
                    <th class="text-center">FTP</th>
                    <th class="text-center">POP3</th>
                    <th class="text-center"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['serverstatusphpinfo'];?>
</th>
                    <th class="text-center"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['serverstatusserverload'];?>
</th>
                    <th class="text-center"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['serverstatusuptime'];?>
</th>
                </tr>
            </thead>
            <tbody>
                <?php
$_from = $_smarty_tpl->tpl_vars['servers']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_server_1_saved_item = isset($_smarty_tpl->tpl_vars['server']) ? $_smarty_tpl->tpl_vars['server'] : false;
$__foreach_server_1_saved_key = isset($_smarty_tpl->tpl_vars['num']) ? $_smarty_tpl->tpl_vars['num'] : false;
$_smarty_tpl->tpl_vars['server'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['num'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['server']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['num']->value => $_smarty_tpl->tpl_vars['server']->value) {
$_smarty_tpl->tpl_vars['server']->_loop = true;
$__foreach_server_1_saved_local_item = $_smarty_tpl->tpl_vars['server'];
?>
                    <tr>
                        <td><?php echo $_smarty_tpl->tpl_vars['server']->value['name'];?>
</td>
                        <td class="text-center" id="port80_<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
">
                            <span class="fa fa-spinner fa-spin"></span>
                        </td>
                        <td class="text-center" id="port21_<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
">
                            <span class="fa fa-spinner fa-spin"></span>
                        </td>
                        <td class="text-center" id="port110_<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
">
                            <span class="fa fa-spinner fa-spin"></span>
                        </td>
                        <td class="text-center"><a href="<?php echo $_smarty_tpl->tpl_vars['server']->value['phpinfourl'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['serverstatusphpinfo'];?>
</a></td>
                        <td class="text-center" id="load<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
">
                            <span class="fa fa-spinner fa-spin"></span>
                        </td>
                        <td class="text-center" id="uptime<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
">
                            <span class="fa fa-spinner fa-spin"></span>
                            <?php echo '<script'; ?>
>
                            jQuery(document).ready(function() {
                                checkPort(<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
, 80);
                                checkPort(<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
, 21);
                                checkPort(<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
, 110);
                                getStats(<?php echo $_smarty_tpl->tpl_vars['num']->value;?>
);
                            });
                            <?php echo '</script'; ?>
>
                        </td>
                    </tr>
                <?php
$_smarty_tpl->tpl_vars['server'] = $__foreach_server_1_saved_local_item;
}
if (!$_smarty_tpl->tpl_vars['server']->_loop) {
?>
                    <tr>
                        <td colspan="7"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['serverstatusnoservers'];?>
</td>
                    </tr>
                <?php
}
if ($__foreach_server_1_saved_item) {
$_smarty_tpl->tpl_vars['server'] = $__foreach_server_1_saved_item;
}
if ($__foreach_server_1_saved_key) {
$_smarty_tpl->tpl_vars['num'] = $__foreach_server_1_saved_key;
}
?>
            </tbody>
        </table>
    </div>

<?php }
}
}

Youez - 2016 - github.com/yon3zu
LinuXploit