下了个血儿的修改版,喜欢这个颜色。但是问题很多
主页顶部广告可以正常显示,这样的http://www.ppc8.cn/
但是其它也显示的时候,logo就会下沉。http://www.ppc8.cn/?action-topic
有什么办法可以解决么?
还有,怎么制作新建的模板和全站统一的风格啊,我下的这个没有招聘和影视的模板。
谢谢了,有好人愿意帮我的话,加我QQ 8774444
index的部分源码
<?exit?>
<!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=$_SCONFIG[charset]" />
<title>$_SCONFIG[sitename] $_SCONFIG[seotitle]</title>
<meta name="keywords" content="$_SCONFIG[sitename] $_SCONFIG[seokeywords]" />
<meta name="description" content="$_SCONFIG[sitename] $_SCONFIG[seodescription]" />
<link rel="stylesheet" type="text/css" href="{S_URL}/templates/$_SCONFIG[template]/css/style.css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE2 {
color: #FF6600;
font-weight: bold;
}
.STYLE3 {
color: #009900;
font-weight: bold;
}
-->
</style>
$_SCONFIG[seohead]
<script type="text/javascript">
var siteUrl = "{S_URL}";
</script>
<script src="{S_URL}/include/js/ajax.js" type="text/javascript" language="javascript"></script>
<script src="{S_URL}/include/js/common.js" type="text/javascript" language="javascript"></script>
</head>
<body>
<!--{eval $ads = getad('system', 'indexad', '1');}-->
<div id="wrap">
<div id="header">
<div id="a_topmenu">
<span>
<a href="{S_URL}/">首页</a> |
<a href="#action/bbs#">论坛</a> |
<a href="{S_URL}/batch.search.php">搜索</a>
</span>
<div id="userpanel"><script src="{S_URL}/a03_batch.panel.php?rand={eval echo rand(1, 999999)}" type="text/javascript" language="javascript"></script></div>
</div>
<div id="pagetitle">
<div>
<a href="{S_URL}/"><img id="logo" src="{S_URL}/templates/$_SCONFIG[template]/images/logo.gif" alt="$_SCONFIG[sitename]" /></a>
</div>
<!--{if !empty($ads['pageheadad'])}-->
<div class="bannertop">$ads[pageheadad]</div>
<!--{/if}-->
</div>
<div id="topmenu">
<div>
<!--{loop $channels['menus'] $key $value}-->
<a href="$value[url]" class="$key">$value[name]</a>
<!--{/loop}-->
</div>
</div>
<div id="navigation">
<form id="searchform" action="{S_URL}/batch.search.php" method="post">
<input type="text" id="searchkey" name="searchkey" />
<select name="type" id="type">
<option value="">全部</option>
<!--{loop $channels['types'] $value}-->
<option value="$value[nameid]">$value[name]</option>
<!--{/loop}-->
</select>
<button type="submit" name="subjectsearch" value="true">搜索</button>
</form>
<p>您的位置:<a href="{S_URL}/">首页</a></p>
</div>
</div>
<!--{if !empty($ads['pagecenterad'])}-->
<div class="banner">
$ads[pagecenterad]
</div>
<!--{/if}-->
<div class="content" style="margin-bottom: 4px;">
<div class="a_sideR">
<div style="height:100px; width:200px; background:#eef7fe; overflow:hidden; margin-bottom:6px;">
<div>#getad("user","1")#</div><!--axueer03_1-->
</div>
<!--一周评论热点-->
<!--{block name="spacenews" parameter="dateline/604800/order/i.replynum DESC/limit/0,9/subjectlen/34/cachetime/68000/cachename/replyhot/tpl/data"}-->
<div class="block" style="height: 240px; overflow: hidden;">
<h3>一周评论热点</h3>
<ul class="msgtitlelist">
<!--{if !empty($_SBLOCK['replyhot'])}-->
<!--{loop $_SBLOCK['replyhot'] $value}-->
<li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
<!--{/loop}-->
<!--{/if}-->
</ul>
</div>
</div>
其它header的源码
<?exit?>
<!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=$_SCONFIG[charset]" />
<title>$title $_SCONFIG[seotitle]</title>
<meta name="keywords" content="$keywords $_SCONFIG[seokeywords]" />
<meta name="description" content="$description $_SCONFIG[seodescription]" />
<link rel="stylesheet" type="text/css" href="{S_URL}/templates/$_SCONFIG[template]/css/style.css" />
$_SCONFIG[seohead]
<script type="text/javascript">
var siteUrl = "{S_URL}";
</script>
<script src="{S_URL}/include/js/ajax.js" type="text/javascript" language="javascript"></script>
<script src="{S_URL}/include/js/common.js" type="text/javascript" language="javascript"></script>
</head>
<body>
<div id="wrap">
<!-- Header页首 -->
<div id="header">
<div id="a_topmenu">
<span>
<a href="{S_URL}/">首页</a> |
<a href="#action/bbs#">论坛</a> |
<a href="{S_URL}/batch.search.php">搜索</a>
</span>
<div id="userpanel"><script src="{S_URL}/a03_batch.panel.php" type="text/javascript" language="javascript"></script></div>
</div>
<div id="pagetitle">
<!--{if empty($fid) && empty($tid)}-->
<!--{eval $ads = getad('system', 'bbs', '1');}-->
<!--{if !empty($ads['pageheadad'])}-->
<div class="bannertop">$ads[pageheadad]</div>
<!--{/if}-->
<!--{elseif !empty($tid)}-->
<!--{eval $ads3 = getad('system', 'bbs', '3');}-->
<!--{if !empty($ads3['pageheadad'])}-->
<div class="bannertop">$ads3[pageheadad]</div>
<!--{/if}-->
<!--{else}-->
<!--{eval $ads2 = getad('system', 'bbs', '2');}-->
<!--{if !empty($ads2['pageheadad'])}-->
<div class="bannertop">$ads2[pageheadad]</div>
<!--{/if}-->
<!--{/if}-->
<div>
<a href="{S_URL}/"><img id="logo" src="{S_URL}/templates/$_SCONFIG[template]/images/logo.gif" alt="站点Logo" /></a>
</div>
</div>
<div id="topmenu">
<div id="bbsmenu">
<!--{loop $channels['menus'] $key $value}-->
<a href="$value[url]" class="$key">$value[name]</a>
<!--{/loop}-->
</div>
</div>
<!--论坛分类导航菜单-->
<!--{block name="bbsforum" parameter="type/forum/allowblog/1/order/displayorder/limit/0,100/cachetime/14400/cachename/forumarr/tpl/data"}-->
<div id="menu">
<ul>
<!--{loop $_SBLOCK['forumarr'] $value}-->
<li><a href="$value[url]">$value[name]</a></li>
<!--{/loop}-->
</ul>
</div>
<div id="navigation">
<p>您的位置:
<a href="{S_URL}/">$_SCONFIG[sitename]</a>
<!--{loop $guidearr $value}-->
>> <a href="$value[url]">$value[name]</a>
<!--{/loop}-->
</p>
</div>
</div>
<!-- /Header页首 -->
到底改哪里啊?
[ 本帖最后由 夜蝴蝶馆 于 2008-4-4 13:47 编辑 ] |