//日历
var date_start,date_end,g_object
var today = new Date();
var separator="-";
var inover=false;
//mode :时间变换的类型0-年 1-月 2-直接选择月
function change_date(temp,mode)
{
var t_month,t_year
if (mode){
if(mode==1)
t_month=parseInt(cele_date_month.value,10)+parseInt(temp,10);
else
t_month=parseInt(temp)
if (t_month<cele_date_month.options(0).text) {
cele_date_month.value=cele_date_month.options(cele_date_month.length-1).text;
change_date(parseInt(cele_date_year.value,10)-1,0);
}
else{
if (t_month>cele_date_month.options(cele_date_month.length-1).text){
cele_date_month.value=cele_date_month.options(0).text;
change_date(parseInt(cele_date_year.value,10)+1,0);
}
else
{cele_date_month.value=t_month;
set_cele_date(cele_date_year.value,cele_date_month.value);
}
}
}
else{
t_year=parseInt(temp,10);
if (t_year<cele_date_year.options(0).text) {
cele_date_year.value=cele_date_year.options(0).text;
set_cele_date(cele_date_year.value,1);
}
else{
if (parseInt(t_year,10)>parseInt(cele_date_year.options(cele_date_year.length-1).text,10)){
cele_date_year.value=cele_date_year.options(cele_date_year.length-1).text;
set_cele_date(cele_date_year.value,12);
}
else
{cele_date_year.value=t_year;
set_cele_date(cele_date_year.value,cele_date_month.value);
}
}
}
/*********2002-02-01 MODIFY BY WING **************/
window.cele_date.focus();
/****************MODIFY END***********************/
}
//初始化日历
function init(d_start,d_end)
{
var temp_str;
var i=0
var j=0
date_start=new Date(1980,7,1)
date_end=new Date(2004,8,1)
document.writeln("<div name=\"cele_date\" id=\"cele_date\" style=\"display:none\" style=\"LEFT: 69px; POSITION: absolute; TOP: 159px;Z-INDEX:99\" onClick=\"event.cancelBubble=true;\" onBlur=\"hilayer()\" onMouseout=\"lostlayerfocus()\">-</div>");
window.cele_date.innerHTML="";
temp_str="<table border=\"1\" bgcolor=\"#DDDDDD\" bordercolor=\"white\"><tr><td colspan=7 onmouseover=\"overcolor(this)\">";
temp_str+="<input type=\"Button\" value=\"<<\" onclick=\"change_date(-1,1)\" onmouseover=\"getlayerfocus()\" style=\"color: #000099; background-color: #BFBFBF; cursor: hand\">-";
temp_str+=""
temp_str+="<select name=\"cele_date_year\" id=\"cele_date_year\" language=\"javascript\" onchange=\"change_date(this.value,0)\" onmouseover=\"getlayerfocus()\" onblur=\"getlayerfocus()\" style=\"font-size: 9pt; border: 1px #666666 outset; background-color: #F4F8FB\">"
for (i=1900;i<=2020;i++)
{
temp_str+="<OPTION value=\""+i.toString()+"\">"+i.toString()+"</OPTION>";
}
temp_str+="</select>-";
temp_str+=""
temp_str+="<select name=\"cele_date_month\" id=\"cele_date_month\" language=\"javascript\" onchange=\"change_date(this.value,2)\" onmouseover=\"getlayerfocus()\" onblur=\"getlayerfocus()\" style=\"font-size: 9pt; border: 1px #666666 outset; background-color: #F4F8FB\">"
for (i=1;i<=12;i++)
{
temp_str+="<OPTION value=\""+i.toString()+"\">"+i.toString()+"</OPTION>";
}
temp_str+="</select>-";
temp_str+=""
temp_str+="<input type=\"Button\" value=\">>\" onclick=\"change_date(1,1)\" onmouseover=\"getlayerfocus()\" style=\"color: #000099; background-color: #BFBFBF; cursor: hand\">";
temp_str+="</td></tr><tr><td onmouseover=\"overcolor(this)\">"
temp_str+="<font color=red>日</font></td><td>";temp_str+="一</td><td>"; temp_str+="二</td><td>"; temp_str+="三</td><td>"
temp_str+="四</td><td>";temp_str+="五</td><td>"; temp_str+="六</td></tr>";
for (i=1 ;i<=6 ;i++)
{
temp_str+="<tr>";
for(j=1;j<=7;j++){
temp_str+="<td name=\"c"+i+"_"+j+"\"id=\"c"+i+"_"+j+"\" style=\"CURSOR: hand\" style=\"COLOR:#000000\" language=\"javascript\" onmouseover=\"overcolor(this)\" onmouseout=\"outcolor(this)\" onclick=\"td_click(this)\">?</td>"
}
temp_str+="</tr>"
}
temp_str+="</td></tr></table>";
window.cele_date.innerHTML=temp_str;
}
function set_cele_date(year,month)
{
var i,j,p,k
var nd=new Date(year,month-1,1);
event.cancelBubble=true;
cele_date_year.value=year;
cele_date_month.value=month;
k=nd.getDay()-1
var temp;
for (i=1;i<=6;i++)
for(j=1;j<=7;j++)
{
eval("c"+i+"_"+j+".innerHTML=\"\"");
eval("c"+i+"_"+j+".bgColor=\"#DDDDDD\"");
eval("c"+i+"_"+j+".style.cursor=\"hand\"");
}
while(month-1==nd.getMonth())
{ j=(nd.getDay() +1);
p=parseInt((nd.getDate()+k) / 7)+1;
eval("c"+p+"_"+j+".innerHTML="+"\""+nd.getDate()+"\"");
if ((nd.getDate()==today.getDate())&&(cele_date_month.value==today.getMonth()+1)&&(cele_date_year.value==today.getYear())){
eval("c"+p+"_"+j+".bgColor=\"#EFFB64\"");
}
if (nd>date_end || nd<date_start)
{
eval("c"+p+"_"+j+".bgColor=\"#FF9999\"");
eval("c"+p
没有合适的资源?快使用搜索试试~ 我知道了~
asp留言板程序代码(修改可用的)
共135个文件
gif:79个
asp:34个
js:6个
5星 · 超过95%的资源 需积分: 16 14 下载量 87 浏览量
2012-02-27
10:40:57
上传
评论
收藏 1.22MB RAR 举报
温馨提示
asp留言板程序代码(修改可用的),一个简单明了,功能齐全的留言板程序 ,推荐新手一定要看的哦!
资源推荐
资源详情
资源评论
收起资源包目录
asp留言板程序代码(修改可用的) (135个子文件)
xycode.asp 17KB
safecode.asp 17KB
md5.Asp 11KB
system.asp 9KB
manage_gbook.asp 7KB
admin_manage.asp 7KB
shop.asp 7KB
head.asp 6KB
admin_count.asp 5KB
add_book.asp 5KB
hf_gbook.asp 5KB
admin_setup.asp 5KB
left.asp 4KB
edit_manage.asp 4KB
page.asp 3KB
page.asp 3KB
index.asp 2KB
index.asp 2KB
function.asp 2KB
middel.asp 2KB
loginpass.asp 2KB
top.asp 2KB
add_book_passed.asp 2KB
xycms.asp 1KB
manage_updata.asp 993B
gbook_hf_ok.asp 857B
down.asp 764B
xycms.asp 751B
center.asp 710B
conn.asp 421B
Loginout.asp 243B
config.asp 192B
seeion.asp 189B
main.asp 0B
admin_setup.asp.bak 9KB
Web.config 8KB
index.css 2KB
menu.css 1KB
style.css 263B
Thumbs.db 4KB
aspweb.exe 634KB
login_08.gif 25KB
login_03.gif 19KB
login_05.gif 7KB
login_07.gif 5KB
main_30.gif 3KB
main_32.gif 2KB
main_40.gif 2KB
main_04.gif 2KB
main_29.gif 2KB
bg.gif 2KB
main_22.gif 2KB
main_47.gif 2KB
main_48.gif 2KB
login_06.gif 2KB
main_11.gif 1KB
main_20.gif 1KB
main_18.gif 1KB
main_03.gif 1KB
main_12.gif 1KB
ques.gif 1KB
main_14.gif 1KB
main_16.gif 1KB
tab_17.gif 924B
shut.gif 843B
main_58.gif 804B
tab_20.gif 770B
tab_07.gif 752B
back.gif 749B
next.gif 745B
last.gif 741B
go.gif 736B
first.gif 736B
tab_18.gif 715B
tj.gif 710B
main_07.gif 701B
tab_03.gif 699B
main_37.gif 661B
admin_top_bg.gif 652B
tpxw.gif 608B
tb.gif 585B
top_tt_bg.gif 528B
tab_19.gif 420B
dl.gif 377B
online.gif 375B
tab_05.gif 375B
11.gif 341B
33.gif 337B
main_31.gif 315B
main_34.gif 292B
bg.gif 273B
22.gif 215B
main_36.gif 203B
main_55_1.gif 201B
main_55.gif 200B
menu_bg.gif 197B
edt.gif 197B
main_21.gif 192B
an.gif 175B
ts.gif 173B
共 135 条
- 1
- 2
资源评论
- suhuan19902013-12-18帮表妹下载的,她说很不错,自己稍改了一下,就可以用了
张_sir
- 粉丝: 5
- 资源: 15
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 什么是移动应用开发-关于移动应用开发的相关介绍
- 第二组汇报 PPT.pptx
- 什么是大数据开发-相关介绍-关于大数据开发的相关介绍
- 什么是软件测试-相关介绍-关于软件测试的相关介绍
- 前端开发-什么是前端开发-关于前端开发的一些相关介绍
- Sora AI-关于文生视频的使用场景说明
- suno AI文生视频的相关教程和介绍使用
- 什么是后端开发-关于后端开发的一些小介绍分享
- Jurassic Pack Vol. II Dinosaurs 侏罗纪包卷恐龙二号Unity游戏模型资源unitypackage
- Jurassic Pack Vol. III Dinosaurs 侏罗纪包卷恐龙三号Unity游戏模型资源unitypackag
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功