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

📄 newcustomer.jsp

📁 国外的一套开源CRM
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%--
 *  Copyright (c) 2001 The Open For Business Project - www.ofbiz.org
 *
 *  Permission is hereby granted, free of charge, to any person obtaining a 
 *  copy of this software and associated documentation files (the "Software"), 
 *  to deal in the Software without restriction, including without limitation 
 *  the rights to use, copy, modify, merge, publish, distribute, sublicense, 
 *  and/or sell copies of the Software, and to permit persons to whom the 
 *  Software is furnished to do so, subject to the following conditions:
 *
 *  The above copyright notice and this permission notice shall be included 
 *  in all copies or substantial portions of the Software.
 *
 *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
 *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
 *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
 *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 
 *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT 
 *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 
 *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 *@author     David E. Jones
 *@created    May 22 2001
 *@version    1.0
--%>

<%@ taglib uri="ofbizTags" prefix="ofbiz" %>

<%@ page import="java.util.*" %>
<%@ page import="javax.servlet.*" %>
<%@ page import="javax.servlet.http.*" %>
<%@ page import="org.ofbiz.base.util.*, org.ofbiz.content.webapp.pseudotag.*" %>
<%@ page import="org.ofbiz.entity.*" %>
<jsp:useBean id="delegator" type="org.ofbiz.entity.GenericDelegator" scope="request" />
<%String previousParams = (String) session.getAttribute("_PREVIOUS_PARAMS_");%>
<%String fontColor = "Black";%>

<p class="head1">Create New Customer</p>
<br>
<form method="post" action="<ofbiz:url>/createcustomer<%=UtilFormatOut.ifNotEmpty(previousParams, "?", "")%></ofbiz:url>" name="newuserform" style='margin:0;'>
	
<TABLE border=0 width='100%' cellspacing='0' cellpadding='0' class='boxoutside'>
  <TR>
    <TD width='100%'>
      <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxtop'>
        <tr>
          <td valign="middle" align="left">
            <p class="head2"><font color="white">&nbsp;Name and Shipping Address</font>
          </td>
        </tr>
      </table>
    </TD>
  </TR>
  <TR>
    <TD width='100%'>
      <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'>
        <tr>
          <td>
<table width="100%" border="0" cellpadding="2" cellspacing="0">
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>Title</font></div></td>
    <td width="74%">
      <input type="text" name="USER_TITLE" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("USER_TITLE"))%>" size="10" maxlength="30">
    </td>
  </tr>
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>First name</font></div></td>
    <td width="74%">
      <input type="text" name="USER_FIRST_NAME" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("USER_FIRST_NAME"))%>" size="30" maxlength="30">
    * </td>
  </tr>
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>Middle initial</font></div></td>
    <td width="74%">
        <input type="text" name="USER_MIDDLE_NAME" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("USER_MIDDLE_NAME"))%>" size="4" maxlength="4">
    </td>
  </tr>
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>Last name </font></div></td>
    <td width="74%">
      <input type="text" name="USER_LAST_NAME" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("USER_LAST_NAME"))%>" size="30" maxlength="30">
    * </td>
  </tr>
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>Suffix</font></div></td>
    <td width="74%">
      <input type="text" name="USER_SUFFIX" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("USER_SUFFIX"))%>" size="10" maxlength="30">
    </td>
  </tr>
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>Address Line 1</font></div></td>
    <td width="74%">
      <input type="text" name="CUSTOMER_ADDRESS1" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_ADDRESS1"))%>" size="30" maxlength="30">
    *</td>
  </tr>
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>Address Line 2</font></div></td>
    <td width="74%">
        <input type="text" name="CUSTOMER_ADDRESS2" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_ADDRESS2"))%>" size="30" maxlength="30">
    </td>
  </tr>
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>City</font></div></td>
    <td width="74%">
        <input type="text" name="CUSTOMER_CITY" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_CITY"))%>" size="30" maxlength="30">
    * </td>
  </tr>
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>State/Province</font></div></td>
    <td width="74%">
      <select name="CUSTOMER_STATE" class="selectBox">
          <option><%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_STATE"))%></option>
          <%@ include file="/includes/states.jsp" %>
      </select>
    * </td>
  </tr>
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>Zip/Postal Code</font></div></td>
    <td width="74%">
        <input type="text" name="CUSTOMER_POSTAL_CODE" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_POSTAL_CODE"))%>" size="12" maxlength="10">
    * </td>
  </tr>
  <tr>
      <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>Country</font></div></td>
      <td width="74%">
          <select name="CUSTOMER_COUNTRY" class="selectBox">
            <option><%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_COUNTRY"))%></option>
            <%@ include file="/includes/countries.jsp" %>
          </select>
      * </td>
  </tr>
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>Allow Address Solicitation?</font></div></td>
    <td width="74%">
      <select name="CUSTOMER_ADDRESS_ALLOW_SOL" class="selectBox">
        <option><%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_ADDRESS_ALLOW_SOL"), "Y")%></option>
        <option></option><option>Y</option><option>N</option>
      </select>
    </td>
  </tr>
</table>
          </td>
        </tr>
      </table>
    </TD>
  </TR>
</TABLE>

<br>

<TABLE border=0 width='100%' cellspacing='0' cellpadding='0' class='boxoutside'>
  <TR>
    <TD width='100%'>
      <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxtop'>
        <tr>
          <td valign="middle" align="left">
            <p class="head2"><font color="white">&nbsp;Phone Numbers</font>
          </td>
        </tr>
      </table>
    </TD>
  </TR>
  <TR>
    <TD width='100%'>
      <table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'>
        <tr>
          <td>
<table width="100%">
  <tr>
    <td width="26%"><div class="tabletext">All phone numbers:</div></td>
    <td width="74%"><div class="tabletext">[Country] [Area Code] [Contact Number] [Extension]</div></td>
  </tr>
  <tr>
    <td width="26%"><div class="tabletext"><font color='<%=fontColor%>'>Home phone<BR>(allow solicitation?)</font></div></td>
    <td width="74%">
        <input type="text" name="CUSTOMER_HOME_COUNTRY" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_HOME_COUNTRY"))%>" size="4" maxlength="10">
        -&nbsp;<input type="text" name="CUSTOMER_HOME_AREA" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_HOME_AREA"))%>" size="4" maxlength="10">
        -&nbsp;<input type="text" name="CUSTOMER_HOME_CONTACT" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_HOME_CONTACT"))%>" size="15" maxlength="15">
        &nbsp;ext&nbsp;<input type="text" name="CUSTOMER_HOME_EXT" class="inputBox" value="<%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_HOME_EXT"))%>" size="6" maxlength="10">
        <BR>
        <select name="CUSTOMER_HOME_ALLOW_SOL" class="selectBox">
          <option><%=UtilFormatOut.checkNull(request.getParameter("CUSTOMER_HOME_ALLOW_SOL"), "Y")%></option>
          <option></option><option>Y</option><option>N</option>

⌨️ 快捷键说明

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