<?php

include('../core.php');
include('../includes/session.php');

$id = FilterText($_POST['optionNumber']);
$row = mysql_fetch_assoc(mysql_query("SELECT * FROM cms_marktplatz WHERE id = '".$id."' LIMIT 1"));

?>

<div id="hc_confirm_box">

    <img src="<?php echo $cimagesurl.$badgesurl.$row['image'].".gif"; ?>" alt="" align="right" style="margin:10px;" />

<p>Stai per comprare questo distintivo. Ottimo!</p>
<p>Placa: <b><?php echo $row['image']; ?></b></p>
<p>Prezzo: <b><?php echo $row['vip_points']; Bolts ?> </b></p>
<p>Tu hai: <b><?php echo $myrow['vip_points']; Bolts?> </b></p>
<p>
<a href="#" class="new-button" onclick="habboclub.closeSubscriptionWindow(); return false;">
<b>Cancella</b><i></i></a>
<a href="#" ondblclick="habboclub.showSubscriptionResultWindow(<?php echo $id; ?>,'Distintivo comprato'); return false;" onclick="habboclub.showSubscriptionResultWindow(<?php echo $id; ?>,'Compra Distintivo'); return false;" class="new-button">
<b>Compra</b><i></i></a>
</p>

</div>

<div class="clear"></div>