private function _form($links) { if (!empty($links['mix']) && !XUtils::isUtf8($links['mix'])) { $links['mix'] = XUtils::autoCharset($links['mix']); } if (!empty($links['title']) && !XUtils::isUtf8($links['title'])) { $links['title'] = XUtils::autoCharset($links['title']); } $links['mix'] = empty($links['mix']) ? null : XUtils::b64encode($links['mix']); //先判断是外链图片还是本地图片 $imgtype = reqPost('imgtype', null); // ppr($_POST,1); if (!empty($imgtype)) { if ($imgtype == 'local') { $links['image_link'] = $this->_doLocalImage('image_link'); } if (empty($links['image_link'])) { $links['image_link'] = null; } } $links['begin_time'] = empty($links['begin_time']) ? 0 : strtotime($links['begin_time']); $links['end_time'] = empty($links['end_time']) ? 0 : strtotime($links['end_time']); // ppr($links_arr,1); $links['create_time'] = $this->_thetime; $links['user_id'] = $this->_backendUserId; return $links; }
?> " target="_blank">讨论圈子</a> </div> <div class="con"> <!--公用--> <p class="userpanel"> 用户名:<?php if (!XUtils::isUtf8($this->_backendUserName)) { echo $this->_backendUserName; } else { echo $this->_backendUserName; } ?> <br /> 用户组:<?php if (!XUtils::isUtf8($this->_backendGroupName)) { echo $this->_backendGroupName; } else { if ($this->_backendUserId == 1) { echo '超级管理组'; } else { echo $this->_backendGroupName; } } ?> <br /> <a href="<?php echo $this->createUrl('default/welcome'); ?> " target="main">后台首页</a> | <a href="<?php