代码拉取完成,页面将自动刷新
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="txml.aspx.cs" Inherits="txml" %>
<!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>
<title>我的通讯录</title>
<meta http-equiv="x-ua-compatible" content="ie=8" />
<link rel="stylesheet" type="text/css" href="css/main.css" />
<link href="css/layer.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/draw.js"></script>
<script type="text/javascript" src="js/tipswindown.js"></script>
<script type="text/javascript" language="javascript">
var pre;
var tmp;
function selectArow(s)
{
$(s).attr("style", "background-color:#D2EAEC;color:#913005");
if (pre != null && pre != s) $(pre).attr("style", "background-color:;color:");
pre = s;
tmp = s.id;
document.getElementById("HidID").value = s.id;
}
function PcOrderSearch()
{
var pcuser = value("pcuser");
var pcorder = value("pcorder");
var pcmsg = value("pcmsg");
var pcbtime = value("pcbtime");
var pcetime = value("pcetime");
window.location.href = "dxtasksearch.aspx?u="+pcuser+"&o="+pcorder+"&m="+pcmsg+"&b="+pcbtime+"&e="+pcetime;
}
function SelectAll(box)
{
for(var i=0;i <document.form1.elements.length;i++)
{
var e=document.form1.elements[i];
if((e.type=='checkbox'))
{
var o=e.name.lastIndexOf('ckbIndex');
if(o!=-1)
{
e.checked=box.checked;
}
}
}
}
function SwitchTxlBar()
{
if (document.getElementById("btntxlclose").value == "关闭分组")
{
document.getElementById("btntxlclose").value = "打开分组";
document.getElementById('txlleftbar').style.display = "none";
}
else
{
document.getElementById("btntxlclose").value = "关闭分组";
document.getElementById('txlleftbar').style.display = "";
}
}
</script>
</head>
<body style="background-color: #fff;">
<form id="form1" runat="server">
<div id="maintitle">
<div id="mainico">
</div>
<div id="maintip">
<strong>位置:</strong>我的通讯录</div>
</div>
<div id="mybox" style="padding: 0px 4px 2px 2px;">
<table width="100%" id="add_table" style="border-collapse: collapse;" bordercolor="#F7FBFE"
cellspacing="0" bgcolor="#D2EAEC" border="1">
<tr>
<td height="36" align="center" width="63">
<b>搜索区:</b>
</td>
<td>
<label>
姓名:</label>
<input id="pcuser" style="width: 100px" name="pcuser" type="text" class="input" runat="server" />
<label>
手机号码:</label>
<input id="pcmobile" style="width: 120px" name="pcuser" type="text" class="input" runat="server" />
<label>
性别:</label>
<select name="pcsex" id="pcsex" runat="server" class="input" style="width: 90px">
<option value="">不限</option>
<option value="男">男</option>
<option value="女">女</option>
</select>
<label>
分组:</label><select name="pcclass" id="pcclass" runat="server" class="input" style="width: 120px"></select>
<input type="button" value="我要查询" class="btn6" id="SearchBtn" runat="server" onserverclick="SearchBtn_ServerClick" />
</td>
</tr>
<tr>
<td height="36" align="center">
<b>功能区:</b>
</td>
<td>
<input type="button" value="关闭分组" class="btn6" id="btntxlclose" onclick="SwitchTxlBar()" />
<input type="button" value="新增分组" class="btn6" onclick='tipsWindown("新增分组","iframe:addtxlclass.aspx?action=add&name=","240","100","true","","1","exa");' />
<input type="button" value="新增名录" class="btn6" onclick='tipsWindown("新增名录","iframe:addtxluser.aspx?action=add","320","560","true","","1","exa");' />
<input type="button" value="导入名录" class="btn6" onclick='tipsWindown("导入名录","iframe:txlexcelimport.aspx","440","120","true","","1","exa");' />
<input type="button" value="导出所选" class="btn6" runat="server" id="BtnToExcel" onserverclick="BtnToExcel_ServerClick" />
<input type="button" value="移动所选" class="btn6" runat="server" id="BtnMoveSelect" onserverclick="BtnMoveSelect_ServerClick" />
<input type="button" value="发送所选" class="btn6" runat="server" id="BtnSendSelect" onserverclick="BtnSendSelect_ServerClick" />
<input type="button" value="删除所选" class="btn6" runat="server" id="BtnDelAll" onserverclick="BtnDelAll_ServerClick" />
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="260" valign="top" id="txlleftbar" style="padding-right:4px;">
<table id="mytable1" width="100%" style="margin-top: 2px; border-collapse: collapse;
border: 1px solid #C1DAD7;" cellspacing="0" cellpadding="0">
<tr>
<th width="120" style="text-align: center;">
分组名称</th>
<th width="90" style="text-align: center;">
编辑</th>
<th width="70" style="text-align: center;">
删除</th>
<th width="80" style="text-align: center;">
数量</th>
</tr>
<asp:Repeater runat="server" ID="txltreelist" OnItemCommand="txltreelist_ItemCommand"
OnItemDataBound="txltreelist_ItemDataBound">
<ItemTemplate>
<tr id="<%#Eval("id")%>" onclick="selectArow(this);">
<td align="center">
<a href="?id=<%#Eval("id")%>">
<%#Eval("name")%>
</a>
</td>
<td align="center">
<a onclick='tipsWindown("编辑分组","iframe:addtxlclass.aspx?action=edit&name=<%#Eval("name")%>&id=<%#Eval("id")%>","240","100","true","","1","exa");'>
编辑</a>
</td>
<td align="center">
<asp:LinkButton runat="server" ID="LinkBtnClassDel" Text='删除' CommandName="BtnClassDel"
CommandArgument='<%#Eval("id")%>'></asp:LinkButton>
</td>
<td align="center">
<%#getgrouptxlcount(Eval("id").ToString())%> 人
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
</td>
<td>
<table id="mytable" width="100%" style="margin-top: 2px; border-collapse: collapse;
border: 1px solid #C1DAD7;" cellspacing="0" cellpadding="0">
<tr>
<th width="30" style="text-align: center;">
<input id= "chkHeader" type= "checkbox" onclick= "SelectAll(this)"/ title="全选/反选"> </th>
<th width="100" style="text-align: center;">
姓名</th>
<th width="40" style="text-align: center;">
性别</th>
<th width="120" style="text-align: center;">
生日日期</th>
<th width="90" style="text-align: center;">
手机号码1</th>
<th width="90" style="text-align: center;">
手机号码2</th>
<th width="60" style="text-align: center;">
分组名称</th>
<th width="40" style="text-align: center;">
编辑</th>
<th width="40" style="text-align: center;">
删除</th>
</tr>
<tr runat="server" id="message" visible="false">
<td colspan="8" height="30" align="center">
没有找到符合条件的记录!</td>
</tr>
<asp:Repeater runat="server" ID="rep_parent" OnItemCommand="rep_parent_ItemCommand"
OnItemDataBound="rep_parent_ItemDataBound">
<ItemTemplate>
<tr id="<%#Eval("classid").ToString()+Eval("id").ToString()%>" onclick="selectArow(this);">
<td align="center"><asp:Label ID="StoreID" Text='<%#Eval("id") %>' runat="server" Visible="false" />
<asp:CheckBox runat="server" ID="ckbIndex" />
</td>
<td align="center">
<%#Eval("txlname")%>
</td>
<td align="center">
<%#Eval("txlsex")%>
</td>
<td align="center">
<%#Eval("txlbirthday")%>
</td>
<td align="center">
<%#Eval("txlmobile1")%>
</td>
<td align="center">
<%#Eval("txlmobile2")%>
</td>
<td style="text-align: center;">
<%#getgroupname(Eval("classid").ToString())%>
</td>
<td align="center">
<a onclick='tipsWindown("编辑名录","iframe:addtxluser.aspx?action=edit&id=<%#Eval("id")%>","320","560","true","","1","exa");'>
编辑</a>
</td>
<td align="center">
<asp:LinkButton runat="server" ID="LinkBtnTxlDel" Text='删除' CommandName="BtnTxlDel"
CommandArgument='<%#Eval("id")%>'></asp:LinkButton>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
</td>
</tr>
</table>
</div>
<input type="hidden" id="HidID" />
</form>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。