1个回答
展开全部
OK
把Discuz!复到BBS文件夹内
把UCenter复到ucenter文件夹内
创一个叫做index.php的文件(用记事本)放到网站首页
代码如下(直接复到php文本上就行了):
<!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=gb2312" />
<meta content="Comsenz Inc." name="Copyright" />
<title>首页</title>
<style>
body{margin:0;background:#DEEFF9 url(bg.jpg) repeat-x;color:#666; font:10px "Lucida Grande", Verdana, Lucida, Helvetica, Arial, "宋体" ,sans-serif; }
#wrap{margin:200px auto;width:437px;}
#menu{background:url(logo.jpg) no-repeat;width:437px; height:127px;}
#menu ul{ list-style:none;margin:0px;padding:0;}
#menu li{ float:left;}
#menu a{ display:block; width:214px; height:127px; text-indent:-999px; overflow:hidden;}
#copyright{text-align:center; line-height:30px; height:30px; }
#copyright a{ color:#004B96; text-decoration:none;}
</style>
<?php
if(!file_exists('./install/install.lock') && is_dir('./install')) {
echo '<script>location.href="install/index.php";</script>';
}
if(file_exists('./bbs/forumdata/index.lock')) {
echo '<script>location.href="bbs/index.php";</script>';
}
if(file_exists('./home/data/index.lock')) {
echo '<script>location.href="home/index.php";</script>';
}
?>
</head>
<body scroll="no">
<div id="wrap">
<div id="menu">
<ul>
<li><a href="home" title="xspace编程家园">xspace编程家园</a></li>
<li><a href="bbs" title="xspace编程交流论坛">xspace编程交流论坛</a></li>
</ul>
</div>
<div id="copyright">
© 2001 - 2008 <a href="http://xspace.ihost.tw" title="xspace 工作室" target="_blank">xspace 工作室</a>
</div>
</div>
</body>
</html>
再有问题就找我
把Discuz!复到BBS文件夹内
把UCenter复到ucenter文件夹内
创一个叫做index.php的文件(用记事本)放到网站首页
代码如下(直接复到php文本上就行了):
<!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=gb2312" />
<meta content="Comsenz Inc." name="Copyright" />
<title>首页</title>
<style>
body{margin:0;background:#DEEFF9 url(bg.jpg) repeat-x;color:#666; font:10px "Lucida Grande", Verdana, Lucida, Helvetica, Arial, "宋体" ,sans-serif; }
#wrap{margin:200px auto;width:437px;}
#menu{background:url(logo.jpg) no-repeat;width:437px; height:127px;}
#menu ul{ list-style:none;margin:0px;padding:0;}
#menu li{ float:left;}
#menu a{ display:block; width:214px; height:127px; text-indent:-999px; overflow:hidden;}
#copyright{text-align:center; line-height:30px; height:30px; }
#copyright a{ color:#004B96; text-decoration:none;}
</style>
<?php
if(!file_exists('./install/install.lock') && is_dir('./install')) {
echo '<script>location.href="install/index.php";</script>';
}
if(file_exists('./bbs/forumdata/index.lock')) {
echo '<script>location.href="bbs/index.php";</script>';
}
if(file_exists('./home/data/index.lock')) {
echo '<script>location.href="home/index.php";</script>';
}
?>
</head>
<body scroll="no">
<div id="wrap">
<div id="menu">
<ul>
<li><a href="home" title="xspace编程家园">xspace编程家园</a></li>
<li><a href="bbs" title="xspace编程交流论坛">xspace编程交流论坛</a></li>
</ul>
</div>
<div id="copyright">
© 2001 - 2008 <a href="http://xspace.ihost.tw" title="xspace 工作室" target="_blank">xspace 工作室</a>
</div>
</div>
</body>
</html>
再有问题就找我
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询