Exemplo n.º 1
0
<div id="ibody">
	<?php 
include_once dirname(__FILE__) . '/../inc/_consult_top.php';
?>
		<div id="fbody">
		<div id="log_top">
			<div id="log_t">
				<a href="/"><div id="log"></div></a>
				<div id="log_address">
					<a href="/news" style='color:blue;'>资讯首页</a>
					<?php 
$category = new category_class('news');
$cate_tree = $category->tree_map_item($column[0]->category_id);
$cate_tree = array_reverse($cate_tree);
foreach ($cate_tree as $cate) {
    $list_url = get_news_list_url($cate_tree[0]->id);
    echo " &gt;&gt; <a href='{$list_url}' style='color:blue;' target='_blank'>{$cate->name}</a>";
}
?>
					<span> &gt;&gt; <?php 
echo $column[0]->title;
?>
</span>
				</div>
			</div>
			<div id="hr"></div>
		</div>
		<div id="b_l">
			<div id="title"  title="<?php 
echo $column[0]->title;
?>
Exemplo n.º 2
0
								</div>
								<div class="sblct_r">
									<div class="sb_title">
										<!-- 
										<?php 
$i = 0;
foreach ($category as $k => $v) {
    ?>
										<div class="sbr_t_a" style="<?php 
    if ($i != 3) {
        echo 'border-right:1px solid #EEDECF;';
    }
    ?>
">
										<a href="<?php 
    echo get_news_list_url($k);
    ?>
" title="<?php 
    echo $v;
    ?>
"><?php 
    echo $v;
    ?>
</a></div>
										<?php 
    $i++;
}
?>
										 -->
									</div>
									<div class="sb_content">