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

📄 a_company.php

📁 php中英版本 仿alibaba贸易平台
💻 PHP
📖 第 1 页 / 共 4 页
字号:

              </table></td>
          </tr>
        </table>
<br>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center" colspan=2>
            <img src="../images/aliman_key.gif">
            </td>
          </tr>
          <tr>
            <td width="48" height="24" bgcolor="#FFDE00">&nbsp; <img src="../images/mov_arr_g.gif" width="28" height="16" align="absmiddle"></td>
            <td bgcolor="#FFDE00"><a href=""><b>User Guide</b></a></td>
          </tr>
          <tr>
            <td height="1" bgcolor="#666666" colspan=2><SPACER width="1" height="1"
            type="block"></td>
          </tr>
        </table>
                <div onclick=this.nextSibling.style.display=this.nextSibling.style.display=='none'?'':'none'>
        </div>

    </td>

<td width="20"></td>

    <td>

<br>


<script language="JavaScript">

function formSubmit(object) {
        if(!checkDetail(window.document.myform.profile,window.document.myform.profile.value))
                return false;
        object.form.act.value = object.name;
        //CapitalizeWord('myform','viewName');
        window.document.myform.submit();
}

</script>
<table width=100%><tr> <td align="right">
<!-- <a href="javascript:win=open('http://img.alibaba.com/images/eng/nova/help/myhelp_company.html#2', 'content', 'width=400,height=400,location=no,toolbar=no,status=no,resizable=yes,scrollbars=yes'); win.focus();">
-->
<img src="http://img.alibaba.com/images/eng/nova/admintool/icon_help.gif" border=0></a>
</td>
</tr>
</table>
<script language=JavaScript>

function pop_select_categories()
{
        cat_id = findItem("category_id").value;
        cat_name = findItem("category_name").value;
        select_type = findItem("selecttype").value;
        window.open("/bin/util/geselectitem?select=category&type="+select_type+"&ge_category_id="+cat_id+"&ge_category_name="+cat_name,'_blank' ,'width=600,height=500,toolbar=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');

}
function pop_select_joinin_categories()
{
        cat_id = findItem("category_id").value;
        cat_name = findItem("category_name").value;
        select_type = findItem("selecttype").value;
        window.open("/bin/util/joininselectitem?select=category&type="+select_type+"&ge_category_id="+cat_id+"&ge_category_name="+cat_name,'_blank' ,'width=600,height=500,toolbar=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');

}

function pop_select_company_categories()
{
        cat_id = findItem("ge_category_id").value;
        cat_name = findItem("ge_category_name").value;
        select_type = findItem("selecttype").value;
        window.open("/bin/util/companyselectitem?select=category&type="+select_type+"&ge_category_id="+cat_id+"+&ge_category_name="+cat_name+"",'_blank','width=600,height=500,toolbar=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');
}
function findItem(n, d) {
        var p,x,i;
        if(!d) d=document;
        if((p=n.indexOf("?"))>0&&parent.frames.length) {
                d=parent.frames[n.substring(p+1)].document;
                n=n.substring(0,p);
        }
        if(!(x=d[n])&&d.all)
                x=d.all[n];
        for (i=0;!x&&i<d.forms.length;i++)
                x=d.forms[i][n];
        for(i=0;!x&&d.layers&&i<d.layers.length;i++)
                x=findItem(n,d.layers[i].document);
        return x;
}


</script>
<?
if($formtype==3){
include("ok_company.php");
exit();
}
?>
        <table width="98%" border="0" cellspacing="0" cellpadding="0">
        <tr>
<td >
<table width="535" border="0" cellspacing="0" cellpadding="4">
<tr>
<td class=table1>Create Company Profile</td>
</tr>
</table>

 <table border=0 cellspacing="0" cellpadding="4" width="535" bgcolor="#D8F5F5">
<tr>
<td class=table3 align="center">Please provide accurate and detailed
information to insure clarity. </td>
</tr>
</table>
<?
if($formtype==1){
?>
<center>
  <table border=0 cellspacing="0" cellpadding="4" width="535">
   <tr><td>
     <br>
     <font color="ff0000" class=m>Error:</font><br>
     <? echo $reason_1 ?>
     <? echo $reason_2 ?>
     <? echo $reason_3 ?>
     <? echo $reason_4 ?>
     <? echo $reason_5 ?>
     <? echo $reason_6 ?>
     <? echo $reason_7 ?>
     <? echo $reason_8 ?>
     <? echo $reason_9 ?>
     <? echo $reason_10 ?>
     <? echo $reason_11 ?>
     <? echo $reason_12 ?>
</td></tr>
                </table>
        </center>
<?
}

