<?php /* Smarty version Smarty-3.1.8, created on 2019-11-25 12:04:14
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/frontend/mini/SpecialofferDetails.tpl" */ ?>
<?php /*%%SmartyHeaderCode:631389765db9785758d038-75860327%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4d0b0117e47299e86300f5dd2ceced6550717318' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/frontend/mini/SpecialofferDetails.tpl',
      1 => 1574165223,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '631389765db9785758d038-75860327',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5db978576545e0_86032196',
  'variables' => 
  array (
    'SelCurrLanguage' => 0,
    'languageDirection' => 0,
    'resOfferDetails' => 0,
    'commonMetaTitle' => 0,
    'commonMetaDescription' => 0,
    'commonMetaKeywords' => 0,
    'language' => 0,
    'view_styles' => 0,
    'view_public_path' => 0,
    'listShowrooms' => 0,
    'resCountry' => 0,
    'findusArr' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5db978576545e0_86032196')) {function content_5db978576545e0_86032196($_smarty_tpl) {?><!DOCTYPE html>
<html lang="<?php echo $_smarty_tpl->tpl_vars['SelCurrLanguage']->value;?>
" dir="<?php echo $_smarty_tpl->tpl_vars['languageDirection']->value;?>
">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title><?php if ((($tmp = @$_smarty_tpl->tpl_vars['resOfferDetails']->value['offerMetaTitle'])===null||$tmp==='' ? '' : $tmp)!=''){?><?php echo $_smarty_tpl->tpl_vars['resOfferDetails']->value['offerMetaTitle'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['commonMetaTitle']->value;?>
<?php }?></title>
    <meta name="Description" content="<?php if ((($tmp = @$_smarty_tpl->tpl_vars['resOfferDetails']->value['offerMetaDescription'])===null||$tmp==='' ? '' : $tmp)!=''){?><?php echo htmlspecialchars(htmlspecialchars_decode($_smarty_tpl->tpl_vars['resOfferDetails']->value['offerMetaDescription'], ENT_QUOTES), ENT_QUOTES, 'UTF-8', true);?>
<?php }else{ ?><?php echo htmlspecialchars(htmlspecialchars_decode($_smarty_tpl->tpl_vars['commonMetaDescription']->value, ENT_QUOTES), ENT_QUOTES, 'UTF-8', true);?>
<?php }?>" />
    <meta name="viewport" content="width=device-width">   
    <meta name="Keywords" content="<?php if ((($tmp = @$_smarty_tpl->tpl_vars['resOfferDetails']->value['offerMetaKeywords'])===null||$tmp==='' ? '' : $tmp)!=''){?><?php echo htmlspecialchars(htmlspecialchars_decode($_smarty_tpl->tpl_vars['resOfferDetails']->value['offerMetaKeywords'], ENT_QUOTES), ENT_QUOTES, 'UTF-8', true);?>
<?php }else{ ?><?php echo htmlspecialchars(htmlspecialchars_decode($_smarty_tpl->tpl_vars['commonMetaKeywords']->value, ENT_QUOTES), ENT_QUOTES, 'UTF-8', true);?>
<?php }?>" />
    <title><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSpecialOffer'];?>
</title>
    <meta name="viewport" content="width=device-width"> 
    <link href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/cms.css" rel="stylesheet" type="text/css" media="screen" />
    <?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScript.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
    <?php echo $_smarty_tpl->getSubTemplate ('CommonStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->rootpath_script(array(),$_smarty_tpl);?>
 
    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->basepath_script(array(),$_smarty_tpl);?>


</head>

<body ng-controller="SearchCtrl" class="<?php echo $_smarty_tpl->tpl_vars['languageDirection']->value;?>
">
    <!-- Begin : Outer Pane -->
    <div id="main">
        <!-- Begin : Header Pane-->
        <?php echo $_smarty_tpl->getSubTemplate ('CommonTop.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

        <!-- End : Header -->
        <!-- Begin : Content Pane -->
        <div id="content-wrapper" ng-show="!query">
            <nav class="breadcrumb-block" aria-label="breadcrumb">
                <div class="container">
                    <ol class="breadcrumb font-weight-bold font-small mb-0 px-0 py-3">
                        <li class="breadcrumb-item"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblHome'])),$_smarty_tpl);?>
</li>
                        <li class="breadcrumb-item font-weight-bold"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/shopping-tools/special-offers.html",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblSpecialOffers'])),$_smarty_tpl);?>
</li>
                        <li class="breadcrumb-item active font-weight-bold"><?php echo $_smarty_tpl->tpl_vars['resOfferDetails']->value['offerTitle'];?>
</li>
                    </ol>
                </div>
            </nav>
            <div class="special-offers-detail py-5 text-left">
                <div class="container">
                    <div id="common_message"></div>
                    <div class="figure w-100">
                        <img src="<?php echo $_smarty_tpl->tpl_vars['view_public_path']->value;?>
/uploads/offer/<?php echo $_smarty_tpl->tpl_vars['resOfferDetails']->value['offerImage'];?>
" class="img-fluid w-100" alt="<?php echo $_smarty_tpl->tpl_vars['resOfferDetails']->value['offerTitle'];?>
">
                    </div>
                    <div class="figcaption">
                        <div class="row py-2">
                            <div class="col-lg-7 col-12">
                                <h4 class="font-weight-bold text-uppercase my-4"><?php echo $_smarty_tpl->tpl_vars['resOfferDetails']->value['offerTitle'];?>
</h4>
                                <?php if ((($tmp = @$_smarty_tpl->tpl_vars['resOfferDetails']->value['offerSubTitle'])===null||$tmp==='' ? '' : $tmp)!=''){?><span><?php echo $_smarty_tpl->tpl_vars['resOfferDetails']->value['offerSubTitle'];?>
</span><?php }?>
                                <?php if ((($tmp = @$_smarty_tpl->tpl_vars['resOfferDetails']->value['offerSubDescription'])===null||$tmp==='' ? '' : $tmp)!=''){?><p><?php echo htmlspecialchars_decode($_smarty_tpl->tpl_vars['resOfferDetails']->value['offerSubDescription'], ENT_QUOTES);?>
</p><?php }?>
                                <p><?php echo htmlspecialchars_decode($_smarty_tpl->tpl_vars['resOfferDetails']->value['offerDescription'], ENT_QUOTES);?>
</p>
                                
                            </div>
                            <div class="col-lg-5 col-md-7 col-12">
                                <h5 class="font-weight-bold text-secondary my-4"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblContactInformation'];?>
</h5>
                                <div class="offer-contact-form font-normal text-left">
                                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formOffer",'action'=>'','method'=>"post"),$_smarty_tpl);?>

                                    <div class="form-group">
                                        <label class="font-normal font-weight-bold mb-1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblYourChosenDealership'];?>
<sup class="font-xsmall">*</sup></label>
                                        
                                        
                                        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"showroomID",'tabindex'=>"1",'class'=>"form-control",'caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelect']),'options'=>$_smarty_tpl->tpl_vars['listShowrooms']->value,'validate'=>"required",'error'=>($_smarty_tpl->tpl_vars['language']->value['errShowroom'])),$_smarty_tpl);?>

                                    </div>
                                    <div class="form-group">
                                        <label class="font-small font-weight-bold mb-1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblName'];?>
<sup class="font-xsmall">*</sup></label>
                                        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"name",'class'=>"form-control",'maxlength'=>"50",'validate'=>"required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errName'],'tabindex'=>"2"),$_smarty_tpl);?>

                                    </div>
                                    <div class="form-group">
                                        <label class="font-normal font-weight-bold mb-1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPhoneNumber'];?>
<sup class="font-xsmall">*</sup></label>
                                        <div class="row"><div class="col-4 col-lg-3 pr-0">
                                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('id'=>"countrycode",'name'=>"countrycode",'class'=>"form-control  primary text-secondary",'options'=>$_smarty_tpl->tpl_vars['resCountry']->value),$_smarty_tpl);?>

                                </div>
                            <div class="col-8 col-lg-9">
                                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"phone",'class'=>"form-control",'tabindex'=>"3",'maxlength'=>'10','validate'=>"required~*isNumber",'error'=>(($_smarty_tpl->tpl_vars['language']->value['errPhone']).("~*")).($_smarty_tpl->tpl_vars['language']->value['errValidPhone'])),$_smarty_tpl);?>

                                    </div>
									<span class="sub-text col-12 font-weight-light text-muted mt-2"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPhoneSubText'];?>
</span>
									</div>
                                    </div>
                                    <div class="form-group">
                                        <label class="font-normal font-weight-bold mb-1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEmailAddress'];?>
<sup class="font-xsmall">*</sup></label>
                                        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('autocomplete'=>"off",'name'=>"emailID",'class'=>"form-control",'tabindex'=>"4",'maxlength'=>"50",'validate'=>"required~*email",'error'=>(($_smarty_tpl->tpl_vars['language']->value['errEmail']).("~*")).($_smarty_tpl->tpl_vars['language']->value['errEnterValidEmailID'])),$_smarty_tpl);?>

                                    </div>
                                    <div class="form-group">
                                        <label class="font-normal font-weight-bold mb-1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblWhereDidYouFindUs'];?>
<sup class="font-xsmall">*</sup></label>
                                        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"findus",'tabindex'=>"5",'class'=>"form-control",'caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelect']),'options'=>$_smarty_tpl->tpl_vars['findusArr']->value,'validate'=>"required",'error'=>($_smarty_tpl->tpl_vars['language']->value['errOption'])),$_smarty_tpl);?>

                                       
                                    </div>
                                    <div class="form-group">
                                        <span class="d-inline-block font-normal font-weight-bold mb-3"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblNotesDataProtection'];?>
</span>
                                       <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('id'=>"agree",'name'=>"agree",'value'=>"1"),$_smarty_tpl);?>

                                <label for="agree" class="font-weight-normal"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDataProtectionText'];?>
</label>
                                 <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate(array('name'=>"validateAgree",'validate'=>"agree->required",'error'=>$_smarty_tpl->tpl_vars['language']->value['errAgreement']),$_smarty_tpl);?>

                                      
                                    </div>
                                    <div>
                                        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitForm",'class'=>"btn btn-primary font-small font-weight-bold px-5",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblSubmit'])),$_smarty_tpl);?>
 
                                        <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSubmit'];?>
<?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitFormLoader",'class'=>"btn btn-primary font-small font-weight-bold px-5 disabled hide",'value'=>$_tmp1),$_smarty_tpl);?>
 
                                    </div>
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>
 
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- End : Content Pane -->
        <!-- Begin : Footer	Pane -->
        <?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

        <!-- End : Footer Pane -->
    </div>
    <!-- End : Outer Pane -->
    <?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
    
    
    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate_script(array('form'=>"formOffer"),$_smarty_tpl);?>

    <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>

    <script language="javascript">
    $(document).on('submit','#formOffer',function() 
	{
                
		if($(".message_validation :visible").length>0)
		{
                    return false;
		}
		else
		{
			$("#submitForm").addClass('hide');
                        $("#submitFormLoader").removeClass('hide');
			
		}
	}
	);
    </script>
</body>

</html>
<?php }} ?>