Пример #1
0
<div class="table coin_division_block bordered fm">
	<h3><a href="<?=$cfg['site_dir']?>forum/">Форум нумизматов</a></h3>
	<?foreach ($tpl['lastForumNews'] as $thread_get){
	    
	$dateline = $thread_get['dateline'];
	$poster = $thread_get['lastposter'];
	
	
	$pid = $thread_get['getp']['postid'];
	$date2 = date ("d.m.Y" ,$dateline);
	$title = $thread_get['title'];

	?>
	
    	<p><b><?=$date2?></b> <a href='<?=$cfg['site_dir']?>/forum/showthread.php?p=<?=$pid?>#post<?=$pid?>' title='Новости форума тема <?=htmlspecialchars(strip_tags($title))?> смотреть'><?=$title?></a><br>
    	<?=contentHelper::inputspace(strip_tags(mb_substr($thread_get["pagetext"], 0, 350,'utf-8')),60)?> ...    	
    	</p>
	<?}?>	
</div>
 
<div class="table coin_division_block bordered fm">
	<h3><a href="<?=$cfg['site_dir']?>video.php">Видео для нумизматов</a></h3>

<div id=thisplayvideo><a id=#label1></a></div>
<div>

<?php
foreach ($tpl['video'] as $rows_video ){?>
    <a href=#label1 title='Смотреть <?=$rows_video['title']?>' onclick="ShowVideo('<?=$rows_video['numberlink']?>','<?=$rows_video['type']?>');" >
        <img src="<?=$cfg['site_dir']?>imagesvideo/video<?=$rows_video['video']?>.jpg" width="215" alt="Видео Клуба Нумизмат" title="Видео Клуба Нумизмат" style="padding: 0 16px 0 0"/></a>
<?}?>