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


Viewing file:     454df99bd3f4fdf4f3edbbc776b25ae022ae298b.file.photoblock.tpl.php (4.69 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-05-10 23:42:37
         compiled from "modules/photogallery/templates/photoblock.tpl" */ 
?>
<?php 
/*%%SmartyHeaderCode:12979473984fac283d602263-01567511%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  
'file_dependency' => 
  array (
    
'454df99bd3f4fdf4f3edbbc776b25ae022ae298b' => 
    array (
      
=> 'modules/photogallery/templates/photoblock.tpl',
      
=> 1336682552,
    ),
  ),
  
'nocache_hash' => '12979473984fac283d602263-01567511',
  
'function' => 
  array (
  ),
  
'has_nocache_code' => false,
)); 
/*/%%SmartyHeaderCode%%*/?>
<?php ob_start
();?><?php echo GetParam('DefaultLanguage');?>
<?php $_tmp1
=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["photo_title"] = new Smarty_variable("photo_title_".$_tmp1nullnull);?>
<?php ob_start
();?><?php echo GetParam('DefaultLanguage');?>
<?php $_tmp2
=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['album_name'] = new Smarty_variable("album_name_".$_tmp2nullnull);?>
<form style="margin:0px;" method="post">
<div style="text-align:center">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['PhotogalleryAlbumSelect'];?>

<select id="album_id" name="album_id" onchange="submit();">
  <?php  $_smarty_tpl->tpl_vars['album'] = new Smarty_Variable;
 
$_from $_smarty_tpl->getVariable('albums')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from'array');}
if (
count($_from) > 0){
    foreach (
$_from as $_smarty_tpl->tpl_vars['album']->key => $_smarty_tpl->tpl_vars['album']->value){
?>
  <option <?php if ($_REQUEST['album_id']==$_smarty_tpl->tpl_vars['album']->value['album_id']){?> selected="selected" <?php }?> value="<?php echo $_smarty_tpl->tpl_vars['album']->value['album_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['album']->value[$_smarty_tpl->getVariable('album_name')->value];?>
</option>
  <?php }} ?>  
</select>
</div><br />

<div class="photogallery">
<ul class="sortable">
  <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable;
 
$_from $_smarty_tpl->getVariable('photos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from'array');}
if (
count($_from) > 0){
    foreach (
$_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
?>
   <li id="photo_id_<?php echo $_smarty_tpl->tpl_vars['row']->value['photo_id'];?>
" code="<?php echo $_smarty_tpl->tpl_vars['row']->value['photo_id'];?>
">
     <div class="picture">
       <img src="/data/photogallery/i<?php echo $_smarty_tpl->tpl_vars['row']->value['photo_filename'];?>
.jpg"  />
      </div>
      <div class="info">
            <div class="title"><a><?php echo $_smarty_tpl->tpl_vars['row']->value[$_smarty_tpl->getVariable('photo_title')->value];?>
</a></div>
               <div class="date"><?php echo $_smarty_tpl->getVariable('ALANG')->value['PhotogalleryPhotoCreationDate'];?>
: <strong><?php echo $_smarty_tpl->tpl_vars['row']->value['photo_date_of_creation'];?>
</strong></div>
            <div class="links">
                <a href="admin.php?mod=Photogallery&photo_id=<?php echo $_smarty_tpl->tpl_vars['row']->value['photo_id'];?>
&edit" class="edit"><?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreEdit'];?>
</a>
                <a href="#" class="delete"><?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreDelete'];?>
</a>
                <a href="#" class="cover"><?php echo $_smarty_tpl->getVariable('ALANG')->value['PhotogalleryAlbumCover'];?>
</a>
            </div>
      </div>
    </li>
    <?php }} ?>
</ul>
</div>
<script type="text/javascript">
$(document).ready(function()
{
    $(".photogallery .sortable .cover").click(function()
    {
        elem = $(this).parents("li");
        id = $(this).parents("li").attr("code");
        $.post("/admin-asynch.php?mod=Photogallery", { "oper" : "cover", "id" : id }, function(data)
        {
            if (data.status == "ok")
            {
                elem.animate( { "background-color" : "#FFC" }, 1000).animate({ "background-color" : "#F9FAFF" }, 1000);
            }
        }, "json");
        return false;
    });
    $(".photogallery .sortable .delete").click(function()
    {
        if ($(this).hasClass('delete'))
            if (!confirm("delete_question".l()))
                return false;        
        elem = $(this).parents("li");
        id = $(this).parents("li").attr("code");
        $.post("/admin-asynch.php?mod=Photogallery", { "oper" : "delete", "id" : id, "table" : "AMCMS_photogallery_photos" }, function(data)
        {
            elem.hide(1000).remove(1000);
        });
        return false;
    });
    $(".photogallery .sortable").sortable({
            placeholder: 'placeholder',
            stop : function()
            {
                str = $(this).sortable('serialize');
                $.post("/admin-asynch.php?mod=Photogallery", { "ids" : str, "oper" : "sorting", "table" : "AMCMS_photogallery_photos" });
            }
        });
    $(".photogallery .sortable").disableSelection();
});
</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.0267 ]--