求助.修改注册会员页面

2016-07-07 15:01 来源:www.chinab4c.com 作者:ecshop专家

请问此页面如何修改...找不到php文件修改

回答:
在模板里面修改。

找到你模板目录的user_passport.dwt文件中的这段代码

<!--*会员注册界面 start-->
<!--{if $action eq 'register'}-->
<!-- {if $shop_reg_closed eq 1} -->
<div class="usBox">
<div class="usBox_2 clearfix">
<div class="f1 f5" align="center">{$lang.shop_register_closed}</div>
</div>
</div>
<!-- {else} -->
{insert_scripts files='utils.js'}
<div class="usBox">
<div class="usBox_2 clearfix">
<div class="regtitle"></div>
<form action="user.php" method="post" name="formUser">
<table width="100%"border="0" align="left" cellpadding="5" cellspacing="3">
<tr>
<td width="13%" align="right">{$lang.label_username}</td>
<td width="87%">
<input name="username" type="text" size="25" id="username" class="inputBg"/>
<span id="username_notice" style="color:#FF0000"> *</span>
</td>
</tr>
<tr>
<td align="right">{$lang.label_email}</td>
<td>
<input name="email" type="text" size="25" id="email"class="inputBg"/>
<span id="email_notice" style="color:#FF0000"> *</span>
</td>
</tr>
<tr>
<td align="right">{$lang.label_password}</td>
<td>
<input name="password" type="password" id="password1" class="inputBg" style="width:179px;" />
<span style="color:#FF0000" id="password_notice"> *</span>
</td>
</tr>
<tr>
<td align="right">{$lang.label_password_intensity}</td>
<td>
<table width="145" border="0" cellspacing="0" cellpadding="1">
<tr align="center">
<td width="33%" id="pwd_lower">{$lang.pwd_lower}</td>
<td width="33%" id="pwd_middle">{$lang.pwd_middle}</td>
<td width="33%" id="pwd_high">{$lang.pwd_high}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="right">{$lang.label_confirm_password}</td>
<td>
<input name="confirm_password" type="password" id="conform_password"class="inputBg" style="width:179px;"/>
<span style="color:#FF0000" id="conform_password_notice"> *</span>
</td>
</tr>
<!-- {foreach from=$extend_info_list item=field} -->
<!-- {if $field.id eq 6} -->
<tr>
<td align="right">{$lang.passwd_question}</td>
<td>
<select name='sel_question'>
<option value='0'>{$lang.sel_question}</option>
{html_opti** opti**=$passwd_questi**}
</select>
</td>
</tr>
<tr>
<td align="right" <!-- {if $field.is_need} -->id="passwd_quesetion"<!--{/if}-->>{$lang.passwd_answer}</td>
<td>
<input name="passwd_answer" type="text" size="25" class="inputBg" maxlengt='20'/><!-- {if $field.is_need} --><span style="color:#FF0000"> *</span><!-- {/if} -->
</td>
</tr>
<!-- {else} -->
<tr>
<td align="right" <!-- {if $field.is_need} -->id="extend_field{$field.id}i"<!--{/if}-->>{$field.reg_field_name}
<td>
<input name="extend_field{$field.id}" type="text" size="25" class="inputBg" /><!-- {if $field.is_need} --><span style="color:#FF0000"> *</span><!-- {/if} -->
</td>
</tr>
<!-- {/if} -->
<!-- {/foreach} -->
<!-- 判断是否启用验证码{if $enabled_captcha} -->
<tr>
<td align="right">{$lang.comment_captcha}</td>
<td><input type="text" size="8" name="captcha" class="inputBg" />
<img src="captcha.php?{$rand}" alt="captcha" style="vertical-align: middle;cursor: pointer;" /> </td>
</tr>
<!--{/if}-->
<tr>
<td>&nbsp;</td>
<td><label>
<input name="agreement" type="checkbox" value="1" checked="checked" />
{$lang.agreement}&nbsp;&nbsp;<a href="article.php?id=89">**协议</a></label></td>
</tr>
<tr>
<td>&nbsp;</td>
<td align="left">
<input name="act" type="hidden" value="act_register" >
<input type="hidden" name="back_act" value="{$back_act}" />
<input name="Submit" type="submit" value="" class="us_Submit_reg">
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="acti**ub">
<a href="user.php?act=login">{$lang.want_login}</a><br />
<a href="user.php?act=get_password">{$lang.forgot_password}</a>
</td>
</tr>
</table>
</form>
</div>
</div>
<!--{/if}-->
<!--{/if}-->
<!--#会员注册界面 end-->

红色部分是新加的,其中article.php?id=89是你协议文章的url,改成你自已的就可以了