<div> <p>Version du 01 août 2011 - 14:18:20</p> <ul> <li><a id="show-all" href="#"><img src="../shared/medias/interface/icon-plus.png" alt="Développer" /><span>Tout développer</span></a></li> <li><a id="hide-all" href="#"><img src="../shared/medias/interface/icon-minus.png" alt="Réduire" /><span>Tout réduire</span></a></li> </ul> </div> <ul id="tree"> <?php echo print_list(); ?> </ul> </div> <div id="pool"> <ul id="menu"><?php update_pool_menu(); ?> </ul> <ul id="content"></ul> </div> </div> <!-- jQuery 1.5.0. Fall back to local if necessary --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> <script>!window.jQuery && document.write(unescape('%3Cscript src="scripts/js/lib/jquery-1.5.0.js"%3E%3C/script%3E'))</script> <script src="../shared/scripts/js/jquery-ui-1.8.11.custom.min.js"></script> <script src="../shared/scripts/js/jquery.cookie.js"></script> <script src="../shared/scripts/js/SharedTools.js"></script> <script src="scripts/js/ui/Tree.js"></script> <script src="scripts/js/ui/Pool.js"></script>
get_demi_bouteilles_liste($_GET['catvin']); } if (isset($_GET['getvinspromotion'])) { get_vins_promotion_liste($_GET['promotion']); } if (isset($_GET['refreshwinelabel'])) { refresh_wine_label($_GET['refreshwinelabel']); } if (isset($_GET['refreshwineslist'])) { refresh_wines_list($_GET['refreshwineslist'], $_GET['catvin']); } if (isset($_GET['refreshcatlabel'])) { refresh_cat_label($_GET['refreshcatlabel']); } if (isset($_GET['updatepoolmenu'])) { update_pool_menu($_GET['updatepoolmenu']); } if (isset($_GET['updatepoolcontent'])) { update_pool_content($_GET['updatepoolcontent'], $_GET['idparent'], $_GET['idancestor']); } /*----------------------------------------------------------------------- Pool menu management -----------------------------------------------------------------------*/ function get_vins_au_verre_liste($cat_vin) { global $mysql; $html = '<ul class="vins">'; $sql = "SELECT \r\n\t\t\t\r\n\t\t\tt_vins_verre.id as id_vin_verre,\r\n\t\t\tt_vins_verre.produit_vin as produit_vin_verre,\r\n\t\t\tt_vins_verre.format as format_vin_verre,\r\n\t\t\tt_vins_verre.prix_vente as prix_vin_verre,\r\n\t\t\t\r\n\t\t\tv_list_vins.id_produit_vin as id_produit_vin,\r\n\t\t\tv_list_vins.id_produit as id,\r\n\t\t\tv_list_vins.prix_vente as prix_vente,\r\n \tv_list_vins.millesime as millesime,\r\n \tv_list_vins.producteur as producteur,\r\n \tv_list_vins.nom as nom,\r\n \tv_list_vins.appelation as appelation,\r\n\t\t\tv_list_vins.demi_bouteille as demi_bouteille,\r\n\t\t\tv_list_vins.id_cat_vin as id_cat_vin,\r\n\t\t\tv_list_vins.id_region_du_monde as id_region_du_monde,\r\n\t\t\tv_list_vins.id_pays as id_pays,\r\n\t\t\tv_list_vins.id_region as id_region,\r\n\t\t\tv_list_vins.id_sous_region as id_sous_region\r\n\r\n\t\t\tFROM t_vins_verre \r\n\t\t\tINNER JOIN v_list_vins ON t_vins_verre.produit_vin = v_list_vins.id_produit_vin\r\n\t\t\tINNER JOIN t_format_vins_verre ON t_vins_verre.format = t_format_vins_verre.id\r\n\t\t\tWHERE v_list_vins.id_cat_vin = {$cat_vin}\r\n\t\t\tGROUP BY t_vins_verre.produit_vin\r\n\t\t\tORDER BY t_vins_verre.prix_vente ASC"; $result = $mysql->sql_query($sql); if ($result) { while ($assoc = mysqli_fetch_assoc($result)) {