if(!$formtype){
$user_info = read_en_user($rc, $username);
$userid = $user_info[0]["euid"];
$biztype = $user_info[0]["biztype"];
$company = $user_info[0]["company"];
$product = $user_info[0]["product"];
$tradeRegion = $user_info[0]["tradeRegion"];
$Othermarkets = $user_info[0]["Othermarkets"];
$oemOdm = $user_info[0]["oemOdm"];
$rndStaff = $user_info[0]["rndStaff"];
$employees = $user_info[0]["employees"];
$overview = $user_info[0]["overview"];
$ceo = $user_info[0]["CEO"];
$revenue = $user_info[0]["revenue"];
$homepage = $user_info[0]["homepage"];
$certificate = $user_info[0]["certificate"];
$tel = $user_info[0]["tel"];
$fax = $user_info[0]["fax"];
$mobile = $user_info[0]["mobile"];
$zip = $user_info[0]["zip"];
$address = $user_info[0]["address"];
$city = $user_info[0]["city"];
$email = $user_info[0]["email"];
$linkman = $user_info[0]["linkman"];
}
?>

<form name=myform method='post' action='a_company.php'>
<input type=hidden name=formtype  value=2>
<input type='hidden' name='companyId' value='0'>
<input type='hidden' name='country' value='CN'>
<input type='hidden' name='countryName' value='China'>
<input type='hidden' name='act' value="">
<INPUT type=hidden name=p_z_Z_CategoryName> <!-- 这一项必须带上,否则选择提交后窗口无法关闭 -->

<input type='hidden' name='choose_category_values' value="">
<input type='hidden' name='ge_category_id' value=''>
<input type='hidden' name='selecttype' value='company'>
<input type='hidden' name='ge_category_name' >
<?
echo "<input type='hidden' name='userid'  value=$userid>";
?>
<center></center>


