css_append:- /* ***** *---- ****- ***-- ----* ***-- ***-- ***-- */
- body { background-color: {WRAPBG}; }
- #ad_headerbanner { margin: 15px 0 5px; }
- .ad_text { margin-bottom: 10px; padding: 2px 0; border: 1px solid {WRAPBORDERCOLOR}; background: url({STYLEIMGDIR}/portalbox_bg.gif) repeat-x; zoom: 1; }
- .ad_text td { padding: 3px 5px; }
- .ad_column { margin-bottom: 10px; }
- #wrap { padding-bottom: 0; }
- #index #wrap, #forumdisplay #wrap, #viewthread .wrap, .forumcontrol table { border: none; background: transparent !important; }
- #header .wrap { padding: 0; }
- #header h2 { margin: 8px 0; }
- #header .pipe { text-indent: -9999px; background: url({STYLEIMGDIR}/menu_itemline.gif) no-repeat 0 2px; }
- .discuz6_hd { clear: both; height: 31px; border: 1px solid {WRAPBORDERCOLOR}; background: {WRAPBG} url({STYLEIMGDIR}/menu_bg.gif) repeat-x; }
- #menu, #umenu { position: static; }
- #menu{ float: right; margin: 5px 3px 0 0; }
- * html #menu { position: relative; margin-top: 3px; }
- #menu li { margin: 0; background: url({STYLEIMGDIR}/menu_itemline.gif) no-repeat 0 7px; }
- #menu li.current { border: 1px solid; border-color: {WRAPBORDERCOLOR} {WRAPBORDERCOLOR} {WRAPBG}; }
- #menu a { padding: 0 10px; height: 26px; line-height: 26px; border: none; color: {LINK}; }
- #menu a:hover { background-color: transparent; }
- #menu li.current a, #menu li.current a:hover { height: 26px; background: {WRAPBG}; }
- #umenu { float: left; display: inline; margin-left: 8px; line-height: 31px; }
- #umenu a { margin: 0 3px; }
- #nav { text-indent: 0; background: none; }
- #nav a { font-weight: 700; color: {HIGHLIGHTLINK}; }
- .content { background: url({STYLEIMGDIR}/portalbox_bg.gif) repeat-x; }
- .list { margin-bottom: 10px; padding: 1px; border: 1px solid {MENUHOVER}; }
- .content .list h3 { padding-left: 9px; line-height: 31px; background: #325fA2 url({STYLEIMGDIR}/header_bg.gif) repeat-x; color: #FFF; }
- .list h3 a { color: #FFF; }
- .list th { padding-left: 55px !important; background-image: url({STYLEIMGDIR}/forum.gif); background-position: 13px 10px; }
- .list th.new { background-image: url({STYLEIMGDIR}/forum_new.gif); }
- .fcontent .list { border-right: none; border-left: none; }
- #sidebar_img { margin-right: 0; }
- .with_side #sidebar_img { margin-bottom: 19px; }
- #online, #bdays { border: 1px solid {WRAPBORDERCOLOR}; }
- #online h3, #bdays h3 { background: {WRAPBG} url({STYLEIMGDIR}/portalbox_bg.gif) repeat-x; color: {MIDTEXT}; }
- #online h3 a, #bdays h3 a { color: {HIGHLIGHTLINK}; }
- .folder { width: 40px; }
- .folder a { text-decoration: none !important; }
- .folder img { vertical-align: middle; }
- .editorrow, .editor_tb, a.editormode { background: #F7F7F7; }
- .editor a, .editor em { border-color: #F7F7F7 !important; }
- a.oneditor, .editor a:hover { border-color: #888 !important; }
- #footer { overflow: hidden; margin-top: 15px; border-top: 1px solid {MENUHOVER}; background: #E8F3FD; }
- #footer .wrap { background: none; }
- #rightinfo { padding-left: 38px; background: url({STYLEIMGDIR}/discuz_icon.gif) no-repeat 0 5px; }
- .searchlist { margin: 0 !important; border-color: {WRAPBORDERCOLOR} !important; border-width: 1px 0 0 !important; }
- .searchlist .itemtitle { margin: 0; padding: 0 10px; height: 31px; line-height: 31px; background: url({STYLEIMGDIR}/header_bg.gif) repeat-x; color: #FFF; }
- .searchlist .itemtitle .pages, .searchlist .itemtitle .pageback { margin-top: 2px; }
- .searchlist .pages_btns { padding-bottom: 5px; border-top: 1px solid {WRAPBORDERCOLOR}; background: #E8F3FD; }
- .pbl_selected a, .pbl_selected a:hover { background-color: #3F7DBA; }
- .headactions { padding: 10px 12px 0 0; *padding: 8px 12px 0 0; }
- .mainbox .headactions { color: #FFF; }
- .headactions a { color: #FFF; }
- #style_switch { position: static; float: right; margin: 15px 0 -25px; }/* fix IE6+ */
- * html #style_switch { position: absolute; float: none; margin: 0; }/* fix IE6 */
复制代码 header:- <!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" />
- <title>$navtitle $bbname $seotitle - Powered by Discuz!</title>
- $seohead
- <meta name="keywords" content="{$metakeywords}$seokeywords" />
- <meta name="description" content="$metadescription $bbname $seodescription - Discuz! Board" />
- <meta name="generator" content="Discuz! $version" />
- <meta name="author" content="Discuz! Team and Comsenz UI Team" />
- <meta name="copyright" content="2001-2009 Comsenz Inc." />
- <meta name="MSSmartTagsPreventParsing" content="True" />
- <meta http-equiv="MSThemeCompatible" content="Yes" />
- <meta http-equiv="x-ua-compatible" content="ie=7" />
- <link rel="archives" title="$bbname" href="{$boardurl}archiver/" />
- $rsshead
- $extrahead
- {csstemplate}
- <script type="text/javascript">var STYLEID = '{STYLEID}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '$charset', discuz_uid = $discuz_uid, cookiedomain = '$cookiedomain', cookiepath = '$cookiepath', attackevasive = '$attackevasive', disallowfloat = '$disallowfloat', creditnotice = '{if $creditnotice}$creditnames{/if}', {if in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))}gid = parseInt('$thisgid'){elseif CURSCRIPT == 'index'}gid = parseInt('$gid'){else}gid = 0{/if}, fid = parseInt('$fid'), tid = parseInt('$tid')</script>
- <script type="text/javascript" src="{$jspath}common.js?{VERHASH}"></script>
- </head>
- <body id="{CURSCRIPT}" onkeydown="if(event.keyCode==27) return false;">
- <div id="append_parent"></div><div id="ajaxwaitid"></div>
- <div id="header">
- <div class="wrap s_clear">
- <h2><a href="$indexname" title="$bbname">{BOARDLOGO}</a></h2>
- <div id="ad_headerbanner"><!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['headerbanner'])}-->$advlist[headerbanner]<!--{/if}--></div>
- <div class="discuz6_hd">
- <div id="umenu">
- <!--{if $discuz_uid}-->
- <cite><a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a><!--{if $allowinvisible}--><span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_normal_mode}</a><!--{/if}--></span><!--{/if}--></cite>
- <span class="pipe"> </span>
- <!--{if $ucappopen['UCHOME']}-->
- <a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a>
- <!--{elseif $ucappopen['XSPACE']}-->
- <a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a>
- <!--{/if}-->
- <a id="myprompt" href="notice.php" <!--{if $prompt}-->class="new" onmouseover="showMenu({'ctrlid':this.id})"<!--{/if}-->>{lang notice}</a>
- <span id="myprompt_check"></span>
- <a href="pm.php" id="pm_ntc" target="_blank">{lang pm_center}</a>
- <!--{if $taskon}-->
- <a id="task_ntc" {if $doingtask}href="task.php?item=doing" class="new" title="{lang task_unfinish}"{else}href="task.php"{/if} target="_blank">{lang task}</a>
- <!--{/if}-->
- <span class="pipe"> </span>
- <a href="memcp.php">{lang user_center}</a>
- <!--{if $discuz_uid && $adminid > 1}--><a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a><!--{/if}-->
- <!--{if $discuz_uid && $adminid == 1}--><a href="admincp.php" target="_blank">{lang admincp}</a><!--{/if}-->
- <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
- <!--{elseif !empty($_DCOOKIE['loginuser'])}-->
- <cite><a id="loginuser" class="noborder">$_DCOOKIE['loginuser']</a></cite>
- <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang activation}</a>
- <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
- <!--{else}-->
- <a href="$regname" onclick="showWindow('register', this.href);return false;" class="noborder">$reglinkname</a>
- <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang login}</a>
- <!--{/if}-->
- </div>
- <div id="menu">
- <ul>
- <!--{if $_DCACHE['settings']['frameon'] > 0}-->
- <li>
- <span class="frameswitch">
- <script type="text/javascript">
- if(top == self) {
- {if ($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))}
- top.location = 'frame.php?frameon=yes&referer='+escape(self.location);
- {/if}
- document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">{lang frameon_column}<\/a>');
- } else {
- document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">{lang frameon_flat}<\/a>');
- }
- </script>
- </span>
- </li>
- <!--{/if}-->
- <!--{loop $navs $id $nav}-->
- <!--{if $id == 3}-->
- <!--{if !empty($plugins['jsmenu'])}-->
- $nav[nav]
- <!--{/if}-->
- <!--{if !empty($plugins['links'])}-->
- <!--{loop $plugins['links'] $module}-->
- <!--{if !$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)}--><li>$module[url]</li><!--{/if}-->
- <!--{/loop}-->
- <!--{/if}-->
- <!--{else}-->
- <!--{if !$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)}-->$nav[nav]<!--{/if}-->
- <!--{/if}-->
- <!--{/loop}-->
- <!--{if in_array($BASEFILENAME, $navmns)}-->
- {eval $mnid = $BASEFILENAME;}
- <!--{elseif $navmngs[$BASEFILENAME]}-->
- <!--{loop $navmngs[$BASEFILENAME] $navmng}-->
- <!--{if $navmng[0] == array_intersect_assoc($navmng[0], $_GET)}-->{eval $mnid = $navmng[1];}<!--{/if}-->
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- <script type="text/javascript">
- var currentMenu = $('mn_$mnid') ? $('mn_$mnid') : $('mn_$navmns[0]');
- currentMenu.parentNode.className = 'current';
- </script>
- </div>
- </div>
- <!--{if !empty($stylejumpstatus)}-->
- <script type="text/javascript">
- function setstyle(styleid) {
- str = unescape('{echo str_replace("'", "\\'", urlencode($_SERVER[QUERY_STRING]))}');
- str = str.replace(/(^|&)styleid=\d+/ig, '');
- str = (str != '' ? str + '&' : '') + 'styleid=' + styleid;
- location.href = '$BASESCRIPT?' + str;
- }
- </script>
- <ul id="style_switch">
- <!--{loop $styles $id $stylename}-->
- <li{if $id == STYLEID} class="current"{/if}><a href="###" onclick="setstyle($id)" title="$stylename" style="background: $styleicons[$id];">$stylename</a></li>
- <!--{/loop}-->
- </ul>
- <!--{/if}-->
- </div>
- <div id="myprompt_menu" style="display:none" class="promptmenu">
- <div class="promptcontent">
- <ul class="s_clear">
- <!--{loop $prompts $promptkey $promptdata}-->
- <!--{if $promptkey}--><li{if !$promptdata[new]} style="display:none"{/if}><a id="prompt_$promptkey" href="{if $promptdata[script]}$promptdata[script]{else}notice.php?filter=$promptkey{/if}" target="_blank">$promptdata[name] ($promptdata[new])</a></li><!--{/if}-->
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- </div>
- $pluginhooks[global_header]
复制代码 |