Вот код этого фрагмента, из css надо выдернуть стили и подключить js, там не сложно разберешься: Код: <!-- SIDEFEATURES --> <div id="sidefeatures"> <ul> <li class="side_cart"><span class="icon">Shopping Cart</span> <div id="cart"> <div class="heading"> <h4><?php echo $text_cart; ?></h4> <a><span id="cart_total"><?php echo $text_items; ?></span></a></div> <div class="content"></div> </div> </li> <li class="side_currency"><span class="icon">Currency</span> <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data"> <div id="currency"><?php echo $text_currency; ?> <?php foreach ($currencies as $currency) { ?> <?php if ($currency['code'] == $currency_code) { ?> <?php if ($currency['symbol_left']) { ?> <a title="<?php echo $currency['title']; ?>"><b><?php echo $currency['symbol_left']; ?></b></a> <?php } else { ?> <a title="<?php echo $currency['title']; ?>"><b><?php echo $currency['symbol_right']; ?></b></a> <?php } ?> <?php } else { ?> <?php if ($currency['symbol_left']) { ?> <a title="<?php echo $currency['title']; ?>" onclick="$('input[name=\'currency_code\']').attr('value', '<?php echo $currency['code']; ?>').submit(); $(this).parent().parent().submit();"><?php echo $currency['symbol_left']; ?></a> <?php } else { ?> <a title="<?php echo $currency['title']; ?>" onclick="$('input[name=\'currency_code\']').attr('value', '<?php echo $currency['code']; ?>').submit(); $(this).parent().parent().submit();"><?php echo $currency['symbol_right']; ?></a> <?php } ?> <?php } ?> <?php } ?> <input type="hidden" name="currency_code" value="" /> <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" /> </div> </form> </li> <li class="side_lang"><span class="icon">Language</span> <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data"> <div id="language"><?php echo $text_language; ?> <?php foreach ($languages as $language) { ?> <img src="image/flags/<?php echo $language['image']; ?>" alt="<?php echo $language['name']; ?>" title="<?php echo $language['name']; ?>" onclick="$('input[name=\'language_code\']').attr('value', '<?php echo $language['code']; ?>').submit(); $(this).parent().parent().submit();" /> <?php } ?> <input type="hidden" name="language_code" value="" /> <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" /> </div> </form> </li> <li class="side_search"><span class="icon">Search</span> <div id="search"> <?php if ($filter_name) { ?> <input type="text" name="filter_name" value="<?php echo $filter_name; ?>" /> <?php } else { ?> <input type="text" name="filter_name" value="<?php echo $text_search; ?>" onclick="this.value = '';" onkeydown="this.style.color = '#000000';" /> <?php } ?> <div class="button-search"></div> </div> </li> </ul> </div> <!-- END OF SIDEFEATURES -->
Сори за офф топ, у меня тоже етот шаблон стоит но сверху вылетает ошибка Notice: Undefined variable: image_big in catalog/controller/module/featured.php. как ёё исправить ?