中文

亚洲威廉功能入口图书馆座位管理系统
The library space reservation system

faculty
and staff."

"2\u3001Go to seat 活动通知

"3\u3001Seats may 公告信息

"4\u3001Reservatio 最新预约

Copyright © 2019.Company name All rights reserved.
'; bookDiv += '
预约区域:'+areaname+'
'; bookDiv += '
预约空间预约:'+spacename+'
'; bookDiv += '
预约时间:'+today+' '+starttime+' - '+endtime+'
'; bookDiv += '

讨论主题:'+title+'

'; bookDiv += '
讨论内容:

'+application+'

'; if(ispublic == '1'){ bookDiv += '
欢迎其他读者参与
'; } bookDiv += '
'; dialog({ id: 'team-books-dialog', title: '预约申请信息', skin: 'green-dialog', padding: '40px', fixed: false, quickClose: true, content: bookDiv, onshow:function(){ }, cancelValue:'取消', cancel:function(){ }, okValue: '确 定', ok: function () { } }).showModal(); } function getBen(str){ if (str == null) return 0; if (typeof str != "string"){ str += ""; } return str.replace(/[^x00-xff]/g,"01").length; } function getdetails(){ jQuery.ajax({ url:ska.studyroominfo, type:'GET', dateType:'json', data:{'type':1}, complete: function(xhr, textStatus) { //called when complete }, success: function(data, textStatus, xhr) { var rooms = data.data.list; var tongzhi=""; var yuyue= ""; var xinxi =""; $.each(rooms,function(i,item){ var curTime = new Date().getTime(); var startDate = curTime - (3 * 3600 * 24 * 1000); startDate = new Date(startDate); if(item.newstitle !=null){ if(new Date(item.newstime["date"]) > startDate) xinxi+="
  • "+item.newstitle+""5\u3001Swipe your
  • "; else xinxi+="
  • "+item.newstitle+"
  • "; } if(item.activity_title !=null){ if(item.activity_msg =="[报名进行中]") tongzhi+="
  • "+item.activity_msg+' '+item.activity_title+""6\u3001Swipe your
  • "; else tongzhi+="
  • "+item.activity_msg+' '+item.activity_title+"
  • "; } if(item.title !=null) yuyue+="
  • "+item.spaceinfo.name+' 主题:'+item.title+"
  • "; /*if(i<3) { if(item.newstitle !=null) xinxi+="
  • "+item.newstitle+""7\u3001Seats are
  • "; if(item.activity_title !=null) tongzhi+="
  • "+item.activity_msg+' '+item.activity_title+""8\u3001If you wil
  • "; if(item.title !=null) yuyue+="
  • "+item.spaceinfo.name+' 主题:'+item.title+"
  • "; } else { if(item.newstitle !=null) xinxi+="
  • "+item.newstitle+"
  • "; if(item.activity_title !=null) tongzhi+="
  • "+item.activity_msg+' '+item.activity_title+"
  • "; if(item.title !=null) yuyue+="
  • "+item.spaceinfo.name+' 主题:'+item.title+"
  • "; }*/ }) $("#xinxi").html(xinxi); $("#tongzhi").html(tongzhi); $("#yuyue").html(yuyue); foot_set(); }, error: function(xhr, textStatus, errorThrown) { //called when there is an error alertDialog('网络错误,请重试','error'); //window.locations.reload(); } }); } setInterval(function() { getdetails(); }, 30000); //公告和活动是否显示 if(1==1) $("#huodong").css("display","block"); if(0==1) $("#gonggao").css("display","block"); if(1==1) $("#book").css("display","block"); //首页是否显示 if(0==0){ $('.menu li:first').css("display","none"); $('.mobile_menu li:first').css("display","none"); } //中英文切换按钮是否显示 if(1==0){ $('#language').css("display","none"); } $(document).ready(function(){ //检测首页大图是否启用超链接 var pic_status = "0"==""?0:0; if(!pic_status) $(".pic_change a").attr("href","void(0);") //检测登录 getdetails(); $(".renege").hide(); var str=""; str = str.replace(/\-/g, "/"); var expire = new Date(str); var now = new Date(); if (ska.username && (now < expire)) { $(".login-control").hide(); $(".logout-control").show(); }else{ $(".login-control").show(); $(".logout-control").hide(); } //登录 $(".login-btn").click(function(event) { login(); }); //登出 $(".logout-btn").click(function(event) { logout(); }); }); function login(callback){ //0:汇文系统验证, 1:直接数据库验证,2:url验证,3:指定数据库直接验证,4:单点登录 if(4==4){ window.locations.href="/__xh__/seat.lib.tsinghua.edu.cn/cas/index.php?callback="+window.locations.href; return; //$('.login_click').attr("href","/cas/index.php"); //$('.login_click').removeClass("login-btn"); } loginDialog(ska.loginApi,ska.checkUrl,function(data){ if (data.status == 1) { //设置access_token //设置userid window.ska.access_token = data.data._hash_.access_token; window.ska.userid = data.data._hash_.userid; window.ska.username = data.data.list.name; //显示登陆成功信息 $(".login-control").hide(); $(".logout-control").show(); //$(".login-welcome").html('我的中心'); dialog({'id':'login-dialog'}).remove(); //alertDialog('登录成功!','success',10); bookRule(ska.bookRule); alertDialog(data.msg,'success',500); if (callback instanceof Function) { callback(data); } }else{ var captcha_img = $('#checkpic'); var verifyimg = captcha_img.attr("src"); if( verifyimg.indexOf('?')>0){ $('#checkpic').attr("src", verifyimg+'&random='+Math.random()); }else{ $('#checkpic').attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random()); } if(data.status == 2){ $(".renege").show(); } alertDialog(data.msg,'error',1,10000); } }); } // setTimeout(function () // { // logout(); // },360000); function logout(){ logoutDialog(ska.logoutApi,{ 'access_token': window.ska.access_token, 'userid': window.ska.userid },function(data){ if (data.status == 1) { //console.log(data); //设置access_token //设置userid window.ska.access_token = ''; window.ska.userid = ''; //显示登陆成功信息 $(".login-control").show(); $(".logout-control").hide(); alertDialog('退出成功,欢迎使用!','success'); //如果选择CAS认证则退出时CAS端也一并退出 if(4 == 4) window.locations="/cas/index.php?logout="+window.locations.href; }else{ alertDialog(data.msg,'error'); } }); }

    更多内容

    公开信息按发布时间滚动。阅读「亚洲威廉功能入口」后,可回到列表或查看相邻条目。

    建议先扫读标题与摘要,再进入全文。同栏目条目通常按时间倒序排列。

    列表适合快速定位,正文适合核对表述。两者都保留在站内即可形成完整阅读路径。

    快速通道

    座位预约 · 网站首页 · 我的中心 · 网站首页

    正文、栏目列表与相关阅读构成完整路径,适合按主题持续查阅。