<?php
session_start();
include "header.html";
require_once "../MessageBox.php";
include "../datasource.inc.php";
include "../Function.php";
$Message = new MessageBox;
if ( empty($_SESSION["usernumber"]) and $_SESSION["userjs"] != "1") {
$Message->setMessage("对不起,您没有权限进入后台管理!","logout.php");
$Message->showMessage();
}
$page = $_REQUEST['page'];
$body = $_REQUEST['body'];
$commet = $_REQUEST['commet'];
$description = str_replace("\n", "<BR>", $_REQUEST['description']);
$keywords = str_replace("\n", "<BR>", $_REQUEST['keywords']);
$date = Date("Y-m-d");
$datetime = Date("Y-m-d H:i:s");
if ( $_REQUEST['action'] == "tj" ) {
$file_name1 = $_FILES['picpath1']['name'];
$file_name2 = $_FILES['picpath2']['name'];
$file_name3 = $_FILES['picpath3']['name'];
$file_name4 = $_FILES['picpath4']['name'];
$file_name5 = $_FILES['picpath5']['name'];
mt_srand((double)microtime()*1000000);
$shpid = uniqid(mt_rand());
$shpid = substr($shpid,0,6);
$file_name1 = $shpid.$file_name1;
$file_name2 = $shpid.$file_name2;
$file_name3 = $shpid.$file_name3;
$file_name4 = $shpid.$file_name4;
$file_name5 = $shpid.$file_name5;
$picpath1 = $image_path.$file_name1;
$picpath2 = $image_path.$file_name2;
$picpath3 = $image_path.$file_name3;
$picpath4 = $image_path.$file_name4;
$picpath5 = $image_path.$file_name5;
copy($_FILES['picpath1']['tmp_name'],$picpath1);
copy($_FILES['picpath2']['tmp_name'],$picpath2);
copy($_FILES['picpath3']['tmp_name'],$picpath3);
copy($_FILES['picpath4']['tmp_name'],$picpath4);
copy($_FILES['picpath5']['tmp_name'],$picpath5);
$query = "insert into zht_zlyg values ('','$_REQUEST[fl1]','$_REQUEST[fl2]','$_REQUEST[name]','$_REQUEST[style]','$_REQUEST[medium]','$_REQUEST[number]','$file_name1','$file_name2','$file_name3','$file_name4','$file_name5','$commet','$body','$description','$keywords','$datetime')";
mysql_query($query);
//echo $query;
$Message->setMessage("添加成功!","zlyg.php");
$Message->showMessage();
}
if ($_REQUEST['action'] == 'update') {
$sql = "update zht_zlyg set fl1='$_REQUEST[fl1]',fl2='$_REQUEST[fl2]',name='$_REQUEST[name]',style='$_REQUEST[style]',medium='$_REQUEST[medium]',commet='$_REQUEST[commet]',number='$_REQUEST[number]',description='$description',keywords='$keywords' where id='$_REQUEST[id]'";
$result = mysql_query($sql);
$Message->setMessage("编辑成功!","zlyg.php?page=update&id=$_REQUEST[id]");
$Message->showMessage();
}
if ($_REQUEST['action'] == 'update01') {
$file_name1 = $_FILES['picpath1']['name'];
mt_srand((double)microtime()*1000000);
$shpid = uniqid(mt_rand());
$shpid = substr($shpid,0,6);
$file_name1 = $shpid.$file_name1;
$picpath1 = $image_path.$file_name1;
copy($_FILES['picpath1']['tmp_name'],$picpath1);
$sql = "update zht_zlyg set picpath1='$file_name1' where id='$_REQUEST[id]'";
$result = mysql_query($sql);
$Message->setMessage("修改成功!","zlyg.php?page=update&id=$_REQUEST[id]");
$Message->showMessage();
}
if ($_REQUEST['action'] == 'update02') {
$file_name2 = $_FILES['picpath2']['name'];
mt_srand((double)microtime()*1000000);
$shpid = uniqid(mt_rand());
$shpid = substr($shpid,0,6);
$file_name2 = $shpid.$file_name2;
$picpath2 = $image_path.$file_name2;
copy($_FILES['picpath2']['tmp_name'],$picpath2);
$sql = "update zht_zlyg set picpath2='$file_name2' where id='$_REQUEST[id]'";
$result = mysql_query($sql);
$Message->setMessage("修改成功!","zlyg.php?page=update&id=$_REQUEST[id]");
$Message->showMessage();
}
if ($_REQUEST['action'] == 'update03') {
$file_name3 = $_FILES['picpath3']['name'];
mt_srand((double)microtime()*1000000);
$shpid = uniqid(mt_rand());
$shpid = substr($shpid,0,6);
$file_name3 = $shpid.$file_name3;
$picpath3 = $image_path.$file_name3;
copy($_FILES['picpath3']['tmp_name'],$picpath3);
$sql = "update zht_zlyg set picpath3='$file_name3' where id='$_REQUEST[id]'";
$result = mysql_query($sql);
$Message->setMessage("修改成功!","zlyg.php?page=update&id=$_REQUEST[id]");
$Message->showMessage();
}
if ($_REQUEST['action'] == 'update04') {
$file_name4 = $_FILES['picpath4']['name'];
mt_srand((double)microtime()*1000000);
$shpid = uniqid(mt_rand());
$shpid = substr($shpid,0,6);
$file_name4 = $shpid.$file_name4;
$picpath4 = $image_path.$file_name4;
copy($_FILES['picpath4']['tmp_name'],$picpath4);
$sql = "update zht_zlyg set picpath4='$file_name4' where id='$_REQUEST[id]'";
$result = mysql_query($sql);
$Message->setMessage("修改成功!","zlyg.php?page=update&id=$_REQUEST[id]");
$Message->showMessage();
}
if ($_REQUEST['action'] == 'update05') {
$file_name5 = $_FILES['picpath5']['name'];
mt_srand((double)microtime()*1000000);
$shpid = uniqid(mt_rand());
$shpid = substr($shpid,0,6);
$file_name5 = $shpid.$file_name5;
$picpath5 = $image_path.$file_name5;
copy($_FILES['picpath5']['tmp_name'],$picpath5);
$sql = "update zht_zlyg set picpath5='$file_name5' where id='$_REQUEST[id]'";
$result = mysql_query($sql);
$Message->setMessage("修改成功!","zlyg.php?page=update&id=$_REQUEST[id]");
$Message->showMessage();
}
if ($_REQUEST['action'] == 'update06') {
$sql = "update zht_zlyg set body='$body' where id='$_REQUEST[id]'";
$result = mysql_query($sql);
$Message->setMessage("修改成功!","zlyg.php?page=update&id=$_REQUEST[id]");
$Message->showMessage();
}
?>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<TD vAlign=top><FONT color=#565656><IMG height=14
src="../images/closedfold.gif" width=14> 您当前的位置<BR><IMG
height=15 src="../images/bar.gif" width=15><IMG height=14
src="../images/openfold.gif" width=14> 展览预告信息管理</FONT></TD>
</tr>
</table>
</center>
<script language = "JavaScript">
var onecount;
onecount=0;
subcat = new Array();
<?
$sql = "select * from zht_profl2 order by id desc";
$result = mysql_query( $sql);
$count = 0;
while($res = mysql_fetch_row($result)){
?>
subcat[<?=$count?>] = new Array("<?=$res[0]?>","<?=$res[1]?>","<?=$res[2]?>");
<?
$count++;
}
echo "onecount=$count;";
?>
//联动函数
function changelocation(locationid)
{
document.myform.fl2.length = 0;
var locationid=locationid;
var i;
for (i=0;i < onecount; i++)
{
if (subcat[i][2] == locationid)
{
//var newOption1=new Option(subcat[i][1], subcat[i][0]);
//document.all.ctype.add(newOption1);
document.myform.fl2.options[document.myform.fl2.length] = new Option(subcat[i][1], subcat[i][0]);
}
}
}
</script>
<script language=javascript>
function check_input()
{
if (document.form.name.value=='') {
alert("请输入展览预告名称!");
return false;
}
return true;
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
</script>
<?php
switch ($page){
case "add":
?>
<center>
<p align="center"> <b><font size="3">请输入展览预告信息</font></b></p>
<form action="zlyg.php?page=add" enctype="multipart/form-data" method="post" name="myform" onsubmit="return check_input()">
<table width="751" border=0 cellpadding=0 cellspacing=1 bgcolor=#6795B4>
<!-- <tr height=24>
<td width="20%" bgColor=#EBF1F5><center><b>产品主分类</b></center></td>
<td width="80%" bgcolor=ffffff>
<select name="fl1" onChange="changelocation(document.myform.fl1.options[document.myform.fl1.selectedIndex].value)" size="1">
<option selected value="">请指定主分类</option>
<?php
$sql1 = "select * from zht_profl1 order by id desc";
$resu
没有合适的资源?快使用搜索试试~ 我知道了~
基于PHP的SEO最新算法橘色屋图库php+mysql带搜索引擎排名优化源码.zip
共611个文件
html:324个
jpg:168个
php:61个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 58 浏览量
2023-08-28
23:56:20
上传
评论
收藏 5.55MB ZIP 举报
温馨提示
基于PHP的SEO最新算法橘色屋图库php+mysql带搜索引擎排名优化源码.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于PHP的SEO最新算法橘色屋图库php+mysql带搜索引擎排名优化源码.zip (611个子文件)
style.css 8KB
pic_style.css 7KB
pic01_style.css 7KB
style.css 7KB
admin_style.css 1KB
171357.gif 17KB
110900.gif 17KB
120692.gif 16KB
552157.gif 16KB
199310.gif 16KB
166349.gif 16KB
120326.gif 16KB
420274.gif 16KB
131489.gif 16KB
154762.gif 16KB
101195.gif 16KB
276694.gif 16KB
118010.gif 16KB
150979.gif 16KB
178130.gif 15KB
286102.gif 15KB
126289.gif 15KB
138294.gif 15KB
135264.gif 15KB
187751.gif 15KB
178010.gif 14KB
164710.gif 13KB
lmbg.gif 7KB
6.gif 5KB
12.gif 5KB
8.gif 5KB
14.gif 5KB
19.gif 5KB
17.gif 5KB
5.gif 5KB
3.gif 5KB
11.gif 5KB
20.gif 5KB
1.gif 5KB
2.gif 5KB
4.gif 5KB
9.gif 5KB
13.gif 5KB
15.gif 5KB
18.gif 5KB
10.gif 5KB
7.gif 5KB
16.gif 5KB
173784.gif 3KB
defaultpic.gif 2KB
defaultpic (1).gif 2KB
index.html 35KB
jusewu-meinvtuku-35.html 15KB
jusewu-meinvtuku-51.html 15KB
jusewu-meinvtuku-178.html 15KB
jusewu-meinvtuku-236.html 15KB
jusewu-meinvtuku-230.html 15KB
jusewu-meinvtuku-105.html 15KB
jusewu-meinvtuku-214.html 15KB
jusewu-meinvtuku-209.html 15KB
jusewu-meinvtuku-148.html 15KB
jusewu-meinvtuku-110.html 15KB
jusewu-meinvtuku-33.html 15KB
jusewu-meinvtuku-200.html 15KB
jusewu-meinvtuku-125.html 15KB
jusewu-meinvtuku-120.html 15KB
jusewu-meinvtuku-217.html 15KB
jusewu-meinvtuku-108.html 15KB
jusewu-meinvtuku-27.html 15KB
siwameinv.html 15KB
jusewu-meinvtuku-143.html 15KB
jusewu-meinvtuku-117.html 15KB
jusewu-meinvtuku-16.html 15KB
jusewu-meinvtuku-164.html 15KB
jusewu-meinvtuku-24.html 15KB
jusewu-meinvtuku-47.html 15KB
mingxingba.html 15KB
jusewu-meinvtuku-53.html 15KB
jusewu-meinvtuku-225.html 15KB
jusewu-meinvtuku-46.html 15KB
jusewu-meinvtuku-221.html 15KB
jusewu-meinvtuku-168.html 15KB
jusewu-meinvtuku-70.html 15KB
jusewu-meinvtuku-83.html 15KB
jusewu-meinvtuku-137.html 15KB
jusewu-meinvtuku-151.html 15KB
jusewu-meinvtuku-136.html 15KB
jusewu-meinvtuku-229.html 15KB
jusewu-meinvtuku-104.html 15KB
jusewu-meinvtuku-102.html 15KB
jusewu-meinvtuku-146.html 15KB
jusewu-meinvtuku-171.html 15KB
jusewu-meinvtuku-149.html 15KB
jusewu-meinvtuku-86.html 15KB
jusewu-meinvtuku-98.html 15KB
jusewu-meinvtuku-189.html 15KB
jusewu-meinvtuku-173.html 15KB
jusewu-meinvtuku-74.html 15KB
jusewu-meinvtuku-119.html 15KB
qingchunmeinv.html 15KB
共 611 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
易小侠
- 粉丝: 6453
- 资源: 9万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
- 基于MIC+NE555光敏电阻的声光控电路Multisim仿真原理图
- 基于JSP毕业设计-基于WEB操作系统课程教学网站的设计与实现(源代码+论文).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功