function show_post post div class post_panel this- show_top_post_panel

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
function show_post($post){
?><div class="post_panel"><?$this->show_top_post_panel($post);?></div><?
?><h1><?=stripslashes($post['title'])?></h1><div class="post_date"><?=$post['create']?></div>
<?=stripslashes($post['content'])?>
<?
?><div class="post_panel"><?$this->show_bottom_post_panel($post);?></div><hr /><?
}
// Отобразить пост
function show_post_one($post){
?><div class="post_panel"><?$this->show_top_post_panel($post);?></div><?
?><div class="post_date"><?=$post['create']?></div><h1><?=stripslashes($post['title'])?></h1>
<?=stripslashes($post['content'])?>
<hr />
<?
}