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

2016-01-29 14:35 8 1 收藏

BBS(php & mysql)完整版(五),BBS(php & mysql)完整版(五)

【 tulaoshi.com - PHP 】

  //下面为menu_comment.js
function fwLoadMenus() {
  if (window.fw_menu_0) return;
  window.fw_menu_0 = new Menu("root",92,20,"Verdana, Arial, Helvetica, sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
  fw_menu_0.addMenuItem("Javascript","window.open('left.php', '_self');");
  fw_menu_0.addMenuItem("Css快速入门","window.open('left.php', '_self');");
  fw_menu_0.addMenuItem("JS在线资源","window.open('left.php', '_self');");
  fw_menu_0.addMenuItem("相关论坛","window.open('php3.php?part=4&&p=1', '_self');");
  fw_menu_0.fontWeight="solid";
   fw_menu_0.hideOnMouseOut=true;
  window.fw_menu_1 = new Menu("root",92,20,"Verdana, Arial, Helvetica, sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
  fw_menu_1.addMenuItem("Dreamwaver","window.open('left.php', '_self');");
  fw_menu_1.addMenuItem("Firework","window.open('left.php', '_self');");
  fw_menu_1.addMenuItem("Flash入门","window.open('left.php', '_self');");
  fw_menu_1.addMenuItem("Html教程","window.open('left.php', '_self');");
  fw_menu_1.addMenuItem("相关论坛","window.open('php3.php?part=3&&p=1', '_self');");
  fw_menu_1.fontWeight="solid";
   fw_menu_1.hideOnMouseOut=true;
   window.fw_menu_2 = new Menu("root",86,20,"Verdana, Arial, Helvetica, sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
  fw_menu_2.addMenuItem("Mysql介绍","window.open('mysql1.php', '_self');");
  fw_menu_2.addMenuItem("在线下载","window.open('mysql2.php', '_self');");
  fw_menu_2.addMenuItem("学习教程","window.open('mysql4a.php', '_self');");
   fw_menu_2.addMenuItem("Mysql论坛","window.open('php3.php?part=2&&p=1', '_self');");
   fw_menu_2.fontWeight="solid";
   fw_menu_2.hideOnMouseOut=true;
  window.fw_menu_3 = new Menu("root",76,20,"Verdana, Arial, Helvetica, sans-serif",12,"#6666ff","#ffffff","#FF9999","#6666ff");
  fw_menu_3.addMenuItem("安装配置","window.open('php1.php?id1=1&&id2=1', '_self');");
  fw_menu_3.addMenuItem("程序代码","window.open('php2.php?id1=2&&id2=1', '_self');");
  fw_menu_3.addMenuItem("学习教程","window.open('php4.php?id1=4&&id2=1', '_self');");
   fw_menu_3.addMenuItem("PHP论坛","window.open('php3.php?part=1&&p=1', '_self');");
   fw_menu_3.fontWeight="solid";
   fw_menu_3.hideOnMouseOut=true;

  fw_menu_3.writeMenus();
} // fwLoadMenus()
//下面是fw_menu.js
function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh) {
    this.version = "990702 [Menu; menu.js]";
    this.type = "Menu";
    this.menuWidth = mw;
    this.menuItemHeight = mh;
    this.fontSize = fs||12;
    this.fontWeight = "plain";
    this.fontFamily = fnt||"arial,helvetica,verdana,sans-serif";
    this.fontColor = fclr||"#000000";
    this.fontColorHilite =

来源:http://www.tulaoshi.com/n/20160129/1493714.html

延伸阅读
标签: PHP
  //此页面为look.php <? include "signup/mysql.inc"; $sql="select * from ".$table." where id='$id'"; $result=mysql_query($sql)or die(mysql_error()); $row=mysql_fetch_array($result); $number=++$row["number"]; $sql="update $table set number='$number' where id='...
标签: Web开发
//此页面为php3.php ? include "signup/mysql.inc"; switch($part){    case "1" :$table="bbs_php";break;    case "2" :$table="bbs_mysql";break;    case "3" :$table="bbs_html";break;    ca...
标签: PHP
  //此页面为 top.php <html <head <titleUntitled Document</title <meta http-equiv="Content-Type" content="text/html; charset=gb2312" <script language="JavaScript1.2" src="http://img.jcwcn.com/attachment/portal"http://www.jcwcn.com/Files/BeyondPic/jcwcj/2005-12...
标签: PHP
  //完毕 wish you sucess!! # phpMyAdmin MySQL-Dump # http://phpwizard.net/phpMyAdmin/ # # 主机: localhost:3306 数据库 : database # -------------------------------------------------------- # # 数据表的结构 'bbs_html' # CREATE TABLE bbs_html (    id int(15) DEFAULT '0' NOT NULL,  &n...
标签: PHP
  //此页面为say.php <? include "signup/mysql.inc"; if($id1){        $sql="select * from $table where id='$id1'";    //显示回复题目        $result=mysql_query($sql)or die(mysql_error()); &...

经验教程

315

收藏

27
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部