www.gusucode.com > 蓝色大气教育培训公司门户网站源码程序 > 蓝色大气教育培训公司门户/整站/data/template/2_diy_portal_view_5.tpl.php
<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('view_5'); block_get('32,33');?><?php include template('common/header'); ?><script src="<?php echo $_G['setting']['jspath'];?>forum_viewthread.js?<?php echo VERHASH;?>" type="text/javascript"></script> <script type="text/javascript">zoomstatus = parseInt(<?php echo $_G['setting']['zoomstatus'];?>), imagemaxwidth = '<?php echo $_G['setting']['imagemaxwidth'];?>', aimgcount = new Array();</script> <?php if(!empty($_G['setting']['pluginhooks']['view_article_top'])) echo $_G['setting']['pluginhooks']['view_article_top'];?><?php echo adshow("text/wp a_t");?><style id="diy_style" type="text/css">#frameH98w47 { margin:0px !important;}#portal_block_32 { border:0px !important;margin:0px !important;}#portal_block_32 .dxb_bc { margin:0px !important;}#frameg3tp26 { margin:0px !important;border:0px !important;}#portal_block_33 { margin:0px !important;border:0px !important;}#portal_block_33 .dxb_bc { margin:0px !important;}</style> </div> <div class="wk_content_left"> <div class="wk_content_left1"> <div class="wk_content_bottom"> <div class="wp"> <div class="wk_content_left_t"> <span class="wk_content_left_t1"><?php echo $week_lang['128'];?></span> <span class="wk_content_left_t2"><?php echo $week_lang['129'];?></span> </div> </div> </div> </div> </div> <div class="wk_ymbg"> <div id="wp" class="wp"> <div class="wp"> <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]--> </div> <div id="ct" class="ct2 wp cl"> <div class="mn"> <div class="wk_c_right_name"> <div class="wk_c_right_name_l"> <span class="wk_c_right_name_l2">查看内容</span> </div> <div class="wk_c_right_name_r"> <ul> <li> <span><?php echo $week_lang['8'];?></span> <span><a href="<?php echo $_G['setting']['navs']['1']['filename'];?>"><?php echo $_G['setting']['navs']['1']['navname'];?></a></span> <span><?php echo $week_lang['17'];?></span> <?php if(is_array($cat['ups'])) foreach($cat['ups'] as $value) { ?><span><a href="<?php echo getportalcategoryurl($value['catid']); ?>"><?php echo $value['catname'];?></a> </span><span><?php echo $week_lang['17'];?></span><?php } ?> <span><a href="<?php echo getportalcategoryurl($cat['catid']); ?>"><?php echo $cat['catname'];?></a></span> <span><?php echo $week_lang['17'];?></span> <span>查看内容</span> </li> <li> <img src="<?php echo $_G['style']['styleimgdir'];?>/portal/right_wz.png" alt="" /> </li> </ul> </div> </div> <div class="bm vw"> <div class="h hm wk_hm"> <h1 class="ph"><?php echo $article['title'];?> <?php if($article['status'] == 1) { ?>(待审核)<?php } elseif($article['status'] == 2) { ?>(已忽略)<?php } ?></h1> <p class="xg1"> <?php echo $article['dateline'];?><span class="pipe">|</span> 发布者: <a href="home.php?mod=space&uid=<?php echo $article['uid'];?>"><?php echo $article['username'];?></a><span class="pipe">|</span> 查看: <em id="_viewnum"><?php if($article['viewnum'] > 0) { ?><?php echo $article['viewnum'];?><?php } else { ?>0<?php } ?></em><span class="pipe">|</span> 评论: <?php if($article['commentnum'] > 0) { ?><a href="<?php echo $common_url;?>" title="查看全部评论"><em id="_commentnum"><?php echo $article['commentnum'];?></em></a><?php } else { ?>0<?php } if($article['author']) { ?><span class="pipe">|</span>原作者: <?php echo $article['author'];?><?php } if($article['from']) { ?><span class="pipe">|</span>来自: <?php if($article['fromurl']) { ?><a href="<?php echo $article['fromurl'];?>" target="_blank"><?php echo $article['from'];?></a><?php } else { ?><?php echo $article['from'];?><?php } } if($_G['group']['allowmanagearticle'] || ($_G['group']['allowpostarticle'] && $article['uid'] == $_G['uid'] && (empty($_G['group']['allowpostarticlemod']) || $_G['group']['allowpostarticlemod'] && $article['status'] == 1)) || $categoryperm[$value['catid']]['allowmanage']) { ?> <span class="pipe">|</span><a href="portal.php?mod=portalcp&ac=article&op=edit&aid=<?php echo $article['aid'];?>">编辑</a> <?php if($article['status']>0 && ($_G['group']['allowmanagearticle'] || $categoryperm[$value['catid']]['allowmanage'])) { ?> <span class="pipe">|</span><a href="portal.php?mod=portalcp&ac=article&op=verify&aid=<?php echo $article['aid'];?>" id="article_verify_<?php echo $article['aid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);">审核</a> <?php } else { ?> <span class="pipe">|</span><a href="portal.php?mod=portalcp&ac=article&op=delete&aid=<?php echo $article['aid'];?>" id="article_delete_<?php echo $article['aid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);">删除</a> <?php } } ?> <?php if(!empty($_G['setting']['pluginhooks']['view_article_subtitle'])) echo $_G['setting']['pluginhooks']['view_article_subtitle'];?> </p> </div> <!--[diy=diysummarytop]--><div id="diysummarytop" class="area"></div><!--[/diy]--> <!--[diy=diysummarybottom]--><div id="diysummarybottom" class="area"></div><!--[/diy]--> <div class="d"> <!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]--> <table cellpadding="0" cellspacing="0" class="vwtb"><tr><td id="article_content"><?php echo adshow("article/a_af/1");?><?php if($content['title']) { ?> <div class="vm_pagetitle xw1"><?php echo $content['title'];?></div> <?php } ?> <?php echo $content['content'];?> </td></tr></table> <?php if(!empty($_G['setting']['pluginhooks']['view_article_content'])) echo $_G['setting']['pluginhooks']['view_article_content'];?> <?php if($multi) { ?><div class="ptw pbw cl"><?php echo $multi;?></div><?php } ?> <!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]--> <script src="<?php echo $_G['setting']['jspath'];?>home.js?<?php echo VERHASH;?>" type="text/javascript"></script> <?php if(!empty($contents)) { ?> <div id="inner_nav" class="ptn xs1"> <h3>本文导航</h3> <ul class="xl xl2 cl"><?php if(is_array($contents)) foreach($contents as $key => $value) { $curpage = $key+1;?><?php $inner_view_url = helper_page::mpurl($viewurl, '&page=', $curpage);?><li>• <a href="<?php echo $inner_view_url;?>"<?php if($key === $start) { ?> class="xi1"<?php } ?>>第 <?php echo $curpage;?> 页 <?php echo $value['title'];?></a></li> <?php } ?> </ul> </div> <?php } ?> <!--[diy=diycontentclickbottom]--><div id="diycontentclickbottom" class="area"></div><!--[/diy]--> </div> <?php if(!empty($aimgs[$content['pid']])) { ?> <script type="text/javascript" reload="1">aimgcount[<?php echo $content['pid'];?>] = [<?php echo implode(',', $aimgs[$content['pid']]);; ?>];attachimgshow(<?php echo $content['pid'];?>);</script> <?php } if(!empty($_G['setting']['pluginhooks']['view_share_method'])) { ?> <div class="tshare cl"> <strong>!viewthread_share_to!:</strong> <?php if(!empty($_G['setting']['pluginhooks']['view_share_method'])) echo $_G['setting']['pluginhooks']['view_share_method'];?> </div> <?php } ?> <div class="o cl ptm pbm wk_hm"> <div class="z"> <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_weixin" data-cmd="weixin" title=""></a><a href="#" class="bds_qzone" data-cmd="qzone" title=""></a><a href="#" class="bds_tsina" data-cmd="tsina" title=""></a><a href="#" class="bds_tqq" data-cmd="tqq" title=""></a><a href="#" class="bds_renren" data-cmd="renren" title=""></a><a href="#" class="bds_tsohu" data-cmd="tsohu" title=""></a><a href="#" class="bds_t163" data-cmd="t163" title=""></a><a href="#" class="bds_tfh" data-cmd="tfh" title=""></a></div> <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script> </div> <div class="y"> <?php if(!empty($_G['setting']['pluginhooks']['view_article_op_extra'])) echo $_G['setting']['pluginhooks']['view_article_op_extra'];?> <a href="home.php?mod=spacecp&ac=favorite&type=article&id=<?php echo $article['aid'];?>&handlekey=favoritearticlehk_<?php echo $article['aid'];?>" id="a_favorite" onclick="showWindow(this.id, this.href, 'get', 0);" class="oshr ofav">收藏</a> <?php if(helper_access::check_module('share')) { ?> <a href="home.php?mod=spacecp&ac=share&type=article&id=<?php echo $article['aid'];?>&handlekey=sharearticlehk_<?php echo $article['aid'];?>" id="a_share" onclick="showWindow(this.id, this.href, 'get', 0);" class="oshr">分享</a> <?php } ?> <a href="misc.php?mod=invite&action=article&id=<?php echo $article['aid'];?>" id="a_invite" onclick="showWindow('invite', this.href, 'get', 0);" class="oshr oivt">邀请</a> <?php if($_G['group']['allowmanagearticle'] || ($_G['group']['allowpostarticle'] && $article['uid'] == $_G['uid'] && (empty($_G['group']['allowpostarticlemod']) || $_G['group']['allowpostarticlemod'] && $article['status'] == 1)) || $categoryperm[$value['catid']]['allowmanage']) { ?> <a href="portal.php?mod=portalcp&ac=article&op=edit&aid=<?php echo $article['aid'];?>">编辑</a><span class="pipe">|</span> <a id="related_article" href="portal.php?mod=portalcp&ac=related&aid=<?php echo $article['aid'];?>&catid=<?php echo $article['catid'];?>&update=1" onclick="showWindow(this.id, this.href, 'get', 0);return false;">添加相关文章</a><span class="pipe">|</span> <?php if($article['status']>0 && ($_G['group']['allowmanagearticle'] || $categoryperm[$value['catid']]['allowmanage'])) { ?> <a href="portal.php?mod=portalcp&ac=article&op=verify&aid=<?php echo $article['aid'];?>" id="article_verify_<?php echo $article['aid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);">审核</a> <?php } else { ?> <a href="portal.php?mod=portalcp&ac=article&op=delete&aid=<?php echo $article['aid'];?>" id="article_delete_<?php echo $article['aid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);">删除</a> <?php } ?> <span class="pipe">|</span> <?php } if($article['status']==0 && ($_G['group']['allowdiy'] || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 5) || getstatus($_G['member']['allowadmincp'], 6))) { ?> <a href="portal.php?mod=portalcp&ac=portalblock&op=recommend&idtype=aid&id=<?php echo $article['aid'];?>" onclick="showWindow('recommend', this.href, 'get', 0)">模块推送</a><span class="pipe">|</span> <?php } ?> </div> </div> <?php if($article['preaid'] || $article['nextaid']) { ?> <div class="pren pbm cl"> <?php if($article['prearticle']) { ?><em>上一篇:<a href="<?php echo $article['prearticle']['url'];?>"><?php echo $article['prearticle']['title'];?></a></em><?php } if($article['nextarticle']) { ?><em>下一篇:<a href="<?php echo $article['nextarticle']['url'];?>"><?php echo $article['nextarticle']['title'];?></a></em><?php } ?> </div> <?php } ?> </div> <!--[diy=diycontentrelatetop]--><div id="diycontentrelatetop" class="area"></div><!--[/diy]--><?php echo adshow("article/mbm hm/2");?><?php echo adshow("article/mbm hm/3");?><!--[diy=diycontentrelate]--><div id="diycontentrelate" class="area"></div><!--[/diy]--> <!--[diy=diycontentcomment]--><div id="diycontentcomment" class="area"></div><!--[/diy]--> </div> <div class="sd pph"> <div class="wk_c_left_t"> <span class="wk_c_left_t1"><?php echo $week_lang['52'];?></span><span class="wk_c_left_t2"><?php echo $week_lang['53'];?></span> </div> <?php if($cat['others']) { ?> <div class="wk_c_left_cnt"> <ul> <?php if(is_array($cat['others'])) foreach($cat['others'] as $value) { ?> <li class="wk_menu1_cur"><a href="<?php echo getportalcategoryurl($value['catid']); ?>" <?php if($value['catid'] == $cat['catid']) { ?>class="a"<?php } ?>><?php echo $value['catname'];?></a></li> <?php } ?> </ul> </div> <?php } ?> <div class="clear"></div> <?php if($wk_sides) { ?> <div class="wk_c_left_hot"> <span class="wk_c_left_hot1"><?php echo $week_lang['47'];?></span><span class="wk_c_left_hot2">Top</span> </div> <div class="wk_left_hotdiy"> <div class="wk_left_hotcss"> <!--[diy=diy_hot]--><div id="diy_hot" class="area"><div id="frameH98w47" class=" frame move-span cl frame-1"><div id="frameH98w47_left" class="column frame-1-c"><div id="frameH98w47_left_temp" class="move-span temp"></div><?php block_display('32');?></div></div></div><!--[/diy]--></div> </div> <div class="clear"></div> <div class="wk_c_left_hot"> <span class="wk_c_left_hot1"><?php echo $week_lang['48'];?></span><span class="wk_c_left_hot2">Outstanding</span> </div> <div class="wk_left_hotdiy"> <div class="wk_left_hotcss"> <!--[diy=diy_tj]--><div id="diy_tj" class="area"><div id="frameg3tp26" class=" frame move-span cl frame-1"><div id="frameg3tp26_left" class="column frame-1-c"><div id="frameg3tp26_left_temp" class="move-span temp"></div><?php block_display('33');?></div></div></div><!--[/diy]--></div> </div> <div class="clear"></div> <div class="wk_link_pro"> <a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $week_lang['49'];?>&site=qq&menu=yes" target="_blank" title="<?php echo $week_lang['22'];?>"><img src="<?php echo $_G['style']['styleimgdir'];?>/portal/feedback.png" alt=""/></a> </div> <?php } ?> </div> </div> </div> <?php if($_G['relatedlinks']) { ?> <script type="text/javascript"> var relatedlink = [];<?php if(is_array($_G['relatedlinks'])) foreach($_G['relatedlinks'] as $key => $link) { ?>relatedlink[<?php echo $key;?>] = {'sname':'<?php echo $link['name'];?>', 'surl':'<?php echo $link['url'];?>'}; <?php } ?> relatedlinks('article_content'); </script> <?php } ?> <div class="wp mtn"> <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]--> </div> <input type="hidden" id="portalview" value="1"><?php include template('common/footer'); ?>