// ******************************************************************
// Filename - home.html
// Shortname - HM
// Purpose - This code builds dynamic portions of the default view
// Copyright - (C) 1996, Ingenia Communications Corporation
// Authors - Kjell Wooding
// - Chris Grant
// Contact - kwooding@ingenia.com
// ******************************************************************
CM_Authorize();
IF_VerifyRoutines(); // input verification routines
IF_DateWidget("strDate",0); // JavaScript routines for date widget
// Handlers
if (request.doDelete) {
CM_CancelMeeting(request.oldMeetingID);
}
if (request.doEdit) {
// pass the request variables on to book
strBookRef = addClient("book.html?doEdit=\"Edit\"&oldMeetingID=" + request.oldMeetingID);
redirect(strBookRef);
}
if (request.strDate) { // received a date in MM/DD/YY format
client.DefaultDate=CM_strDatetoInt(request.strDate);
} else if (request.dtDate) { // received a new date in millisecond format
client.DefaultDate = request.dtDate;
} else if (!client.DefaultDate) { // no current date. use today
dtDate=new Date();
client.DefaultDate=dtDate.getTime();
}
// Now we are sure to have a date in the client.DefaultDate variable.
iMeet 會議室預訂系統 - 個人行事曆
HM_Header(client.DefaultDate,client.EmployeeID);
IF_DisplayToolbar(false); // non-graphical toolbar
write(""+
"您於 "+ CM_intDatetoText(client.DefaultDate)+ " 的會議有"+
"\n");
JV_BookingsUser(client.EmployeeID,
dtDate,
"/imeet/images/week.gif",
36,
27,
"請點選 [會議資訊] 按鈕 可查看今日的會議資訊.");
write("
HM_DisplayDaysMeetings(client.DefaultDate,client.EmployeeID);
IF_DisplayCopyright();