<table border=0 cellspacing="0" cellpadding="4" width="535">
<tr>
<td class=table1>Business Information</td>
</tr>
</table>
<table width="535" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><font color=#ff0000>*</font> Means required information</td>
<td align="right" class="S"><!-- [ <a href="javascript:win=open('/company/company_example.html', 'company_example', 'width=600,height=500,location=no,toolbar=no,status=no,resizable=yes,scrollbars=yes'); win.focus(); ">
<b>Company Example</b></a> ] --></td>
</tr>
</table>
            <table border="0" cellspacing="2" cellpadding="4" width="535">
              <tr>
                <td class=table3 align="right" width="150" valign="top"><font color="ff0000">*
                  </font>Business Type: <b><br>
                  </b></td>
                <td>
                  <select name="biztype" onchange="setAdditionalForm();">

                                <option value="" <? if(!$biztype) echo "selected"  ?>>*please select*</option>
                                 <option value=1 <? if($biztype==1) echo "selected"  ?>>Seller/Manufacturer/Exporter</option>
                                 <option value=2 <? if($biztype==2) echo "selected"  ?>>Buyer/Importer/Wholesaler</option>
                                 <option value=3 <? if($biztype==3) echo "selected"  ?>>Buyer/Seller</option>
                                <!--
                                <option value="1" <? if($biztype==1) echo "selected"  ?>>Manufacturer</option>
                                <option value="2" <? if($biztype==2) echo "selected"  ?>>Trading Company</option>
                                <option value="3" <? if($biztype==3) echo "selected"  ?>>Buying Office</option>
                                <option value="5" <? if($biztype==5) echo "selected"  ?>>Distributor/Wholesaler</option>
                                <option value="6" <? if($biztype==6) echo "selected"  ?>>Others</option>
                                <option value="4" <? if($biztype==4) echo "selected"  ?>>Agent</option>  -->
                          </select>
                </td>
              </tr>
              <tr>
                <td class=table3 align="right" rowspan="2" valign="top"><font color="ff0000"><b><b><b><font color="ff0000">*
                  </font> </b></b></b></font>Company Name:<font class=S>
                  <br>
                  <font color="#666666">(4-100 characters)</font></font> </td>
                <td class="C">
                  <input style='width: 270px' size='20' type='text' name='company' onBlur="check(this,this.value)" maxlength='100' value="<? echo $company ?>">
                </td>
              </tr>
              <tr>
                <td class="S"><font class="S9" color="#666666">Please enter the
                  full name of your company. </font></td>
              </tr>
              <!--
              <tr>
                <td class=table3 align="right" width="150" valign="top">Year
                  Established:<br>
                  <span class="S"><font color="#666666">(For example:1952)</font></span></td>

                <td class="C">
                <input style='width: 270px' size='20' type='text' name='establishedYear' onBlur="check(this,this.value)" value="" maxlength='40'>
                                </td>
              </tr>
               -->
              <tr>
                <td class=table3 align="right" rowspan="2" valign="top"><font color=#ff0000>*</font>
                  Category: <font color="ff0000"><b><b><b><br>
                  </b></b></b> <font color="#666666"><span class="S">( <font class=S>max
                  4 categories)</font></span></font></font></td>
                <td>
                <INPUT disabled style='width: 198px' size='20' name=CategoryId1Name value="<? echo $CategoryId1Name ?>">
                <INPUT type=hidden name=p_z_Z_CategoryId1 value="<? echo $p_z_Z_CategoryId1 ?>">
                <INPUT onclick="javascript:window.open('category.php','newwin','toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=600,height=500');" type=button value="choose" name=choosecategory>
                 </td>
              </tr>
              <tr>
                <td><font class="S" color="#666666">You can choose up to 4 categories for your company if necessary. Your company profile will be listed under all the categories you choose.</font></td>
              </tr>

              <tr>
                <td class=table3 align="right" width="150" valign="top"><font color="ff0000" class=S>*
                  </font> Products/Services We Offer: <br>
                  <font color="#666666"><span class="S">(<font class=S>max 200
                  characters)</font></span></font> <br>
                </td>
                <td>
                  <textarea style='width:330px' cols="19" rows="3" name="product" onBlur="check(this,this.value)" wrap="soft"><? echo $product ?></textarea>
                </td>
              </tr>
              <tr>
                <td class=table3 align="right" width="150" valign="top"><font color="ff0000" class=S>*
                  </font> Main Markets: </td>
                <td>                             Main
                Markets

                     <table width="100%" border="0" cellspacing="0" cellpadding="4" align=top>
                      <tr>
                      <td width="50%">
                        <input type="radio" name="tradeRegion" <? if($tradeRegion==1) echo "checked";  ?>  value="1">
                        North America   </td>
                        <td width="50%">
                        <input type="radio" name="tradeRegion" <? if($tradeRegione==2) echo "checked";  ?> value="2">
                        South America   </td></tr>
                        <tr>
                        <td width="50%">
                        <input type="radio" name="tradeRegion" <? if($tradeRegion==4) echo "checked";  ?> value="4">
                        Western Europe  </td>
                        <td width="50%">
                        <input type="radio" name="tradeRegion" <? if($tradeRegion==8) echo "checked";  ?> value="8">
                        Eastern Europe  </td></tr>
                        <tr>
                        <td width="50%">
                        <input type="radio" name="tradeRegion" <? if($tradeRegion==16) echo "checked";  ?> value="16">
                        Eastern Asia    </td>
                        <td width="50%">
                        <input type="radio" name="tradeRegion" <? if($tradeRegion==32) echo "checked";  ?> value="32">
                        Southeast Asia   </td></tr>
                        <tr>
                        <td width="50%">
                        <input type="radio" name="tradeRegion" <? if($tradeRegion==64) echo "checked";  ?> value="64">
                        Mid East         </td>
                        <td width="50%">
                        <input type="radio" name="tradeRegion" <? if($tradeRegion==128) echo "checked";  ?> value="128">
                        Africa          </td></tr>
                        <tr>
                        <td width="50%">
                        <input type="radio" name="tradeRegion" <? if($tradeRegion==256) echo "checked";  ?> value="256">
                        Oceania        </td>
                        <td width="50%">
                        <input type="radio" name="tradeRegion" <? if($tradeRegion==512) echo "checked";  ?> value="512">
                        Worldwide </td></tr>
                       <tr><td colspan="2">Other markets: <br>
                        <input style='width: 270px' size='20' type='text' name='Othermarkets' value='<? echo $Othermarkets ?>' onBlur="check(this,this.value)" maxlength='40' >
                      </td></tr>
                       <tr><td colspan="2"><font color=666666 class=s>(You may specify countries.)</font>
                       </td></tr>

                  </table>

                </td>
              </tr>
              </table>
              <span id=additionalForm style="display:none">
              <table border="0" cellspacing="0" cellpadding="4" width="548" align=center>
              <tr>
                <td class=table3 align="right" width="150" valign="top"><font color="ff0000" class=S>*
                  </font> OEM Service:</td>
                <td>
                  <input type="radio" name="oemOdm" <? if($oemOdm == 1) echo "checked";  ?>  value="1">
                  Yes
                  <input type="radio" name="oemOdm" <? if($oemOdm == 2) echo "checked";  ?> value="2">
                  No </td>
              </tr>
              <tr><td colspan=2>
              </td></tr>

              <tr>
                <td class=table3 align="right" width="150" valign="top"><font color="ff0000" class=S>*
                  </font> R&amp;D Staff: </td>

⌨️ 快捷键说明

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