$MemberTypes[$nrow->rank] = $nrow->membername;
}
$options = "<select name='rank' style='width:180px'>\r\n";
foreach($MemberTypes as $k=>$v)
{
if($k!=$row['rank']) $options .= "<option value='$k'>$v</option>\r\n";
else $options .= "<option value='$k' selected>$v</option>\r\n";
}
$options .= "</select>\r\n";
echo $options;
?></td>
</tr>
<tr>
<td height="67" align="right" > </td>
<td height="67" >
<input type="submit" name="Submit" value="确定添加" class='coolbg' />
<input type="reset" name="Submit22" value="重置表单" class='coolbg' />
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</body>
</html>
打开 dede\inc\inc_menu.php,找到
<m:item name='注册会员列表' link='member_main.php' rank='member_List' target='main' />
在其 下面 增加如下代码
<m:item name='添加会员' link='huiyuan_add.php' rank='huiyuan_Add' target='main' />