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

📄 generic.php

📁 php中英版本 仿alibaba贸易平台
💻 PHP
📖 第 1 页 / 共 2 页
字号:
<?
include("http://www.ec51.com/include/configuration.inc");
include("http://www.ec51.com/include/database.inc");
include("http://www.ec51.com/include/dbaccess.inc");

$lang = "gb2312";
$user_id = "test";
$rc = configuration($lang, $userid);
session_start();
if ($is_pass != "Yes")
        header("Location: ../en_login.php");

if ($formtype == 2)
{
        $i=0;
        if($OldPassword=="" or $OldPassword<>$password){
        $formtype=1;
        $i=$i+1;
        $reason_1 = "<li> The old password you specified is incorrect. </li><br>";
        }

        if($ConfirmPassword==""){
        $formtype=1;
        $i=$i+1;
        $reason_2 = "<li> Please specify a Password between 4-20 characters. </li><br>";
        }

        if($ConfirmPassword<>$rePassword){
        $formtype=1;
        $i=$i+1;
        $reason_3 = "<li> Please confirm your Password. </li><br>";
        }

        if($Question=="" or $Answer==""){
        $formtype=1;
        $i=$i+1;
        $reason_4 = "<li> Please specify a Secret Answer.</li><br>";
        }

        $lasttime = date("Ymd");

        if($formtype==2) {
        if($userid){
           $query = "update  en_user set
                     password = '$rePassword',pwdqn ='$Question',pwdan='$Answer',lasttime='$lasttime',lastip='$REMOTE_ADDR'
                     where euid=$userid";

        $insertid = db_do_query($rc, $query, 0);
        $formtype=3;
        }

        if(!$userid){
           $query = "insert into en_user (loginname,password,pwdqn,pwdan,regtime,lasttime,regip,lastip)";
           $query = $query."values ('$username','$rePassword','$Question','$Answer','$lasttime','$lasttime','$REMOTE_ADDR','$REMOTE_ADDR')";
        $insertid = db_do_query($rc, $query, 1);
        $formtype=3;
        }
        }
        }

?>


<script language="JavaScript">
 var script_us_web_server="http://my.alibaba.com"
 var script_web_server="http://www.alibaba.com"
</script>

<html>
<head>
<title>generic</title>
<meta content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<meta name="keywords" content=" exporter,importer,manufacturer,wholesaler,supplier, international trade,global trade,trade leads,product catalog,company directory,sourcing,b2b,business to business,china">
<meta name="description" content="marketplace of export and import,offers company directory,catalog and trade leads to importer,exporter,manufacturer,wholesaler,supplier.">
<LINK href="../images/feedback.css" type=text/css rel=stylesheet>
</head>
<BODY bgcolor=FFFFFF topmargin="0" marginheight="0">
<center>
<TABLE cellPadding=4 width="760" align=cetner border=0>
  <TBODY>
    <TR vAlign=top>
        <TD class=m width="22%"><img src="../eimg/logo_middle_new.gif" border=0></TD>
      <td width="1%">&nbsp;</td>
      <td width="1%"></td>
      <TD class=m align=right width="76%"> <font color="#FF8000">Sign Out -
        Check Email - Help</font> <HR SIZE=1> </TD>
    </TR>
  </TBODY>
</TABLE>
    <!--cache-begin-->

<br>
<div align="center">
  <center>
  <table width="760" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="500" align="center">
        <div align="center">
          <center>
          <table border="0" width="342" height="24" cellspacing="0" cellpadding="0">
            <tr>
      <td width="51" height="24"><img border="0" src="../images/home_2.gif"></td>
      <td width="87" height="24"><img border="0" src="../eimg/2.gif"></td>
      <td width="111" height="24"><img border="0" src="../eimg/3.gif"></td>
      <td width="93" height="24"><img border="0" src="../eimg/4.gif"></td>
            </tr>
          </table>
          </center>
        </div>
      </td>
<td width="89"></td>
<td width="277">
<!-- <img src="../images/myalibaba_buyer.gif" width="56" height="24" border="0">
<img src="../images/myalibaba_seller.gif" width="55" height="24" border="0">
<img src="../images/myalibaba.gif" width="55" height="24" border="0"> -->
<a href=http://www.ec51.com/en/imp.php><img src="../eimg/importerD.gif"  border="0"></a>
</td>
    </tr>
    <tr>
     <!-- <td colspan=3 width="10" bgcolor="#115599" background="../images/myalibaba_back.gif"> -->
     <td colspan=3 width="10" bgcolor="#115599">
      <img src="../images/myhome_1.gif" width="176" height="28" border="0"></td>
    </tr>
   </table>
  </center>
