Esempio n. 1
0
File: item.php Progetto: rodhoff/MNW
        ?>
			<a href="<?php 
        echo $item['link'];
        ?>
"
				<?php 
        echo YTools::parseTarget($params->get('item_link_target'));
        ?>
			>
		<?php 
    }
    // open anchor tag
    ?>
			<img
				src="<?php 
    echo Ytools::resize($item['image'], $image_config);
    ?>
"
				alt="<?php 
    echo $item['title'];
    ?>
"
				title="<?php 
    echo $item['title'];
    ?>
"	
				style="max-width: <?php 
    echo (int) $params->get('item_image_autofit', 1) ? $params->get('item_image_width') : $width_item_wrap;
    ?>
px;"				
			/>
Esempio n. 2
0
						<a  class="alignleft" title="<?php 
            echo $items->title;
            ?>
" target="<?php 
            echo $options->item_link_target;
            ?>
" href="<?php 
            echo $items->link;
            ?>
">
							
							<?php 
            //Create placeholder images
            $src = $items->image;
            if (file_exists($src)) {
                echo "<img src='" . Ytools::resize($items->image, $image_config) . "' alt='" . $items->title . "'/>";
            } else {
                if ($is_placehold) {
                    echo yt_placehold($placehold_size['popular']);
                }
            }
            ?>
						</a>
				</div>
			<?php 
        }
        ?>
				
			<h2 class="basicnews-title">
				<a title="<?php 
        echo $items->title;
Esempio n. 3
0
            ?>
px; height:<?php 
            echo $params->get('item_image_height');
            ?>
px;" class="alignleft" title="<?php 
            echo $items->title;
            ?>
" target="<?php 
            echo $options->item_link_target;
            ?>
" href="<?php 
            echo $items->link;
            ?>
">
			        		<img src="<?php 
            echo Ytools::resize($items->image, $image_config);
            ?>
" title="<?php 
            echo $items->title;
            ?>
" alt="<?php 
            echo $items->title;
            ?>
"/>
                            <span style="width:<?php 
            echo $params->get('item_image_width');
            ?>
px; height:<?php 
            echo $params->get('item_image_height');
            ?>
px;" class="wraphover"></span>