<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Join <{$config.company}> to buy and sell globally.</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<meta name="description" content="<{$config.description|regex_replace:"/[\r\t\n]/":""}>">
<meta name="keywords" content="<{$config.keyword|regex_replace:"/[\r\t\n]/":""}>" />
<link href="<{$config.weburl}>/templates/<{$config.temp}>/css/page.css" rel="stylesheet" type="text/css" />
<link href="<{$config.weburl}>/templates/<{$config.temp}>/css/register.css" rel="stylesheet" type="text/css" />
<script src="<{$config.weburl}>/script/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="<{$config.weburl}>/script/index.js" type="text/javascript"></script>
<script src="<{$config.weburl}>/script/jquery.niceforms.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$(".radio").dgStyle();
	$(".checkbox").dgStyle();
});
var allnotblank='<{$lang.allisnotblank}>';
var passlength='<{$lang.passisnotlowfour}>';
var passistooleng='<{$lang.passisnotlongtenw}>';
var passnotsame='<{$lang.passisnotsame}>';
var emailerror='<{$lang.emailiserror}>';
var changeemil='<{$lang.changeemil}>';
var randcodeerror='<{$lang.codeiserror}>';
var randcodeisemp='<{$lang.codeisempty}>';
var rcodeiserror='<{$lang.randcodeerror}>';
var enterusername='<{$lang.usernameisblank}>';
var unameisfour='<{$lang.usernameislowfour}>';
var unameisen='<{$lang.usernameisen}>';
var usernameprotect='<{$lang.usernameisprotect}>';
var have_blank='<{$lang.have_blank}>';
function dis()
{
	if($('#submitreg').attr('disabled')==false)
		$('#submitreg').attr('disabled',true);
	else
		$('#submitreg').attr('disabled',false);
}
</script>
<script src="<{$config.weburl}>/script/register.js" type=text/javascript></script>
</head>
<body>
<div class="header">
    <div class="w">
        <a href="<{$config.weburl}>">
            <img height="38" src="<{if $config.logo}><{$config.logo}><{else}><{$config.weburl}>/image/logo.png<{/if}>" />
        </a>
    </div>
