index.php
来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 88 行
PHP
88 行
<?
include_once 'inc/auth.php';
include_once 'inc/utility_all.php';
echo '
<html>
<head>
<title>安排查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
echo '<s';
echo 'cript Language="JavaScript">
function td_calendar(fieldname)
{
myleft=document.body.scrollLeft+event.clientX-event.offsetX-80;
mytop=document.body.scrollTop+event.clientY-event.offsetY+140;
window.showModalDialog("/inc/calendar.php?FIELDNAME="+fieldname,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:280px;dialogHeight:215px;dialogTop:"+mytop+"px;dialogLeft:"+myleft';
echo '+"px");
}
function cal_export()
{
url=\'export.php?SEND_TIME_MIN=\'+form1.SEND_TIME_MIN.value+\'&SEND_TIME_MAX=\'+form1.SEND_TIME_MAX.value+\'&CAL_TYPE=\'+form1.CAL_TYPE.value+\'&CONTENT=\'+form1.CONTENT.value;
window.open(url,\'null\',\'menubar=1,toolbar=1,status=1,resizable=1,scrollbars=1\');
}
function export_excel()
{
url=\'export_excel.php?SEND_TIME_MIN=\'+form1.SEND_TIME_MIN.value+\'&';
echo 'SEND_TIME_MAX=\'+form1.SEND_TIME_MAX.value+\'&CAL_TYPE=\'+form1.CAL_TYPE.value+\'&CONTENT=\'+form1.CONTENT.value;
window.open(url,\'null\',\'menubar=1,toolbar=1,status=1,resizable=1,scrollbars=1\');
}
</script>
</head>
<body class="bodycolor" topmargin="5" onload="document.form1.CONTENT.focus();">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="B';
echo 'ig"><img src="/images/menu/infofind.gif" WIDTH="22" HEIGHT="20" align="absmiddle">';
echo '<s';
echo 'pan class="big3"> 日程安排查询</span>
</td>
</tr>
</table>
<br>
<table border="0" width="450" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
<form action="submit.php" method="post" name="form1">
<tr>
<td nowrap class="TableData" width="100"> 日期:</td>
<td class="TableData">
<input type="text" name="SEND_TIME_MIN" size="12" maxlen';
echo 'gth="10" class="BigInput" value="">
<img align="absMiddle" src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form1.SEND_TIME_MIN\');"> 至
<input type="text" name="SEND_TIME_MAX" size="12" maxlength="10" class="BigInput" value="">
<img align="absMiddle" src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar';
echo '(\'form1.SEND_TIME_MAX\');">
</td>
</tr>
<tr>
<td nowrap class="TableData"> 事务类型:</td>
<td class="TableData">
';
echo '<s';
echo 'elect name="CAL_TYPE" class="BigSelect">
<option value="">所有</option>
';
echo code_list ('CAL_TYPE', '');
echo ' </select>
</td>
</tr>
<tr>
<td nowrap class="TableData"> 事务内容:</td>
<td class="TableData">
<input name="CONTENT" size="33" class="BigInput">
</td>
</tr>
<tr align="center" class="TableControl">
<td colspan="2" nowrap>
<input type="hidden" value="" name="ACTION_TYPE">
<input type="submit" value="查询" class="BigButton"';
echo '>
<input type="button" value="导出/打印" class="BigButton" onclick="cal_export();">
<input type="button" value="导出EXCEL" class="BigButton" onClick="export_excel();">
</td>
</tr>
</table>
</form>
</body>
</html>';
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?