decodeProperties(array ( 'file_dependency' => array ( 'c6906811e15b901bcda5dd509300660ba810ef3f' => array ( 0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/RelatedActivities.tpl', 1 => 1711810494, 2 => 'file', ), ), 'nocache_hash' => '1188277156905d0d063a762-28408916', 'function' => array ( ), 'variables' => array ( 'MODULE_NAME' => 0, 'CALENDAR_MODEL' => 0, 'RECORD' => 0, 'ACTIVITIES' => 0, 'DETAILVIEW_PERMITTED' => 0, 'EDITVIEW_PERMITTED' => 0, 'SOURCE_MODEL' => 0, 'DELETE_PERMITTED' => 0, 'START_DATE' => 0, 'START_TIME' => 0, 'PICKLIST_COLOR_MAP' => 0, 'PICKLIST_COLOR' => 0, 'PICKLIST_VALUE' => 0, 'FIELD_MODEL' => 0, 'CONVERTED_PICKLIST_VALUE' => 0, 'PICKLIST_TEXT_COLOR' => 0, 'USER_MODEL' => 0, 'PAGING_MODEL' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.7', 'unifunc' => 'content_6905d0d067224', ),false); /*/%%SmartyHeaderCode%%*/?> tpl_vars['MODULE_NAME'] = new Smarty_variable("Calendar", null, 0);?>

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

tpl_vars['CALENDAR_MODEL'] = new Smarty_variable(Vtiger_Module_Model::getInstance('Calendar'), null, 0);?>
tpl_vars['CALENDAR_MODEL']->value->isPermitted('CreateView')){?>  
tpl_vars['SOURCE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value, null, 0);?>
tpl_vars['ACTIVITIES']->value)!='0'){?>tpl_vars['RECORD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RECORD']->_loop = false; $_smarty_tpl->tpl_vars['KEY'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['ACTIVITIES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['RECORD']->key => $_smarty_tpl->tpl_vars['RECORD']->value){ $_smarty_tpl->tpl_vars['RECORD']->_loop = true; $_smarty_tpl->tpl_vars['KEY']->value = $_smarty_tpl->tpl_vars['RECORD']->key; ?>tpl_vars['START_DATE'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->get('date_start'), null, 0);?>tpl_vars['START_TIME'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->get('time_start'), null, 0);?>tpl_vars['EDITVIEW_PERMITTED'] = new Smarty_variable(isPermitted('Calendar','EditView',$_smarty_tpl->tpl_vars['RECORD']->value->get('crmid')), null, 0);?>tpl_vars['DETAILVIEW_PERMITTED'] = new Smarty_variable(isPermitted('Calendar','DetailView',$_smarty_tpl->tpl_vars['RECORD']->value->get('crmid')), null, 0);?>tpl_vars['DELETE_PERMITTED'] = new Smarty_variable(isPermitted('Calendar','Delete',$_smarty_tpl->tpl_vars['RECORD']->value->get('crmid')), null, 0);?>
value->get('activitytype'));?> '>
tpl_vars['DETAILVIEW_PERMITTED']->value=='yes'){?>tpl_vars['RECORD']->value->get('subject');?> tpl_vars['RECORD']->value->get('subject');?>   tpl_vars['EDITVIEW_PERMITTED']->value=='yes'){?> tpl_vars['DELETE_PERMITTED']->value=='yes'){?>
tpl_vars['START_TIME']->value));?> ">tpl_vars['START_DATE']->value,$_smarty_tpl->tpl_vars['START_TIME']->value);?>
tpl_vars['RECORD']->value->get('activitytype')=='Task'){?>tpl_vars['MODULE_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->getModuleName(), null, 0);?>
tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->getModule()->getField('taskstatus'), null, 0);?>tpl_vars['RECORD']->value->get('status'),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>   tpl_vars['EDITVIEW_PERMITTED']->value=='yes'){?>tpl_vars['FIELD_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->set('fieldvalue',$_smarty_tpl->tpl_vars['RECORD']->value->get('status')), null, 0);?>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('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['FIELD_MODEL']->value,'USER_MODEL'=>$_smarty_tpl->tpl_vars['USER_MODEL']->value,'MODULE'=>$_smarty_tpl->tpl_vars['MODULE_NAME']->value,'OCCUPY_COMPLETE_WIDTH'=>'true'), 0);?> value->get('name');?> ' data-prev-value='tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?> ' />
tpl_vars['MODULE_NAME'] = new Smarty_variable("Events", null, 0);?>
tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->getModule()->getField('eventstatus'), null, 0);?>tpl_vars['RECORD']->value->get('eventstatus'),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>   tpl_vars['EDITVIEW_PERMITTED']->value=='yes'){?>tpl_vars['FIELD_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->set('fieldvalue',$_smarty_tpl->tpl_vars['RECORD']->value->get('eventstatus')), null, 0);?>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('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['FIELD_MODEL']->value,'USER_MODEL'=>$_smarty_tpl->tpl_vars['USER_MODEL']->value,'MODULE'=>$_smarty_tpl->tpl_vars['MODULE_NAME']->value,'OCCUPY_COMPLETE_WIDTH'=>'true'), 0);?> tpl_vars['FIELD_MODEL']->value->getFieldDataType()=='multipicklist'){?>value->get('name');?> []' data-prev-value='tpl_vars['FIELD_MODEL']->value->getDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'));?> ' />value->get('name');?> ' data-prev-value='tpl_vars['FIELD_MODEL']->value->getDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'));?> ' />

tpl_vars['PAGING_MODEL']->value->isNextPageExists()){?>