Download project

This commit is contained in:
Roman Pyrih
2024-11-20 09:09:44 +01:00
parent 547a138d6a
commit 5ff041757f
40737 changed files with 7766183 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
<?php
/* Smarty version 3.1.48, created on 2024-11-20 08:34:32
from '/home/admin/domains/masimmo.pl/public_html/modules/ets_blog/views/templates/hook/admin_header.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.48',
'unifunc' => 'content_673d91081fbd50_49758616',
'has_nocache_code' => false,
'file_dependency' =>
array (
'caa143a0230094bcf038b476ce819a5adac0c660' =>
array (
0 => '/home/admin/domains/masimmo.pl/public_html/modules/ets_blog/views/templates/hook/admin_header.tpl',
1 => 1732016596,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_673d91081fbd50_49758616 (Smarty_Internal_Template $_smarty_tpl) {
echo '<script'; ?>
type="text/javascript">
var ets_blog_link_ajax_comment='<?php echo $_smarty_tpl->tpl_vars['ets_blog_link_ajax_comment']->value;?>
';
$(document).ready(function(){
$.ajax({
url: ets_blog_link_ajax_comment,
data: 'action=getCountCommentsNoViewed',
type: 'post',
dataType: 'json',
success: function(json){
if(parseInt(json.count) >0)
{
if($('#subtab-AdminEtsBlogComment span').length)
$('#subtab-AdminEtsBlogComment span').append('<span class="count_messages ">'+json.count+'</span>');
else
$('#subtab-AdminEtsBlogComment a').append('<span class="count_messages ">'+json.count+'</span>');
}
else
{
if($('#subtab-AdminEtsBlogComment span').length)
$('#subtab-AdminEtsBlogComment span').append('<span class="count_messages hide">'+json.count+'</span>');
else
$('#subtab-AdminEtsBlogComment a').append('<span class="count_messages hide">'+json.count+'</span>');
}
},
});
});
<?php echo '</script'; ?>
><?php }
}