<?php /* Smarty version Smarty-3.1.8, created on 2012-05-15 14:20:25
         compiled from "./templates/paiement.tpl" */ ?>
<?php /*%%SmartyHeaderCode:15742553054fb24a09067d24-88319138%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8c3ca85dbfc4d3023caa5ae23243f5967edbb090' => 
    array (
      0 => './templates/paiement.tpl',
      1 => 1337024032,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15742553054fb24a09067d24-88319138',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'config' => 0,
    'MethodPrice' => 0,
    'user' => 0,
    'allopass' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4fb24a09107c15_81432065',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fb24a09107c15_81432065')) {function content_4fb24a09107c15_81432065($_smarty_tpl) {?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title><?php echo $_smarty_tpl->tpl_vars['config']->value->name;?>
</title>
<script src="<?php echo $_smarty_tpl->tpl_vars['config']->value->url_site;?>
/web-gallery/js/visual.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['config']->value->url_site;?>
/web-gallery/styles/cbs2creditsflow.css" type="text/css" />




<!--[if IE 8]>
<link rel="stylesheet" href="/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/972/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/972/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/972/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/972/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>

<style type="text/css">
body { behavior: url(/js/csshover.htc); }
</style>
<![endif]-->
<meta name="build" content="HabboPHP 1.0" />
</head>

<body id="home" class=" " style="background:#FDF6EC;">

    <div id="container">
        <div id="payment-details-container">
    
    <div id="payment-details-header">
        <div class="rounded"><h1><?php echo $_smarty_tpl->getConfigVariable('ConfirmBuyCredits');?>
 <?php echo $_smarty_tpl->tpl_vars['config']->value->moneyname;?>
</h1></div>
    </div>


   
        
               
        <div id="payment-details">
            <h2><?php echo $_smarty_tpl->getConfigVariable('DetailsBuy');?>
</h2>
                        
            <table>
                <colgroup>
                    <col class="product"/>
                    <col class="price"/>
                    <col class="user"/>
                </colgroup>
                <thead>
                    <tr>
                        <th class="credit-amount"><?php echo $_smarty_tpl->getConfigVariable('Product');?>
</th>
                        <th class="price"><?php echo $_smarty_tpl->getConfigVariable('Amount');?>
</th>
                        <th class="username"><?php echo $_smarty_tpl->getConfigVariable('ForTheAccount');?>
</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="credit-amount">
                            <span class="credit-amount"><?php echo $_smarty_tpl->tpl_vars['MethodPrice']->value['amout'];?>
</span>
                            <span class="credit-amount-x"></span>
                            <span class="credit-amount-coin"></span>
                        </td>
                        <td class="price">
                                <?php echo $_smarty_tpl->tpl_vars['MethodPrice']->value['price'];?>

                        </td>
                        <td class="username"><?php echo $_smarty_tpl->tpl_vars['user']->value->username;?>
</td>
                    </tr>
                </tbody>
            </table>


            
		    
		   
            <div id="payment-methods" class="hide-methods">
          
                
<?php if ($_smarty_tpl->tpl_vars['MethodPrice']->value['type']=='starpass'){?>             
<div id="starpass_<?php echo $_smarty_tpl->tpl_vars['config']->value->starpassacc;?>
"></div>
<script type="text/javascript" src="http://script.starpass.fr/script.php?idd=<?php echo $_smarty_tpl->tpl_vars['config']->value->starpassacc;?>
&amp;verif_en_php=1&amp;datas=<?php echo $_smarty_tpl->tpl_vars['user']->value->id;?>
">
</script>
<noscript>Veuillez activer le Javascript de votre navigateur s'il vous pla&icir;t.<br />
<a href="http://www.starpass.fr/">Micro Paiement StarPass</a>
</noscript>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['MethodPrice']->value['type']=='allopass'){?>
<iframe width="550" height="480" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="https://payment.allopass.com/buy/buy.apu?ids=<?php echo $_smarty_tpl->tpl_vars['allopass']->value[0];?>
&idd=<?php echo $_smarty_tpl->tpl_vars['allopass']->value[1];?>
&data=<?php echo $_smarty_tpl->tpl_vars['user']->value->id;?>
"></iframe>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['MethodPrice']->value['type']=='paypal'){?>  

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!--
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
-->
     <input type="hidden" name="cmd" value="_xclick">           
     <input type="hidden" name="business" value="canada_1304194571_biz@gmail.com">  
     <input type="hidden" name="item_name" value="<?php echo $_smarty_tpl->tpl_vars['config']->value->moneyname;?>
">   
     <input type="hidden" name="item_number" value="1">  
     <input type="hidden" name="amount" value="<?php echo $_smarty_tpl->tpl_vars['MethodPrice']->value['price'];?>
">  
     <input type="hidden" name="tax" value="0">  
     <input type="hidden" name="quantity" value="1">    
     <input type="hidden" name="no_note" value="1">    
     <input type="hidden" name="currency_code" value="EUR">  
     <!-- Enable override of payer’s stored PayPal address. -->  
	<input name="return" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['config']->value->url_site;?>
/paiement/Paypal_paiementValide.php" /> <!-- URL de VALIDATION -->
	<input name="cancel_return" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['config']->value->url_site;?>
/shop.php?error" /> <!-- URL DE RETOUR -->
	<input name="notify_url" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['config']->value->url_site;?>
/shop.php?error" /> <!-- Sera appelée par l'IPN: name="notify_url" -->
     <!-- Set prepopulation variables to override stored address. -->  
     <input type="hidden" name="country" value="FR">  
	 <input name="no_note" type="hidden" value="1" />
	 <input name="custom" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['user']->value->id;?>
" />
	<input name="bn" type="hidden" value="PP-BuyNowBF" />
	<INPUT TYPE="hidden" name="charset" value="utf-8">
   <center><input type="image" src="images/paypal.png" onmouseover="this.src='images/paypalh.png';" style="border:0" border="0" onmouseout="this.src='images/paypal.png';" /></center>
  </form> 
<p style="color:red">Il faut impérativement cliquer sur "Retour sur.." pour valider votre achat.</p>
<?php }?>

            </div>

           
            <div style="color:black; font-size: 8pt;">
                <a href="<?php echo $_smarty_tpl->tpl_vars['config']->value->url_site;?>
/shop.php"> <span><?php echo $_smarty_tpl->getConfigVariable('Return');?>
</span></a>
            </div>
        </div>
        
    </form>

    

</div>



   </div>

<script type="text/javascript">Rounder.init();</script>
</body>
</html><?php }} ?>