示例#1
0
文件: side.php 项目: szshenjian/JIEWU
echo Url::sort($sortid);
?>
">街舞艺术.国内外街舞艺术精英</a></div><div class="more"><a href="<?php 
echo Url::sort($sortid);
?>
">更多></a></div>
<ul class="left_5_1">
    <?php 
$sqlSegment = "and sortid={$sortid} order by sortop DESC,date DESC";
$logs = $Log_Model->getLogsForHome($sqlSegment, 1, 6);
$cover_img = '';
foreach ($logs as $value) {
    ?>
	<li>
    <?php 
    blog_cover($value['logid'], $cover_img, 135, 135);
    ?>
    </li>
    <?php 
}
?>
</ul>
 </div>
 <div class="right_4">
 
<?php 
//国内外街舞艺术精品
$sortid = 8;
?>
 <div class="title"><a href="<?php 
echo Url::sort($sortid);
示例#2
0
</div>
<div class="more"><a href="<?php 
echo Url::sort($sortid);
?>
">更多></a></div>
<div style="clear:both; height:10px; line-height:1%;"></div>
<ul class="left_4">
    <?php 
$sqlSegment = "and sortid IN ({$sort_ids_str}) order by sortop DESC,date DESC";
$logs = $Log_Model->getLogsForHome($sqlSegment, 1, 6);
$cover_img = '';
foreach ($logs as $value) {
    ?>
	<li>
    <?php 
    blog_cover($value['logid'], $cover_img, 230, 137);
    ?>
    <p><a href="<?php 
    echo $value['log_url'];
    ?>
"><?php 
    echo $value['log_title'];
    ?>
</a></p>
    </li>
    <?php 
}
?>
</ul>
</div>