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

📄 register.tpl

📁 NetGou商城购物系统是一款功能强大完善、操作界面友好、可扩展性好、专门针对个人和企业进行网上销售而开发的一套商城购物系统。 它具有完善的商品管理、订单管理、销售统计、新闻管理、结算系统、税率系统、
💻 TPL
字号:
{* $Id: register.tpl,v 1.25 2004/06/28 13:31:07 mclap Exp $ *}
{if $js_enabled eq 'Y'}
{include file="check_email_script.tpl"}
{include file="check_zipcode_js.tpl"}
{include file="generate_required_fields_js.tpl"}
{include file="check_required_fields_js.tpl"}
{if $config.Adaptives.isDOM eq 'Y' && $config.General.use_js_states eq 'Y'}
{include file="change_states_js.tpl"}
{/if}
{/if}

{if $newbie eq "Y"}
{assign var="title" value=$lng.lbl_modify_profile}
{else}
{if $main eq "user_add"}
{if $active_modules.Simple_Mode}
{assign var="title" value=$lng.lbl_create_admin_profile}
{else}
{assign var="title" value=$lng.lbl_create_provider_profile}
{/if}
{else}
{if $active_modules.Simple_Mode}
{assign var="title" value=$lng.lbl_modify_admin_profile}
{else}
{assign var="title" value=$lng.lbl_modify_provider_profile}
{/if}
{/if}
{/if}

{include file="page_title.tpl" title=$title}

<!-- IN THIS SECTION -->

{if $newbie ne "Y"}
{include file="dialog_tools.tpl"}
{/if}

<!-- IN THIS SECTION -->

<FONT class="Text">

{if $newbie ne "Y"}
<BR>
{if $active_modules.Simple_Mode}
{if $main eq "user_add"}
{$lng.txt_create_admin_profile}
{else}
{$lng.txt_modify_admin_profile}
{/if}
{else}
{if $main eq "user_add"} 
{$lng.txt_create_provider_profile}
{else} 
{$lng.txt_modify_provider_profile}
{/if} 
{/if}
<BR><BR>
{/if}

{$lng.txt_fields_are_mandatory}

</FONT>

<BR><BR>

{capture name=dialog}

{if $newbie ne "Y" and $main ne "user_add" and ($usertype eq "P" and $active_modules.Simple_Mode eq "Y" or $usertype eq "A")}
<DIV align="right">{include file="buttons/button.tpl" button_title=$lng.lbl_return_to_search_results href="users.php?mode=search"}</DIV>
{/if}

{assign var="reg_error" value=$top_message.reg_error}
{assign var="error" value=$top_message.error}
{assign var="emailerror" value=$top_message.emailerror}

{if $registered eq ""}
{if $reg_error}
<FONT class="Star">
{if $reg_error eq "F" }
{$lng.txt_registration_error}
{elseif $reg_error eq "E" }
{$lng.txt_email_already_exists}
{elseif $reg_error eq "U" }
{$lng.txt_user_already_exists}
{/if}
</FONT>
<BR>
{/if}

{if $error ne ""}
<FONT class="Star">
{if $error eq "b_statecode"}
{$lng.err_billing_state}
{elseif $error eq "s_statecode"}
{$lng.err_shipping_state}
{else} 
{$error}
{/if}
</FONT>
<BR>
{/if}

<TABLE border="0" cellspacing="1" cellpadding="2" width="100%">


<FORM action="{$register_script_name}?{$smarty.server.QUERY_STRING}" method="POST" name="registerform"{if $js_enabled} onsubmit="javascript: if (check_zip_code() && checkEmailAddress(document.registerform.email)) return true; else return false;"{/if}>

{if $config.General.use_https_login eq "Y"}
<INPUT type="hidden" name="{$NetGouSESSNAME}" value="{$NetGouSESSID}">
{/if}


{include file="main/register_personal_info.tpl" userinfo=$userinfo}

{include file="main/register_billing_address.tpl" userinfo=$userinfo}

{include file="main/register_shipping_address.tpl" userinfo=$userinfo}

{include file="main/register_contact_info.tpl" userinfo=$userinfo}

{include file="main/register_additional_info.tpl" section='A'}

{include file="main/register_account.tpl" userinfo=$userinfo}


{if $active_modules.News_Management and $newslists}
{include file="modules/News_Management/register_newslists.tpl" userinfo=$userinfo}
{/if}

<TR>
<TD colspan="2">&nbsp;</TD>
<TD><BR>

<BR><BR>

<FONT class="FormButton">
{if $smarty.get.mode eq "update"}
<INPUT type="hidden" name="mode" value="update">
{/if}
<INPUT type="hidden" name="anonymous" value="{$anonymous}">

<INPUT type="submit" value=" {$lng.lbl_save} ">

</TD>
</TR>

<INPUT type="hidden" name="usertype" value="{if $smarty.get.usertype ne ""}{$smarty.get.usertype|escape:"html"}{else}{$usertype}{/if}">

</FORM>

</TABLE>

<BR><BR>

{if $newbie eq "Y" and $active_modules.Simple_Mode ne ""}
{$lng.txt_newbie_registration_bottom}
<BR><A href="help.php?section=conditions"><FONT class="Text"><B>{$lng.lbl_terms_n_conditions}</B>&nbsp;</FONT>{include file="buttons/go.tpl"}</A>
{else}
{$lng.txt_user_registration_bottom}
{/if}

<BR>

{else}

{if $smarty.post.mode eq "update" or $smarty.get.mode eq "update"}
{$lng.txt_profile_modified}
{else}
{$lng.txt_profile_created}
{/if}

{/if}

{/capture}
{include file="dialog.tpl" title=$lng.lbl_profile_details content=$smarty.capture.dialog extra="width=100%"}

⌨️ 快捷键说明

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