protected function getFileSrc() { if (!$this->isNew() && $this->getObject()->getBrandPicture()) { return @myPicture::getInstance($this->getObject()->getBrandPicture())->resize(50, 0, true, true)->url(); } return false; }
$class = 'right'; break; } ?> <div class="tg<?php echo $class; ?> "> <a rel="pic_group" href="<?php echo @myPicture::getInstance($pic['file'])->url(); ?> " title="<?php echo $pic['name']; ?> "><img width="178" height="136" alt="" src="<?php echo @myPicture::getInstance($pic['file'])->thumbnail(178, 136, 'center')->url(); ?> "></a> </div> <?php if ($index % 3 == 2 || $index + 1 == count($pictures)) { ?> <div class="clear"></div> </div> <?php } ?> <?php
} else { if ($index % 3 == 1) { $position = 'center'; } else { $position = 'right'; } } ?> <div class="vcenter<?php echo $position; ?> "> <div class="turva"> <div class="turvaimgbox"> <a href="#"><img width="109" height="110" alt="" src="<?php echo @myPicture::getInstance($product->ProductPictures[0]->getFile())->thumbnail(109, 110, 'center')->url(); ?> "></a> </div> <div class="turvacheck"> <div id="rcheck1" class="uncheck"><?php echo $formField->render(array('checked' => @in_array($product['id'], $data['valitud tooted']), 'name' => $formField->renderName() . '[]', 'style' => 'display:none', 'value' => $product['id'])); ?> </div> <div class="turvachecktext"><p><?php echo $product['name']; ?> </p></div> </div> <div class="clear"></div> <div class="kogus">
<div class="newscontainer <?php if ($i == 1) { ?> first<?php } ?> "> <div class="picture"><a href="<?php if (isset($new['source']) and !empty($new['source'])) { echo $new['source']; } else { include_component('linker', 'newsItem', array('newsItem' => $new)); } ?> "><img src="<?php echo @myPicture::getInstance($new->getPicture())->thumbnail(75, 68, 'center')->url(); ?> " alt="" title="" /></a></div> <div class="story"> <h4><a href="<?php if (isset($new['source']) and !empty($new['source'])) { echo $new['source']; } else { include_component('linker', 'newsItem', array('newsItem' => $new)); } ?> "><?php echo $new['name']; ?> <img src="/img/yellowarrowright.png" alt="" title=""></a></h4> <p><?php
$class = 'centerbanner'; break; case 2: $class = 'rightbs'; break; } ?> <div class="<?php echo $class; ?> "> <a href="<?php echo $banner['link']; ?> "><img width="182" height="87" alt="" src="<?php echo @myPicture::getInstance($banner->getPicture())->thumbnail(182, 87, 'center')->url(); ?> "></a> </div> <?php } ?> <div class="clear"></div> </div> <div class="clear"></div> <script type="text/javascript">
<?php } ?> so.write("flashbanner_left2_<?php echo $banner['id']; ?> "); </script> <?php } else { ?> <a href="<?php echo $banner['link']; ?> " target="_blank"><img alt="" src="<?php if ($banner['type'] == "gif") { ?> /uploads<?php echo $banner['file']; } else { echo @myPicture::getInstance($banner->getPicture())->resize(183, $banner['height'], true, ture)->url(); } ?> " /></a> <?php } ?> <div class="boxseparator"></div> <?php } end_slot();
<div class="smallgallery"> <ul> <?php for ($i = 1; $i < count($pictures); ++$i) { ?> <li> <a title="<?php echo $pictures[$i]['name']; ?> " href="<?php echo @myPicture::getInstance($pictures[$i]['file'])->url(); ?> " rel="example_group"> <img height="127" width="139" alt="" src="<?php echo @myPicture::getInstance($pictures[$i]['file'])->thumbnail(139, 127, 'center')->url(); ?> "> </a> </li> <?php } ?> </ul> </div> <script type="text/javascript"> $('#click_to_enlarge').click(function(e){ e.preventDefault(); $('#first_product_image').trigger('click'); return false;
foreach ($product['ProductGroups'] as $groupConn) { $groupslug = $groupConn['ProductGroup']['slug']; } ?> <a href="<?php echo parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); ?> /programmid.p/<?php echo $groupslug; ?> /<?php echo $product['slug']; ?> "><img src="<?php echo @myPicture::getInstance($product['ProductPictures'][0]['file'])->thumbnail(187, 125, 'center')->url(); ?> " alt=""></a> <div> <h3><a href="<?php echo parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); ?> /programmid.p/<?php echo $groupslug; ?> /<?php echo $product['slug']; ?> "><?php echo $product['name']; ?>
<?php if ($product['trailer_link']) { preg_match('/v\\=(\\w+)/i', $product['trailer_link'], $youtubeCode); $youtubeCode = $youtubeCode[1] ? $youtubeCode[1] : ''; } else { $youtubeCode = ''; } $tabsArray = array(); $tabsArray[] = array('tabName' => __('Trailer'), 'tabId' => 'tabset02-01', 'tabContent' => $youtubeCode ? '<object width="571" height="348"><param name="movie" value="http://www.youtube.com/v/' . $youtubeCode . '?fs=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/' . $youtubeCode . '?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="571" height="348"></embed></object>' : ''); foreach ($product['ProductPictures'] as $pro) { if ($pro['parameter'] == "default") { $pictures = $pro['file']; break; } } $tabsArray[] = array('tabName' => __('Pilt'), 'tabId' => 'tabset02-02', 'tabContent' => $product['ProductPictures'][0] ? '<img src="' . @myPicture::getInstance($pictures)->thumbnail(571, 348, 'center')->url() . '" alt="" />' : ''); ?> <div style="float: left; width: 100%;"> <div class="bottom_tabbed_gray"> <div class="gray_content_block"> <!-- video or image size - width: 571px; height: 348px; --> <?php $index = 0; ?> <?php foreach ($tabsArray as $tab) { ?>
?> </div> <div style="clear: both;"></div> </div> <div class="filmitem hidden"> <div style="float: left; width: 120px;"><?php foreach ($product['ProductPictures'] as $pro) { if ($pro['parameter'] == "director") { $pictures = $pro['file']; break; } } ?> <img src="<?php echo @myPicture::getInstance($pictures)->thumbnail(102, 134, 'center')->url(); ?> " alt=""></div> <div style="float: left; width: 440px;"> <h3><?php echo $product['director_name']; ?> </h3><br> <p><?php echo $product['director_bio']; ?> </p> <br> <?php if (!empty($product['director_filmography'])) { ?> <h3><?php echo __('Filmograafia');
</a> </div> <div class="imgbottom"> <?php for ($i = 1; $i < count($pictures) && $i <= 3; ++$i) { ?> <div class="imgbottom<?php echo $i % 2 == 0 ? 'center' : 'thumb'; ?> "> <a rel="product_pictures" href="<?php echo @myPicture::getInstance($pictures[$i]['file'])->url(); ?> "> <img src="<?php echo @myPicture::getInstance($pictures[$i]['file'])->thumbnail(74, 80)->url(); ?> " alt="" width="74" height="80"> </a> </div> <?php } ?> <div class="clear"></div> </div> </div> <?php } ?> <script type="text/javascript"> $(document).ready(function() {
<?php slot('bannerHeader'); foreach ($logos as $index => $logo) { ?> <?php echo @myPicture::getInstance($logo->getPicture())->thumbnail(952, 135, 'center')->url(); } ?> <?php end_slot();
<?php if (isset($products) && $products->count()) { ?> <div class="searchcontentbox" id="searchcontent"> <div class="searchcontent"> <?php foreach ($products as $product) { ?> <?php $link = get_component('linker', 'product', array('product' => $product)); $pic = myPicture::getInstance($product['ProductPictures'][0]['file'])->thumbnail(58, 53, 'center')->url(true); ?> <div class="result"> <div class="resimg"><img height="53" width="58" alt="" src="<?php echo $pic; ?> "></div> <div class="restext"> <div class="tootename"><a href="<?php echo $link; ?> "><?php if (strlen($product['name']) > 25) { ?> <?php echo truncate($product['name'], 25); ?> <?php } else { ?>
<?php slot('bannersSocialWidget'); ?> <?php foreach ($banners as $banner) { ?> <li><a href="<?php echo $banner['link']; ?> " target="_blank"><img alt="" src="<?php echo @myPicture::getInstance($banner->getPicture())->resize(24, 24, true, ture)->url(); ?> " /></a></li> <?php } end_slot();
if (!@$immutable) { ?> <div class="remove removefrombasket"><a href="<?php include_component('linker', 'basket', array('action' => 'deleteFromBasket', 'productID' => $product['product']['id'])); ?> " ></a></div> <?php } else { ?> <div class="remove removefrombasket" style="background: url('')"></div> <?php } ?> <div class="thumb"><img height="71" width="77" alt="" src="<?php echo @myPicture::getInstance($product['product']['ProductPictures'][0]['file'])->thumbnail(77, 71)->url(); ?> "></div> <div class="tootename"> <a href="<?php if (!@$immutable) { include_component('linker', 'product', array('product' => $product['product'])); } ?> "><?php echo $product['product']['name']; ?> </a> </div> <div class="price"> <p><?php
echo CustomizationHelper::getInstance()->dark($section); ?> ;" class="bt_title"><a class="iframe" href="<?php echo $bannersHelper->linkIframe($galleryFirstBanner['banner_group_id']); ?> "><?php echo __('Vaata ürituse pildigaleriid'); ?> </a></div> <div class="bt_pic"> <a class="iframe" href="<?php echo $bannersHelper->linkIframe($galleryFirstBanner['banner_group_id']); ?> "> <img height="111" width="203" alt="" src="<?php echo @myPicture::getInstance($galleryFirstBanner->getFile())->thumbnail(203, 111, 'center')->url(); ?> "> </a> </div> </div> <?php } ?> <?php echo $event['longdescription']; ?> <?php
sasdasdasd <img src="<?php echo myPicture::getInstance($product->ProductPictures[0]['file'])->resize(150, 100)->url(); ?> " />
$link = get_component('linker', 'product', array('product' => $product, 'category' => $category)); ?> <?php if ($index % 3 == 0) { ?> <div class="smallproductsbox"><?php } ?> <div class="textboxproductsmall product"> <div class="prodimg"> <a href="<?php echo $link; ?> "><img height="182" width="198" alt="" src="<?php echo @myPicture::getInstance($product['ProductPictures'][0]['file'])->resize(199, 182, 'center')->url(); ?> "></a> </div> <div class="top"> <div class="leftt"> <h1><a href="<?php echo $link; ?> "><?php echo $product['name']; ?> </a></h1> </div> </div> <div class="maht"><p> <?php
<?php if ($pic) { ?> <!-- pildid parameetrid --> <div class="tooteimg"> <?php foreach ($pic as $picParam) { ?> <?php if (!$picParam) { continue; } ?> <div class="profiil"> <!-- skeem --> <img alt="" src="<?php echo @myPicture::getInstance($picParam)->url(); ?> "> </div> <?php } ?> </div> <div class="clear"></div> <?php } ?> </div> <div class="part"> <img width="574" height="10" alt="" src="/olly/img/gallshadowbottom.jpg"> </div>