Exemple #1
0
}
?>
</ul>

<?php 
//对外合作
$sortid = 5;
?>
<div style="clear:both; height:1px; line-height:1%;"></div>
<div class="title"><a href="<?php 
echo Url::sort($sortid);
?>
">对外合作</a>
    <?php 
$Sort_Model = new Sort_Model();
$sorts = $Sort_Model->getChildSorts($sortid);
$sort_ids_str = $sortid;
foreach ($sorts as $val) {
    $sort_ids_str .= ',' . $val['sid'];
    echo " | <a class=\"title_1\" href=\"" . Url::sort($val['sid']) . "\">{$val['sortname']}</a>";
}
?>
</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";