⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ddlmx.asp

📁 mlm双轨制直销系统V8.0免费版 可用于: 1、直拨、回拨电话卡公司。 2、保健品、药品公司。 3、在线销售商品等等。 4、其他类型用到双轨制模式的线上开盘公司。
💻 ASP
字号:
<!-- #include file="include/adovbs.inc" -->
<!-- #include file="include/dataconn.asp" -->

<!-- #include file="common.asp" -->
<%
Response.Buffer =false
Response.Expires=-1
userid=session("user_id")
if userid<>"" then


thistoday =year(now)&"-"&month(now)&"-"&day(now)

 dtfrom=trim(request("dtfrom"))
 dtto=trim(request("dtto"))
 if len(dtfrom)=0 then
 	dtfrom=year(now)&"-"& month(now)&"-1"
 	dtfrom=cstr(dtfrom)
 	dtfrom=datevalue(dtfrom)
 end if
  if len(dtto)=0 then
 	dtto=cstr(thistoday)
 	dtto=datevalue(dtto)
 end if
set ao=conn.execute("select count(*) as allorder from orders where dlid="&userid&"")
allorder=ao("allorder")
ao.close
set ao=nothing
set HyRs=server.CreateObject("adodb.recordset")
sql = "SELECT  * FROM orders"
sql =sql & " where dlid="&userid&" and ispassed=true and ordertime between #"&dtfrom&"# and #"&dtto&"#"
sql =sql & " order by id desc"
	HyRs.Open sql,conn
	j=HyRs.RecordCount 
if not hyrs.eof then money=j*hyrs("price")
if money="" then money=0
set oo=conn.execute("select * from dlclub where hid="&userid&"")
orders=oo("orders")
price=oo("oprice")
allmoney=orders*price
ye=oo("allmoney")
jj=orders*10

%>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<link rel="stylesheet" href="include/e1.css" type="text/css">
<script>
	function fPopUpCalendarDlg(ctrlobj)
	{
		showx = event.screenX - event.offsetX - 4 - 210 ; // + deltaX;
		showy = event.screenY - event.offsetY + 18; // + deltaY;
		newWINwidth = 210 + 4 + 18;

		retval = window.showModalDialog("Include/CalendarDlg.htm", "", "dialogWidth:197px; dialogHeight:210px; dialogLeft:"+showx+"px; dialogTop:"+showy+"px; status:no; directories:yes;scrollbars:no;Resizable=no; "  );
		if( retval != null ){
			ctrlobj.value = retval;
		}else{
			//alert("canceled");
		}
	}
</script>
</head>
<body leftmargin="10" topmargin="10" marginwidth="0" marginheight="0">

<form method="post" action="ddlmx.asp" id="form1" name="form1">
  <table width="100%" border="0" height="21" cellpadding="0" cellspacing="0">
    <tr> 
      <td width="76%"> <div align="center"><font color="#FFFFFF"><font color="#000000">从</font></font> 
          <input id="dtfrom" name="dtfrom" readonly value="<% =dtfrom %>" size="12">
          <img src="image/datetime.gif" style="cursor:hand;" align="absmiddle" alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(document.form1.dtfrom);return false" width="16"> 
          <input id="dtto" name="dtto" readonly value="<% =dtto %>" size="12">
          <img src="image/datetime.gif" style="cursor:hand;" align="absmiddle" alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(document.form1.dtto);return false" width="16"> 
          &nbsp; 
          <input type="image" value="submit" src="Image/027.gif" id="image1" name="image1">
          &nbsp;</div></td>
      <td width="24%"> </td>
    </tr>
  </table>
  </form>


<table border="1" cellpadding="0" cellspacing="0" width="98%" bordercolordark="#e0f4ff" bordercolorlight="#162d6b">
  <tr class="td3"> 
    <td width="150" height="26"> 
            <DIV align=center><FONT color=#ffffff>报单数</FONT></DIV></td>
    <td width="150" height="26" align="center"> <FONT color=#ffffff>报单费用</FONT></td>
    <td width="150" height="26" align="center"> <FONT color=#ffffff>累计报单数</FONT></td>
    <td width="150" height="26" align="center"> <FONT color=#ffffff>累计报单费用</FONT></td>
    <td width="150" height="26" align="center"> 报单奖金</td>
    <td width="150" height="26" align="center"> 当前余额</td>
  </tr>
<tr height="25"> 
 
        
    <td height="24" align="center" width="150"> <%=j%>&nbsp;
   </td>
    <td height="24" align="center" width="150"><%=money%>&nbsp;</td>
    <td height="24" align="center" width="150"> <%=orders%> </td>
    <td height="24" align="center" width="150"> <%=allmoney%> </td>
    <td height="24" align="center" width="150"> <%=jj%></td>
    <td height="24" align="center" width="150"> <%=ye%></td>
  </tr>

</table>
<p></p>

<%
end if%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -