📄 rc_writecalendar.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="rc_writecalendar.aspx.cs" Inherits="rc_rc_writecalendar" validateRequest="false"%>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<script type="text/javascript"language="JavaScript">
function check() {
var time = document.getElementById("control_date").value;
if(time==""||time==null){
alert("请选择日程日期");
return false;
}
var title = document.getElementById("zhuti").value;
if(title==""||title==null){
alert("请输入日程主题");
return false;
}
var content = document.getElementById("ftboxcontent").value;
if(content==""||content==null){
alert("请输入日程内容");
return false;
}
}
</script>
<script type="text/javascript" src="../js/calendar.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title>撰写日程</title>
<style type="text/css">
<!--
.style1 {
color: #FFFFFF;
font-weight: bold;
}
-->
</style>
<link href="../css/link.css" rel="stylesheet" type="text/css"/>
<link href="../css/input.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
<!--
.style9 {font-size: 12px}
-->
</style>
</head>
<body>
<table width="100%" border="0">
<tr>
<td><div align="center">
<form name="form1" method="post" action="" runat="server" onsubmit="return check()">
<table width="760" height="21" border="0" cellpadding="0" cellspacing="0" background="../images/sj/line.gif">
<tr>
<td background="../images/sj/line.gif"><div align="center" class="style1">撰 写 日 程</div></td>
</tr>
</table>
<table width="760" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
<tr>
<td valign="top" bgcolor="#FFFFFF" style="height: 544px"><table width="99%" border="0" cellpadding="3" cellspacing="0">
<tr bgcolor="#FFFFFF">
<td height="8" colspan="2"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><div align="right">日程日期:</div></td>
<td style="text-align: left">
<input name="control_date" type="text" id="control_date" maxlength="10" readonly="readonly" style="width: 122px"/>
<input type="button" name="button" id="button" value="选择日期" onclick="new Calendar().show(this.form.control_date);" />
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="11%"><div align="right">主题:</div></td>
<td width="89%" style="text-align: left">
<input name="zhuti" type="text" id="zhuti" maxlength="40" style="width: 356px"/></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><div align="right"><img alt src="../images/sj/1.gif" width="78" height="46"/><br/>
内容:</div></td>
<td>
<ftb:freetextbox id="ftboxcontent" runat="server"></ftb:freetextbox>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td> </td>
<td>
<%
COM.OA.Entity.users loginuser = Session["loginuser"] as COM.OA.Entity.users;
if (loginuser == null)
{
Response.Write("<script language='javascript'>parent.document.location.href='../login.aspx'</script>");
return;
}
string username = loginuser.u_username;
%>
<input id="txtusername" name="txtusername" type="hidden" value="<%=username %>" />
<% string d = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); %>
<input id="txtsendtime" name="txtsendtime" type="hidden" value="<%=d %>" />
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td style="height: 33px"> </td>
<td style="height: 33px"><span class="style9"><span class="bg"><span class="bg style2"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff">
<strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><STRONG><font color="#ffffff"><strong><font color="#ffffff"><STRONG><font color="#ffffff"><strong><font color="#ffffff">
<asp:Button ID="Button1" runat="server" Height="27px" Text="发 送" Width="61px" OnClick="Button1_Click" /></font></strong></font></strong></font></strong></font></strong> <STRONG><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><STRONG><font color="#ffffff"><strong><font color="#ffffff"><STRONG><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><STRONG><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><STRONG><font color="#ffffff"><strong><font color="#ffffff"><STRONG><font color="#ffffff"><strong><font color="#ffffff"><STRONG><font color="#ffffff"><strong><font color="#ffffff">
<input name="重置" type="reset" style="font-SIZE: 12px; HEIGHT: 27px" value= " 重 写 " />
</font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong> </font></strong></font></strong></font></strong> </font></strong></font></strong> </font></strong> <STRONG><font color="#ffffff"> <strong><font color="#ffffff">
<input name="按钮" type="button" style="font-SIZE: 12px; HEIGHT: 27px" onclick="javascript:history.go(-1)" value= " 取 消 " />
</font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></span></span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2" style="height: 10px"></td>
</tr>
</table></td>
</tr>
</table>
</form>
</div></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -