<?php
/**
 * Copyright (C) OElove All rights reserved.
 * <E-Mail：service@phpcoo.com>
 * Url http://www.phpcoo.com
 *     http://www.oephp.com
 *     http://www.oelove.com
 * Update 2020-10-26
 */
if (!defined('IN_OELOVE')) {
    exit('OElove[OEPHP] Access Denied');
}
define("OELOVE_USERCP_NAME", "会员中心");
function _get_user_items($id) {
    $OELOVE_USER_ITEMS =  array(
        "index"=>array(
            "name"=>"会员中心",
            "action"=>array(
                "upload"=>"上传图片",
            ),
        ),
        "rz"=>array(
            "name"=>"认证中心",
            "action"=>array(
                "mobilerz"=>"手机认证",
                "emailrz"=>"邮箱认证",
				"qqrz"=>"QQ认证",
				"idrz"=>"实名认证",
                "saveweixin"=>"修改微信号",
            ),
        ),
		"set"=>array(
            "name"=>"设置",
            "action"=>array(
                "saveset"=>"保存设置",
                "savepassword"=>"修改登录密码",
				"savebank"=>"修改收款资料",
				"cancelbind"=>"解除绑定登录",
            ),
        ),


        "profile"=>array(
            "name"=>"编辑资料",
            "action"=>array(
                "savebase"=>"编辑基本资料",
                "saveguihua"=>"编辑爱情规划",
                "savelife"=>"编辑生活家庭",
                "saveintro"=>"修改内心独白",
                "editname"=>"修改用户名",
				"editgender"=>"修改性别",
				"editage"=>"修改出生年月",
				"savecond"=>"修改择偶条件",
            ),
        ),
        "avatar"=>array(
            "name"=>"设置头像",
            "action"=>array(
				"cropper"=>"设置头像",
            ),
        ),
		"recharge"=>array(
            "name"=>"在线充值",
            "action"=>array(
                "submit"=>"提交在线充值",
            ),
        ),
        "money"=>array(
            "name"=>"余额明细",
            "action"=>array(),
        ),
        
		"party"=>array(
            "name"=>"参加活动",
            "action"=>array(
                "confirmpay"=>"在线支付活动报名",
                "saveapp"=>"申请退款",
            ),
        ),
		"vip"=>array(
            "name"=>"升级会员",
            "action"=>array(
				"confirmpay"=>"开通VIP会员",
            ),
        ),
		"fans"=>array(
            "name"=>"谁关注了我",
            "action"=>array(
				"del"=>"删除谁关注了我",
            ),
        ),
		"listen"=>array(
            "name"=>"我关注了谁",
            "action"=>array(
				"del"=>"删除我关注了谁",
            ),
        ),
		"visitme"=>array(
            "name"=>"谁看过我",
            "action"=>array(
				"del"=>"删除谁看过我",
            ),
        ),
		"visit"=>array(
            "name"=>"我看过谁",
            "action"=>array(
				"del"=>"删除我看过谁",
            ),
        ),
		"friend"=>array(
            "name"=>"我的好友",
            "action"=>array(
				"del"=>"删除好友",
            ),
        ),
		"friendapply"=>array(
            "name"=>"好友验证",
            "action"=>array(
				"agree"=>"同意好友申请",
				"refuse"=>"拒绝好友申请",
				"delete"=>"删除好友申请",
				"apply"=>"申请加好友",
            ),
        ),
        "friendmy"=>array(
            "name"=>"我发的好友申请",
            "action"=>array(

            ),
        ),
        //9.04.23
        "friendblack"=>array(
            "name"=>"黑名单",
            "action"=>array(
				"del"=>"删除黑名单",
            ),
        ),
        
        
		"map"=>array(
            "name"=>"标注地图",
            "action"=>array(
				"saveset"=>"标注地图",
            ),
        ),
		"msg"=>array(
            "name"=>"站内消息",
            "action"=>array(
                "read"=>"阅读站内消息",
                "del"=>"删除站内消息",
            ),
        ),
		"msgcontact"=>array(
            "name"=>"我的私信",
            "action"=>array(

            ),
        ),
		"msgchat"=>array(
            "name"=>"聊天",
            "action"=>array(
				"savewrite"=>"发送私信",
				"freesid"=>"解锁通信",
            ),
        ),

        "photo"=>array(
            "name"=>"我的相册",
            "action"=>array(
                "saveadd"=>"上传相册",
            ),
        ),

        "diary"=>array(
            "name"=>"心情日记",
            "action"=>array(
                "saveadd"=>"发布日记",
                "saveedit"=>"修改日记",
                "del"=>"删除日记",
            ),
        ),

        "diarycomm"=>array(
            "name"=>"日记评论",
            "action"=>array(
            ),
        ),
        //9.05.31
        "yunrz"=>array(
            "name"=>"实名认证",
            "action"=>array(
                "submitrz"=>"自助实名认证",
            ),
        ),
    );
    return $OELOVE_USER_ITEMS[$id];
}

//获取标题
function _get_user_title($id) {
    $_title = "";
	$title_arr =  _get_user_items($id);
    if (!empty($title_arr)) {
        $_title = $title_arr['name'];
    }
    return $_title;
}

//获取动作
function _get_user_action($id) {
    $_action_arr = null;
    $_shop_arr = _get_user_items($id);
    if (!empty($_shop_arr)) {
        $_action_arr = $_shop_arr['action'];
    }
    return $_action_arr;
}
?>