this- putHTML header td id left div class linkList h2 Ссылки h2 foreac

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?=$this->putHTML('header')?>
<td id="left">
<div class="linkList">
<h2>Ссылки:</h2>
<? foreach($list as $row): ?>
<div class="item">
<h3>
<a class="chapter" href="chapter/<?=$row['category_url_mapping']?>/" title="<?= $row['category_name']?>">
<?= $row['category_name']?>
</a>
&rarr;
<a href="<?=$row['url']?>" title="<?=$row['title']?>" target="_blank"><?=$row['title']?></a><span class="external">&nbsp;</span>
</h3>
<p class="description">
<?= $row['description']?>
</p>
<div class="tags">Теги:
<? foreach($row['tags'] as $tag): ?>
<a href="tag/<?=$tag?>/"><?=$tag?></a>
<? endforeach;?>
<div class="addingDate"><?= date('j M Y H:i:s', $row['creation_date'])?></div>
</div>
</div>
<? endforeach; ?>
</div>
<div id="pagerContainer">
Результаты <?= $beginBound.' - '.$endBound.' из '.$total.' : '?>
<div id="pager"></div>
</div>
</td>
<!-- Модульная колонка -->
<td id="right">
<?=$this->putHTML('search')?>
<?=$this->putBlock('latestArticles')?>
<?=$this->putHTML('rss')?>
<?=$this->putBlock('chapters')?>
<?=$this->putBlock('tags')?>
<?=$this->putHTML('adsense_banner')?>
</td>
<!-- /Модульная колонка -->
<?=$this->putJSBridge()?>
<?=$this->putHTML('footer')?>