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

📄 fall_phone_contract.asp

📁 这是一个采用ASP技术的物业管理系统
💻 ASP
字号:
<%--
title :
description :
@author : wangjn
copy right : copy right (@) 2002
date : 2002-04
--%>
<%@ page language="java" contentType="text/html;charset=gb2312" %>
<%@ include file="/inc/buildingzl.jsp" %>
<%@ page import = "com.excenon.core.*,com.excenon.core.db.*,com.xinghe.wuye.device.*" %>
<%@ page import = "com.xinghe.system.*,com.xinghe.wuye.phone.*,com.xinghe.wuye.*,com.xinghe.fee.calculate.*" %>
<%@ page import = "java.rmi.RemoteException,java.util.Vector,java.util.*,java.sql.Timestamp" %>
<%
// Create phone remote interface
SBPhoneHome phHome = (SBPhoneHome)EBBeanFactory.findEBHome("com.xinghe.wuye.phone.SBPhoneBean");
SBPhone phInterf = phHome.create();
// if this loginer can read or manage wuye model
isManager = true;
if(rs!=null){
	if( !rs.iterator().hasNext() ) {
		for (Iterator iter = rs.iterator(); iter.hasNext(); ){
			BuildingArea bla = (BuildingArea)iter.next();
			String bdID = bla.getBuildingAreaID();// buildingarea id
			if(!AccessJudge.hasBuildingAreaRight( bdID,OperationType.TENANCY_MANAGE,mm_ACL ))
				isManager = false;
		}
	}
}
if( !isManager ){
%>
<jsp:forward page="back.jsp"  >
    <jsp:param name="failinfo" value="您没有使合同到期的权限,请与管理员联系!" />
</jsp:forward>
<%
}
%>
<html>
<head><title></title>
<META HTTP-EQUIV="Refresh" CONTENT="3;URL='javascript:subSelf()'">
<link rel="stylesheet" href="../../css/mm.css" type="text/css">
</head>
<script language="javascript">
function subSelf(){
    document.theForm.submit();
}
</script>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="theForm" action="../phonecontract_list.jsp">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="80%">
    <tr>
      <td align="center" valign="middle">
        <table width="80%" border="0" cellspacing="1" cellpadding="0" class="bborder">
          <tr>
            <td height="20">
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><img src="../../images/info.gif" width="16" height="16" hspace="3" align="absmiddle">提示信息</td>
                  <td align="right" width="30"><a href="#" onClick="self.history.back();"><img src="../../images/back2.gif" hspace="3" border="0" width="16" height="16"></a></td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td class="btd">
              <table border=0 width=100% cellspacing=0 cellpadding=0>
                <tr>
                  <td align="center" height="150">
                    <img src="../../images/alert_info.gif" width="42" height="42" align="absmiddle" hspace="5"><font style="font-size:14px;color:#ff0000">
                    <%
                    // insert to db
                    try{
                        phInterf.fallPhoneContract( "" );
                    %>
                    成功使合同到期!
                    <%
                    }catch( SysException se ){
                        out.println( se.getInfo() );
                    }catch( BusinessException be ){
                        out.println( be.getInfo() );
                    }
                    %>
                    </font>
                    <p>三秒钟后将自动返回! 或按
                      <input type="button" name="goback" value="返 回" onClick="javascript:subSelf()">
                        <input type="hidden" name="back" value="yes">
						<input type="hidden" name="buildingarea" value="<%=buildingAreaID%>">
						<input type="hidden" name="building" value="<%=buildingID%>">
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</form>
</body>
</html>

⌨️ 快捷键说明

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