예제 #1
0
파일: index.php 프로젝트: zarat/Simplepress
        $obj = new dbobject($o['id']);
        ?>

<div class="content-item">

<div class="content-item-head"><a href="./?p=<?php 
        echo $obj->the_id();
        ?>
" rel="nofollow"><?php 
        echo $obj->the_title();
        ?>
</a></div>
    
<div class="content-item-head-secondary"><?php 
        echo $obj->the_cat($by_name = 1, $linked = 1);
        echo $obj->datetime();
        ?>
</div>
    
<div class="content-item-body"><?php 
        echo html_entity_decode($obj->the_content($substr = 350));
        ?>
</div>
        
<div class="content-item-body"><?php 
        $obj->the_keywords($linked = 1);
        ?>
</div>

</div>