📄 index.php
字号:
<?
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 LoadWindow()
{
URL="/module/user_select_single";
loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
loc_y=document.body.scrollTop+event.clientY-event.offsetY+200;
window.showModalDialog(URL,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:350px;dialogHeight:350px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");
}
';
echo '
function LoadWindow2()
{
URL="/general/book/borrow_manage/borrow/bookno_select";
loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;
loc_y=document.body.scrollTop+event.clientY-event.offsetY+170;
window.showModalDialog(URL,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:320px;dialogHeight:245px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");
}
funct';
echo 'ion 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+"px");
}
</script>
</head>
<body ';
echo 'class="bodycolor" topmargin="5">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="/images/menu/infofind.gif" width="22" height="18" align="absmiddle">';
echo '<s';
echo 'pan class="big3"> 历史纪录查询 </span>
</td>
</tr>
</table>
<br>
<div align="center">
<table border="0" cellspacing="1" width="60%" class="small" bgcolor="#000000" cellpadding="3" align="center" >
<form action="search.php" method="post" name="form1" >
<tr>
<td nowrap class="TableData">借书人: </td>
<td nowrap class="TableData">
<input type="hidden" name="TO_ID">
';
echo ' <input type="text" name="TO_NAME" size="18" class="BigStatic" readonly>
<input type="button" value="指 定" class="SmallButton" onClick="LoadWindow()" title="选择借书人" name="button"><br>
</td>
</tr>
<tr>
<td nowrap class="TableData">图书编号:</td>
<td class="TableData">
<input type="text" name="BOOK_NO" class="BigStatic" size="18" maxlength="100" readonly va';
echo 'lue="';
echo $BOOK_NO;
echo '">
<input type="button" value="选 择" class="SmallButton" onClick="LoadWindow2()" title="选择图书编号" name="button">
</td>
</tr>
</tr>
<td nowrap class="TableData">借书日期:</td>
<td nowrap class="TableData">
从 <INPUT type=text name="START_B" size=10 class=SmallInput value="';
echo $BEGIN_DATE;
echo '"><img src="/images/menu/calendar.gif" align="absmiddle" border="0" style="cursor:hand" onclick="td_calendar(\'form1.START_B\');">
至 <INPUT type=text name="END_B" size=10 class=SmallInput value="';
echo $CUR_DATE;
echo '"><img src="/images/menu/calendar.gif" align="absmiddle" border="0" style="cursor:hand" onclick="td_calendar(\'form1.END_B\');">
</td>
</tr>
<tr>
<td nowrap class="TableData" width="120">状态:</td>
<td nowrap class="TableData">
';
echo '<s';
echo 'elect name="BOOK_STATUS" class="BigSelect">
<option value="">选择</option>
<option value="1">已还</option>
<option value="0">未还</option>
</select>
</td>
</tr>
<tr>
<td nowrap class="TableControl" colspan="2" align="center">
<input type="submit" value="查询" class="BigButton" title="模糊查询" name="button">
</td>
</tr>
</form>
</table>
';
echo '</div>
</body>
</html>';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -