decodeProperties(array ( 'file_dependency' => array ( 'ef49cede817c11f6ea3f3099bfbf1cd1e0c3e79e' => array ( 0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/RecentComments.tpl', 1 => 1760090419, 2 => 'file', ), ), 'nocache_hash' => '295514360690777e115abe2-25282819', 'function' => array ( ), 'variables' => array ( 'COMMENTS_MODULE_MODEL' => 0, 'IS_CREATABLE' => 0, 'MODULE_NAME' => 0, 'COMMENT_TEXTAREA_DEFAULT_ROWS' => 0, 'PRIVATE_COMMENT_MODULES' => 0, 'FIELD_MODEL' => 0, 'QUALIFIED_MODULE' => 0, 'STARTINDEX' => 0, 'ROLLUPID' => 0, 'ROLLUP_STATUS' => 0, 'PARENT_RECORD' => 0, 'COMMENTS' => 0, 'COMMENT' => 0, 'IMAGE_PATH' => 0, 'CREATOR_NAME' => 0, 'SINGULR_MODULE' => 0, 'ENTITY_NAME' => 0, 'CHANNEL' => 0, 'COMMENT_CONTENT' => 0, 'MAX_LENGTH' => 0, 'DISPLAYNAME' => 0, 'MODULE' => 0, 'FILE_DETAILS' => 0, 'FILE_DETAIL' => 0, 'FILE_NAME' => 0, 'PARENT_COMMENT_MODEL' => 0, 'CHILD_COMMENTS_MODEL' => 0, 'IS_EDITABLE' => 0, 'REASON_TO_EDIT' => 0, 'index' => 0, 'COMMENTS_COUNT' => 0, 'PAGING_MODEL' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.7', 'unifunc' => 'content_690777e11bb15', ),false); /*/%%SmartyHeaderCode%%*/?> tpl_vars["COMMENT_TEXTAREA_DEFAULT_ROWS"] = new Smarty_variable("5", null, 0);?>tpl_vars["PRIVATE_COMMENT_MODULES"] = new Smarty_variable(Vtiger_Functions::getPrivateCommentModules(), null, 0);?>tpl_vars['IS_CREATABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENTS_MODULE_MODEL']->value->isPermitted('CreateView'), null, 0);?>tpl_vars['IS_EDITABLE'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENTS_MODULE_MODEL']->value->isPermitted('EditView'), null, 0);?>
tpl_vars['IS_CREATABLE']->value){?>
tpl_vars['MODULE_NAME']->value,$_smarty_tpl->tpl_vars['PRIVATE_COMMENT_MODULES']->value)){?>
    
tpl_vars['FIELD_MODEL']->value->getProfileReadWritePermission()){?>
getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('MODULE'=>"ModComments"), 0);?>

tpl_vars['MODULE_NAME']->value);?>

