Copyright @ 2015-2024 织梦园 版权所有 Power by DedeCms
鲁ICP备15039853号-2

模板标签 TAG标签 网站地图 XML地图 今日更新 返回顶部
/*文章作者信息*/ $query = "SELECT * FROM jcode_member WHERE `mid` = ".$this->Fields['mid']; $authorInfo = $this->dsql->GetOne($query); $this->Fields['authoranme']=$authorInfo['uname']; $this->Fields['authorface']=$authorInfo['face']; if(empty($this->Fields['authorface'])) { $this->Fields['authorface']=($this->authorInfo['sex']=='女')? '../member/templets/images/dfgirl.png' : '../member/templets/images/dfboy.png'; } $this->Fields['authorface']="<a href='".$GLOBALS['cfg_basehost']."/member/index.php?uid=".$authorInfo['userid']."'><img width='32' height='32' src='".$this->Fields['authorface']."' /></a>"; $this->Fields['authoremail']=$authorInfo['email']; |
{dede:field.authorface/} |