</div>
<div class="w">
	<div class="register clearfix">
    	<h3>Create your new account</h3>
        <form action="" method="post">
        <table width='100%'>
        <tr>
        	<th colspan="99">Select Your Location & Account Type</th>
        </tr>
        <tr>
            <td class="td"><em>*</em>Code</td>
            <td class="code">
                <input name="yzm" type="text" id="yzm" class="text" onChange="check_yzm()" />
           		<img onclick="get_randfunc(this);" src='includes/rand_func.php'/>
                <span id="tishi2"></span>
            </td>
		</tr>
		<{if $config.user_reg_verf}>
		<tr>
            <td class="td"><{$lang.randques}></td>
            <td>
                <input onFocus="check_yzm();"  name="ckyzwt" type="text" id="ckyzwt" class="text" onChange="check_yzwt()" onClick="show_yzwt();"  />
                <span id="yzwt" ></span>
                <span id="tishi8" style="color:#FF0000"></span>
            </td>
        </tr>
        <{/if}>
        <tr>
            <td class="td"><em>*</em>Country/Region</td>
            <td>
            <select name="country" id="country">
            <{foreach item=list key=num from=$country}>
            <option <{if $list.id==0}>selected="selected"<{/if}> value="<{$list.id}>"><{$list.name}></option>
            <{/foreach}>
            </select>
            </td>
        </tr>
        
        <tr>
        	<th colspan="99">Enter Your Account Information </th>
        </tr>
        
        <tr>
            <td class="td"><em>*</em>Business Email</td>
            <td>
                <input onblur="check_email();" name='email' type='text' class="text" id="email" />
                <span id="tishi_email"></span> <br />
            </td>
        </tr>
        <tr>
            <td class="td"><em>*</em>Member ID</td>
            <td><input name='user'  type='text' id="user" <{if $config.user_reg_verf}> onFocus="check_yzwt();" <{/if}> class="text" /><span id="tishi"></span></td>
        </tr>
        <tr>
            <td class="td"><em>*</em>Password</td>
            <td><input onFocus="check_user();" type='password'  name='password' id="password" class="text" /></td>
        </tr>
        <tr>
            <td class="td"><em>*</em>Re-enter Password</td>
            <td><input type='password'  name='re_password' id="re_password"  class="text" /></td>
        </tr>
        <tr>
          <td class="td"><em>*</em>Mobile</td>
          <td><input type='text' name='mobile' id="mobile" class="text" /></td>
        </tr>
        
        <tr>
        	<th colspan="99">Enter Your Business Information</th>
        </tr>
        
        <tr>
            <td class="td"><em>*</em>Full Name</td>
            <td>
            <label class="radio"><input type="radio" name="sex" value="1" checked="checked"/><{$lang.msr}></label>
            <label class="radio"><input type="radio" name="sex" value="2" /><{$lang.mis}></label>
            <input type='text'  name='realname' id="realnane" class="text w205" />
        	</td>
        </tr>
        <tr>
            <td class="td"><em>*</em>Company Name</td>
            <td><input type='text' name='comname' id="comname"  class="text" /></td>
        </tr>
        <tr>
            <td class="td"><em>*</em>Company type</td>
            <td>
            <{foreach item=list key=num from=$ctype}>
            <label class="radio"><input <{if $num==0}> checked="checked"<{/if}> name="ctype" type="radio" value="<{$list}>" /><{$list}></label>
            <{/foreach}>
            </td>
        </tr>
        <tr>
            <td class="td">Address</td>
            <td><input type='text'  name='addr' id="addr"  class="text" /></td>
        </tr>
        <tr>
            <td class="td">Telephone</td>
            <td><input type='text'  name='tel' id="tel" class="text" /></td>
        </tr>
        <tr>
            <td class="td">Membership Agreement</td>
            <td>
            <textarea name="trtext" rows="5"><{$config.association}></textarea>
            <br/>
            <label class="checkbox"><input name="readme" id="readme" type="checkbox" value="checkbox"  onclick="dis()" /> I agree to the Terms of Use Agreement </label>
			</td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input class="buttonSkinA L" type='submit' name='submitreg' id="submitreg" value='Create My Account' class="text" onClick="return check()" disabled="disabled"/>
                <input name="forward" type="hidden" id="forward" value="<{$smarty.get.forward}>" />
                <input name="connect_id" type="hidden" id="forward" value="<{$smarty.get.connect_id}>" />
            </td>
        </tr>
        </table>
        </form>
    </div>
</div>
<!--<{if $config.closetype==2}>
<div style="height:300px; padding-top:150px; color:#FF0000;border: 1px solid #A9B9D3; font-size:16px"> <{$config.closecon}> </div>
<{else}>
    <{if $smarty.get.regsuc}>
    <div style="height:300px; padding-top:150px; color:#FF0000;border: 1px solid #A9B9D3; font-size:16px"> <{$lang.reg_mail_msg}> </div>
