<?
session_start();
?>
<HTML ><HEAD id=Head1><TITLE>房屋</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="../images/style.css" type=text/css rel=stylesheet>
<link rel="stylesheet" type="text/css" media="screen" href="../css/tinyTips.css" />
<?
include("../data.php");
include("../config.php");
$keyid=$_GET[keyid];
$sqlf="select * from fangwu where fwid='".$keyid."'";
$rs=mysql_query($sqlf);
$row=mysql_fetch_array($rs);
$fw=$row['fw'];//房屋
$lx=$row['lx'];//类型
$tp=$row['tp'];//图片
$spxh=$row['spxh'];//视频型号
$dz=$row['dz'];//地址
$rzsj=$row['rzsj'];//入住时间
$fz=$row['fz'];//房主
$dh=$row['dh'];//电话
$ll=$row['ll'];//浏览
$zt=$row['zt'];//状态
$je=$row['je'];//状态
?>
<script language="javascript">
function checkDo(){
if(form.fw.value==""){
alert("房屋不能为空");
return false;
form.fw.focus();
}
if(form.lx.value==""){
alert("类型不能为空");
return false;
form.lx.focus();
}
if(form.tp.value==""){
alert("图片不能为空");
return false;
form.tp.focus();
}
if(form.spxh.value==""){
alert("视频型号不能为空");
return false;
form.spxh.focus();
}
if(form.dz.value==""){
alert("地址不能为空");
return false;
form.dz.focus();
}
if(form.rzsj.value==""){
alert("入住时间不能为空");
return false;
form.rzsj.focus();
}
if(form.fz.value==""){
alert("房主不能为空");
return false;
form.fz.focus();
}
if(form.dh.value==""){
alert("电话不能为空");
return false;
form.dh.focus();
}
if(form.ll.value==""){
alert("浏览不能为空");
return false;
form.ll.focus();
}
if(form.zt.value==""){
alert("状态不能为空");
return false;
form.zt.focus();
}
form.action="fangwumodify_do.php";
form.submit();
}
</script>
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<FORM name="form" method="post" action="" >
<div class=formzone>
<DIV class=searchzone>
<TABLE height=30 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD height=30> 修改房屋</TD>
<TD align=right colSpan=2> </TD>
</TR></TBODY></TABLE></DIV>
<div class=tablezone>
<div class=noticediv id=notice></div>
<TABLE cellSpacing=0 cellPadding=2 width="100%" align=center border=0>
<TBODY>
<tr>
<td align=middle width=100 height=30>房屋</td>
<td ><input name="fw" class="input" style="FONT-SIZE: 12px; WIDTH: 300px" type="text" value="<?=$fw?>" >
<font color="red">*</font> </td>
</tr>
<tr>
<td align=middle width=100 height=30>类型</td>
<td ><input name="lx" class="input" style="FONT-SIZE: 12px; WIDTH: 300px" type="text" value="<?=$lx?>" >
<font color="red">*</font> </td>
</tr>
<tr>
<td align=middle width=100 height=30>图片</td>
<td ><input name="tp" class="input" style="FONT-SIZE: 12px; WIDTH: 300px" type="text" value="<?=$tp?>" ><iframe id="ifr" name="ifr" width="400" height="40" frameborder="no" scrolling="no" src="../include/file.php?fun=tp"></iframe>
<font color="red">*</font> </td>
</tr>
<tr>
<td align=middle width=100 height=30>视频型号</td>
<td ><input name="spxh" class="input" style="FONT-SIZE: 12px; WIDTH: 300px" type="text" value="<?=$spxh?>" ><iframe id="ifr" name="ifr" width="400" height="40" frameborder="no" scrolling="no" src="../include/file.php?fun=spxh"></iframe>
<font color="red">*</font> </td>
</tr>
<tr>
<td align=middle width=100 height=30>地址</td>
<td ><input name="dz" class="input" style="FONT-SIZE: 12px; WIDTH: 300px" type="text" value="<?=$dz?>" >
<font color="red">*</font> </td>
</tr>
<tr>
<td align=middle width=100 height=30>入住时间</td>
<td ><input name="rzsj" class="input" style="FONT-SIZE: 12px; WIDTH: 300px" type="text" value="<?=$rzsj?>" >
<font color="red">*</font> </td>
</tr>
<tr>
<td align=middle width=100 height=30>房主</td>
<td ><input name="fz" class="input" style="FONT-SIZE: 12px; WIDTH: 300px" type="text" value="<?=$fz?>" >
<font color="red">*</font> </td>
</tr>
<tr>
<td align=middle width=100 height=30>电话</td>
<td ><input name="dh" class="input" style="FONT-SIZE: 12px; WIDTH: 300px" type="text" value="<?=$dh?>" >
<font color="red">*</font> </td>
</tr>
<tr>
<td align=middle width=100 height=30>金额</td>
<td ><input name="je" class="input" style="FONT-SIZE: 12px; WIDTH: 300px" type="text" value="<?=$je?>" >
<font color="red">*</font> </td>
</tr>
<tr>
<td align=middle width=100 height=30>浏览</td>
<td ><input name="ll" class="input" style="FONT-SIZE: 12px; WIDTH: 300px" type="text" value="<?=$ll?>" >
<font color="red">*</font> </td>
</tr>
<tr>
<td align=middle width=100 height=30>状态</td>
<td ><input name="zt" class="input" style="FONT-SIZE: 12px; WIDTH: 300px" type="text" value="<?=$zt?>" >
<font color="red">*</font> </td>
</tr>
</TBODY></TABLE>
</div>
<DIV class=adminsubmit> <input type="hidden" name="keyid" value="<?=$keyid?>"><input type="button" value="保存" name="B1" class="button" style="width:60px" onClick="checkDo()" />
<input type="reset" value="取消" style="width:60px" name="chanel" class="button" />
</div>
</div>
</div>
</FORM></BODY></HTML>
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
一、源码特点 PHP 房产网站系统是一套完善的WEB设计系统,对理解php编程开发语言有帮助,系统具有完整的源代码和数据库,系统主要采用B/S模式开发。 二、功能介绍 前台主要功能 1)首页展现 2)房屋展现 3)求租信息浏览 4)公告信息浏览 5)系统留言 6)用户注册、登录 后台主要功能 1)用户管理,对系统内的用户进行维护与管理 2)房屋类型管理、房屋基本信息管理,上传房屋相关图片信息,mp4视频信息 3)求租信息管理与发不 4)公告信息管理与发布 5)系统留言管理 6)个人信息管理 三、注意事项 1、管理员账号:admin密码:admin 数据库配置文件 data.php 2、开发环境为PHP APACHE,数据库为mysql5.0,使用php语言开发。 3、数据库文件名是phpfangwu.sql ,系统名称fangwu 4、系统首页地址:http://127.0.0.1/fangwu/shouye.php 5、由于视频文件占的用空间比较大,上传的时候基本都删除了,可以
资源推荐
资源详情
资源评论
收起资源包目录
PHP 房产网站系统Dreamweaver开发mysql数据库web结构php编程计算机网页项目
(451个子文件)
css.css.bak 2KB
index.html.bak 707B
style.css 22KB
css.css 16KB
style1.css 13KB
style - 副本.css 13KB
style.css 11KB
webmain.css 8KB
album.css 8KB
css_body.css 7KB
head.css 6KB
control.css 5KB
common1.css 4KB
datepicker.css 4KB
datepicker.css 4KB
css_top_user.css 3KB
css_top.css 3KB
css_menu_user.css 3KB
base.css 3KB
css_menu.css 2KB
css.css 2KB
all.css 2KB
layout_login.css 2KB
wbox.css 2KB
style0.css 1KB
wbox-min.css 1KB
reset.css 813B
tinyTips.css 797B
qq.css 450B
WdatePicker.css 161B
hmove.cur 2KB
Thumbs.db 104KB
welcome.gif 164KB
bj.gif 71KB
entry1.gif 33KB
login_09.gif 21KB
login_04.gif 18KB
top03.gif 14KB
login_06.gif 14KB
mico_l.gif 14KB
top_nav_on.gif 14KB
toolbar_no.gif 13KB
view.gif 13KB
02.gif 13KB
01.gif 13KB
ico15.gif 8KB
ico14.gif 8KB
ico16.gif 8KB
entry2.gif 8KB
ico13.gif 7KB
login.gif 6KB
nw_tp.gif 5KB
login_03.gif 5KB
login_08.gif 5KB
logo_01.gif 5KB
nav03.gif 4KB
nav01.gif 4KB
title_bg_hide.gif 3KB
title_bg_quit.gif 3KB
title_bg_show.gif 3KB
loading.gif 3KB
shape01.gif 3KB
mico_1.gif 3KB
login_07.gif 2KB
top_bg.gif 2KB
logo.gif 2KB
ico02.gif 2KB
kefu_up.gif 2KB
nw_lt1.gif 2KB
img.gif 2KB
admin_top_bg.gif 2KB
img.gif 2KB
ico24.gif 1KB
admin_top_icon_1.gif 1KB
admin_top_icon_5.gif 1KB
nav02.gif 1KB
left_bg_top.gif 1KB
close2.gif 1KB
right_bg.gif 1KB
left_bg.gif 1KB
help.gif 1KB
qqonline.gif 1KB
title.gif 1KB
ico07.gif 1KB
datePicker.gif 1KB
qqoffline.gif 1KB
jing.gif 1KB
login_submit.gif 1KB
email1.gif 1000B
url.gif 991B
dl.gif 984B
复件 top_nav_on.gif 967B
admin_home.gif 936B
line01.gif 935B
xls.gif 912B
tpbg.gif 900B
bmp.gif 896B
havepic.gif 895B
menutop.gif 891B
close.gif 868B
共 451 条
- 1
- 2
- 3
- 4
- 5
资源评论
qq_251836457
- 粉丝: 4249
- 资源: 563
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功