<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->

<html>
<head><title></title><meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>

<body>
<script Language="JavaScript">
function form_check(){
if(document.form3.sendto.value.length<1){window.alert("请选择收短信人");document.form3.sendto.focus();return (false);}
if(document.form3.CONTENT.value.length<1){window.alert("请输入内容");document.form3.CONTENT.focus();return (false);}
if(document.form3.CONTENT.value.length>100){window.alert("短信内容超过100字了，请您移步到内部邮件发送！");document.form3.CONTENT.focus();return (false);}
document.getElementById('good').style.display = "block"; 
}

function inputname(strname)
{
form3.sendto.value=strname;	
document.form3.CONTENT.focus();return (false);		
}



</script>

<table width="100%" height="495" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="27">
	<div class="header">
	<div class="nav">
        <ul>
		    <li><a href="send.asp">发送短信</a></li>
            <li><a href="Received.asp">已收短信</a></li>
            <li><a href="Havesend.asp">已发短信</a></li>
			<li class="on">手机短信</li>
        </ul>
    </div>	
	</td>
  </tr>
  <tr>
   <td height="400" valign="top"   class="NemuMainBox">
   
   <div id="good" style="display:none;">   <div align="center">
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
       <td><div align="right"><img src="../images/img/GongGao/dengdai.gif" width="100" height="100"></div></td>
       <td>正在上传，请等待……</td>
     </tr>
   </table>
   </div></div> </div>
	 
	<%  
  
  
   sendtoname=trim(request("sendtoname"))
   imgdir=request.cookies("imgdir")
   tname=request.cookies("tname")
   seetype=request("seetype")
  
  
  
	Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
    call     MyOAASPObj.Msg_Sendziyou(tname,imgdir)
    set MyOAASPObj=nothing
   
   %>	
	 
	
	
    </td>
  </tr>
</table>

</body>
</html>