<{else}>
<form action="" method="post">
  <table width="100%" border="0" align="left" cellspacing="1" bgcolor="#b6daeb" style="margin-top:0px">
  <tr>
    <td bgcolor="#FFFFFF" height="39" align="left" ><table width='100%' border='0' cellspacing='0' cellpadding='0' align="center">
        <tr>
          <tdcolspan="3" align="left" bgcolor="#F6F6F6"><{$lang.baseinfo}></td>
        </tr>
        <tr>
          <td><{$lang.randcode}></td>
          <td><input onFocus="show_yzm();" name="yzm" type="text" id="yzm" class="text" onChange="check_yzm()"  /></td>
          <td><span id="yzm_pic"></span><span id="tishi2"></span></td>
        </tr>
        <{if $config.user_reg_verf}>
        <tr>
          <td><{$lang.randques}></td>
          <td><input onFocus="check_yzm();"  name="ckyzwt" type="text" id="ckyzwt" class="text" onChange="check_yzwt()" onClick="show_yzwt();"  /></td>
          <td><span id="yzwt" ></span>&nbsp;&nbsp;<span id="tishi8" style="color:#FF0000"></span></td>
        </tr>
        <{/if}>
        <tr>
          <td><{$lang.selcountry}></td>
          <td><select name="country" id="country" class="text" style="width:304px;">
              <{foreach item=list key=num from=$country}>
              <option value="<{$list.id}>"><{$list.name}></option>
              <{/foreach}>
            </select></td>
        </tr>
        <tr>
          <td><{$lang.user_name}></td>
          <td><input name='user'  type='text' id="user" <{if $config.user_reg_verf}> onFocus="check_yzwt();" <{/if}> class="text" /><span id="tishi"></span></td>
        </tr>
        <tr>
          <td><{$lang.user_pass}></td>
          <td><input onFocus="check_user();" type='password'  name='password' id="password" class="text" /></td>
        </tr>
        <tr>
          <td><{$lang.pass_reenter}></td>
          <td><input type='password'  name='re_password' id="re_password"  class="text" /></td>
        </tr>
        <tr>
          <td><{$lang.personal}></td>
        </tr>
        <tr>
          <td><{$lang.true_name}></td>
          <td><input type='text'  name='realname' id="realnane" class="text"/>
            <input  type="radio" name="sex" value="1" checked="checked"/>
            <{$lang.msr}>
            <input type="radio" name="sex" value="2" />
            <{$lang.mis}> </td>
        </tr>
        <tr>
          <td><{$lang.pos}></td>
          <td><input type='text'  name='pos' id="pos" class="text" /></td>
        </tr>
        <tr>
          <td><{$lang.email}></td>
          <td><input onblur="check_email();" name='email' type='text' class="text" id="email"   />
            <span id="tishi_email"></span> <br />
            <span class="bz"><{$lang.email_msg}></span></td>
          <td></td>
        </tr>
        <tr>
          <td><{$lang.mobile}></td>
          <td><input type='text'  name='mobile' id="mobile" class="text" /></td>
        </tr>
        <tr>
          <td><{$lang.tel}></td>
          <td><input type='text'  name='tel' id="tel" class="text" /></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td><{$lang.fax}></td>
          <td><input type='text'  name='fax' id="fax" class="text" /></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>QQ</td>
          <td><input type='text'  name='qq' id="qq" class="text" /></td>
        </tr>
        <tr>
          <td>MSN</td>
          <td><input type='text'  name='msn' id="msn" class="text" /></td>
        </tr>
        <tr>
          <td><{$lang.company}></td>
        </tr>
        <{if $identity}>
        <tr>
          <td>I am a</td>
          <td><{foreach item=list key=num from=$identity}> <input <{if $num==0}> checked="checked"<{/if}> name="identity" type="radio" value="<{$num}>" /><{$list}>
            <{/foreach}> </td>
        </tr>
        <{/if}>
        <tr>
          <td><{$lang.comapny_name}></td>
          <td><input type='text'  name='comname' id="comname"  class="text" /></td>
        </tr>
        <tr>
          <td><{$lang.addr}></td>
          <td><input type='text'  name='addr' id="addr"  class="text" /></td>
        </tr>
        <tr>
          <td><{$lang.ctype}></td>
          <td><{foreach item=list key=num from=$ctype}><input <{if $num==0}> checked="checked"<{/if}> name="ctype" type="radio" value="<{$list}>" /><{$list}><{/foreach}> </td>
        </tr>
        <tr>
          <td><{$lang.reg_lim}></td>
          <td><textarea name="trtext" rows="5"  style="font-size:12px;algin:left;margin-top:5px; width:300px;"><{$config.association}></textarea>
            <br/>
            <input name="readme" id="readme" type="checkbox" value="checkbox"  onclick="$('#submitreg').attr('disabled',false);" style="margin-top:5px;"/>
            <{$lang.reg_read}> </td>
        </tr>
        <tr>
          <td></td>
          <td><input class="buttonSkinA L" type='submit' name='submitreg' id="submitreg" value='Create My Account' class="text" onClick="return check()" disabled="disabled"/>
            <input name="forward" type="hidden" id="forward" value="<{$smarty.get.forward}>" />
            <input name="connect_id" type="hidden" id="forward" value="<{$smarty.get.connect_id}>" /></td>
        </tr>
      </table>
</form>
</td>
</tr>
</table>
<{/if}>
<{/if}>-->
<div id="footer" class="clearfix">
    <div class="w">
        <p><{$web_con}></p>
        <p class="copyright"><{$bt}></p>
    </div>
</div>
</body>
</html>