选择注册类型页面
<?php
if(!defined('InEmpireCMS'))
{
exit();
}
?>
<?php
$public_diyr['pagetitle']='注册会员';
$url="<a href=../../../>首页</a> > <a href=../cp/>会员中心</a> > 选择注册会员类型";
?>
引入公共头部:
<?php
require(ECMS_PATH.'e/template/incfile/header.php');
?>
选择注册会员类型表单:
<form name="ChRegForm" method="GET" action="index.php">
<input name="tobind" type="hidden" id="tobind" value="<?=$tobind?>">
判断是否绑定账号:<?=$tobind?' (绑定账号)':''?>
选择会员类型:
<?php
while($r=$empire->fetch($sql))
{
$checked='';
if($r[groupid]==eReturnMemberDefGroupid())
{
$checked=' checked';
}
?>
会员类型选择框:<input type="radio" name="groupid" value="<?=$r[groupid]?>"<?=$checked?>>
会员类型名称:<?=$r[groupname]?>
<?php
}
?>
下一步:<input type="submit" name="button" value="下一步">
</form>
引入公共底部:
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>