Files
crm.clientright.ru/test/templates_c/v7/a27ee8c301c5ffa8a533aba4a6366faa5c239707.file.EmailPreviewPrint.tpl.php
Fedor ac7467f0b4 Major CRM updates: AI Assistant, Court Status API, S3 integration improvements, and extensive file storage system
- Added comprehensive AI Assistant system (aiassist/ directory):
  * Vector search and embedding capabilities
  * Typebot proxy integration
  * Elastic search functionality
  * Message classification and chat history
  * MCP proxy for external integrations

- Implemented Court Status API (GetCourtStatus.php):
  * Real-time court document status checking
  * Integration with external court systems
  * Comprehensive error handling and logging

- Enhanced S3 integration:
  * Improved file backup system with metadata
  * Batch processing capabilities
  * Enhanced error logging and recovery
  * Copy operations with URL fixing

- Added Telegram contact creation API
- Improved error logging across all modules
- Enhanced callback system for AI responses
- Extensive backup file storage with timestamps
- Updated documentation and README files

- File storage improvements:
  * Thousands of backup files with proper metadata
  * Fix operations for broken file references
  * Project-specific backup and recovery systems
  * Comprehensive file integrity checking

Total: 26,461+ files added/modified including AWS SDK, vendor dependencies, and extensive backup system.
2025-10-16 11:17:21 +03:00

61 lines
6.5 KiB
PHP

<?php /* Smarty version Smarty-3.1.7, created on 2025-09-26 19:57:06
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/EmailPreviewPrint.tpl" */ ?>
<?php /*%%SmartyHeaderCode:168256812668d6c5e211a783-39391502%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'a27ee8c301c5ffa8a533aba4a6366faa5c239707' =>
array (
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/EmailPreviewPrint.tpl',
1 => 1711810494,
2 => 'file',
),
),
'nocache_hash' => '168256812668d6c5e211a783-39391502',
'function' =>
array (
),
'variables' =>
array (
'RECORD' => 0,
'TO_EMAILS' => 0,
'TO_EMAIL' => 0,
'USER_MODEL' => 0,
'MODULE' => 0,
'FROM' => 0,
'TO' => 0,
'CC' => 0,
'BCC' => 0,
'ATTACHMENT_DETAILS' => 0,
'ATTACHMENT_DETAIL' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68d6c5e216e22',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68d6c5e216e22')) {function content_68d6c5e216e22($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_replace')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/modifier.replace.php';
?>
<!DOCTYPE><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body onLoad="javascript:window.print()" style="padding:3% 5%;"><?php $_smarty_tpl->tpl_vars["TO_EMAILS"] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['RECORD']->value->get('saved_toid'),']',''), null, 0);?><?php $_smarty_tpl->tpl_vars["TO_EMAIL"] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['TO_EMAILS']->value,'[',''), null, 0);?><?php $_smarty_tpl->tpl_vars["TO_EMAIL_VALUE"] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['TO_EMAIL']->value,'&quot;',''), null, 0);?><span style="position:absolute;right:6%;top:3%;font-family:'Lucida Grande';font-size:15px"><?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('first_name');?>
<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('last_name');?>
&lt;<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('email1');?>
&gt;</span><hr/><span style="font-family:'Lucida Grande';font-size:15px"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get('subject');?>
</span><hr/><div><div style="width:100%;text-align: right;font-family:'Lucida Grande';font-size:15px"><span><?php echo Vtiger_Util_Helper::formatDateTimeIntoDayString($_smarty_tpl->tpl_vars['RECORD']->value->get('createdtime'));?>
</span></div></div><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_FROM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php echo $_smarty_tpl->tpl_vars['FROM']->value;?>
</span></div><div class="clear-both"></div></div><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_TO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;font-family:'Lucida Grande';font-size:15px"><?php $_smarty_tpl->tpl_vars['TO_EMAILS'] = new Smarty_variable(implode(",",$_smarty_tpl->tpl_vars['TO']->value), null, 0);?><?php echo $_smarty_tpl->tpl_vars['TO_EMAILS']->value;?>
</span></div><div class="clear-both"></div></div><?php if (!empty($_smarty_tpl->tpl_vars['CC']->value)){?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_CC',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php if (!empty($_smarty_tpl->tpl_vars['CC']->value)){?><?php echo $_smarty_tpl->tpl_vars['CC']->value;?>
<?php }?></span></div><div class="clear-both"></div></div><?php }?><?php if (!empty($_smarty_tpl->tpl_vars['BCC']->value)){?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_BCC',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php if (!empty($_smarty_tpl->tpl_vars['BCC']->value)){?><?php echo $_smarty_tpl->tpl_vars['BCC']->value;?>
<?php }?></span></div><div class="clear-both"></div></div><?php }?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_SUBJECT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get('subject');?>
</span></div><div class="clear-both"></div></div><?php $_smarty_tpl->tpl_vars["ATTACHMENT_DETAILS"] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->getAttachmentDetails(), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['ATTACHMENT_DETAILS']->value)){?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_ATTACHMENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['ATTACHMENT_DETAILS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->key => $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->value){
$_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->_loop = true;
?><a href="javascript:void(0)"><?php echo $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->value['attachment'];?>
</a>&nbsp;&nbsp;<?php } ?></span></div><div class="clear-both"></div></div><?php }?><div><div style="width:90%;text-align: left;margin-left:7%;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php echo decode_html($_smarty_tpl->tpl_vars['RECORD']->value->get('description'));?>
</span></div><div class="clear-both"></div></div></body></html>
<?php }} ?>