Пример #1
0
        <div style="position:absolute; top:5px; right: 5px">
            <a href="" class="jqmClose medium button blue" style="text-decoration:underline">x</a>
        </div>
        <div style="position:absolute; bottom:10px; left: 10px">
            <a href="" class="jqmClose medium button blue">Chiudi</a>
        </div>
<?php 
    }
    exit;
}
//Richiesta aggiunta prod. al carrello
if (isset($_POST['add_to_cart'])) {
    //sleep(1);
    $cart = new cart($db_conn, PREV, false, 1, $_SESSION['lang']['id'], $lang['catalogo'], DIR);
    $err = $cart->listen_add();
    $prod = $cart->get_product($_POST['add_to_cart']);
    ?>
		<div class="modal fade" id="modalQuote" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  			<div class="modal-dialog" role="document">
    			<div class="modal-content">
    				<div class="modal-header">
			        	<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			        	<h4 class="modal-title" id="myModalLabel"><?php 
    echo $lang['catalogo']['title_modal_quote'];
    ?>
</h4>
			      	</div>
      				<div class="modal-body">
      					<h4><?php 
    echo sprintf($lang['catalogo']['added_to_quote'], $prod->attributes['nuovo_codice']);
    ?>