tpl_vars['MODULE_NAME']->value!='Leads'){?>
tpl_vars['QUALIFIED_MODULE']->value);?>    
tpl_vars['COMMENTS']->value)){?>
tpl_vars['COMMENTS_COUNT'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['COMMENTS']->value), null, 0);?>tpl_vars['COMMENT'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['COMMENT']->_loop = false; $_smarty_tpl->tpl_vars['index'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['COMMENTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['COMMENT']->key => $_smarty_tpl->tpl_vars['COMMENT']->value){ $_smarty_tpl->tpl_vars['COMMENT']->_loop = true; $_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['COMMENT']->key; ?>tpl_vars['COMMENT']->value->getCommentedByName());?> tpl_vars['CREATOR_NAME'] = new Smarty_variable($_tmp1, null, 0);?>
tpl_vars['COMMENT']->value->get('is_private')){?>style="background: #fff9ea;">tpl_vars['PARENT_COMMENT_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getParentCommentModel(), null, 0);?>tpl_vars['CHILD_COMMENTS_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getChildComments(), null, 0);?>
tpl_vars['IMAGE_PATH'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getImagePath(), null, 0);?>tpl_vars['IMAGE_PATH']->value)){?>
tpl_vars['CREATOR_NAME']->value,0,2), ENT_QUOTES, 'UTF-8', true);?>
tpl_vars['CREATOR_NAME']->value;?>   tpl_vars['ROLLUP_STATUS']->value&&($_smarty_tpl->tpl_vars['COMMENT']->value->get('module')!=$_smarty_tpl->tpl_vars['MODULE_NAME']->value||$_smarty_tpl->tpl_vars['COMMENT']->value->get('related_to')!=$_smarty_tpl->tpl_vars['PARENT_RECORD']->value)){?>tpl_vars['SINGULR_MODULE'] = new Smarty_variable(('SINGLE_').($_smarty_tpl->tpl_vars['COMMENT']->value->get('module')), null, 0);?>tpl_vars['ENTITY_NAME'] = new Smarty_variable(getEntityName($_smarty_tpl->tpl_vars['COMMENT']->value->get('module'),array($_smarty_tpl->tpl_vars['COMMENT']->value->get('related_to'))), null, 0);?>  tpl_vars['SINGULR_MODULE']->value,$_smarty_tpl->tpl_vars['COMMENT']->value->get('module'));?>  tpl_vars['ENTITY_NAME']->value[$_smarty_tpl->tpl_vars['COMMENT']->value->get('related_to')];?>   tpl_vars['CHANNEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->get('channel'), null, 0);?>tpl_vars['CHANNEL']->value=='WhatsApp'){?>tpl_vars['CHANNEL']->value=='Telegram'){?>tpl_vars['CHANNEL']->value=='Telegram AI'){?>💬tpl_vars['CHANNEL']->value=='Telegram AI Bot'){?>🤖 tpl_vars['COMMENT']->value->getCommentedTime());?>
tpl_vars['COMMENT']->value->get('commentcontent'));?> tpl_vars['COMMENT_CONTENT'] = new Smarty_variable($_tmp2, null, 0);?>tpl_vars['COMMENT_CONTENT']->value){?>tpl_vars['COMMENT_CONTENT']->value);?> tpl_vars['DISPLAYNAME'] = new Smarty_variable($_tmp3, null, 0);?>tpl_vars['MAX_LENGTH'] = new Smarty_variable(200, null, 0);?>tpl_vars['MODULE']->value);?> ' data-less='tpl_vars['MODULE']->value);?> tpl_vars['MODULE']->value);?> '>tpl_vars['DISPLAYNAME']->value, 'UTF-8')>$_smarty_tpl->tpl_vars['MAX_LENGTH']->value){?>tpl_vars['DISPLAYNAME']->value),0,$_smarty_tpl->tpl_vars['MAX_LENGTH']->value);?> ...tpl_vars['MODULE']->value);?> tpl_vars['COMMENT_CONTENT']->value;?>
tpl_vars["FILE_DETAILS"] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->getFileNameAndDownloadURL(), null, 0);?>tpl_vars['FILE_DETAIL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FILE_DETAIL']->_loop = false; $_smarty_tpl->tpl_vars['index'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['FILE_DETAILS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['FILE_DETAIL']->key => $_smarty_tpl->tpl_vars['FILE_DETAIL']->value){ $_smarty_tpl->tpl_vars['FILE_DETAIL']->_loop = true; $_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['FILE_DETAIL']->key; ?>tpl_vars["FILE_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FILE_DETAIL']->value['trimmedFileName'], null, 0);?>tpl_vars['FILE_NAME']->value)){?> 
tpl_vars['PARENT_COMMENT_MODEL']->value!=false||$_smarty_tpl->tpl_vars['CHILD_COMMENTS_MODEL']->value!=null){?>tpl_vars['MODULE_NAME']->value);?>  tpl_vars['IS_CREATABLE']->value){?>tpl_vars['PARENT_COMMENT_MODEL']->value!=false||$_smarty_tpl->tpl_vars['CHILD_COMMENTS_MODEL']->value!=null){?> | tpl_vars['IS_EDITABLE']->value){?>tpl_vars['IS_CREATABLE']->value){?>      
tpl_vars['COMMENT']->value->getCommentedTime()!=$_smarty_tpl->tpl_vars['COMMENT']->value->getModifiedTime()){?>
tpl_vars["REASON_TO_EDIT"] = new Smarty_variable($_smarty_tpl->tpl_vars['COMMENT']->value->get('reasontoedit'), null, 0);?>tpl_vars['REASON_TO_EDIT']->value){?>tpl_vars['MODULE_NAME']->value);?> : tpl_vars['REASON_TO_EDIT']->value);?> tpl_vars['REASON_TO_EDIT']->value){?>class="col-lg-7 col-md-7 col-sm-7">

tpl_vars['REASON_TO_EDIT']->value){?>style="margin-right: 15px;">tpl_vars['MODULE_NAME']->value);?> tpl_vars['MODULE_NAME']->value));?>  tpl_vars['COMMENT']->value->getModifiedTime());?>


tpl_vars['index']->value+1!=$_smarty_tpl->tpl_vars['COMMENTS_COUNT']->value){?>
getSubTemplate (vtemplate_path("NoComments.tpl"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?> tpl_vars['PAGING_MODEL']->value->isNextPageExists()){?>
tpl_vars['MODULE_NAME']->value,$_smarty_tpl->tpl_vars['PRIVATE_COMMENT_MODULES']->value)){?>
tpl_vars['MODULE_NAME']->value);?>
tpl_vars['MODULE_NAME']->value);?>