<?php

$_G['module']['member'] = array();

//模块名称
$_G['module']['member']['name']	=	"会员";

//模块类型
$_G['module']['member']['model']	=	"module";

//模块版本
$_G['module']['member']['version']	=	"3.0";

//模块作者
$_G['module']['member']['author']	=	"VeryIDE";

//模块网站
$_G['module']['member']['support']	=	"http://www.veryide.com/";

//模块网站
$_G['module']['member']["describe"]	=	"谁谁谁又参加了什么活动，在这里一目了然";

/***************************/

//表单状态
$_G['module']['member']['state']	=	array('<span class="text-no">已停用</a>','<span class="text-yes">使用中</a>','<span class="text-no">已过期</a>');

//操作菜单
$_G['module']['member']['tool']	=	'<a href="javascript:Mo(\'#table tbody tr input[type=checkbox]\').checked( true ); void(0);">全选</a> / <a href="javascript:Mo(\'#table td input[type=checkbox]\').checked( false ); void(0);">不选</a> / <a href="javascript:Mo(\'#table td input[type=checkbox]\').checked(); void(0);">反选</a> - <a href="javascript:if(confirm(\'确定要确认所选吗?\')){ Mo(\'#formPost input[name=state]\').value(1); Mo(\'#formPost input[name=action]\').value(\'state\'); Mo(\'#formPost\').submit();}void(0);">确认所选</a> - <a href="javascript:if(confirm(\'确定要取消确认吗?\')){ Mo(\'#formPost input[name=state]\').value(0); Mo(\'#formPost input[name=action]\').value(\'state\'); Mo(\'#formPost\').submit(); }void(0);">取消确认</a> - <a href="javascript:if(confirm(\'确定要删除所选吗?\')){ Mo(\'#formPost input[name=action]\').value(\'delete\'); Mo(\'#formPost\').submit(); }void(0);">删除所选</a>';

//评论菜单
$_G['module']['member']["comment"]	=	'<a href="javascript:Mo(\'#table tbody tr input[type=checkbox]\').checked( true ); void(0);">全选</a> / <a href="javascript:Mo(\'#table td input[type=checkbox]\').checked( false ); void(0);">不选</a> / <a href="javascript:Mo(\'#table td input[type=checkbox]\').checked(); void(0);">反选</a> - <a href="javascript:if(confirm(\'确定要启用所选吗?\')){ Mo(\'#formPost input[name=state]\').value(1); Mo(\'#formPost input[name=action]\').value(\'state\'); Mo(\'#formPost\').submit();}void(0);">启用所选</a> - <a href="javascript:if(confirm(\'确定要停用所选吗?\')){ Mo(\'#formPost input[name=state]\').value(0); Mo(\'#formPost input[name=action]\').value(\'state\'); Mo(\'#formPost\').submit(); }void(0);">停用所选</a> - <a href="javascript:if(confirm(\'确定要删除所选吗?\')){ Mo(\'#formPost input[name=action]\').value(\'delete\'); Mo(\'#formPost\').submit(); }void(0);">删除所选</a>';

//用户标识
$_G['module']['member']['sign']	=	array('未确认','已确认');

//评论每页数量
$_G['module']['member']["pagesize"]	=	5;

//搜索配置
$_G['module']['member']['search']	=	array(
			"table"=>"{TableModPre}member",
			"title"=>"会员",
			"where"=>"",
			"keyword"=>"account",
			"order"=>"id",
			"cache"=>"html/",
			"fieds"=>array("id"=>"ID","account"=>"会员名称","name"=>"真实姓名","email"=>"电子邮箱","phone"=>"电话号码"),
			"extra"=>array("name"=>"<a onclick='parent.Mo.Window(\"window\",\"搜索结果预览\" , \"member.edit.php?fid={id}&action=edit\" , 900, 500 ,{});void(0);'>{name}</a>")
		);

//字段名称
$_G['module']['member']["fieds"] = array(
							  "id"=>"ID",
							  "account"=>"用户名称",
							  "name"=>"真实姓名",
							  "sex"=>"性别",
							  "blood"=>"血型",							  
							  "blood"=>"血型",
							  "birthday"=>"生日",
							  "email"=>"电子邮箱",
							  "phone"=>"电话号码",
							  "qq"=>"QQ 号码",
							  "msn"=>"MSN 号码",
							  "idcard"=>"身份证号码",
							  "address"=>"联系地址",
							  "marriage"=>"婚姻状态",
							  "blog"=>"博客地址",
							  "career"=>"职业信息",
							  "company"=>"单位名称",
							  "school"=>"学校名称",
							  "tag_book"=>"喜爱的书箱",
							  "tag_music"=>"喜爱的音乐",
							  "tag_movie"=>"喜爱的电影",
							  "tag_sport"=>"喜爱的运动",
							  "tag_person"=>"欣赏的人",
							  "tag_other"=>"兴趣爱好",
							  "tag_brand"=>"喜爱的品牌",
							  "tag_color"=>"喜爱的颜色",
							  "tag_yearn"=>"向往的事",
							  "stat_login"=>"登录次数",
							  "stat_level"=>"积分",
							  "dateline"=>"注册时间",
							  "modify"=>"更新时间",
							  "ip"=>"注册IP"
							);

//权限配置
$_G['module']['member']['func'] = array(
							  "member-mod"=>"修改用户",
							  "member-del"=>"删除用户",
							  "member-data-dow"=>"下载用户数据",
							  "member-data-del"=>"删除用户数据"
							);
		
//会员认证
$_G['module']['member']["auth"] = array(
							  "0"=>"未申请认证",
							  "1"=>"申请认证",
							  "2"=>"通过认证",
							  "3"=>"未通过认证"
							);
	
?>