</tr>
      </thead>
      <tbody>
        <?php 
if (!empty($output['reply_list']) && is_array($output['reply_list'])) {
    ?>
        <?php 
    foreach ($output['reply_list'] as $val) {
        ?>
        <tr class="hover edit">
          <td class="w24"><input type="checkbox" name="check_reply_id[]" value="<?php 
        echo $val['reply_id'];
        ?>
" class="checkitem"></td>
          <td class="w50pre"><?php 
        echo uk86_removeUBBTag($val['reply_content']);
        ?>
</td>
          <td class="align-center"><?php 
        echo $val['member_name'];
        ?>
</td>
          <td><?php 
        echo @date('Y-m-d H:i', $val['reply_addtime']);
        ?>
</td>
          <td class="w84"><a href="javascript:void(0);" nctype="replyDetail"><?php 
        echo $lang['circle_reply_check_info'];
        ?>
</a> | <a href="javascript:void(0);" onclick="if(confirm('<?php 
        echo $lang['nc_ensure_del'];
          <?php 
            foreach ($array as $v) {
                ?>
            <div class="thumb-cut"><a href="Javascript: void(0);"><img src="<?php 
                echo uk86_themeImageUrl($v['affix_filethumb']);
                ?>
" class="t-img" /></a></div>
          <?php 
            }
            ?>
          <?php 
        }
        ?>
          </dd>
          <dd class="theme-txt"><p><?php 
        echo uk86_removeUBBTag($val['theme_content']);
        ?>
</p><a href="<?php 
        echo CIRCLE_SITE_URL;
        ?>
/index.php?act=theme&op=theme_detail&c_id=<?php 
        echo $val['circle_id'];
        ?>
&t_id=<?php 
        echo $val['theme_id'];
        ?>
">[<?php 
        echo $lang['sns_look_at_original'];
        ?>
]</a></dd>
          <dd class="theme-date"><?php 
Beispiel #3
0
 /**
  * ajax获取回复相关信息 话题列表页使用
  */
 public function ajax_quickreplyOp()
 {
     // 话题信息
     $this->themeInfo();
     $data = array();
     $data['form_action'] = CIRCLE_SITE_URL . '/index.php?act=theme&op=save_reply&type=quick&c_id=' . $this->c_id . '&t_id=' . $this->t_id;
     $data['member_avatar'] = uk86_getMemberAvatarForID($_SESSION['member_id']);
     // 头像
     // 回复
     $reply_list = Model()->table('circle_threply')->where(array('theme_id' => $this->t_id, 'circle_id' => $this->c_id))->order('reply_id desc')->limit(5)->select();
     if (!empty($reply_list)) {
         foreach ($reply_list as $key => $val) {
             $reply_list[$key]['member_avatar'] = uk86_getMemberAvatarForID($val['member_id']);
             $reply_list[$key]['reply_addtime'] = date('Y-m-d H:i', $val['reply_addtime']);
             $reply_list[$key]['reply_content'] = uk86_removeUBBTag($val['reply_content']);
         }
     }
     $data['reply_list'] = $reply_list;
     $data['c_istalk'] = intval(C('circle_istalk'));
     $data['c_contentleast'] = intval(C('circle_contentleast'));
     if (intval(C('circle_contentleast')) > 0) {
         $data['c_contentmsg'] = sprintf(L('nc_content_min_length'), intval(C('circle_contentleast')));
     } else {
         $data['c_contentmsg'] = L('nc_content_not_null');
     }
     if (strtoupper(CHARSET) == 'GBK') {
         $data = Uk86Language::uk86_getUTF8($data);
     }
     echo json_encode($data);
     exit;
 }
Beispiel #4
0
        <?php 
    }
    ?>
        <?php 
}
?>
      </dd>
      <dd class="sub"><span id="_share_publisher">作者:<?php 
echo $output['theme_info']['member_name'];
?>
</span><span id="_share_origin">来自:<?php 
echo $output['theme_info']['circle_name'];
?>
</span></dd>
      <dd class="abstract"><?php 
echo uk86_removeUBBTag($output['theme_info']['theme_content']);
?>
</dd>
    </dl>
    <!-- 站外分享 -->
    <?php 
if (C('share_isuse') == 1 && !empty($output['app_arr'])) {
    ?>
    <div class="share-widget"> <span class="title"><?php 
    echo $lang['sharebind_alsoshareto'];
    ?>
</span> <span class="s-app">
      <?php 
    foreach ($output['app_arr'] as $k => $v) {
        ?>
      <label nc_type="appitem_<?php