</div>

 <table border="0" cellpadding="0" cellspacing="0"  width=760 id="AutoNumber1" align=center>
                <tr>
                <td width="190" valign="top">

 <table width="760" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="176" valign="top" bgcolor="#e7e7e7">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td valign="top"><img src="../images/myhome_2.gif" width="157" height="21" border="0"></td>
            <td width="10" rowspan="2" valign="top"><img src="../images/myhome_3.gif" width="19" height="180"></td>
          </tr>
          <tr>
            <td valign="top">
            <div onclick=this.nextSibling.style.display=this.nextSibling.style.display=='none'?'':'none'>
                <table width="100%" border="0" cellpadding="0" cellspacing="0"  bgcolor="#FFFFee">
                  <tr bgcolor="#115599" style="cursor:hand">
                    <td width="20" height="20" bgcolor="#115599">&nbsp;<font color="#FFFFFF">&rarr;</font></td>
                    <td bgcolor="#115599"><font color="#FFFFFF">Feedback Center</font></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1" type="block"></td>
                  </tr>
                </table>
              </div>
                            <div style="display:none" >
                <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#e7e7e7">
                  <tr bgcolor="#FFFFee">
                    <td width="28" height="20">&nbsp;</td>
                    <td> <a href=""> Inbox</a></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                  <tr bgcolor="#FFFFee">
                    <td width="28" height="20">&nbsp;</td>
                    <td> <a href=""> Sent Box</a></td>

                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                  <tr bgcolor="#FFFFee">
                    <td width="28" height="20">&nbsp;</td>
                    <td><a href="">Trash</a></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                  <tr bgcolor="#FFFFee">
                    <td width="28" height="20">&nbsp;</td>
                    <td> <a href="">Block List</a></td>
                  </tr>
                <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                  <tr bgcolor="#FFFFee">
                    <td width="28" height="20">&nbsp;</td>
                    <td style="text-decoration: none;">
                    <a href=""> Contact List </a></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                </table>
              </div>

              <div onclick=this.nextSibling.style.display=this.nextSibling.style.display=='none'?'':'none'>
                <table width="100%" border="0" cellpadding="0" cellspacing="0"  bgcolor="#e7e7e7">
                  <tr bgcolor="#115599" style="cursor:hand">
                    <td width="20" height="20" bgcolor="#115599">&nbsp;<font color="#FFFFFF">&rarr;</font></td>
                    <td><font color="#FFFFFF">My Trade Leads</font></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                </table>
              </div>

              <div style="display:none">
                <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#e7e7e7">
                 <tr bgcolor="#FFFFee">
                    <td width="28" height="20">&nbsp;</td>
                    <td><a href="http://www.ec51.com/en/member/post.php">Post a New Trade Lead</a></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>

                </table>
              </div>


              <div onclick=this.nextSibling.style.display=this.nextSibling.style.display=='none'?'':'none'>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFee">
                  <tr bgcolor="#115599" style="cursor:hand">
                    <td width="20" height="20" bgcolor="#115599">&nbsp;<font color="#FFFFFF">&rarr;</font></td>
                    <td><font color="#FFFFFF">My Products</font></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                </table>
              </div>
                            <div style="display:none" >
                <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#e7e7e7">
                                  <tr bgcolor="#FFFFee">
                    <td width="28" height="20">&nbsp;</td>
                    <td><a href="http://www.ec51.com/en/member/product.php">Post a New Product</a></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                                                  <tr bgcolor="#FFFFee">
                    <td width="28" height="20">&nbsp;</td>
                    <td><a href="">View All My Products</a></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                                                  <tr bgcolor="#FFFFee">
                    <td height="20">&nbsp;</td>
                    <td><a href="">Edit/Delete Products</a></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                                                  <tr bgcolor="#FFFFee">
                    <td height="20">&nbsp;</td>
                    <td><a href="">Remove/Display Products</a></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                  <tr bgcolor="#FFFFee">
                    <td height="20">&nbsp;</td>
                    <td><a href="">Manage Photo Bank</a></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                                                </table>
              </div>


              <div onclick=this.nextSibling.style.display=this.nextSibling.style.display=='none'?'':'none'>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFee">
                  <tr bgcolor="#115599" style="cursor:hand">
                    <td width="20" height="20" bgcolor="#115599">&nbsp;<font color="#FFFFFF">&rarr;</font></td>
                    <td><font color="#FFFFFF">My Company</font></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                </table>
              </div>
              <div style="display:none">
                <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#e7e7e7">
                <tr bgcolor="#FFFFee">
                    <td width="28" height="20">&nbsp;</td>
                    <td><a href="http://www.ec51.com/en/member/a_company.php">Create Company Profile</a></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                                                      <tr bgcolor="#FFFFee">
                    <td width="28" height="20">&nbsp;</td>
                    <td><a href="http://www.ec51.com/en/member/p_company.php">Promote My Company</a></td>
                  </tr>
                  <tr>
                    <td height="1" colspan="2"><SPACER width="1" height="1"
            type="block"></td>
                  </tr>
                           </table>
              </div>




⌨️ 快捷键说明

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