<?php /* Smarty version Smarty-3.0.8, created on 2013-10-29 23:34:20
         compiled from "/home/paypax/public_html/sharj/templates/templates/callback.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1903211989527006b4740161-48869517%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '97bd98c1aee3b74f56eb935743eb31d679794f75' => 
    array (
      0 => '/home/paypax/public_html/sharj/templates/templates/callback.tpl',
      1 => 1382897705,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1903211989527006b4740161-48869517',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>

<?php $_template = new Smarty_Internal_Template('header.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('title',$_smarty_tpl->getVariable('config')->value['config_site_title']);$_template->assign('description',$_smarty_tpl->getVariable('config')->value['config_site_description']); echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
<h2>کارت(های) خریداری شده</h2>
<div class="cards">
<table width="100%">
<tr>
<td width="25%" class="top">نوع</td>
<?php if ($_smarty_tpl->getVariable('product')->value['product_first_field_title']){?>
	<td width="25%" class="top"><?php echo $_smarty_tpl->getVariable('product')->value['product_first_field_title'];?>
</td>
<?php }?>
<?php if ($_smarty_tpl->getVariable('product')->value['product_second_field_title']){?>
	<td width="25%" class="top"><?php echo $_smarty_tpl->getVariable('product')->value['product_second_field_title'];?>
</td>
<?php }?>
<?php if ($_smarty_tpl->getVariable('product')->value['product_third_field_title']){?>
	<td width="25%" class="top"><?php echo $_smarty_tpl->getVariable('product')->value['product_third_field_title'];?>
</td>
<?php }?>
</tr>
<?php  $_smarty_tpl->tpl_vars['card'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('cards')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['card']->key => $_smarty_tpl->tpl_vars['card']->value){
?>
<tr>
	<td><?php echo $_smarty_tpl->getVariable('product')->value['product_title'];?>
</td>
	<?php if ($_smarty_tpl->getVariable('product')->value['product_first_field_title']){?>
		<td align="center"><?php echo nl2br($_smarty_tpl->tpl_vars['card']->value['card_first_field']);?>
</td>
	<?php }?>
	<?php if ($_smarty_tpl->getVariable('product')->value['product_second_field_title']){?>
		<td align="center"><?php echo nl2br($_smarty_tpl->tpl_vars['card']->value['card_second_field']);?>
</td>
	<?php }?>
	<?php if ($_smarty_tpl->getVariable('product')->value['product_third_field_title']){?>
		<td align="center"><?php echo nl2br($_smarty_tpl->tpl_vars['card']->value['card_third_field']);?>
</td>
	<?php }?>
</tr>
<?php }} ?>
</table>
<div class="box">
<div style="color:#063;">پرداخت با موفقیت انجام شد.</div>
<center><?php if ($_smarty_tpl->getVariable('output')->value['res_num']){?>شناسه پرداخت۱: <b><?php echo $_smarty_tpl->getVariable('output')->value['res_num'];?>
</b><br /><?php }?><?php if ($_smarty_tpl->getVariable('output')->value['ref_num']){?>شناسه پرداخت۲: <b><?php echo $_smarty_tpl->getVariable('output')->value['ref_num'];?>
</b><?php }?></center>
<?php echo nl2br($_smarty_tpl->getVariable('product')->value['product_body']);?>

</div>
</div>
     <div class="cleaner"></div>
<?php $_template = new Smarty_Internal_Template('footer.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>