<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
|
<%Session.CodePage=65001%>
|
<!--#include virtual="/inc/chkadmin.gds"-->
|
<!--#include virtual="/inc/function.gds"-->
|
<%
|
searchTXT=SafeRequest(Request("searchTXT"))
|
OrdClassList=SafeRequest(Request("OrdClassList"))
|
OrdDateType=SafeRequest(Request("OrdDateType"))
|
OrdDateStart=SafeRequest(Request("OrdDateStart"))
|
OrdDateEnd=SafeRequest(Request("OrdDateEnd"))
|
|
Set rs = Server.CreateObject("ADODB.Recordset")
|
'默认显示字段
|
If OrdClassList="" Then OrdClassList="0"
|
If OrdClassList="0" Then
|
OrdClassName="全部"
|
Else
|
sql="select vID,vtext from dictionary where vType>=1 and vtitle='OrderClass' and vOrder2='"&OrdClassList&"'"
|
rs.open Sql,objConn,1,1
|
If not rs.Eof Then OrdClassName = rs("vtext")
|
rs.close()
|
End if
|
If OrdDateType="" Then OrdDateType=1
|
If OrdDateType="0" then
|
If OrdDateStart="" And OrdDateEnd="" Then
|
OrdDateStart=Date()
|
OrdDateEnd=Date()&" 00:00"
|
ElseIf OrdDateStart<>"" And OrdDateEnd="" Then
|
OrdDateEnd=OrdDateStart
|
ElseIf OrdDateStart="" And OrdDateEnd<>"" Then
|
OrdDateStart=OrdDateEnd
|
End If
|
If Cdate(OrdDateStart)>Cdate(OrdDateEnd) Then
|
OrdDateStart1=OrdDateStart
|
OrdDateStart=OrdDateEnd
|
OrdDateEnd=OrdDateStart1
|
End if
|
If OrdDateStart=OrdDateEnd Then
|
OrdDateStart=FORMATDATETIME(OrdDateStart,vbShortDate)
|
OrdDateTypeName=OrdDateStart
|
OrdDateTypeName1=OrdDateTypeName
|
OrdDateEnd=FORMATDATETIME(OrdDateEnd,vbShortDate)&" 23:59:59"
|
Else
|
OrdDateTypeName=OrdDateStart&" 至 "&OrdDateEnd
|
OrdDateTypeName1="时间段"
|
End If
|
SqlOrdDateType="between '"&OrdDateStart&"' and '"&OrdDateEnd&"'"
|
|
Else
|
sql="select vID,vtext,vOrder2 from dictionary where vType>=1 and vtitle='OrdDateType' and vID="&OrdDateType
|
rs.open Sql,objConn,1,1
|
If not rs.Eof Then
|
OrdDateTypeName = rs("vtext")
|
OrdDateTypeName1=OrdDateTypeName
|
SqlOrdDateType = rs("vOrder2")
|
Else
|
OrdDateType=1
|
OrdDateTypeName="当天"
|
OrdDateTypeName1=OrdDateTypeName
|
SqlOrdDateType="between DATEADD(dd,DATEDIFF(dd,0,getdate()),0) and DATEADD(ss,-1,DATEADD(dd,DATEDIFF(dd,0,getdate()),1))"
|
End If
|
rs.close()
|
End if
|
|
'各种返回信息
|
SystemMessageType=trim(Request("SystemMessageType"))
|
SMT=trim(Request("SMT"))
|
if SystemMessageType<>"" then
|
if SMT="1" then
|
SystemMessageTXT="刷新完成"
|
ElseIf SMT="2" then
|
SystemMessageTXT="修改完成"
|
ElseIf SMT="4" then
|
SystemMessageTXT="删除完成"
|
end if
|
end if
|
|
|
OrdListName = "来电记录查询"
|
|
'时间段列表
|
sql="select vID,vtext from dictionary where vType>=1 and vtitle='OrdDateType' order by vOrder"
|
rs.open Sql,objConn,1,1
|
do while not rs.Eof
|
OrdDateTypes = OrdDateTypes & rs("vID") &","& rs("vtext") & "|"
|
rs.movenext
|
Loop
|
rs.close()
|
OrdDateTypes = left(OrdDateTypes,len(OrdDateTypes)-1)
|
OrdDateTypesPS = SPLIT(OrdDateTypes,"|")
|
|
'单据类型表列
|
OrdClassTypes = "0,全部|"
|
sql="select vID,vtext,vOrder2 from dictionary where vType=1 and vtitle='OrderClass' order by vOrder"
|
rs.open Sql,objConn,1,1
|
do while not rs.Eof
|
OrdClassTypes = OrdClassTypes & rs("vOrder2") &","& rs("vtext") & "|"
|
rs.movenext
|
Loop
|
rs.close()
|
OrdClassTypes = left(OrdClassTypes,len(OrdClassTypes)-1)
|
OrdClassTypesPS = SPLIT(OrdClassTypes,"|")
|
|
'来源类型表列
|
CallRecord_SourceList = ""
|
sql="select vID,vtext,vOrder2 from dictionary where vType=1 and vtitle='CallRecord_Source' order by vOrder"
|
rs.open Sql,objConn,1,1
|
do while not rs.Eof
|
CallRecord_SourceList = CallRecord_SourceList & rs("vID") &","& rs("vtext") & "|"
|
rs.movenext
|
Loop
|
rs.close()
|
CallRecord_SourceList = left(CallRecord_SourceList,len(CallRecord_SourceList)-1)
|
CallRecord_SourceListPS = SPLIT(CallRecord_SourceList,"|")
|
|
|
page_URL="&OrdClassList="&OrdClassList&"&OrdDateType="&OrdDateType&"&OrdDateStart="&OrdDateStart&"&OrdDateEnd="&OrdDateEnd&"&searchTXT="&searchTXT
|
%>
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head>
|
<title><%=LindemanAdmin%></title>
|
<!--#include virtual="/inc/ccs.gds"-->
|
</head>
|
<body onkeydown="xKeyEvent(event)">
|
<!--#INCLUDE FILE="menu_header.gds" -->
|
<!-- content -->
|
<div id="content">
|
<!--#INCLUDE FILE="ServiceCenter_menu_left.gds" -->
|
<!-- content / right -->
|
<div id="right">
|
<!-- table -->
|
<div class="box">
|
<!-- box / title -->
|
<div class="title">
|
<h5><%If searchTXT<>"" then%>服务单查询 <%=searchTXT%><%else%><%=OrdDateTypeName1&" "&OrdListName%><%End if%></h5>
|
<ul class="links">
|
<li><a href="CallRecord_List_csv.gds?1=1<%=page_URL%>">导出csv</a></li>
|
<li><a onClick="form1_Call_update()">修改</a></li>
|
<%if isDepartment("020117")=1 then%><li><a onClick="form1_Call_delete()">删除</a></li><%End if%>
|
<li>
|
<div class="search">
|
<div id="Date_container" class="select-container" style="overflow: hidden;cursor:pointer" onclick="JS_OrdDateType()">
|
<span class="select-content" style="width: 46px;">期间:<%=OrdDateTypeName%></span><span class="arrow" id="Date_arrow"></span>
|
</div>
|
<div id="Date_list" class="select-list scroll-pane" style="overflow: hidden; position: absolute; background-color: white; width: 65px; display: none;background-position: initial initial; background-repeat: initial initial;margin-left: 35px;">
|
<div class="jspContainer" style="width: 63px; ">
|
<div style="padding: 0px; top: 0px; width: 63px;">
|
<%for z = 0 to UBOUND(OrdDateTypesPS)
|
OrdDateTypesPS1=SPLIT(OrdDateTypesPS(z),",")
|
vID=OrdDateTypesPS1(0)
|
vtext=OrdDateTypesPS1(1)
|
%>
|
<span title="<%=vtext%>" onmouseover="JS_OrdDateTypeMouseover('OrdDateType_<%=vID%>')" onclick="JS_OrdDateTypeJump('<%=vID%>')" id="OrdDateType_<%=vID%>" class="list-option<%if vID=OrdDateType then Response.Write " option"%>"><%=vtext%></span>
|
<%next%>
|
<span title="自定义" onmouseover="JS_OrdDateTypeMouseover('OrdDateType_0')" onclick="JS_OrdDateTypeCreateOpen()" id="OrdDateType_0" name="OrdDateType" class="list-option">自定义</span>
|
</div>
|
</div>
|
</div>
|
</div>
|
</li>
|
<li>
|
<div class="search">
|
<div id="OrdClass_container" class="select-container" style="overflow: hidden;cursor:pointer" onclick="JS_OrdClassType()">
|
<span class="select-content" style="width: 46px;">单据类型:<%=OrdClassName%></span><span class="arrow" id="OrdClass_arrow"></span>
|
</div>
|
<div id="OrdClass_list" class="select-list scroll-pane" style="overflow: hidden; position: absolute; background-color: white; width: 77px; display: none;background-position: initial initial; background-repeat: initial initial;margin-left: 69px;">
|
<div class="jspContainer" style="width: 75px;">
|
<div style="padding: 0px; top: 0px; width: 80px;">
|
<%for z = 0 to UBOUND(OrdClassTypesPS)
|
OrdClassTypesPS1=SPLIT(OrdClassTypesPS(z),",")
|
vID=OrdClassTypesPS1(0)
|
vtext=OrdClassTypesPS1(1)
|
%>
|
<span title="<%=vtext%>" onmouseover="JS_OrdClassTypeMouseover('OrdClassType_<%=vID%>')" onclick="JS_OrdClassTypeJump('<%=vID%>')" id="OrdClassType_<%=vID%>" class="list-option<%if vID=OrdClassName then Response.Write " option"%>"><%=vtext%></span>
|
<%next%>
|
</div>
|
</div>
|
</div>
|
</div>
|
</li>
|
<div class="search">
|
<form action="CallRecord_List.gds?h_menu1_1=<%=session("h_menu1_1")%>" method="post">
|
<div class="input">
|
<input type="text" id="search" name="searchTXT" value="<%=searchTXT%>" />
|
</div>
|
<div class="button">
|
<input type="submit" name="submit" value="搜索" />
|
</div>
|
</form>
|
</div>
|
</ul>
|
</div>
|
<div class="dialogJ dialogJfix dialogJshadow" id="OrdDateTypeCreate" style="width: 440px;right: 80px; top: 150px;height:80px ;display:none;">
|
<div class="dialogJtitle">
|
<a href="javascript:JS_OrdDateTypeCreateClose();" class="dialogJclose" title="关闭本窗口"> </a>
|
<span class="dialogJtxt" id="EditPhotoTXT">请选择时间段</span>
|
</div>
|
<div class="dialogJcontent" style="margin-left: 5px;margin-right:5px;">
|
<div class="input" style="float:left;margin-top: 10px;margin-left: 5px;">
|
期间:
|
<input type="text" id="OrdDateStart" name="OrdDateStart" class="date" style="width:138px;" value="<%=OrdDateStart%>">
|
至
|
<input type="text" id="OrdDateEnd" name="OrdDateEnd" class="date" style="width:138px;" value="<%=OrdDateEnd%>">
|
<input type="button" class="dialogJbtn first-child" onclick="JS_OrdDateJump()" value="查询">
|
</div>
|
</div>
|
</div>
|
<script type="text/javascript">
|
//时间表列显示下拉菜单
|
function JS_OrdDateType(){
|
if (Date_container.className!="select-container select-container-show-list"){
|
Date_container.className="select-container select-container-show-list";
|
Date_arrow.className="arrow arrow-up";
|
Date_list.style.display="block";
|
OrdClass_container.className="select-container";
|
OrdClass_arrow.className="arrow";
|
OrdClass_list.style.display="none";
|
OrdDateTypeCreate.style.display="none";
|
}
|
else {
|
Date_container.className="select-container";
|
Date_arrow.className="arrow";
|
Date_list.style.display="none";
|
}
|
}
|
//时间表列指针移动到下拉菜单
|
function JS_OrdDateTypeMouseover(id){
|
var d=document.getElementById(id);
|
<%for z = 0 to UBOUND(OrdDateTypesPS)
|
OrdDateTypesPS1=SPLIT(OrdDateTypesPS(z),",")
|
vID=OrdDateTypesPS1(0)
|
vtext=OrdDateTypesPS1(1)
|
%>
|
document.getElementById("OrdDateType_<%=vID%>").className="list-option";
|
<%next%>
|
document.getElementById("OrdDateType_0").className="list-option";
|
d.className="list-option option";
|
}
|
//自定义时间-打开窗口
|
function JS_OrdDateTypeCreateOpen()
|
{
|
JS_OrdDateType();
|
OrdDateTypeCreate.style.display="block";
|
}
|
//自定义时间-关闭窗口
|
function JS_OrdDateTypeCreateClose()
|
{
|
JS_OrdDateType();
|
OrdDateTypeCreate.style.display="none";
|
}
|
//时间类表列转跳
|
function JS_OrdDateJump(id){
|
var OrdDateStart=document.getElementById("OrdDateStart").value;
|
var OrdDateEnd=document.getElementById("OrdDateEnd").value;
|
window.location.href='CallRecord_List.gds?OrdClassList=<%=OrdClassList%>&OrdDateType=0&OrdDateStart='+OrdDateStart+'&OrdDateEnd='+OrdDateEnd;
|
}
|
//自定义时间转跳
|
function JS_OrdDateTypeJump(id){
|
window.location.href='CallRecord_List.gds?OrdClassList=<%=OrdClassList%>&OrdDateType='+id;
|
}
|
|
//单据类型显示下拉菜单
|
function JS_OrdClassType(){
|
if (OrdClass_container.className!="select-container select-container-show-list"){
|
OrdClass_container.className="select-container select-container-show-list";
|
OrdClass_arrow.className="arrow arrow-up";
|
OrdClass_list.style.display="block";
|
Date_container.className="select-container";
|
Date_arrow.className="arrow";
|
Date_list.style.display="none";
|
OrdDateTypeCreate.style.display="none";
|
}
|
else {
|
OrdClass_container.className="select-container";
|
OrdClass_arrow.className="arrow";
|
OrdClass_list.style.display="none";
|
}
|
}
|
//单据类型指针移动到下拉菜单
|
function JS_OrdClassTypeMouseover(id){
|
var d=document.getElementById(id);
|
<%for z = 0 to UBOUND(OrdClassTypesPS)
|
OrdClassTypesPS1=SPLIT(OrdClassTypesPS(z),",")
|
vID=OrdClassTypesPS1(0)
|
vtext=OrdClassTypesPS1(1)
|
%>
|
document.getElementById("OrdClassType_<%=vID%>").className="list-option";
|
<%next%>
|
document.getElementById("OrdClassType_0").className="list-option";
|
d.className="list-option option";
|
}
|
//时间表列转跳
|
function JS_OrdClassTypeJump(id){
|
window.location.href='CallRecord_List.gds?OrdDateType=<%=OrdDateType%>&OrdClassList='+id;
|
}
|
|
</script>
|
<script LANGUAGE="javascript">
|
//修改记录
|
function form1_Call_update(){
|
document.form1.action = "admin_save.gds";
|
document.form1.admin_save.value = "139";
|
form1.submit();
|
}
|
//删除记录
|
function form1_Call_delete(){
|
document.form1.action = "admin_save.gds";
|
document.form1.admin_save.value = "140";
|
form1.submit();
|
}
|
//选择修改记录
|
function form1_Call_Edit(id){
|
if (document.getElementById('Show_Phine_'+id).style.display=="none")
|
{
|
document.getElementById('Show_StartTime_'+id).style.display='';
|
document.getElementById('Edit_StartTime_'+id).style.display='none';
|
document.getElementById('Show_Phine_'+id).style.display='';
|
document.getElementById('Edit_Phine_'+id).style.display='none';
|
document.getElementById('Show_InAndOut_'+id).style.display='';
|
document.getElementById('Edit_InAndOut_'+id).style.display='none';
|
document.getElementById('Show_Source_'+id).style.display='';
|
document.getElementById('Edit_Source_'+id).style.display='none';
|
document.getElementById('Show_Record_'+id).style.display='';
|
document.getElementById('Edit_Record_'+id).style.display='none';
|
//document.getElementById('Show_Time_'+id).style.display='';
|
//document.getElementById('Edit_Time_'+id).style.display='none';
|
document.getElementById('Show_OrdID_'+id).style.display='';
|
document.getElementById('Edit_OrdID_'+id).style.display='none';
|
|
}
|
else
|
{
|
document.getElementById('Show_StartTime_'+id).style.display='none';
|
document.getElementById('Edit_StartTime_'+id).style.display='';
|
document.getElementById('Show_Phine_'+id).style.display='none';
|
document.getElementById('Edit_Phine_'+id).style.display='';
|
document.getElementById('Show_InAndOut_'+id).style.display='none';
|
document.getElementById('Edit_InAndOut_'+id).style.display='';
|
document.getElementById('Show_Source_'+id).style.display='none';
|
document.getElementById('Edit_Source_'+id).style.display='';
|
document.getElementById('Show_Record_'+id).style.display='none';
|
document.getElementById('Edit_Record_'+id).style.display='';
|
//document.getElementById('Show_Time_'+id).style.display='none';
|
//document.getElementById('Edit_Time_'+id).style.display='';
|
document.getElementById('Show_OrdID_'+id).style.display='none';
|
document.getElementById('Edit_OrdID_'+id).style.display='';
|
}
|
|
|
}
|
</script>
|
<!-- end box / title -->
|
<%
|
acc1=clng(request("page"))
|
if acc1=empty then acc1=clng(1)
|
QuantityInt = 20
|
acc2=0
|
acc3=0
|
|
if searchTXT<>"" Then
|
searchSql=""
|
If Len(searchTXT)=12 And Not IsNumeric(Left(searchTXT,2)) And IsNumeric(Right(searchTXT,10)) Then
|
searchSql=" CallRecord_OrdID="&Right(searchTXT,10)&" and CallRecord_OrdClass='"&Left(searchTXT,2)&"' "
|
ElseIf Len(searchTXT)=10 And IsNumeric(searchTXT) Then
|
searchSql=" CallRecord_OrdID="&Right(searchTXT,10)&" "
|
Else
|
searchSql=" (CallRecord_Phine like '%"&searchTXT&"%' or CallRecord_Record like '%"&searchTXT&"%') "
|
End if
|
else
|
searchSql=" CallRecord_StartTime "&SqlOrdDateType&" "
|
end if
|
|
sql="select * from CallRecord left join OrdData on SOrdID=CallRecord_OrdID where "&searchSql&" order by CallRecord_StartTime desc"
|
'Response.Write sql
|
rs.open sql,objConn,1,1
|
if not rs.eof then
|
rs.pagesize=QuantityInt
|
rs.absolutepage=acc1
|
acc2=rs.pagecount
|
acc3=rs.recordcount
|
else
|
SystemMessageType=2
|
SystemMessageTXT="数据库中相关无数据!"
|
end if
|
%>
|
<!--#include virtual="/inc/SystemMessages.gds" -->
|
<div class="table" style="overflow:auto">
|
<form id="form1" name="form1" action="" method="post">
|
<input name="admin_save" type="hidden" value="22">
|
<table>
|
<thead>
|
<tr style="white-space: nowrap;">
|
<th class="selected"><input type="checkbox" class="checkall" /></th>
|
<th>通话时间</th>
|
<th>通话号码</th>
|
<th>话务员</th>
|
<th>通话类型</th>
|
<th>通话来源</th>
|
<th>来电备注</th>
|
<!--<th>通话时长</th>-->
|
<th>相关单据</th>
|
</tr>
|
</thead>
|
<tbody>
|
|
<%i=1
|
do while not rs.Eof and i<=QuantityInt
|
CallRecordID = rs("CallRecordID")
|
CallRecord_Phine = rs("CallRecord_Phine")
|
CallRecord_OAUserID = rs("CallRecord_OAUserID")
|
CallRecord_StartTime= rs("CallRecord_StartTime")
|
CallRecord_EndTime = rs("CallRecord_EndTime")
|
CallRecord_Type = rs("CallRecord_Type")
|
CallRecord_Ord = rs("服务单号")
|
CallRecord_OrdID = rs("CallRecord_OrdID")
|
CallRecord_Record = rs("CallRecord_Record")
|
CallRecord_InAndOut = rs("CallRecord_InAndOut")
|
CallRecord_Source = rs("CallRecord_Source")
|
|
CallRecord_Time = SplitTime(DateDiff("s",CallRecord_StartTime,CallRecord_EndTime))
|
CallRecord_SourceName = CallRecord_SourceA(CallRecord_Source)
|
If CallRecord_InAndOut=1 Then
|
CallRecord_InAndOutName="呼出"
|
Else
|
CallRecord_InAndOutName="呼入"
|
End If
|
i=i+1
|
%>
|
<tr style="white-space: nowrap;">
|
<td class="selected"><input type="checkbox" id="CallRecordID_<%=CarID%>" name="CallRecordID" value="<%=CallRecordID%>" onclick="javascript:form1_Call_Edit('<%=CallRecordID%>')"/></td>
|
<td class="category" id="Show_StartTime_<%=CallRecordID%>"><%=CallRecord_StartTime%></td>
|
<td class="category" id="Edit_StartTime_<%=CallRecordID%>" style="display:none;"><input id="CallRecord_StartTime_<%=CallRecordID%>" name="CallRecord_StartTime_<%=CallRecordID%>" class="small" style="width:120px;text-align: center;" value="<%=CallRecord_StartTime%>" type="text"></td>
|
<td class="category" id="Show_Phine_<%=CallRecordID%>"><%=CallRecord_Phine%></td>
|
<td class="category" id="Edit_Phine_<%=CallRecordID%>" style="display:none;"><input id="CallRecord_Phine_<%=CallRecordID%>" name="CallRecord_Phine_<%=CallRecordID%>" class="small" style="width:120px;text-align: center;" value="<%=CallRecord_Phine%>" type="text"></td>
|
<td class="category"><%=OAUser(CallRecord_OAUserID,"UserName")%></td>
|
<td class="category" id="Show_InAndOut_<%=CallRecordID%>"><%=CallRecord_InAndOutName%></td>
|
<td class="category" id="Edit_InAndOut_<%=CallRecordID%>" style="display:none;">
|
<select name="CallRecord_InAndOut_<%=CallRecordID%>" id="CallRecord_InAndOut_<%=CallRecordID%>">
|
<option value="0"<%if Clng(CallRecord_InAndOut)=0 then Response.Write " selected"%>>呼入</option>
|
<option value="1"<%if Clng(CallRecord_InAndOut)=1 then Response.Write " selected"%>>呼出</option>
|
</select>
|
</td>
|
<td class="category" id="Show_Source_<%=CallRecordID%>"><%=CallRecord_SourceName%></td>
|
<td class="category" id="Edit_Source_<%=CallRecordID%>" style="display:none;">
|
<select name="CallRecord_Source_<%=CallRecordID%>" id="CallRecord_Source_<%=CallRecordID%>">
|
<%If CallRecord_Source=0 Then Response.Write "<option value=""0"">请选择</option>"
|
for z = 0 to UBOUND(CallRecord_SourceListPS)
|
CallRecord_SourceListPS1=SPLIT(CallRecord_SourceListPS(z),",")
|
vID=CallRecord_SourceListPS1(0)
|
vtext=CallRecord_SourceListPS1(1)
|
%>
|
<option value="<%=vID%>"<%if Clng(CallRecord_Source)=Clng(vID) then Response.Write " selected"%>><%=vtext%></option>
|
<%next%>
|
</select>
|
</td>
|
<td class="category" id="Show_Record_<%=CallRecordID%>"><%=CallRecord_Record%></td>
|
<td class="category" id="Edit_Record_<%=CallRecordID%>" style="display:none;"><input id="CallRecord_Record_<%=CallRecordID%>" name="CallRecord_Record_<%=CallRecordID%>" class="small" style="width:120px;text-align: center;" value="<%=CallRecord_Record%>" type="text"></td>
|
<!--
|
<td class="category" id="Show_Time_<%=CallRecordID%>"><%=CallRecord_Time%></td>
|
<td class="category" id="Edit_Time_<%=CallRecordID%>" style="display:none;"><input id="CallRecord_Time_<%=CallRecordID%>" name="CallRecord_Time_<%=CallRecordID%>" class="small" style="width:120px;text-align: center;" value="<%=CallRecord_Time%>" type="text"></td>
|
-->
|
<td class="category last" id="Show_OrdID_<%=CallRecordID%>"><A HREF="ServiceOrder.gds?ServiceOrdID=<%=CallRecord_OrdID%>"><%=CallRecord_Ord%></A></td>
|
<td class="category last" id="Edit_OrdID_<%=CallRecordID%>" style="display:none;"><input id="CallRecord_Ord_<%=CallRecordID%>" name="CallRecord_Ord_<%=CallRecordID%>" class="small" style="width:120px;text-align: center;" value="<%=CallRecord_Ord%>" type="text"></td>
|
</tr>
|
<%rs.movenext
|
loop
|
rs.close()
|
%>
|
<%for j=i to 20%>
|
<tr>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td class="last"> </td>
|
</tr>
|
<%next%>
|
</tbody>
|
</table>
|
<!-- pagination -->
|
<div class="pagination pagination-left">
|
<div class="results">
|
<%
|
ShowingLeast = (acc1-1)*QuantityInt+1
|
ShowingMax = QuantityInt*acc1
|
if ShowingMax>acc3 then ShowingMax=acc3
|
%>
|
<span><%="显示 "& ShowingLeast &"-"& ShowingMax &" of "&acc3%></span>
|
</div>
|
<%if acc2>1 then%>
|
<ul class="pager">
|
<%if acc1=1 then%>
|
<li class="disabled">« 上页</li>
|
<%else%>
|
<li><a href="?page=<%=acc1-1%><%=page_URL%>">« 上页</a></li>
|
<%end if%>
|
<%
|
acc4=""
|
for i=1 to acc2
|
if acc2<=9 then
|
acc4=acc4&","&i
|
else
|
if i=1 then
|
acc4=acc4&","&i
|
elseif acc1<=5 and i<=7 then
|
acc4=acc4&","&i
|
elseif acc1>=acc2-4 and i>=acc2-6 then
|
acc4=acc4&","&i
|
elseif i>=acc1-2 and i<=acc1+2 then
|
acc4=acc4&","&i
|
elseif i=acc2 then
|
acc4=acc4&","&i
|
elseif i=2 or i=acc2-1 then
|
acc4=acc4&",0"
|
end if
|
end if
|
next
|
acc4SP=SPLIT(acc4,",")
|
for i = 1 to UBOUND(acc4SP)%>
|
<%if acc4SP(i)="0" then%>
|
<li class="separator">...</li>
|
<%elseif acc1=cint(acc4SP(i)) then%>
|
<li class="current"><%=acc4SP(i)%></li>
|
<%else%>
|
<li><a href="?page=<%=acc4SP(i)%><%=page_URL%>"><%=acc4SP(i)%></a></li>
|
<%end if%>
|
<%next%>
|
<%if acc1>=acc2 then%>
|
<li class="disabled">下页 »</li>
|
<%else%>
|
<li><a href="?page=<%=acc1+1%><%=page_URL%>">下页 »</a></li>
|
<%end if%>
|
</ul>
|
<%end if%>
|
</div>
|
<!-- end pagination -->
|
</form>
|
</div>
|
</div>
|
<!-- end table -->
|
|
|
|
</div>
|
<!-- end content / right -->
|
</div>
|
<!-- end content -->
|
<!--#include FILE="vicgame.asp"-->
|
</body>
|
</html>
|