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

📄 companyhomepage.jsp

📁 一个完整的网络订餐系统
💻 JSP
字号:
<%--
 - $Header: /cvsroot/mvnforum/mvnforum/srcweb/mvnplugin/mvnforum/user/companyhomepage.jsp,v 1.8 2005/01/18 11:01:42 minhnn Exp $
 - $Author: minhnn $
 - $Revision: 1.8 $
 - $Date: 2005/01/18 11:01:42 $
 -
 - ====================================================================
 -
 - Copyright (C) 2002-2005 by MyVietnam.net
 -
 - This program is free software; you can redistribute it and/or
 - modify it under the terms of the GNU General Public License
 - as published by the Free Software Foundation; either version 2
 - of the License, or any later version.
 -
 - All copyright notices regarding mvnForum MUST remain intact
 - in the scripts and in the outputted HTML.
 - The "powered by" text/logo with a link back to
 - http://www.mvnForum.com and http://www.MyVietnam.net in the
 - footer of the pages MUST remain visible when the pages
 - are viewed on the internet or intranet.
 -
 - This program is distributed in the hope that it will be useful,
 - but WITHOUT ANY WARRANTY; without even the implied warranty of
 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 - GNU General Public License for more details.
 -
 - You should have received a copy of the GNU General Public License
 - along with this program; if not, write to the Free Software
 - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 -
 - Support can be obtained from support forums at:
 - http://www.mvnForum.com/mvnforum/index
 -
 - Correspondence and Marketing Questions can be sent to:
 - info@MyVietnam.net
 -
 - @author: Tran Van Giang   trangiang1605@users.sourceforge.net
 --%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="com.mvnforum.db.*" %>
<%@ page import="com.mvnforum.MyUtil" %>
<%@ page import="com.mvnforum.MVNForumConstant" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<html>
<head>
  <title><fmt:message key="mvnforum.common.forum.title_name"/> - View Company Information</title>
<%@ include file="/mvnplugin/mvnforum/meta.jsp"%>
<%
CompanyBean companyBean = (CompanyBean)request.getAttribute("CompanyBean");
%>
<link href="<%=MyUtil.getCompanyCssPath(companyBean, contextPath)%>" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<%@ include file="header.jsp"%>
<br/>

<table class="tborder" width="95%" align="center" cellpadding="3" cellspacing="1">
  <tr class="pagedesc">
    <td width="150" align="center" valign="middle">
<% if (companyBean.getCompanyLogo().length() > 0) { %>
    <img src="<%=contextPath%><%=companyBean.getCompanyLogo()%>" border="0" alt="This company's logo.">
<% } else { %>
    <img src="<%=contextPath%>/mvnplugin/mvnforum/upload/company/logo.gif" border="0" alt="This company have not chosen logo.">
<% } %>
    </td>
    <td valign="middle" align="center">Welcome to... <b><%=companyBean.getCompanyName()%></b></td>
  </tr>
</table>
<br/>
<%--
@todo: show these information
  CompanyName, CompanyAddress, CompanyCity, CompanyCAP,
  CompanyProvince, CompanyRegion, CompanyPhone, CompanyFax, CompanyWebsite,
  CompanyEmail, CompanySpaceName, CompanySpaceHeader, CompanySpaceFooter, CompanyVATNumber, 
  CompanyCss, CompanyCreationDate
--%>
<table class="tborder" width="95%" align="center" cellpadding="3" cellspacing="1">
  <tr class="theader">
    <td colspan="2">Company Information:</td>
  </tr>
  <tr class="trow1">
    <td width="25%">Company Name</td>
    <td><%=companyBean.getCompanyName()%></td>
    </td>
  </tr>
  <tr class="trow2">
    <td>Address</td>
    <td><%=companyBean.getCompanyAddress()%></td>
  </tr>
  <tr class="trow1">
    <td>City</td>
    <td><%=companyBean.getCompanyCity()%></td>
  </tr>
  <tr class="trow2">
    <td>Capital</td>
    <td><%=companyBean.getCompanyCAP()%></td>
  </tr>
  <tr class="trow1">
    <td>Province</td>
    <td><%=companyBean.getCompanyProvince()%></td>
  </tr>
  <tr class="trow2">
    <td>Region</td>
    <td><%=companyBean.getCompanyRegion()%></td>
  </tr>
  <tr class="trow1">
    <td>Phone</td>
    <td><%=companyBean.getCompanyPhone()%></td>
  </tr>
  <tr class="trow2">
    <td>Fax</td>
    <td><%=companyBean.getCompanyFax()%></td>
  </tr>
  <tr class="trow1">
    <td>Website</td>
    <td><a href="<%=companyBean.getCompanyWebsite()%>"><%=companyBean.getCompanyWebsite()%></a></td>
  </tr>
  <tr class="trow2">
    <td>E-mail</td>
    <td><a href="mailto:<%=companyBean.getCompanyEmail()%>"><%=companyBean.getCompanyEmail()%></a></td>
  </tr>
  <tr class="trow1">
    <td>SpaceName</td>
    <td><%=companyBean.getCompanySpaceName()%></td>
  </tr>
  <tr class="trow2">
    <td>SpaceHeader</td>
    <td><%=companyBean.getCompanySpaceHeader()%></td>
  </tr>
  <tr class="trow1">
    <td>SpaceFooter</td>
    <td><%=companyBean.getCompanySpaceFooter()%></td>
  </tr>
  <tr class="trow2">
    <td>VATNumber</td>
    <td><%=companyBean.getCompanyVATNumber()%></td>
  </tr>
  <tr class="trow1">
    <td>Style(Css)</td>
    <td><% if (companyBean.getCompanyCss().equals("")){%>&nbsp;(Default)<%}%></td>
  </tr>
  <tr class="trow2">
    <td>Creation Date</td>
    <td><%=onlineUser.getGMTTimestampFormat(companyBean.getCompanyCreationDate())%></td>
  </tr>
  <tr class="trow1">
    <td>Modified Date</td>
    <td><%=onlineUser.getGMTTimestampFormat(companyBean.getCompanyModifiedDate())%></td>
  </tr>
</table>
<p>
<br/>
<%@ include file="footer.jsp"%>
</p>
</body>
</html>

⌨️ 快捷键说明

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