if(!empty($appCssList)): endif; if(!empty($langJsList)) { } switch( APP_NAME.ACTION_NAME ){ case 'weibapostDetail'; $xiongzhang_url = U('weiba/Index/postDetail',array('post_id'=>weiba_haveConvert($post_detail['post_id']))); $xiongzhang_title = $post_detail['title']; $xiongzhang_date = str_replace('*','T',date('Y-m-d*H:i:s',$post_detail['post_time'])); preg_match_all("~]+data-original\\s*=\\s*['\"]([^'\"]+)['\"][^>]*>~", $post_detail['content'], $xiongzhang_pic); $xiongzhang_pic = array_slice($xiongzhang_pic[1],0,3); if(count($xiongzhang_pic) < 3){ $xiongzhang_pic = array_slice($xiongzhang_pic[1],0,1); } $xiongzhang_pic=implode(",",$xiongzhang_pic); break; case 'flowersdetail'; $xiongzhang_url = U('flowers/Index/detail',array('pinyin' => $flowers['py_name'])); $xiongzhang_title = $flowers['name']; $xiongzhang_date = str_replace('*','T',date('Y-m-d*H:i:s',$flowers['created'])); if( $flowers['is_gallery'] ){ $map = array (); $map ['row_id'] = intval ($flowers['flowers_id']); $map ['table'] = 'flowers'; $list = model('Attach')->getAttachList($map, '*', 'attach_id asc', 100); foreach($list ['data'] as $key => $val){ $xiongzhang_pic[] = getImageUrl($val['save_path'] . $val['save_name'], 200, 140, true); } if($list['count'] < 3){ $xiongzhang_pic = array_slice($xiongzhang_pic,0,1); }else{ $xiongzhang_pic = array_slice($xiongzhang_pic,0,3); } $xiongzhang_pic=implode(",",$xiongzhang_pic); }else{ $xiongzhang_pic = $flowers['image']; } break; }
if($_GET['page'] == 'home'){

花卉网

}else{ }
发布
if($nav=="weibalist"){class="on"} title="护花山庄主题站">全部主题站 if($nav=="postlist"){ class="on"} title="主题站全部文章">全部文章 养花知识 多肉植物养殖 if($nav=="imglist"){ class="on"} title="养花图片">养花图集 if($GLOBALS['ts']['mid']){ if($nav=="myweiba"){class="on"}>我的主题站 } if($nav=="weibadetail"){ 闲暇时光 }
闲暇时光主题站
共有403篇文章 if($GLOBALS['ts']['mid'] && CheckPermission('weiba_normal','weiba_post') ){ 发文章 }
if($list['data']){ }else{
暂时没有相关文章
}
支付宝天天送红包
- 微信公众号 -
- 官方网站 -