<!-- Created by Instant Zero (http://www.instant-zero.com) -->
<{if isset($mandatoryFieldsCount)}>
<script type="text/javascript">
function updatePrice()
{
var formContent = jQuery("#frmCart").serialize();
jQuery('#oledrion_final_price_ttc').load('ajax.php', {op: 'updatePrice', product_id: <{$product.product_id}>, formcontent: formContent});
}
jQuery().ready(function() {
// Changement de prix
jQuery('.oledrion_attribute').change(function() {
updatePrice();
});
jQuery('.oledrion_attribute').click(function() {
updatePrice();
});
updatePrice();
// Champs obligatoires
jQuery.validator.messages.required = "";
jQuery("#frmCart").validate({
invalidHandler: function(e, validator) {
var errors = validator.numberOfInvalids();
if (errors) {
var message = "<{$smarty.const._OLEDRION_VALIDATE_ERROR1}>";
jQuery("div.error span").html(message);
jQuery("div.error").show();
} else {
jQuery("div.error").hide();
}},
});
});
</script>
<{/if}>
<script type="text/javascript">
jQuery().ready(function() {
// Effet lightview
jQuery("a[rel^='prettyPhoto']").prettyPhoto({
theme: 'light_rounded'
});
});
</script>
<{* *********************************************** HEADER ************************************************ *}>
<div id="oledrion-logo">
<img src="<{$smarty.const.OLEDRION_IMAGES_URL}>oledrion.png" alt="" width="235" height="45" />
<{* Display category's advertisement and if it does not exists, the module's advertisement *}>
<{if $product.product_category.cat_advertisement != ''}>
<div id="oledrion_publicite-category"><{$product.product_category.cat_advertisement}></div>
<{elseif $mod_pref.advertisement != ''}>
<div id="oledrion_publicite"><{$mod_pref.advertisement}></div>
<{/if}>
</div>
<{* *********************************************** /HEADER ************************************************ *}>
<{* ********************************************* BREADCRUMB ********************************************** *}>
<table cellspacing="0" class="breadcrumbT">
<tr>
<td class="breadcrumb_01"></td>
<td class="breadcrumb_02"><div id="productshoop_breadcrumb"><{$breadcrumb}></div></td>
<td class="breadcrumb_03"></td>
</tr>
<tr>
<td colspan="3" class="red-line"></td>
</tr>
</table>
<{* ********************************************* /BREADCRUMB ********************************************** *}>
<{* **************************************** PRODUCT INFORMATION ********************************************* *}>
<table cellspacing="0" width="100%">
<tr>
<td class="view-product-shad1_01"></td>
<td colspan="2" class="view-product-shad1_02"></td>
</tr>
<tr>
<td class="view-product-shad1_03"></td>
<td class="oledrion_productdescription">
<table cellspacing="0" >
<tr>
<td colspan="2" class="oledrion_producttitle_view-product">
<h2><{$product.product_recommended_picture}><{$product.product_title}></h2>
</td>
</tr>
<tr>
<td>
<{if $product.product_thumb_full_url != ''}>
<div class="oledrion_productthumb-big" style="float: left">
<!-- Old way to see the product's picture -->
<!-- <a href="javascript:openWithSelfMain('<{$smarty.const.OLEDRION_URL}>media.php?product_id=<{$product.product_id}>&type=picture', '',<{$smarty.const.OLEDRION_POPUP_MEDIA_WIDTH}>, <{$smarty.const.OLEDRION_POPUP_MEDIA_HEIGHT}>);" title="<{$product.product_href_title}>"> <img src="<{$product.product_thumb_full_url}>" alt="<{$product.product_href_title}>" /></a> -->
<!-- With a ligthview effect -->
<a href="<{$product.product_image_full_url}>" rel="prettyPhoto" title="<{$product.product_href_title}>"> <img src="<{$product.product_thumb_full_url}>" alt="<{$product.product_href_title}>" /></a>
</div>
<{/if}>
</td>
<td>
<{if $product.product_sku != ''}>
<div class="">
<span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_NUMBER}></span>: <{$product.product_sku}><{/if}> <{if $product.product_extraid != ''}> <{$smarty.const._OLEDRION_EXTRA_ID}>: <{$product.product_extraid}>
</div>
<{/if}>
<{if $product_joined_manufacturers != ''}>
<div class="oledrion_productauthor_view-product">
<img src="<{$smarty.const.OLEDRION_IMAGES_URL}>author.png" alt="" border="0" /><span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_BY}></span> <{$product_joined_manufacturers}>
</div>
<{/if}>
<!-- Price box -->
<{if $mod_pref.use_price}>
<div class="oledrion_productprice_view-product">
<div class="oledrion_view-product_price">
<{if $product.product_stock == 0 }>
<{$mod_pref.nostock_msg}>
<{elseif count($product.product_attributes) == 0 }>
<span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_PRICE}></span>: <a href="<{$smarty.const.OLEDRION_URL}>caddy.php?op=addproduct&product_id=<{$product.product_id}>" title="<{$smarty.const._OLEDRION_ADD_TO_CART}>">
<{if $product.product_discount_price_ttc_long != ''}>
<s><{$product.product_price_ttc}></s> <{$product.product_discount_price_ttc_long}>
<{else}>
<{$product.product_price_ttc_long}>
<{/if}>
<img src="<{$smarty.const.OLEDRION_IMAGES_URL}>cartadd.png" alt="" /></a>
<{if $product.product_ecotaxe != 0}>
<br /><span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_ECOTAXE}></span> : <{$product.product_ecotaxe_formated}>
<{/if}>
<{else}>
<br />
<form method="post" name="frmCart" id="frmCart" action="<{$smarty.const.OLEDRION_URL}>caddy.php?op=addproduct&product_id=<{$product.product_id}>">
<table border="0">
<tr>
<td>
<{foreach item=attribute from=$product.product_attributes}>
<{$attribute}><br />
<{/foreach}>
</td>
<td>
<span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_PRICE}></span> : <{if $product.product_discount_price_ttc_long != ''}><s><{$product.product_price_ttc_long}></s><{/if}> <span id="oledrion_final_price_ttc"><{$product.product_final_price_ttc_formated_long}></span>
<br /><br />
<input type="image" src="<{$addToCartImage}>" id="buy_button" alt="<{$smarty.const._OLEDRION_ADD_TO_CART}>" title="<{$smarty.const._OLEDRION_ADD_TO_CART}>" value="<{$smarty.const._OLEDRION_ADD_TO_CART}>" />
<div class="error" style="display: none;">
<br /><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>warning.png" width="24" height="24" style="float:left; margin: -5px 10px 0px 0px; " /><span></span>.<br clear="all" />
</div>
</td>
</tr>
</table>
</form>
<{/if}>
</div>
<{if $product.product_shipping_price != 0}>
<div class="oledrion_view-product_shipping-price">
<span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_SHIPPING_PRICE}></span>: <{$product.product_shipping_price_formated}>
</div>
<{/if}>
</div>
<{else}>
<br />
<{/if}>
<!-- /Price box -->
<div class="oledrion_productdate">
<span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_DATE}></span> : <{$product.product_date}>
<{if $product.product_delivery_time > 0}>
<br /><span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_DELIVERY_TIME}></span> : <{$product.product_delivery_time}> <{$smarty.const._OLEDRION_DAYS}>
<{/if}>
</div>
<div class="oledrion_productlangue">
<span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_VENDOR}></span>: <{$product.product_vendor.vendor_name}>
</div>
<{if $product.product_attachment != ''}>
<a href="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$product.product_attachment}>" target="_blank" ><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>attach.gif" alt="" width="9" height="15" /> <{$smarty.const._OLEDRION_ATTACHED_FILE}></a>
<{/if}>
<{if $currentUserId > 0}>
<br /><a href="<{$smarty.const.OLEDRION_URL}>my-lists.php?op=addProduct&product_id=<{$product.product_id}>" ><img src="<{$addToWishList}>" alt="<{$smarty.const._OLEDRION_ADD_TO_LIST}>" /></a>
<{/if}>
</td>
</tr>
<tr>
<td colspan='2'>
<!-- product summary-->
<{if $product.product_summary != ''}>
<table width="100%" cellspacing="0">
<tr>
<td class="box_blue-clip_01"></td>
<td class="box_blue-clip_02"></td>
<td class="box_blue-clip_03"></td>
</tr>
<tr>
<td class="box_blue-clip_04"></td>
<td class="oledrion_catdescription"><div class="oledrion_productssummary_view-product"><h3><{$smarty.const._OLEDRION_SUMMARY}></h3><{$product.product_summary}></div></td>
<td class="box_blue-clip_05"></td>
</tr>
<tr>
<td class="box_blue-clip_06"></td>
<td class="box_blue-clip_07"></td>
<td class="box_blue-clip_08"></td>
</tr>
</table>
<{/if}>
<!-- /product summary-->
<!-- product description -->
<{if $product.product_description!= ''}>
<table width="100%" cellspacing="0">
<tr>
<td class="box_blue-clip_01"></td>
<td class="box_blue-clip_02"></td>
<td class="box_blue-clip_03"></td>
</tr>
<tr>
<td class="box_blue-clip_04"></td>
<td class="oledrion_catdescription"><div class="oledrion_description_view-product"><h3><{$smarty.const._OLEDRION_DESCRIPTION}></h3><{$product.product_description}></div></td>
<td class="box_blue-clip_05"></td>
</tr>
<tr>
<td class="box_blue-clip_06"></td>
<td class="box_blue-clip_07"></td>
<td class="box_blue-clip_08"></td>
</tr>
</table>
<{/if}>
<{if $product.product_width != '' && $product.product_weight != 0 && $product.product_url != ''}>
<div class="oledrion_otherinf">
<h3><{$smarty.const._OLEDRION_OTHER_INFORMATIONS}></h3>
<{if $product.product_width != ''}><div><span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_FORMAT}></span>: <{$product.product_width}> x <{$product.product_length}> <{$product.product_unitmeasure1}></div><{/if}>
<{if $product.product_weight != 0}><div><span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_WEIGHT}></span>: <{$product.product_weight}> <{$product.product_unitmeasure2}></div><{/if}>
<{if $product.product_url != ''}><div><span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_SITEURL}></span>: <a href="<{$product.product_url}>" target="_blank"><{$smarty.const._OLEDRION_URL}></a></div><{/if}>
</div>
<{/if}>
<{if count($product.attached_files) > 0}>
<div class="oledrion_otherinf">
<h3><{$smarty.const._OLEDRION_ATTACHED_FILES}></h3>
<{if $product.attached_mp3_count > 0}>
<div>
<span class="oledrion_productdescription-contentTitles"><{$smarty.const._OLEDRION_MUSIC}></span>
<div align='left' id='DewPlayerContainer'></div>
</div>
<script type="text/javascript">
var paramsDew = {
wmode: "transparent"
};
jQuery().ready(function() {
jQuery('#DewPlayerContainer').flash({
swf: '<{$smarty.const.OLEDRION_URL}>dewplayer/<{if $product.attached_mp3_count > 1}>dewplayer-multi.swf<{else}>dewplayer.swf<{/if}>',
hasVersion: 9,
height: <{$smarty.const.OLEDRION_DEWPLAYER_HEIGHT}>,
width : <{$smarty.const.OLEDRION_DEWPLAYER_WIDTH}>,
params: paramsDew,
flashvars: {
mp3: '<{$mp3FilesList}>'
}
});
});
</script>
<{/if}>
<{if $product.attached_non_mp3_count > 0}>
<br />
<div>
<{foreach item=attachedFile from=$product.attached_files}>
<{if !$attachedFile.file_is_mp3}>
<span class="oledrion_productdescription-contentTitles"><a href="javascript:openWithSelfMain('<{$smarty.const.OLEDRION_URL}>media.php?product_id=<{$product.product_id}>&type=attachment&file_id=<{$attachedFile.file_id}>', '',<{$smarty.const.OLEDRION_POPUP_MEDIA_WIDTH}>, <{$smarty.const.OLEDRION_POPUP_MEDIA_HEIGHT}>);" rel="nofollow"><{$attachedFile.file_description}></a></span><br />
<{/if}>
<{/foreach}>
</div>
<{/if}>
</div>
<{/if}>
</td>
</tr>
</table>
</td>
<td class="view-product-shad2_03"></td>
</tr>
<tr>
<td colspan="2" class="view-product-shad2_02"></td>
<td class="view-product-shad2_01"></td>
</tr>
</table>
<{* **************************************** /product INFORMATIONS ********************************************* *}>
<{* ***************************************** RELATED PRODUCTS ********************************************* *}>
<{if count($product_related_products) > 0}>
<div id="oledrion_related">
<h2><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>icon-product-person.png" alt="<{$smarty.const._OLEDRION_CART}>" border="0" /><{$smarty.const._OLEDRION_RELATED_PRODUCTS}></h2>
<table align='center' class="oledrion_categorylist">
<tr>
<{foreach item=oneitem from=$product_related_products}>
<td valign="top" align="center">
<div class="oledrion_productthumb">
<a href="<{$oneitem.product_url_rewrited}>" title="<{$oneitem.product_href_title}>"><{if $oneitem.product_thumb_url}><img src="<{$oneitem.product_thumb_full_url}>" alt="<{$oneitem.product_href_title}>" /></a><{/if}>
</div>
<a href="<{$oneitem.product_url_rewrited}>" title="<{$oneitem.product_href_title}>"><{$product.product_recommended_picture}><b><{$oneitem.product_title}></b></a>
<div class="oledrion_productprice">
<{$smarty.const._OLEDRION_PRICE}> : <a href="<{$smarty.const.OLEDRION_URL}>caddy.php?op=addproduct&product_id=<{$oneitem.product_id}>" title="<{$smarty.const._OLEDRION_ADD_TO_CART}>"><{if $oneitem.product_discount_price_ttc_long != ''}><{$oneitem.product_discount_price_ttc_long}><{else}><{$oneitem.product_price_ttc}><{/if}> <img src="<{$smarty.const.OLEDRION_IMAGES_URL}>cartadd.png" alt="" border="0" /></a>
</div>
</td>
<{if $oneitem.count is div by 4}>
</tr><tr>
<{/if}>
<{/foreach}>
</tr>
</table>
</div>
<{/if}>
<{* ***************************************** /RELATED PRODUCTS ********************************************* *}>
<{* ******************************************** OTHER PRODUCTS ************************************************* *}>
<{if $showprevnextlink || $summarylast > 0 || $summarycategory > 0 || $better_together > 0}>
<div id="oledrion_otherproducts">
<{if $previous_product_id != 0 || $next_product_id != 0}>
<h2><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>icon-product-person.png" alt="" border="0" /><{$smarty.const._OLEDRION_OTHER_PRODUCTS}></h2>
<{/if}>
<{if $previous_product_id != 0}>
<br /><a href="<{$previous_product_url_rewrited}>" title="<{$previous_product_href_title}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>go-previous.png" alt="" border="0" /> <{$smarty.const._OLEDRION_PREVIOUS_PRODUCT}>: <{$previous_product_title}></a>
<{/if}>
<{if $next_product_id != 0}>
<br /><a href="<{$next_product_url_rewrited}>" title="<{$next_product_href_title}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>go-next.png" alt="" border="0" /> <{$smarty.const._OLEDRION_NEXT_PRODUCT}>: <{$next_product_title}></a>
<{/if}>
<{if $better_together > 0 && $bestwith}>
<br /><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>icon-star.png" alt="" border="0" /> <{$smarty.const._OLEDRION_BEST_WITH}> <a href="<{$bestwith.product_url_rewrited}>" title="<{$bestwith.product_href_title}>"><{$bestwith.product_title}></a>
<{/if}>
<{if count($product_all_categs) > 0}>
<h2><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>icon-product-person.png" alt="" border="0" /><{$smarty.const._OLEDRION_RECENT_CATEGS}></h2>
<table border='0' cellspacing='5' cellpadding='0' align='center' class="oledrion_lastproducts">
<{foreach item=oneitem from=$product_all_categs}>
<tr>
<td><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>arrow-black2.png" alt="" border="0" width="13" height="7" /><a href="<{$oneitem.last_categs_product_url_rewrited}>" title="<{$oneitem.last_categs_product_href_title}>"><{$oneitem.last_categs_product_title}></a></td>
</tr>
<{/foreach}>
</tr>
</table>
<{/if}>
<{if count($product_current_categ) > 0}>
<h2><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>icon-product-person.png" alt="" border="0" /><{$smarty.const._OLEDRION_RECENT_CATEG}></h2>
<table border='0' cellspacing='5' cellpadding='0' align='center' class="oledrion_lastproducts">
<{foreach item=oneitem from=$product_current_categ}>
<tr>
<td><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>arrow-black2.png" alt="" border="0" width="13" height="7" /><a href="<{$oneitem.last_categ_product_url_rewrited}>" title="<{$oneitem.last_categ_product_href_title}>"><{$oneitem.last_categ_product_title}></a></td>
</tr>
<{/foreach}>
</tr>
</table>
<{/if}>
</div>
<{/if}>
<{* ******************************************** /OTHER PRODUCTS ************************************************* *}>
<{* TAGS *}>
<{if isset($tagbar) }>
<br /><{include file="db:tag_bar.html"}>
<{/if}>
<{* ********************************************* CADDY ********************************************** *}>
<div id="oledrion_caddy" align="right">
<br />
<a href="<{$smarty.const.OLEDRION_URL}>caddy.php" title="<{$smarty.const._OLEDRION_CART}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>cart.png" alt="<{$smarty.const._OLEDRION_CART}>" border="0" /></a>
<{if $mod_pref.rss}>
<a href="<{$smarty.const.OLEDRION_URL}>rss.php" title="<{$smarty.const._OLEDRION_RSS_FEED}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>rss.gif" alt="<{$smarty.const._OLEDRION_RSS_FEED}>" border="0" /></a>
<{/if}>
<a href="<{$baseurl}>&op=print" rel="nofollow" target="_blank" title="<{$smarty.const._OLEDRION_PRINT_VERSION}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>print.png" alt="<{$smarty.const._OLEDRION_PRINT_VERSION}>" border="0" /></a>
<a href="<{$mail_link}>" rel="nofollow" target="_blank" title="<{$smarty.const._OLEDRION_TELLAFRIEND}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>email.png" alt="<{$smarty.const._OLEDRION_TELLAFRIEND}>" border="0" /></a>
<{if $mod_pref.isAdmin}>
<a href="<{$smarty.const.OLEDRION_URL}>admin/index.php?op=products&action=edit&id=<{$product.product_id}>" target="_blank" title="<{$smarty.const._EDIT}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>edit.gif" alt="<{$smarty.const._EDIT}>" /></a>
<a href="<{$smarty.const.OLEDRION_URL}>admin/index.php?op=products&action=confdelete&id=<{$product.product_id}>" title="<{$smarty.const._DELETE}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>delete.gif" alt="<{$smarty.const._DELETE}>" /></a>
<{/if}>
<{if $canChangeQuantity}><a href="<{$baseurl}>&stock=add" title="<{$ProductStockQuantity}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>plus.gif" alt="<{$ProductStockQuantity}>" /></a> <{if $product.product_stock -1 > 0}><a href="<{$baseurl}>&stock=substract" title="<{$ProductStockQuantity}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>minus.gif" alt="<{$ProductStockQuantity}>" /></a><{/if}><{/if}>
</div>
<br />
<{* ********************************************* /CADDY ********************************************** *}>
<{* ********************************************* VOTES ********************************************** *}>
<{if $canRateProducts}>
<div class="oledrion_rating">
<{$smarty.const._OLEDRION_RATINGC}> <{$product.product_rating_formated}> (<{$product.product_votes_count}>)
<{if $userCanRate}>
- <a href="<{$smarty.const.OLEDRION_URL}>rate-product.php?product_id=<{$product.product_id}>" title="<{$smarty.const._OLEDRION_RATETHISPRODUCT}>"><{$smarty.const._OLEDRION_RATETHISPRODUCT}></a>
<{/if}>
</div>
<{/if}>
<{* ********************************************* /VOTES ********************************************** *}>
<{* Pour afficher le pied de page de la catégorie du produit *}>
<{* <{$product.product_category.cat_footer}> *}>
<{* ******************************************** COMMENTS ******************************************* *}>
<div style="text-align: center; padding: 3px; margin:3px;">
<{$commentsnav}>
<{$lang_notice}>
</div>
<div style="margin:3px; padding: 3px;">
<{if $comment_mode == "flat"}>
<{include file="db:system_comments_flat.html"}>
<{elseif $comment_mode == "thread"}>
<{include file="db:system_comments_thread.html"}>
<{elseif $comment_mode == "nest"}>
<{include file="db:system_comments_nest.html"}>
<{/if}>
</div>
<{include file='db:system_notification_select.html'}>
<{* ******************************************** /COMMENTS ******************************************* *}>