<?php
/* Smarty version 3.1.29, created on 2019-05-21 14:51:43
  from "D:\DEV\wamp\www\tunevoyage\application\views\frontend\embed_link.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5ce3e64f51dc03_99579833',
  'file_dependency' => 
  array (
    '40cfebeefb78af4e1cc885e788ed91c97f233c59' => 
    array (
      0 => 'D:\\DEV\\wamp\\www\\tunevoyage\\application\\views\\frontend\\embed_link.tpl',
      1 => 1558439457,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5ce3e64f51dc03_99579833 ($_smarty_tpl) {
?>
<html>
  	<head>
  		<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, $_smarty_tpl->tpl_vars['sections']->value['css'], $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>

  	</head>
	<body>
		<div class="row">
			<div class="col-md-12 smart-link-container"> 

				<ul class="list-group text-muted upper text-left smartlink-links">
					<?php
$_from = $_smarty_tpl->tpl_vars['stores']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_store_0_saved_item = isset($_smarty_tpl->tpl_vars['store']) ? $_smarty_tpl->tpl_vars['store'] : false;
$_smarty_tpl->tpl_vars['store'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['store']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['store']->value) {
$_smarty_tpl->tpl_vars['store']->_loop = true;
$__foreach_store_0_saved_local_item = $_smarty_tpl->tpl_vars['store'];
?>
								
						<?php $_smarty_tpl->tpl_vars['store_link'] = new Smarty_Variable($_smarty_tpl->tpl_vars['gate_m']->value->getUrl($_smarty_tpl->tpl_vars['gate']->value->id,$_smarty_tpl->tpl_vars['store']->value->id), null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'store_link', 0);?>

						<?php if (strlen($_smarty_tpl->tpl_vars['store_link']->value) > 0) {?>
							<li class="list-group-item">
								
								<a target="_top" href="<?php echo site_url();?>
click/link/<?php echo $_smarty_tpl->tpl_vars['store']->value->id;?>
/<?php echo $_smarty_tpl->tpl_vars['gate']->value->id;?>
">
									<div class="smartlinks-store-logo">
										<img style="height: 42px;" src="<?php echo $_smarty_tpl->tpl_vars['supplement_m']->value->showPic($_smarty_tpl->tpl_vars['store_m']->value->logo($_smarty_tpl->tpl_vars['store']->value->id));?>
" />
									</div>
								</a>
								<div class="btn-smartlink">
									<a target="_top" href="<?php echo site_url();?>
click/link/<?php echo $_smarty_tpl->tpl_vars['store']->value->id;?>
/<?php echo $_smarty_tpl->tpl_vars['gate']->value->id;?>
" class="btn btn-default"><?php echo $_smarty_tpl->tpl_vars['store']->value->button_text;?>
</a>
								</div>

								
							</li>
						<?php }?>

					<?php
$_smarty_tpl->tpl_vars['store'] = $__foreach_store_0_saved_local_item;
}
if ($__foreach_store_0_saved_item) {
$_smarty_tpl->tpl_vars['store'] = $__foreach_store_0_saved_item;
}
?>

				</ul>

				<div class="row">
		            <div class="col-md-12 small">
		                By using this service you agree to our <a target="_top" href="<?php echo site_url();?>
gate/privacy" target="_blank">terms</a>.
		            </div>
		        </div>

			</div>
		</div>
	</body>
</html>

<style type="text/css">
	
		<!-- BODY {background: none transparent; }-->
	
</style><?php }
}
