BBS(php & mysql)完整版(四)

所属分类: 网络编程 / PHP编程 阅读数: 1811
收藏 0 赞 0 分享
//此页面为 top.php

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<script language="JavaScript1.2" src="js/fw_menu.js"></script>
<script language="JavaScript1.2" src="js/menu_comment.js"></script>
</head>

<body bgcolor="#FFFFFF" text="#000000">


<div id="Layer1" style="position:absolute; left:151px; top:81px; width:558px; height:48px; z-index:1">  
  <script language="JavaScript1.2">fwLoadMenus();</script>
  <img name="phpd" src="pic/phpd.gif" width="600" height="28" border="0" usemap="#m_phpd">  
  <!-- fwtable fwsrc="phpd.png" fwbase="phpd" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
  <map name="m_phpd">  
    <area shape="rect" coords="378,-6,464,18" href="#" onMouseOut="parent.mainFrame.FW_startTimeout();"  onMouseOver="parent.mainFrame.window.FW_showMenu(window.fw_menu_0,381,0);"  >
    <area shape="rect" coords="265,0,343,21" href="#" onMouseOut="parent.mainFrame.FW_startTimeout();"  onMouseOver="parent.mainFrame.window.FW_showMenu(window.fw_menu_1,266,0);"  >
    <area shape="rect" coords="142,-6,227,20" href="#" onMouseOut="parent.mainFrame.FW_startTimeout();"  onMouseOver="parent.mainFrame.window.FW_showMenu(window.fw_menu_2,149,0);"  >
    <area shape="rect" coords="31,-7,114,21" href="#" onMouseOut="parent.mainFrame.FW_startTimeout();"  onMouseOver="parent.mainFrame.window.FW_showMenu(window.fw_menu_3,40,0);"  >
     <area shape="rect" coords="31,-7,580,21" href="sturecord.php" target="_blank"    >
  </map>
</div>
<div id="Layer2" style="position:absolute; left:4px; top:3px; width:148px; height:98px; z-index:2"><a href="aboutme.php" target="_blank"><img src="pic/FD_03Sd.gif" width="133" height="100" border="0" align="left" alt="站长自我介绍!!"></a></div>
</body>
</html>


//此页面为 index.php
<?

header("Expires: Sun, 28 Dec 1997 09:32:45 GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");



?>


<html>
<head>
<title>::: xiaoyang :::</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>
<frameset rows="103,*" frameborder="NO" border="0" framespacing="0" cols="*">  
  <frame name="topFrame" scrolling="NO" noresize src="top.php" >
  <frameset cols="128,*" frameborder="NO" border="0" framespacing="0" rows="*">  
    <frame name="leftFrame" scrolling="no" noresize src="right.php">
    <frame name="mainFrame" scrolling="auto" noresize src="left.php">
  </frameset>
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">


</body>
</noframes>  



</html>


更多精彩内容其他人还在看

PHP 计算代码执行耗时的代码修正网上普遍错误

前几天测试 SQLite 插入大数据量的时候, 找了一些关于计算执行时间的代码, 发现网上普遍流传着这样一份代码
收藏 0 赞 0 分享

php中在PDO中使用事务(Transaction)

事务 (Transaction) 是操作数据库中很重要的一个功能, 它可以让你预定一条, 或者一系列 SQL 语句, 然后一起执行
收藏 0 赞 0 分享

centos 5.6 升级php到5.3的方法

centos 5.6的库,更新比比5.5及时多了,居然已经有 php 5.3.3 了
收藏 0 赞 0 分享

rrmdir php中递归删除目录及目录下的文件

php自带的rmdir,只能删除空目录,这个rrmdir就可以递归删除目录及目录下的所有文件,不过使用起来要小心哦,不要把所有文件都删了
收藏 0 赞 0 分享

Views rows style模板重写代码

重写rows style模板,可以控制整个VIEWS的输出布局,就像VIEWS是个选择器,布局任你编排
收藏 0 赞 0 分享

PHP中break及continue两个流程控制指令区别分析

php中常用的for与foreach循环中,经常遇到条件判断或中止循环的情况。而处理方式主要用到break及continue两个流程控制指令,现在说明主要区别
收藏 0 赞 0 分享

SWFUpload与CI不能正确上传识别文件MIME类型解决方法分享

问题:swfupload上传任何文件的mime类型均为application/octet-stream。
收藏 0 赞 0 分享

PHP session有效期session.gc_maxlifetime

PHP中的session有效期默认是1440秒(24分钟)【weiweiok 注:php5里默认的是180分】,也就是说,客户端超过24分钟没有刷新,当前session就会失效。很明显,这是不能满足需要的。
收藏 0 赞 0 分享

关于session在PHP5的配置文件中的详细设置参数说明

关于session在PHP5的配置文件中的详细设置参数说明,需要的朋友可以参考下。
收藏 0 赞 0 分享

PHP中的session永不过期的解决思路及实现方法分享

让PHP的session永不过期,你可能没有遇到这么郁闷的问题,但是我遇到过,很郁闷。
收藏 0 赞 0 分享
查看更多