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

📄 showuserpop.asp

📁 蓝芒3.0A最新所有功能完整破解版
💻 ASP
字号:
<!--#include file="passinc.asp" -->

<%
dim ei
set ei = server.createobject("easymail.UserMessages")
'-----------------------------------------
ei.Load Session("wem")

allnum = ei.GetMulPop3Count
%>

<HTML>
<HEAD>
<title>Corp.Email</title>
<LINK href="images\hwem.css" rel=stylesheet>
</HEAD>

<SCRIPT LANGUAGE=javascript>
<!--
function save() {
	f1.mode.value = "save";
	f1.submit();
}

function del() {
	if (ischeck() == true)
	{
		f1.mode.value = "del";
		f1.submit();
	}
}

function add() {
	if (f1.uname.value != "" && f1.userver.value != "" && f1.uport.value != "" && f1.uusername.value != "" && f1.upassword.value != "")
	{
		f1.mode.value = "add";
		f1.submit();
	}
	else
		alert("Incomplete input.");
}

function ischeck() {
	var i = 0;
	var theObj;

	for(; i<<%=allnum %>; i++)
	{
		theObj = eval("f1.check" + i);

		if (theObj != null)
			if (theObj.checked == true)
				return true;
	}

	return false;
}
//-->
</SCRIPT>

<BODY>
<br>
<FORM ACTION="saveuserpop.asp" METHOD="POST" NAME="f1">
<input type="hidden" name="mode">
<br>
<table width="95%" border="0" align="center" cellspacing="0" bgcolor="#EFF7FF" style='border-top:1px #8CA5B5 solid;'>
	<tr>
	<td width="62%" colspan="8" height="30">
	&nbsp;<input type="checkbox" name="checkpop" <% if ei.POP3Support = true then response.write "checked"%>>
	Enable multi-POP3 mail collection&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	<input type="button" value=" Save " onclick="javascript:save()" class="sbttn">
	</td>
    </tr>
</table>
<%
if allnum < CInt(Application("em_MaxMPOP3")) then
%>
<br><br>
  <table width="95%" border="0" align="center" cellspacing="0" bgcolor="#EFF7FF" style='border-top:1px #8CA5B5 solid;'>
    <tr bgcolor="#dbeaf5" style='border:1px #8CA5B5 solid;font-size: 9pt;'>
      <td colspan="7" height="28" style="border-left:1px #8CA5B5 solid; border-right:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center"><font class="s" color="#104A7B"><b>Add New Multi-POP3 Mail Collection</b></font></div>
      </td>
    </tr>
    <tr bgcolor="#dbeaf5" style='border:1px #8CA5B5 solid;font-size: 9pt;'>
      <td width="22%" height="20" style="border-left:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center">Name</div>
      </td>
      <td width="24%" style="border-left:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center">POP3 Server Address</div>
      </td>
      <td width="8%" style="border-left:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center">Port</div>
      </td>
      <td width="22%" style="border-left:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center">User Name</div>
      </td>
      <td width="12%" style="border-left:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center">User Password</div>
      </td>
      <td width="12%" style="border-left:1px #8CA5B5 solid; border-right:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center">Delete Mail</div>
      </td>
    </tr>
    <tr>
      <td align="center" height="28" style='border-bottom:1px #8CA5B5 solid;'>
        <input type="text" name="uname" size="16" maxlength="64" class="textbox">
      </td>
      <td align="center" style='border-bottom:1px #8CA5B5 solid;'>
        <input type="text" name="userver" size="18" maxlength="64" class="textbox">
      </td>
      <td align="center" style='border-bottom:1px #8CA5B5 solid;'>
        <input type="text" name="uport" size="5" maxlength="5" value="110" class="textbox">
      </td>
      <td align="center" style='border-bottom:1px #8CA5B5 solid;'>
        <input type="text" name="uusername" size="16" maxlength="64" class="textbox">
      </td>
      <td align="center" style='border-bottom:1px #8CA5B5 solid;'>
        <input type="password" name="upassword" size="8" maxlength="64" class="textbox">
      </td>
      <td align="center" style='border-bottom:1px #8CA5B5 solid;'>
        <input type="checkbox" name="uisdel" checked>
      </td>
    </tr>
    <tr>
      <td colspan="7" align="right" bgcolor="#ffffff" style="border-bottom:1px #8CA5B5 solid;"><br>
		<input type="button" value=" Add " onClick="javascript:add()" name="button" class="Bsbttn">&nbsp;&nbsp;
		<input type="button" value="Cancel" onclick="javascript:location.href='viewmailbox.asp?<%=getGRSN() %>';" class="Bsbttn">
      </td>
    </tr>
  </table>
