´ó¼Ò¾³£Ì½ÌÖʹÓÃASP£¬¶ø²»Ê¹ÓÃÆäËû×齨ÄÜ·ñʵÏÖÎļþµÄÉÏ´«£¬´Ó¶ø¿ª·¢³öÖ§³ÖÓʼþ¸½¼þµÄÓʼþϵͳ£¬´ð°¸ÊÇ¿ÉÒԵġ£
¡¡¡¡ÒÔÏÂÊÇ·¢ËÍÓʼþµÄÒ³Ãæ£¬ÓʼþµÄÕʺÅÊÇÔ±¹¤ºÅ£¬¼ÙÉèÊÇ5λµÄÊý×Ö£¬sendmail.ASPµ±È»ÊÇÔںϷ¨µÇ½ºó²ÅÄܹ»¿´µ½µÄ
£¼HTML£¾
£¼head£¾
£¼meta http-equiv="Content-Type" content="text/HTML; charset=gb2312"£¾
£¼link rel="stylesheet" type="text/CSS" href="/CSS/FORUM.CSS"£¾
£¼style type=text/CSS£¾
£¼!--
input { font-size: 9pt; color: #0011dd; background-color: #e9e9f9; padding-top: 0px}
select { font-size: 9pt; color: #0011dd; background-color: #e9e9f9; padding-top: 0px}
textarea { font-size: 9pt; color: #0011dd; background-color: #e9e9f9; padding-top: 0px}
--£¾
£¼/style£¾
£¼title£¾Óʼþϵͳ£¼/title£¾£¼/head£¾
£¼body bgcolor="#FEF7ED"£¾
£¼script language="javascript"£¾
£¼%
if session("myid")="" or len(session("myid"))£¼£¾5 then
response.write "window.open('nolog.ASP',target='_top');"
end if
%£¾
function check(theform)
{
if (theform.geterempl.value=='')
{
alert('ÇëÊäÈëÊÕ¼þÈË£¡');
theform.geterempl.focus();
return false;
}
if (theform.emailtitle.value=='')
{
alert('ÇëÊäÈëÖ÷Ìâ!');
theform.emailtitle.focus();
return false;
}
if (theform.emailtitle.value.length£¾200)
{
alert('Ö÷ÌâÇëÉÙÓÚ200×Ö½Ú');
theform.emailtitle.focus();
return false;
}
if (theform.body.value.length£¾15*1024)
{
alert('ÕýÎÄÇëÉÙÓÚ16K');
theform.body.focus();
return false;
}
if (theform.emailshowname.value.length£¾1024)
{
alert('Ç©ÃûÇëÉÙÓÚ1K');
theform.emailshowname.focus();
return false;
}
}
£¼/script£¾
£¼%
meth=request.querystring("meth")
if meth=1 then
geterempl=trim(request.querystring("geterempl"))
emailtitle=trim(request.querystring("emailtitle"))
elseif meth=2 then
mailid=trim(request.querystring("mailid"))
set conn=server.createobject("adodb.connection")
conn.open "DSN=;UID=;PWD="
dsnpath="DSN=;UID=;PWD="
set rs=server.createobject("adodb.recordset")
selectnew="select * from t_mail where ((geterempl like '%"&session("myid")&"%' or deleempl like '%"&session("myid")&"%' or receempl like '%"&session("myid")&"%')and (not deleverempl like '%"&session("myid")&"%')) and mailid='"&mailid&"' "
rs.open selectnew,dsnpath,3,3
if rs.bof or rs.eof then
%£¾
£¼script language="javascript"£¾
alert("ÄúûÓв鿴Õâ·âÓʼþµÄȨÏÞ£¡");
window.history.back();
£¼/script£¾
£¼%
response.end
else
body=rs("body")
emailtitle=rs("emailtitle")
rs.close
set rs=nothing
conn.close
set conn=nothing
end if
end if
%£¾
£¼Form name="upload_file" onSubmit="return check(this)" action="loadmail.ASP" method=post enctype="multipart/form-data" £¾
£¼table width="100%" border="0" cellspacing="2" cellpadding="2"£¾
£¼tr£¾
£¼td width="11%"£¾
£¼div align="right"£¾·¢¼þÈË:£¼/div£¾
£¼/td£¾
£¼td width="89%"£¾
£¼input type="hidden" name="senderempl" value="£¼%=session("myid")%£¾"£¾
£¼%=session("myid")%£¾ £¼/td£¾
£¼/tr£¾
£¼tr£¾
£¼td width="11%"£¾
£¼div align="right"£¾ÊÕ¼þÈË:£¼/div£¾
£¼/td£¾
£¼td width="89%"£¾
£¼input type="text" name="geterempl" size="40" value="£¼%=geterempl%£¾"£¾
£¼input type="checkbox" name="emaillevel" value="1" style="background-color: #FEF7ED"£¾
½ô¼±Ðżþ £¼/td£¾
£¼/tr£¾
£¼tr£¾
£¼td width="11%" valign="top"£¾ £¼/td£¾
£¼td width="89%"£¾·¢ËͶà¸öÈ˵Äʱºò¿ÉÒÔʹÓÃ"£¼font color="#9999FF"£¾|£¼/font£¾"¸ô¿ª,ÀýÈç:£¼font color="#3399FF"£¾01234|01235|01236£¼/font£¾,µÚһλºÍ×îºóһλ²»ÐèÒª"£¼font color="#9999FF"£¾|£¼/font£¾"
£¼font color="#FF0000"£¾Ð¹¦ÄÜ£¼/font£¾£ºÄú¿ÉÒÔ°ÑÐÅÐÅÖ±½Ó·¢Ë͸øÄúÉ趨µÄ£¼a href="group.ASP"£¾Ä³Óû§£¼/a£¾£¬·¢Ë͸ñʽΪ£ºgr:×éÐòºÅ£¬ÀýÈ磼font color="#0099FF"£¾gr:001£¼/font£¾£¼/td£¾
£¼/tr£¾
£¼tr£¾
£¼td width="11%"£¾
£¼div align="right"£¾£¼/div£¾
£¼/td£¾
£¼td width="89%"£¾
£¼input type="checkbox" name="receempl" value="1" style="background-color: #FEF7ED"£¾
±£´æÒ»·Ýµ½ÊղؼÐ[£¼font color="#3399FF"£¾Ñ¡¶¨´ËÏÔòÓʼþ·¢Ë͵½¶Ô·½ÓÊÏäµÄͬʱ·¢Ë͵½×Ô¼ºµÄÊղؼÐÀ/font£¾]£¼/td£¾
£¼/tr£¾
£¼tr£¾
£¼td width="11%" valign="top"£¾ £¼/td£¾
£¼td width="89%"£¾ £¼/td£¾
£¼/tr£¾
£¼tr£¾
£¼td width="11%" align="right"£¾ Ö÷Ìâ:£¼/td£¾
£¼td width="89%"£¾
£¼input type="text" name="emailtitle" size="60" value="£¼%=emailtitle%£¾"£¾
£¼/td£¾
£¼/tr£¾
£¼tr£¾
£¼td width="11%" valign="top"£¾
£¼div align="right"£¾ÕýÎÄ:£¼/div£¾
£¼/td£¾
£¼td width="89%"£¾
£¼TEXTAREA name=body rows=8 cols=60£¾£¼%=body%£¾£¼/TEXTAREA£¾
£¼/td£¾
£¼/tr£¾
£¼tr£¾
£¼td width="11%" valign="top"£¾
£¼div align="right"£¾Ç©Ãû:£¼/div£¾
£¼/td£¾
£¼td width="89%"£¾
£¼textarea name="emailshowname" cols="30" rows="6"£¾£¼%=application(session("myid")&"_name")%£¾£¼/textarea£¾
£¼/td£¾
£¼/tr£¾
£¼tr£¾
£¼td width="11%"£¾
£¼div align="right"£¾
£¼input type=hidden name="FileUploadStart"£¾
¸½¼þ1: £¼/div£¾
£¼/td£¾
£¼td width="89%"£¾
£¼input type="file" name="file_up" size="50"£¾
£¼/td£¾
£¼/tr£¾
£¼tr£¾
£¼td width="11%"£¾
£¼div align="right"£¾¸½¼þ2:£¼/div£¾
£¼/td£¾
£¼td width="89%"£¾
£¼input type="file" name="file_up1" size="50"£¾
£¼/td£¾
£¼/tr£¾
£¼tr£¾
£¼td width="11%"£¾
£¼div align="right"£¾¸½¼þ3:£¼/div£¾
£¼/td£¾
£¼td width="89%"£¾
£¼input type="file" name="file_up2" size="50"£¾
£¼input type=hidden name="FileUploadEnd"£¾
£¼/td£¾
£¼/tr£¾
£¼tr£¾
£¼td width="11%"£¾
£¼div align="right"£¾£¼/div£¾
£¼/td£¾
£¼td width="89%"£¾
£¼input type=submit value=È·¶¨ £¾
£¼/td£¾
£¼/tr£¾
£¼/table£¾
£¼/Form£¾
£¼/body£¾
£¼/HTML£¾

