Exemplo n.º 1
0
 function render_main_blog($info)
 {
     add_to_head("<link rel='stylesheet' href='" . INFUSIONS . "blog/templates/css/blog.css' type='text/css'>");
     echo render_breadcrumbs();
     echo "<div class='row'>\n";
     echo "<div class='col-xs-12 col-sm-9 overflow-hide'>\n";
     if (isset($_GET['readmore']) && !empty($info['blog_item'])) {
         echo "<!--blog_pre_readmore-->";
         echo display_blog_item($info);
         // change this integration
         echo "<!--blog_sub_readmore-->";
     } else {
         echo display_blog_index($info);
     }
     echo "</div><div class='col-xs-12 col-sm-3'>\n";
     echo "<!--pre_blog_cat_idx-->";
     echo display_blog_menu($info);
     echo "<!--sub_blog_cat_idx-->";
     echo "</div>\n";
     echo "</div>\n";
 }
Exemplo n.º 2
0
</a><br/>

<?php 
}
if (defined("BBS_HAVE_BLOG")) {
    ?>
	<a href='javascript:changemn("pc");' target="_self"><img id="imgpc" src="images/close.gif" class="pm" alt="+"
	></a><a href='pc/index.html'><script type="text/javascript">putImage('i_blog.gif','class="sfolder"');</script><?php 
    echo BBS_NICKNAME;
    ?>
Blog</a><br/>

	<div class="pp" id="divpc">
<?php 
    if ($currentuser["userid"] != "guest") {
        display_blog_menu($currentuser["userid"], $currentuser["firstlogin"]);
    }
    ?>
		<div class="mi"><a href="pc/index.html">Blog首页</a></div>
		<div class="mi"><a href="pc/pc.php">用户列表</a></div>
		<div class="mi"><a href="pc/pcreco.php">推荐文章</a></div>
		<div class="mi"><a href="pc/pclist.php">热门排行</a></div>
		<div class="mi"><a href="pc/pcsec.php">分类目录</a></div>
		<div class="mi"><a href="pc/pcnew.php">最新日志</a></div>
		<div class="mi"><a href="pc/pcnew.php?t=c">最新评论</a></div>
		<div class="mi"><a href="pc/pcsearch2.php">博客搜索</a></div>
		<div class="mi"><a href="pc/pcnsearch.php">日志搜索</a></div>
<?php 
    @(include "pc/pcconf.php");
    if (isset($pcconfig["BOARD"])) {
        ?>
Exemplo n.º 3
0
	</tr>
	</table>
	</td>
</tr>

<tr>
<td  valign="top">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<?php 
if ($pc['USER'] != '_filter') {
    if ($tag == 0 || $tag == 1 || $tag == 2 || $tag == 4) {
        ?>
	<td rowspan="2" align="middle" valign="top" width="150">
	<?php 
        display_blog_menu($pc, $tid, $tag, $blogMenus);
        ?>
	</td>
<?php 
    }
}
?>
	<td align="left" valign="top">
	<table cellspacing="0" cellpadding="0" border="0" width="100%">
	<tr>
		<td><img src="images/empty.gif"></td>
		<td align="right" valign="top">
	<table cellspacing="0" cellpadding="3" border="0" class='t21'>
	<tr>
<?php 
while (list($secTag, $secTagValue) = each($tags)) {