<%
end if
%>
<br><br><br>
  <table width="95%" border="0" align="center" cellspacing="0" bgcolor="#EFF7FF" style='border-top:1px #8CA5B5 solid;'>
    <tr bgcolor="#dbeaf5" style='border:1px #8CA5B5 solid;font-size: 9pt;'>
      <td colspan="7" height="25" style="border-left:1px #8CA5B5 solid; border-right:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center"><font class="s" color="#104A7B"><b>POP3 Servers Settings</b></font></div>
      </td>
    </tr>
    <tr bgcolor="#dbeaf5" style='border:1px #8CA5B5 solid;font-size: 9pt;'>
      <td width="5%" height="22" style="border-left:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center"><a href="javascript:del()"><img src='images\del.gif' border='0' alt="Delete Selected"></a></div>
      </td>
      <td width="19%" style="border-left:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center">Name</div>
      </td>
      <td width="32%" style="border-left:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center">POP3 Server Address</div>
      </td>
      <td width="10%" style="border-left:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center">Port</div>
      </td>
      <td width="24%" style="border-left:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center">User Name</div>
      </td>
      <td width="10%" style="border-left:1px #8CA5B5 solid; border-right:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
        <div align="center">Mail Processing</div>
      </td>
    </tr>
    <%
i = 0

do while i < allnum
	ei.GetMulPop3 i, name, sev, port, username, isdel

	response.write "<tr><td height='24' align='center' style='border-bottom:1px #8CA5B5 solid;'><input type='checkbox' name='check" & i & "'>"
	response.write "</td><td align='center' style='border-bottom:1px #8CA5B5 solid;'>" & server.htmlencode(name)
	response.write "&nbsp;</td><td align='center' style='border-bottom:1px #8CA5B5 solid;'>" & server.htmlencode(sev)
	response.write "&nbsp;</td><td align='center' style='border-bottom:1px #8CA5B5 solid;'>" & port
	response.write "&nbsp;</td><td align='center' style='border-bottom:1px #8CA5B5 solid;'>" & server.htmlencode(username)

	if isdel = true then
		response.write "&nbsp;</td><td align='center' style='border-bottom:1px #8CA5B5 solid;'>Delete"
	else
		response.write "&nbsp;</td><td align='center' style='border-bottom:1px #8CA5B5 solid;'>Reserve"
	end if

	response.write "&nbsp;</td></tr>"


	name = NULL
	sev = NULL
	port = NULL
	username = NULL
	isdel = NULL

	i = i + 1
loop
%>
    <tr>
      <td colspan="7" align="right" bgcolor="#ffffff"><br>
		<input type="button" value="Delete" onClick="javascript:del()" name="button" class="Bsbttn">&nbsp;&nbsp;
		<input type="button" value="Cancel" onclick="javascript:location.href='viewmailbox.asp?<%=getGRSN() %>';" class="Bsbttn">
      </td>
    </tr>
  </table>
</FORM>
<br>
<div style="position: absolute; left: 20; top: 10;">
<a href="help.asp#showuserpop" target="_blank"><img src="images/help.gif" border="0" alt="Help"></a></div>
</BODY>
</HTML>

<%
set ei = nothing
%>

⌨️ 快捷键说明

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