Server IP : 213.176.29.180  /  Your IP : 3.145.92.96
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 8.3.14
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home/webtaragh/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/36131816f61259309d01726b6d07d4783e0ea91a_0.file.products.tpl.php.tar
public_html/whmcs/templates_c/36131816f61259309d01726b6d07d4783e0ea91a_0.file.products.tpl.php000064400000037755147361202360026633 0ustar00home/webtaragh<?php
/* Smarty version 3.1.36, created on 2024-10-24 10:53:32
  from '/home/webtaragh/public_html/mamad/templates/orderforms/supreme_comparison/products.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.36',
  'unifunc' => 'content_671a272cedabe3_90881073',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '36131816f61259309d01726b6d07d4783e0ea91a' => 
    array (
      0 => '/home/webtaragh/public_html/mamad/templates/orderforms/supreme_comparison/products.tpl',
      1 => 1695537215,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:orderforms/standard_cart/sidebar-categories.tpl' => 1,
    'file:orderforms/supreme_comparison/recommendations-modal.tpl' => 1,
  ),
),false)) {
function content_671a272cedabe3_90881073 (Smarty_Internal_Template $_smarty_tpl) {
?><!-- Product Recommendations CSS -->
<link type="text/css" rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_CSS']->value;?>
/recommendations.min.css" property="stylesheet" />
<!-- Core CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['assetPath'][0], array( array('file'=>"style.css"),$_smarty_tpl ) );?>
" property="stylesheet" />
<?php echo '<script'; ?>
>
    jQuery(document).ready(function () {
        jQuery('#btnShowSidebar').click(function () {
            if (jQuery(".product-selection-sidebar").is(":visible")) {
                jQuery('.row-product-selection').css('left','0');
                jQuery('.product-selection-sidebar').fadeOut();
                jQuery('#btnShowSidebar').html('<i class="fas fa-arrow-circle-right"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['showMenu'];?>
');
            } else {
                jQuery('.product-selection-sidebar').fadeIn();
                jQuery('.row-product-selection').css('left','300px');
                jQuery('#btnShowSidebar').html('<i class="fas fa-arrow-circle-left"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['hideMenu'];?>
');
            }
        });
    });
<?php echo '</script'; ?>
>

<?php if ($_smarty_tpl->tpl_vars['showSidebarToggle']->value) {?>
    <button type="button" class="btn btn-default btn-sm" id="btnShowSidebar">
        <i class="fas fa-arrow-circle-right"></i>
        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['showMenu'];?>

    </button>
<?php }?>
<div class="row row-product-selection">
    <div class="col-md-3 sidebar product-selection-sidebar" id="supremeComparisonSidebar">
        <?php $_smarty_tpl->_subTemplateRender("file:orderforms/standard_cart/sidebar-categories.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
    </div>
    <div class="col-md-12">
        <div id="order-supreme_comparison">
            <div class="product-group-heading">
                <div class="product-group-headline">
                    <?php if ($_smarty_tpl->tpl_vars['productGroup']->value['headline']) {?>
                        <?php echo $_smarty_tpl->tpl_vars['productGroup']->value['headline'];?>

                    <?php } else { ?>
                        <?php echo $_smarty_tpl->tpl_vars['productGroup']->value['name'];?>

                    <?php }?>
                </div>
                <?php if ($_smarty_tpl->tpl_vars['productGroup']->value['tagline']) {?>
                    <div class="product-group-tagline">
                        <?php echo $_smarty_tpl->tpl_vars['productGroup']->value['tagline'];?>

                    </div>
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['errormessage']->value) {?>
                    <div class="alert alert-danger">
                        <?php echo $_smarty_tpl->tpl_vars['errormessage']->value;?>

                    </div>
                <?php } elseif (!$_smarty_tpl->tpl_vars['productGroup']->value) {?>
                    <div class="alert alert-info">
                        <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'orderForm.selectCategory'),$_smarty_tpl ) );?>

                    </div>
                <?php }?>
            </div>
            <div id="products" class="price-table-container">
                <ul>
                    <?php $_smarty_tpl->_assignInScope('count', 1);?>
                    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['products']->value, 'product');
$_smarty_tpl->tpl_vars['product']->iteration = 0;
$_smarty_tpl->tpl_vars['product']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['product']->value) {
$_smarty_tpl->tpl_vars['product']->do_else = false;
$_smarty_tpl->tpl_vars['product']->iteration++;
$__foreach_product_0_saved = $_smarty_tpl->tpl_vars['product'];
?>
                        <?php $_smarty_tpl->_assignInScope('idPrefix', $_smarty_tpl->tpl_vars['product']->value['bid'] ? (("bundle").($_smarty_tpl->tpl_vars['product']->value['bid'])) : (("product").($_smarty_tpl->tpl_vars['product']->value['pid'])));?>
                        <li id="<?php echo $_smarty_tpl->tpl_vars['idPrefix']->value;?>
">
                            <div class="price-table">
                                <div class="product-icon">
                                    <img src="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['assetPath'][0], array( array('ns'=>"img",'file'=>"bg".((string)$_smarty_tpl->tpl_vars['count']->value).".png"),$_smarty_tpl ) );?>
" width="155" height="95" alt="Product <?php echo $_smarty_tpl->tpl_vars['product']->iteration;?>
" />
                                </div>
                                <div class="product-title">
                                    <h3 id="<?php echo $_smarty_tpl->tpl_vars['idPrefix']->value;?>
-name" class="font-size-24">
                                        <?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>

                                    </h3>
                                    <?php if ($_smarty_tpl->tpl_vars['product']->value['tagLine']) {?>
                                        <p id="<?php echo $_smarty_tpl->tpl_vars['idPrefix']->value;?>
-tag-line">
                                            <?php echo $_smarty_tpl->tpl_vars['product']->value['tagLine'];?>

                                        </p>
                                    <?php }?>
                                </div>
                                <?php if ($_smarty_tpl->tpl_vars['product']->value['isFeatured']) {?>
                                    <div class="featured-product-background">
                                        <span class="featured-product"><?php echo mb_strtoupper($_smarty_tpl->tpl_vars['LANG']->value['featuredProduct'], 'UTF-8');?>
</span>
                                    </div>
                                <?php }?>
                                <div class="product-body">
                                    <ul id="<?php echo $_smarty_tpl->tpl_vars['idPrefix']->value;?>
-description">
                                        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['product']->value['features'], 'value', false, 'feature');
$_smarty_tpl->tpl_vars['value']->iteration = 0;
$_smarty_tpl->tpl_vars['value']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['feature']->value => $_smarty_tpl->tpl_vars['value']->value) {
$_smarty_tpl->tpl_vars['value']->do_else = false;
$_smarty_tpl->tpl_vars['value']->iteration++;
$__foreach_value_1_saved = $_smarty_tpl->tpl_vars['value'];
?>
                                            <li id="<?php echo $_smarty_tpl->tpl_vars['idPrefix']->value;?>
-feature<?php echo $_smarty_tpl->tpl_vars['value']->iteration;?>
">
                                                <span><?php echo $_smarty_tpl->tpl_vars['value']->value;?>
</span> <?php echo $_smarty_tpl->tpl_vars['feature']->value;?>

                                            </li>
                                        <?php
$_smarty_tpl->tpl_vars['value'] = $__foreach_value_1_saved;
}
if ($_smarty_tpl->tpl_vars['value']->do_else) {
?>
                                            <li id="<?php echo $_smarty_tpl->tpl_vars['idPrefix']->value;?>
-description">
                                                <?php echo $_smarty_tpl->tpl_vars['product']->value['description'];?>

                                            </li>
                                        <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
                                        <?php if (!empty($_smarty_tpl->tpl_vars['product']->value['features']) && $_smarty_tpl->tpl_vars['product']->value['featuresdesc']) {?>
                                            <li id="<?php echo $_smarty_tpl->tpl_vars['idPrefix']->value;?>
-feature-description">
                                                <?php echo $_smarty_tpl->tpl_vars['product']->value['featuresdesc'];?>

                                            </li>
                                        <?php }?>
                                    </ul>
                                    <div class="price-area">
                                        <div class="price" id="<?php echo $_smarty_tpl->tpl_vars['idPrefix']->value;?>
-price">
                                            <?php if ($_smarty_tpl->tpl_vars['product']->value['bid']) {?>
                                                <?php if ($_smarty_tpl->tpl_vars['product']->value['displayprice']) {?>
                                                    <div class="price-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['bundledeal'];?>
</div>
                                                    <span><?php echo $_smarty_tpl->tpl_vars['product']->value['displayPriceSimple'];?>
</span>
                                                <?php } else { ?>
                                                    <div class="price-single-line">
                                                        <?php echo $_smarty_tpl->tpl_vars['LANG']->value['bundledeal'];?>

                                                    </div>
                                                <?php }?>
                                            <?php } elseif ($_smarty_tpl->tpl_vars['product']->value['paytype'] == "free") {?>
                                                <div class="price-single-line">
                                                    <span><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderfree'];?>
</span>
                                                </div>
                                            <?php } elseif ($_smarty_tpl->tpl_vars['product']->value['paytype'] == "onetime") {?>
                                                <div class="price-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderpaymenttermonetime'];?>
</div>
                                                <span><?php echo $_smarty_tpl->tpl_vars['product']->value['pricing']['onetime'];?>
</span>
                                            <?php } else { ?>
                                                <?php if ($_smarty_tpl->tpl_vars['product']->value['pricing']['hasconfigoptions']) {?>
                                                    <div class="price-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['startingat'];?>
</div>
                                                <?php } else { ?>
                                                    <div class="price-label"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['only'];?>
</div>
                                                <?php }?>
                                                <?php echo $_smarty_tpl->tpl_vars['product']->value['pricing']['minprice']['cycleText'];?>

                                                <br>
                                                <?php if ($_smarty_tpl->tpl_vars['product']->value['pricing']['minprice']['setupFee']) {?>
                                                    <small><?php echo $_smarty_tpl->tpl_vars['product']->value['pricing']['minprice']['setupFee']->toPrefixed();?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordersetupfee'];?>
</small>
                                                <?php }?>
                                            <?php }?>
                                        </div>
                                        <?php if ($_smarty_tpl->tpl_vars['product']->value['qty'] == "0") {?>
                                            <div id="<?php echo $_smarty_tpl->tpl_vars['idPrefix']->value;?>
-unavailable">
                                                <div class="order-unavailable">
                                                    <?php echo $_smarty_tpl->tpl_vars['LANG']->value['outofstock'];?>

                                                </div>
                                            </div>
                                        <?php } else { ?>
                                            <a href="<?php echo $_smarty_tpl->tpl_vars['product']->value['productUrl'];?>
" class="btn-order-now" id="<?php echo $_smarty_tpl->tpl_vars['idPrefix']->value;?>
-order-button"<?php if ($_smarty_tpl->tpl_vars['product']->value['hasRecommendations']) {?> data-has-recommendations="1"<?php }?>>
                                                <div class="order-now">
                                                    <?php echo $_smarty_tpl->tpl_vars['LANG']->value['ordernowbutton'];?>

                                                </div>
                                            </a>
                                        <?php }?>

                                    </div>
                                </div>
                            </div>
                        </li>
                        <?php if ($_smarty_tpl->tpl_vars['count']->value == 6) {?>
                            <?php $_smarty_tpl->_assignInScope('count', 1);?>
                        <?php } else { ?>
                            <?php $_smarty_tpl->_assignInScope('count', $_smarty_tpl->tpl_vars['count']->value+1);?>
                        <?php }?>
                    <?php
$_smarty_tpl->tpl_vars['product'] = $__foreach_product_0_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
                </ul>
            </div>
            <?php if (count($_smarty_tpl->tpl_vars['productGroup']->value['features']) > 0) {?>
                <div class="includes-features">
                    <div class="row clearfix">
                        <div class="col-md-12">
                            <div class="head-area">
                                <span class="primary-bg-color">
                                    <?php echo $_smarty_tpl->tpl_vars['LANG']->value['orderForm']['includedWithPlans'];?>

                                </span>
                            </div>
                            <ul class="list-features">
                                <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['productGroup']->value['features'], 'features');
$_smarty_tpl->tpl_vars['features']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['features']->value) {
$_smarty_tpl->tpl_vars['features']->do_else = false;
?>
                                    <li><?php echo $_smarty_tpl->tpl_vars['features']->value['feature'];?>
</li>
                                <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
                            </ul>
                        </div>
                    </div>
                </div>
            <?php }?>
        </div>
    </div>
</div>

<?php $_smarty_tpl->_subTemplateRender("file:orderforms/supreme_comparison/recommendations-modal.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_JS']->value;?>
/whmcs/recommendations.min.js"><?php echo '</script'; ?>
>
<?php }
}