Exemplo n.º 1
0
    ?>
">
		          	<a href="<?php 
    echo Helper_Html::link(array('controller' => 'index', 'action' => 'project', 'param1' => $sample['project_title'], 'param2' => $sample['sample_id']));
    ?>
" 
		          		title="<?php 
    echo htmlspecialchars($sample['project_title']);
    ?>
"
		          		class="loadingBg">
		          		
		          		<?php 
    if (!Helper_Js::isEnabledJs()) {
        echo '<noscript>';
        echo Helper_Image::renderSample($sample['sample_id'], Helper_Image::PREVIEW_PROJECT, array('alt' => $sample['sample_title']));
        echo '</noscript>';
    }
    ?>
		          	</a>
		          	<span><?php 
    echo $sample['project_title'];
    ?>
</span>
			</div>
		<?php 
}
?>

	</div>
</div>
Exemplo n.º 2
0
<?php 
if (!$currentSample) {
    $sample_id = $samples[0]['id'];
}
?>

<script type="text/javascript">
<?php 
if ($iframe) {
    ?>
		centredOverlayBlock(<?php 
    echo $iframe->width;
    ?>
, <?php 
    echo $iframe->height;
    ?>
);
<?php 
} else {
    ?>
		loadImage2('<?php 
    echo Helper_Image::renderSample($sample_id, Helper_Image::SAMPLE, false);
    ?>
', '.image', '<?php 
    echo $sample_id;
    ?>
');
<?php 
}
?>
</script>
Exemplo n.º 3
0
	<?php 
}
?>
</div>
<!-- end block preView sample  -->


<div class="mainContent">
    <div>
    	<?php 
if (isset($samples[$sapmlesCurrentArrayId]['id'])) {
    $alt = '';
    if ($samples[$sapmlesCurrentArrayId]['title']) {
        $alt = Helper_Text::clean($samples[$sapmlesCurrentArrayId]['title']);
    }
    echo Helper_Image::renderSample($samples[$sapmlesCurrentArrayId]['id'], Helper_Image::SAMPLE, array('alt' => $alt, 'title' => $alt));
}
?>
    	
    </div>
    
    <div class="sampleText">
    	<?php 
if (isset($samples[$sapmlesCurrentArrayId]['id']) && $samples[$sapmlesCurrentArrayId]['title']) {
    echo sprintf($formatTextSample, Helper_Text::clean($samples[$sapmlesCurrentArrayId]['title']), Helper_Text::clean($samples[$sapmlesCurrentArrayId]['text']));
}
?>
    </div>
    
</div>
</div>