DZAPP2017论坛模板导致帖子页面所有嵌入点不执行的问题
打开:template\dzapp2017\forum\viewthread.php找到
<!--{template common/headers}-->改为<!--{template common/header}-->
打开:template\dzapp2017\common\header_common.php 修改为
<?php exit('Access Denied'); ?>{if CURMODULE == 'viewthread'}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /> <!--{if $_G['config']['output']['iecompatible']}--><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE{$_G['config']['output']['iecompatible']}" /><!--{/if}--> <title><!--{if !empty($navtitle)}-->$navtitle<!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname']<!--{/if}--></title> $_G['setting']['seohead'] <base href="{$_G['siteurl']}" /> <meta name="keywords" content="{if !empty($metakeywords)}{echo dhtmlspecialchars($metakeywords)}{/if}" /> <meta name="description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if}{if empty($nobbname)},$_G['setting']['bbname']{/if}" /> <meta name="copyright" content="2011-2018 www.ai0536.com." /> <meta name="MSSmartTagsPreventParsing" content="True" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <meta property="og:type" content="bbs"/> <meta property="og:image" content="{$_G['siteurl']}data/attachment/forum/($postlist)"/> <meta property="og:release_date" content=" {echo dgmdate($_G)}"/> <meta property="og:title" content="$_G"/> <meta property="og:description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if}{if empty($nobbname)},$_G['setting']['bbname']{/if}"/> <meta property="og:author" content="$_G "/> <meta property="og:bbs:replay" content="$_G"/> <!--{csstemplate}--> <script type="text/javascript">var STYLEID = '{STYLEID}', STATICURL = '{STATICURL}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '{CHARSET}', discuz_uid = '$_G', cookiepre = '{$_G}', cookiedomain = '{$_G}', cookiepath = '{$_G}', showusercard = '{$_G}', attackevasive = '{$_G}', disallowfloat = '{$_G}', creditnotice = '<!--{if $_G['setting']['creditnotice']}-->$_G['setting']['creditnames']<!--{/if}-->', defaultstyle = '$_G', REPORTURL = '$_G', SITEURL = '$_G', JSPATH = '$_G', CSSPATH = '$_G', DYNAMICURL = '$_G';</script> <script type="text/javascript" src="{$_G}common.js?{VERHASH}"></script> <!--{if empty($_GET['diy'])}--><!--{eval $_GET['diy'] = '';}--><!--{/if}--> <!--{if !isset($topic)}--><!--{eval $topic = array();}--><!--{/if}--> <link rel="stylesheet" href="$_G/pc_css/style.css" type="text/css" media="all"> <!--{eval require DISCUZ_ROOT.'./template/dzapp2017/lang/'.CHARSET.'.php';}-->{else}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /> <!--{if $_G['config']['output']['iecompatible']}--><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE{$_G['config']['output']['iecompatible']}" /><!--{/if}--> <title><!--{if !empty($navtitle)}-->$navtitle<!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname']<!--{/if}--></title> $_G['setting']['seohead'] <meta name="keywords" content="{if !empty($metakeywords)}{echo dhtmlspecialchars($metakeywords)}{/if}" /> <meta name="description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if}{if empty($nobbname)},$_G['setting']['bbname']{/if}" /> <meta name="copyright" content="2001-2013 www.ai0536.com." /> <meta name="MSSmartTagsPreventParsing" content="True" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <base href="{$_G['siteurl']}" /> <!--{csstemplate}--> <script type="text/javascript">var STYLEID = '{STYLEID}', STATICURL = '{STATICURL}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '{CHARSET}', discuz_uid = '$_G', cookiepre = '{$_G}', cookiedomain = '{$_G}', cookiepath = '{$_G}', showusercard = '{$_G}', attackevasive = '{$_G}', disallowfloat = '{$_G}', creditnotice = '<!--{if $_G['setting']['creditnotice']}-->$_G['setting']['creditnames']<!--{/if}-->', defaultstyle = '$_G', REPORTURL = '$_G', SITEURL = '$_G', JSPATH = '$_G', CSSPATH = '$_G', DYNAMICURL = '$_G';</script> <script type="text/javascript" src="{$_G}common.js?{VERHASH}"></script> <!--{if empty($_GET['diy'])}--><!--{eval $_GET['diy'] = '';}--><!--{/if}--> <!--{if !isset($topic)}--><!--{eval $topic = array();}--><!--{/if}--> <link rel="stylesheet" href="$_G/pc_css/style.css" type="text/css" media="all"> <!--{eval require DISCUZ_ROOT.'./template/dzapp2017/lang/'.CHARSET.'.php';}-->{/if}
页:
[1]