<?php require_once('../include/request.inc.php'); ?>
<html>
<head>
<title>HTML在线编辑器</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="STYLESHEET" type="text/css" href="editor.css">
<script language="JavaScript" type="text/JavaScript">
//菜单列表
var menu_table="<table width='100%' cellspacing='0' cellpadding='2'>";
menu_table+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/table_cr.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='InsertTable()'>插入表格</a></td></tr>";
menu_table+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/table_sx.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='tableProp()'>表格属性</a></td></tr>";
menu_table+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/table_sx2.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='cellProp()'>单元格属性</a></td></tr>";
menu_table+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/table_tr.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='tablecommand(1)'>插入一行</a></td></tr>";
menu_table+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/table_trdel.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='tablecommand(2)'>删除一行</a></td></tr>";
menu_table+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/table_td.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='tablecommand(3)'>插入一列</a></td></tr>";
menu_table+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/table_tddel.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='tablecommand(4)'>删除一列</a></td></tr>";
menu_table+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/table_hby.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='tablecommand(5)'>向右合并</a></td></tr>";
menu_table+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/table_hbx.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='tablecommand(6)'>向下合并</a></td></tr>";
menu_table+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/table_cf.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='tablecommand(7)'>拆分单元格</a></td></tr>";
menu_table+="</table>";
var menu_chars="<table width='100%' cellspacing='0' cellpadding='2'>";
menu_chars+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/chars1.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='InsertChars(0)'>换行符</a></td></tr>";
menu_chars+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/chars2.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='InsertChars(1)'>版权符号</a></td></tr>";
menu_chars+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/chars3.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='InsertChars(2)'>注册商标</a></td></tr>";
menu_chars+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/chars4.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='InsertChars(3)'>商标符号</a></td></tr>";
menu_chars+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/chars5.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='InsertChars(4)'>圆点</a></td></tr>";
menu_chars+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/chars6.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='InsertChars(5)'>省略号</a></td></tr>";
menu_chars+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/chars7.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='InsertChars(6)'>破折号</a></td></tr>";
menu_chars+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/chars8.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='InsertChars(7)'>中划线</a></td></tr>";
menu_chars+="</table>";
var menu_eq="<table width='100%' cellspacing='0' cellpadding='2'>";
menu_eq+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/eq1.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='InsertEQ()'>插入公式</a></td></tr>";
menu_eq+="<tr onmouseout='scolor(this)' onmouseover='rcolor(this)'><td><img src='./Editorimages/eq2.gif' width='16' height='16' align='absmiddle'></td><td><a href='#' onclick='InstallEQ()'>安装公式编辑器插件</a></td></tr>";
menu_eq+="</table>";
//下拉菜单相关代码
var h;
var w;
var l;
var t;
var topMar = 1;
var leftMar = -2;
var space = 1;
var isvisible;
var MENU_SHADOW_COLOR='#E1F4EE';//定义下拉菜单阴影色
var global = window.document
global.fo_currentMenu = null
global.fo_shadows = new Array
function HideMenu()
{
var mX;
var mY;
var vDiv;
var mDiv;
if (isvisible == true)
{
vDiv = document.all("menuDiv");
mX = window.event.clientX + document.body.scrollLeft;
mY = window.event.clientY + document.body.scrollTop;
if ((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight)){
vDiv.style.visibility = "hidden";
isvisible = false;
}
}
}
function ShowMenu(vMnuCode,tWidth) {
vSrc = window.event.srcElement;
vMnuCode = "<table id='submenu' cellspacing=1 cellpadding=3 style='width:"+tWidth+"' class=menu onmouseout='HideMenu()'><tr height=23><td nowrap align=left class=MenuBody>" + vMnuCode + "</td></tr></table>";
h = vSrc.offsetHeight;
w = vSrc.offsetWidth;
l = vSrc.offsetLeft + leftMar+4;
t = vSrc.offsetTop + topMar + h + space-2;
vParent = vSrc.offsetParent;
while (vParent.tagName.toUpperCase() != "BODY")
{
l += vParent.offsetLeft;
t += vParent.offsetTop;
vParent = vParent.offsetParent;
}
menuDiv.innerHTML = vMnuCode;
menuDiv.style.top = t;
menuDiv.style.left = l;
menuDiv.style.visibility = "visible";
isvisible = true;
makeRectangularDropShadow(submenu, MENU_SHADOW_COLOR, 4)
}
function makeRectangularDropShadow(el, color, size)
{
var i;
for (i=size; i>0; i--)
{
var rect = document.createElement('div');
var rs = rect.style
rs.position = 'absolute';
rs.left = (el.style.posLeft + i) + 'px';
rs.top = (el.style.posTop + i) + 'px';
rs.width = el.offsetWidth + 'px';
rs.height = el.offsetHeight + 'px';
rs.zIndex = el.style.zIndex - i;
rs.backgroundColor = color;
var opacity = 1 - i / (i + 1);
rs.filter = 'alpha(opacity=' + (100 * opacity) + ')';
el.insertAdjacentElement('afterEnd', rect);
global.fo_shadows[global.fo_shadows.length] = rect;
}
}
function scolor(obj)
{
obj.style.backgroundColor="";
}
function rcolor(obj)
{
obj.style.backgroundColor="#E1F4EE";
}
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin='0' topmargin='0' onmousemove='HideMenu()'>
<div id=menuDiv style='Z-INDEX: 1000; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #9cc5f8'></div>
<div class="yToolbar">
<div class="TBHandle"> </div>
<div class="Btn" TITLE="全部选择" LANGUAGE="javascript" onclick="format('selectall')">
<img class="Ico" src="./Editorimages/selectall.gif" WIDTH="18" HEIGHT="18">
</div>
<div class="TBSep"></div>
<div class="Btn" TITLE="删除" LANGUAGE="javascript" onclick="format('delete')">
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
本文介绍的是基于PHP语言实现的杭州家教网毕设项目。该项目主要是为了帮助学生和家长更方便地寻找合适的家教资源,同时也为有能力的教师提供一个展示自己的平台。 ## 项目背景 随着社会经济的发展,对教育资源的需求也越来越高。在家长选择家教资源时,除了找到一位合适的教师,还需要考虑到教育质量、教学效果等因素。而现有的家教市场信息比较零散,家长和学生很难找到满意的家教资源。 ## 项目目标 本项目旨在为杭州市的学生和家长提供一个方便快捷的家教资源查询平台。同时,该平台也为有能力的教师提供一个展示自己的机会。 ## 实现技术 本项目采用PHP语言作为主要的开发语言,结合MySQL数据库实现数据的存储和管理。项目采用了MVC架构,使得代码结构清晰明了,易于维护。 ## 功能模块 本项目主要包括以下功能模块: 1. 用户管理模块:实现用户的注册、登录、修改个人信息等功能。 2. 家教信息查询模块:家长和学生可以通过该模块查询到满足自己需求的家教信息。 3. 家教信息发布模块:教师可以通过该模块发布自己的教学信息,包括所授科目、授课时间、授课费用等。 4. 在线支付模块:家长和学生可
资源推荐
资源详情
资源评论
收起资源包目录
基于PHP杭州家教网的毕业设计,MySQL数据库实现数据的存储和管理 项目采用了MVC架构,使得代码结构清晰明了,易于维护 (991个子文件)
editor.css 4KB
editor.css 4KB
editor.css 4KB
editor.css 4KB
style.css 1KB
style.css 1KB
style.css 1KB
style.css 1KB
editor_dialog.css 984B
editor_dialog.css 984B
editor_dialog.css 984B
editor_dialog.css 984B
admin.css 333B
admin.css 333B
admin.css 333B
admin.css 333B
css.css 260B
css.css 260B
css.css 260B
css.css 260B
Thumbs.db 69KB
Thumbs.db 64KB
Thumbs.db 64KB
Thumbs.db 64KB
Thumbs.db 10KB
Thumbs.db 10KB
Thumbs.db 10KB
Thumbs.db 10KB
browse2.gif 1KB
browse2.gif 1KB
browse2.gif 1KB
browse2.gif 1KB
browse.gif 1KB
browse.gif 1KB
browse.gif 1KB
browse.gif 1KB
html2.gif 1KB
html2.gif 1KB
html2.gif 1KB
html2.gif 1KB
html.gif 1KB
html.gif 1KB
html.gif 1KB
html.gif 1KB
Editor2.gif 1KB
Editor2.gif 1KB
Editor2.gif 1KB
Editor2.gif 1KB
Editor.gif 1KB
Editor.gif 1KB
Editor.gif 1KB
Editor.gif 1KB
help.gif 1KB
help.gif 1KB
help.gif 1KB
help.gif 1KB
fgcolor2.gif 1KB
fgcolor2.gif 1KB
fgcolor2.gif 1KB
fgcolor2.gif 1KB
time.gif 1KB
time.gif 1KB
time.gif 1KB
time.gif 1KB
img.gif 1KB
img.gif 1KB
img.gif 1KB
img.gif 1KB
wmv.gif 1KB
wmv.gif 1KB
wmv.gif 1KB
wmv.gif 1KB
paste.gif 1KB
paste.gif 1KB
paste.gif 1KB
paste.gif 1KB
wordpaste.gif 1KB
eq2.gif 1KB
wordpaste.gif 1KB
eq2.gif 1KB
eq2.gif 1KB
wordpaste.gif 1KB
wordpaste.gif 1KB
eq2.gif 1KB
nourl.gif 1KB
nourl.gif 1KB
nourl.gif 1KB
nourl.gif 1KB
hend.gif 1KB
hend.gif 1KB
hend.gif 1KB
hend.gif 1KB
fgbgcolor.gif 1KB
fgbgcolor.gif 1KB
fgbgcolor.gif 1KB
fgbgcolor.gif 1KB
url.gif 1KB
url.gif 1KB
url.gif 1KB
url.gif 1KB
共 991 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
程序员三石
- 粉丝: 36
- 资源: 370
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功