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{ }
发布
$tpl_data = array('author'=>getUserName($uid),'title'=>text($title),'body'=>getShort(text($content),80),'url'=>U('blog/Index/show',array('id'=>$id,'uid'=>$uid))); $tpl_data = urlencode(serialize($tpl_data)); $param_data = urlencode(serialize(array('has_status'=>1,'is_success_status'=>1,'status_title'=>'发布成功')));
$_header_tab_on_my = in_array(ACTION_NAME, array('my','admin','addBlog','edit')) || (ACTION_NAME=='show' && $isOwner=='1') ? '1' : '0'; if(!empty($name)){ $_header_tab_on_my = 2;}

class="on" title="养花日记">养花日记

class="on" title="我的养花日记">我的养花日记

的养花日记

问题请教问题请教
搜索

l绿萝

if($isAdmin){ 编辑 删除 分享 }else{ 编辑 删除 分享 }

我种的绿萝黄叶怎么办?

【l绿萝 - 养花日记】最后更新时间: 2017-05-08 19:03

【l绿萝】的评论

if($GLOBALS['ts']['mid']){ 【图片】
可以输入140个字
您没有此评论权限
}else{ 游客【图片】
可以输入140个字
发表评论,你需要登录注册
评论
}
支付宝天天送红包
- 微信公众号 -
- 官方网站 -