<?php /* Smarty version Smarty-3.1.7, created on 2020-12-09 10:12:45
         compiled from "/home/alfacent/testfabio.alfacenter.online/vtigercrm/includes/runtime/../../layouts/v7/modules/Settings/ExtensionStore/Detail.tpl" */ ?>
<?php /*%%SmartyHeaderCode:715874075fd0a31d525741-83900044%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd78be7c6133d5f5d1047e05c315fabe467d9c3b6' => 
    array (
      0 => '/home/alfacent/testfabio.alfacenter.online/vtigercrm/includes/runtime/../../layouts/v7/modules/Settings/ExtensionStore/Detail.tpl',
      1 => 1602587794,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '715874075fd0a31d525741-83900044',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ERROR' => 0,
    'EXTENSION_ID' => 0,
    'EXTENSION_DETAIL' => 0,
    'MODULE_ACTION' => 0,
    'QUALIFIED_MODULE' => 0,
    'AUTHOR_INFO' => 0,
    'ON_RATINGS' => 0,
    'MODULE' => 0,
    'REGISTRATION_STATUS' => 0,
    'PASSWORD_STATUS' => 0,
    'IS_PRO' => 0,
    'CUSTOMER_PROFILE' => 0,
    'EXTENSION_MODULE_MODEL' => 0,
    'LAUNCH_URL' => 0,
    'SCREEN_SHOTS' => 0,
    'SCREEN_SHOT' => 0,
    'CUSTOMER_REVIEWS' => 0,
    'CUSTOMER_REVIEW' => 0,
    'CUSTOMER_INFO' => 0,
    'REVIEW_CREATED_TIME' => 0,
    'ERROR_MESSAGE' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_5fd0a31d5fc9c',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5fd0a31d5fc9c')) {function content_5fd0a31d5fc9c($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_replace')) include '/home/alfacent/testfabio.alfacenter.online/vtigercrm/libraries/Smarty/libs/plugins/modifier.replace.php';
?>
<div class="col-lg-12 col-sm-12 content-area detailViewInfo extensionDetails extensionWidgetContainer" style='margin-top:0px;'><?php if (!($_smarty_tpl->tpl_vars['ERROR']->value)){?><input type="hidden" name="mode" value="<?php echo $_REQUEST['mode'];?>
" /><input type="hidden" name="extensionId" value="<?php echo $_smarty_tpl->tpl_vars['EXTENSION_ID']->value;?>
" /><input type="hidden" name="targetModule" value="<?php echo $_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('name');?>
" /><input type="hidden" name="moduleAction" value="<?php echo $_smarty_tpl->tpl_vars['MODULE_ACTION']->value;?>
" /><div class="row contentHeader extension_header" style="margin-bottom: 10px;"><div class="col-sm-6 col-xs-6" style="margin-bottom: 5px;"><div style="margin-bottom: 5px;"><span class="font-x-x-large"><?php echo $_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('name');?>
</span>&nbsp;<span class="muted"><?php echo vtranslate('LBL_BY',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
&nbsp;<?php echo $_smarty_tpl->tpl_vars['AUTHOR_INFO']->value['firstname'];?>
&nbsp;<?php echo $_smarty_tpl->tpl_vars['AUTHOR_INFO']->value['lastname'];?>
</span></div><?php $_smarty_tpl->tpl_vars['ON_RATINGS'] = new Smarty_variable($_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('avgrating'), null, 0);?><div><span data-score="<?php echo $_smarty_tpl->tpl_vars['ON_RATINGS']->value;?>
" class="rating " data-readonly="true"></span><span class=""><?php if ($_smarty_tpl->tpl_vars['ON_RATINGS']->value){?>(<?php echo $_smarty_tpl->tpl_vars['ON_RATINGS']->value;?>
 <?php echo vtranslate('LBL_RATINGS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
)<?php }?></span></div></div><div class="col-sm-6 col-xs-6"><div class="pull-right extensionDetailActions"><span style="margin: 5px;"><a class="btn btn-default" id="declineExtension"><i class="fa fa-chevron-left"></i> <?php echo vtranslate('LBL_BACK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a>&nbsp;</span><span style="margin: 5px"><?php if (($_smarty_tpl->tpl_vars['MODULE_ACTION']->value=='Installed')){?><button class="btn btn-danger <?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?>authenticated <?php }else{ ?> loginRequired<?php }?>" type="button" style="margin-right: 6px;" id="uninstallModule"><strong><?php echo vtranslate('LBL_UNINSTALL',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</strong></button><?php }else{ ?><?php if ($_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('isprotected')&&$_smarty_tpl->tpl_vars['IS_PRO']->value&&($_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('price')>0)){?><button class="btn btn-info <?php if ((!$_smarty_tpl->tpl_vars['CUSTOMER_PROFILE']->value['CustomerCardId'])){?> setUpCard<?php }?><?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?> authenticated <?php }else{ ?> loginRequired<?php }?>" type="button" id="installExtension"><strong><?php echo vtranslate('LBL_BUY',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
$<?php echo $_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('price');?>
</strong></button><?php }elseif((!$_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('isprotected'))&&($_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('price')>0)){?><button class="btn btn-info <?php if ((!$_smarty_tpl->tpl_vars['CUSTOMER_PROFILE']->value['CustomerCardId'])){?> setUpCard<?php }?><?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?> authenticated <?php }else{ ?> loginRequired<?php }?>" type="button" id="installExtension"><strong><?php echo vtranslate('LBL_BUY',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
$<?php echo $_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('price');?>
</strong></button><?php }elseif(!$_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('isprotected')&&(($_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('price')==0)||($_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('price')=='Free'))){?><button class="btn btn-success <?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?>authenticated <?php }else{ ?> loginRequired<?php }?>" type="button" id="installExtension"><strong><?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE_ACTION']->value,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</strong></button><?php }elseif($_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('isprotected')&&$_smarty_tpl->tpl_vars['IS_PRO']->value&&(($_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('price')==0)||($_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('price')=='Free'))){?><button class="btn btn-success <?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?>authenticated <?php }else{ ?> loginRequired<?php }?>" type="button" id="installExtension"><strong><?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE_ACTION']->value,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</strong></button><?php }?><?php }?></span><span style="margin: 5px;"><?php if ($_smarty_tpl->tpl_vars['MODULE_ACTION']->value=='Installed'){?><?php $_smarty_tpl->tpl_vars['LAUNCH_URL'] = new Smarty_variable($_smarty_tpl->tpl_vars['EXTENSION_MODULE_MODEL']->value->getExtensionLaunchUrl(), null, 0);?><?php }?><button class="btn btn-info <?php if ($_smarty_tpl->tpl_vars['MODULE_ACTION']->value=='Installed'){?><?php if ($_smarty_tpl->tpl_vars['EXTENSION_MODULE_MODEL']->value->get('extnType')=='language'){?>hide<?php }?><?php }else{ ?>hide<?php }?>" type="button" id="launchExtension" onclick="location.href='<?php echo $_smarty_tpl->tpl_vars['LAUNCH_URL']->value;?>
'"><strong><?php echo vtranslate('LBL_LAUNCH',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</strong></button></span></div><div class="clearfix"></div></div></div><div class="tabbable-panel"><div class="tabbable-line margin0px" style="padding-bottom: 20px;"><ul id="extensionTab" class="nav nav-tabs" style="margin-bottom: 0px; padding-bottom: 0px;text-align: left;"><li class="active"><a href="#description" data-toggle="tab"><strong><?php echo vtranslate('LBL_DESCRIPTION',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</strong></a></li><li class="divider-vertical"></li><li><a href="#CustomerReviews" data-toggle="tab"><strong><?php echo vtranslate('LBL_CUSTOMER_REVIEWS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</strong></a></li><li class="divider-vertical"></li><li><a href="#Author" data-toggle="tab"><strong><?php echo vtranslate('LBL_PUBLISHER',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</strong></a></li></ul><div class="tab-content boxSizingBorderBox" style="background-color: #fff; padding: 20px; margin-top: 10px;"><div class="tab-pane active" id="description"><div style="width:90%;padding: 0px 5%;"><div class="row"><div class="col-sm-2 col-xs-2">&nbsp;</div><div class="col-sm-8 col-xs-8"><div id="imageSlider" class="carousel slide" data-ride="carousel"><!-- Indicators --><ol class="carousel-indicators"><?php  $_smarty_tpl->tpl_vars['SCREEN_SHOT'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['SCREEN_SHOT']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['SCREEN_SHOTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['screen']['index']=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['SCREEN_SHOT']->key => $_smarty_tpl->tpl_vars['SCREEN_SHOT']->value){
$_smarty_tpl->tpl_vars['SCREEN_SHOT']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['SCREEN_SHOT']->key;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['screen']['index']++;
?><li data-target="#imageSlider" data-slide-to="<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['screen']['index'];?>
" <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['screen']['index']==0){?>class="active" <?php }?>></li><?php } ?></ol><!-- Wrapper for slides --><div class="carousel-inner" role="listbox"><?php  $_smarty_tpl->tpl_vars['SCREEN_SHOT'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['SCREEN_SHOT']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['SCREEN_SHOTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['screen']['index']=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['SCREEN_SHOT']->key => $_smarty_tpl->tpl_vars['SCREEN_SHOT']->value){
$_smarty_tpl->tpl_vars['SCREEN_SHOT']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['SCREEN_SHOT']->key;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['screen']['index']++;
?><div class="item <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['screen']['index']==0){?> active <?php }?>"><img src="<?php echo $_smarty_tpl->tpl_vars['SCREEN_SHOT']->value->get('screenShotURL');?>
" ></div><?php } ?></div><!-- Controls --><a class="left carousel-control" href="#imageSlider" role="button" data-slide="prev"><span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span><span class="sr-only"></span></a><a class="right carousel-control" href="#imageSlider" role="button" data-slide="next"><span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span><span class="sr-only"></span></a></div></div><div class="col-sm-2 col-xs-2">&nbsp;</div></div></div><br><div class="scrollableTab" style="text-align: left;"><p><?php echo $_smarty_tpl->tpl_vars['EXTENSION_DETAIL']->value->get('description');?>
</p><p></p></div></div><div class="tab-pane" id="CustomerReviews"><div class="row boxSizingBorderBox" style="padding-bottom: 15px;"><div class="col-sm-6 col-xs-6"><div class="pull-left"><div style="font-size: 55px; line-height:50px; margin-right: 20px;"><?php echo $_smarty_tpl->tpl_vars['ON_RATINGS']->value;?>
</div></div><div class="pull-left"><span data-score="<?php echo $_smarty_tpl->tpl_vars['ON_RATINGS']->value;?>
" class="rating" data-readonly="true"></span><div>out of 5</div><div>(<?php echo count($_smarty_tpl->tpl_vars['CUSTOMER_REVIEWS']->value);?>
 Reviews)</div></div></div><?php if (($_smarty_tpl->tpl_vars['REGISTRATION_STATUS']->value)&&($_smarty_tpl->tpl_vars['PASSWORD_STATUS']->value)){?><div class="col-sm-6 col-xs-6"><div class="pull-right"><button type="button" class="writeReview margin0px pull-right <?php if ($_smarty_tpl->tpl_vars['MODULE_ACTION']->value!='Installed'){?> hide<?php }?>"><?php echo vtranslate('LBL_WRITE_A_REVIEW',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</button></div></div><?php }?></div><hr><div class="scrollableTab"><div class="customerReviewContainer" style=""><?php  $_smarty_tpl->tpl_vars['CUSTOMER_REVIEW'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['CUSTOMER_REVIEW']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['CUSTOMER_REVIEWS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['CUSTOMER_REVIEW']->key => $_smarty_tpl->tpl_vars['CUSTOMER_REVIEW']->value){
$_smarty_tpl->tpl_vars['CUSTOMER_REVIEW']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['CUSTOMER_REVIEW']->key;
?><div class="row" style="margin: 8px 0 15px;"><div class="col-sm-3 col-xs-3"><?php $_smarty_tpl->tpl_vars['ON_RATINGS'] = new Smarty_variable($_smarty_tpl->tpl_vars['CUSTOMER_REVIEW']->value['rating'], null, 0);?><div data-score="<?php echo $_smarty_tpl->tpl_vars['ON_RATINGS']->value;?>
" class="rating" data-readonly="true"></div><?php $_smarty_tpl->tpl_vars['CUSTOMER_INFO'] = new Smarty_variable($_smarty_tpl->tpl_vars['CUSTOMER_REVIEW']->value['customer'], null, 0);?><div><?php $_smarty_tpl->tpl_vars['REVIEW_CREATED_TIME'] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['CUSTOMER_REVIEW']->value['createdon'],'T',' '), null, 0);?><?php echo $_smarty_tpl->tpl_vars['CUSTOMER_INFO']->value['firstname'];?>
&nbsp;<?php echo $_smarty_tpl->tpl_vars['CUSTOMER_INFO']->value['lastname'];?>
</div><div class="muted"><?php echo substr(Vtiger_Util_Helper::formatDateTimeIntoDayString($_smarty_tpl->tpl_vars['REVIEW_CREATED_TIME']->value),4);?>
</div></div><div class="col-sm-9 col-xs-9"><?php echo $_smarty_tpl->tpl_vars['CUSTOMER_REVIEW']->value['comment'];?>
</div></div><hr><?php } ?></div></div></div><div class="tab-pane" id="Author"><div class="scrollableTab"><div class="row extension_header"><div class="col-sm-6 col-xs-6"><?php if (!empty($_smarty_tpl->tpl_vars['AUTHOR_INFO']->value['company'])){?><div class="font-x-x-large authorInfo"><?php echo $_smarty_tpl->tpl_vars['AUTHOR_INFO']->value['company'];?>
</div><?php }else{ ?><div class="font-x-x-large authorInfo"><?php echo $_smarty_tpl->tpl_vars['AUTHOR_INFO']->value['firstname'];?>
&nbsp;<?php echo $_smarty_tpl->tpl_vars['AUTHOR_INFO']->value['lastname'];?>
</div><?php }?><div class="authorInfo"><?php echo $_smarty_tpl->tpl_vars['AUTHOR_INFO']->value['phone'];?>
</div><div class="authorInfo"><?php echo $_smarty_tpl->tpl_vars['AUTHOR_INFO']->value['email'];?>
</div><div class="authorInfo"><a href="<?php echo $_smarty_tpl->tpl_vars['AUTHOR_INFO']->value['website'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['AUTHOR_INFO']->value['website'];?>
</a></div></div><div class="col-sm-6 col-xs-6"> &nbsp; </div></div></div></div></div></div></div><div class="modal-dialog customerReviewModal hide"><div class="modal-content"><div class="modal-header contentsBackground"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h3><?php echo vtranslate('LBL_CUSTOMER_REVIEW',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</h3></div><form class="form-horizontal customerReviewForm"><input type="hidden" name="extensionId" value="<?php echo $_smarty_tpl->tpl_vars['EXTENSION_ID']->value;?>
" /><div class="modal-body"><div class="form-group"><span class="control-label col-sm-2 col-xs-2"><?php echo vtranslate('LBL_REVIEW',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span><div class="controls col-sm-4 col-xs-4"><textarea class="form-control" name="customerReview" data-rule-required="true"></textarea></div></div><div class="form-group"><span class="control-label col-sm-2 col-xs-2"><?php echo vtranslate('LBL_RATE_IT',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
</span><div class="controls col-sm-4 col-xs-4"><div class="rating"></div></div></div></div><div class="modal-footer"><div class="row"><div class="col-sm-12 col-xs-12"><div class="pull-right"><div class="pull-right cancelLinkContainer" style="margin-top:0px;"><a class="cancelLink" type="reset" data-dismiss="modal"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</a></div><button class="btn btn-success" type="submit" name="saveButton"><strong><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</strong></button></div></div></div></div></form></div></div><?php }else{ ?><div class="row"><div class="col-sm-12 col-xs-12"><?php echo $_smarty_tpl->tpl_vars['ERROR_MESSAGE']->value;?>
</div></div><?php }?></div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("CardSetupModals.tpl",$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php }} ?>