有谁会phpcms的帮忙看看?

超爱代码语言 发布于 2017/10/24 10:54
阅读 58
收藏 0

phpcms的注册页里的代码,实在不知道他的作用是做什么用的?谁能帮忙注释哈?

{L('member').L('register')}
<span {if !isset($_GET['t'])}class="on"{/if}><em>1</em>{L('fill_in').L('info')}</span>
    {if $member_setting['enablemailcheck']}
{L('register').L('success')}
{elseif $member_setting['registerverify']}
{L('administrator').L('verify')}
{if !isset($_GET['t'])}
{if $member_setting['choosemodel'] && count($modellist)>1}
{L('register_notice')}
{$description}
{L('member_model')}
<div class="input"><label>{L('member_model')}:</label>
            {loop $modellist $k $v}
            <label class="type"><input name="modelid" type="radio" value="{$k}" {if $k==$modelid}checked{/if} onclick="changemodel($(this).val
())" />{$v['name']}</label>
            {/loop}
        </div>
        {else}
            {loop $modellist $k $v}
            <input name="modelid" type="hidden" value="{$k}"/>
            {/loop}
        {/if}

{loop $forminfos $k $v}
                <div class="input"><label>{if $v['isbase']}<font color=red>*</font>{/if} {$v['name']}:{if $v['tips']}<br />({$v['tips']}){/if}
</label><div class="form">{$v['form']}</div></div>
            {/loop}
        {/if}

{if $sms_setting['sms_enable']=='1'}
        <div class="input"><label>{L('checkcode')}:</label><input type="text" id="code" name="code" size="10" class="input-text">{form::checkcode
('code_img', '5', '14', 120, 26)}</div>


{if $member_setting['enablcodecheck']=='1' && $sms_setting['sms_enable']!='1'}
        <div class="input"><label>{L('checkcode')}:</label><input type="text" id="code" name="code" size="10" class="input-text">{form::checkcode
('code_img', '5', '14', 120, 26)}</div>
        {/if}
{elseif isset($_GET['t']) && $_GET['t']==2}
<div class="col-left form-login form-reg">
{php $emailurl = param::get_cookie('email') ? str_replace('@', '',strstr(param::get_cookie('email'), '@')) : '';}
{param::get_cookie('_username')} {L('hellow')},{L('login_email_authentication')} {if $emailurl} {L('please_click')}<a href="http://mail.{$emailurl}">{L('login_email')}
</a><br><br>
{elseif isset($_GET['t']) && $_GET['t']==3}
<div class="col-left form-login form-reg">
{param::get_cookie('_username')} {L('hellow')},{L('please_wait_administrator_verify')}

加载中
0
Tuesday
Tuesday

唉, 不带模板引擎的程序, 真头痛.  

返回顶部
顶部