[\s]*<\/p>/u","",$html); if($count==1){$html.=$images[0];} else{ $html.="
'); $ht = "".$ht.""; } else if($generate_refs) $ht = $this->GenerateLinkedPosts($ht); if ($generate_thumbs && isset($post['images']) && isset($post['images'][0])){ $ht.=""; } return $ht; } function MakeSinglePost(&$post, $show_link=false, $side=false, $extra_class_string=NULL, $strip_tags=false, $show_thread_link=false, $show_reply_count=false, $generate_anchor=false, $generate_thumb = false, $is_top = false){ $is_deleted = (isset($post['mark_delete'])&&$post['mark_delete']); $mark_value = isset($post['mark_value'])?$this->Markers[$post['mark_value']]:-1; $ref_count = isset($post['refs'])?sizeof($post['refs']):0; ?>"; foreach($post['images'] as $im){ $ht.="
- ".$im."
"; } $ht.="=$side?" post_box":""?>' data-post-id='=$post['id']?>' =$is_deleted?"data-mark-delete='true'":""?>> =0 && !$show_link){?> =$this->Markers[$post['mark_value']]?> =$this->T('标记')?>=$this->T('置顶帖子')?>=$side?"":""?>=$is_deleted?"deleted_post":""?>'>=$side?" =$this->GenerateSinglePost($post, $strip_tags, $generate_anchor, true, $generate_thumb)?> ":""?> '>=isset($post['mark_value'])?$this->Markers[$post['mark_value']]:($ref_count?"":"→")?>=$ref_count?>' class='invert_a smaller block opt_compact'>'>=$post['tid']['count']?> =$this->T('个回复')?>=$this->T('回复给主题帖:')?>=$this->GenerateSinglePost($post['tid']['first'], true, false, false, true);?>=$this->T('继续补充该话题:')?>T('发送')?> /> | =$this->T('图片')?>Anchors = []; ?>=$this->T('最近')?>
LoggedIn){ ?>MakePostingFields(NULL,false); ?>SpecialPinned) && ($p = &$this->GetPost($this->SpecialPinned))!=NULL && !$this->CurrentOffset){ $this->MakeSinglePost($p, true, false, false, false, true, false, false, false, true); } $i = 0; foreach(array_reverse($this->Posts) as &$p){ if($i < $this->PostsPerPage * $this->CurrentOffset) {$i++; continue;} if(in_array($p['id'],[$this->SpecialPinned,$this->SpecialFooter,$this->SpecialFooter2,$this->SpecialNavigation])) continue; if(isset($p['tid'])){ if(isset($p['tid']['displayed'])) continue; $p['tid']['displayed'] = True; } $this->MakeSinglePost($p, true, false, NULL, false, true, false, false, false, false); $i++; if($i >= $this->PostsPerPage * (1+$this->CurrentOffset)) {break;} }?>
=$this->T('话题')?>
=$this->T('详细')?>
NULL_POST; $p = &$this->GetPost(isset($p['next'])?$p['next']:NULL)){ $use_class=($p == $post)?'focused_post':''; $show_link = ($p == $post)?false:true; $this->MakeSinglePost($p,$show_link,false,$use_class,false, false, false, true, false, false); if($p == $post){?> MakeSinglePost($post,false, false, 'focused_post',false, false, false, true, false, false); ?>
LoggedIn){ ?>
MakePostingFields($is_thread?$th['last']['id']:$post['id'], true);?>=$this->T('点击图片以插入:')?>
>=$this->T('上传列表中的文件')?>=$this->T('选择、粘贴或者拖动到页面以上传图片。')?>
=$this->T('就绪')?>LoggedIn){ ?>=(isset($name) && $this->GetGallery($name)!=NULL)?("".$this->T('相册').":".$name): ($_GET['gallery']=='trash'?$this->T('垃圾桶'):$this->T('画廊'))?>
LoggedIn){?>MakeUploader(false); ?>=$this->T('选择了')?> 0 =$this->T('个图片。')?> =$this->T('清除')?>
=$this->T('添加到')?> =$this->T('执行')?>
=$this->T('或者')?>=$this->T('从相册移除')?>
Images[0])) foreach($this->Images as $im){ if($_GET['gallery']=='trash') $name='trash'; if($_GET['gallery']!='main'){ if(!isset($im['galleries']) || !in_array($name, $im['galleries'])) continue;} ?>LoggedIn){ ?>' data-imgsrc='=$im["name"]?>' />=$this->T('设置')?>
LoggedIn){ ?>
LoggedIn){ ?> ' /> ' />=$this->T('选项')?> =$this->T('值')?> =$this->T('网站标题')?> =$this->T('短标题')?> =$this->T('显示名称')?> =$this->T('导航栏')?> =isset($this->SpecialNavigation)?"→":""?> =$this->T('脚注')?> 1=isset($this->SpecialFooter)?"→":""?> =$this->T('脚注')?> 2=isset($this->SpecialFooter2)?"→":""?> =$this->T('置顶文')?>=isset($this->SpecialPinned)?"→":""?> =$this->T('附加操作')?> =$this->T('进入')?> =$this->T('管理员')?> =$this->T('登出')?> =$this->T('帐号')?> =$this->T('新密码')?> =$this->T('再次输入')?> =$this->T('旧密码')?> =$this->T('请登录')?> =$this->T('帐号')?> =$this->T('密码')?> =$this->T('附加操作')?>
=$this->T('返回一般设置')?>
=$this->T('自动重定向')?>
=$this->T('P为帖子跳转,按域名后的字符串匹配跳到目标文章;S为站点跳转,可以重定向来源域名,例子:')?>
P discount:20001001010101;
S old_domain:www.new_domain.com:20001001010101; ' />
=$this->T('当心!下列操作将立即执行:')?>