<?php
/**
 * Copyright (C) OElove Webapp All rights reserved.Webapp
 * <E-Mail：service@phpcoo.com>
 * Url http://www.phpcoo.com
 *     http://www.oephp.com
 *     http://www.oelove.com
 * Update 2021.04.25
 */
if (!defined('IN_OELOVE')) {
    exit('OElove[OEPHP] Access Denied');
}
define("OELOVE_WAPCP_NAME", "会员中心");
function _get_wapcp_items($id) {
    $OELOVE_WAP_ITEMS =  array(

		"index"=>array(
            "name"=>"首页",
            "action"=>array(
				"about"=>"关于我们",
				"contact"=>"联系我们",
				"payment"=>"付款方式",
				"clause"=>"用户条款",
                "guestbook"=>"留言反馈",
                "help"=>"新手指引",
			),
        ),
        "index_welcome"=>array(
            "name"=>"欢迎",
        ),
        "find"=>array(
            "name"=>"发现",
        ),
        
        "jubao"=>array(
            "name"=>"举报",
            "action"=>array(

            ),
        ),

        "cp"=>array(
            "name"=>"我的",
            "action"=>array(

            ),
        ),
		"avatar"=>array(
            "name"=>"头像",
            "action"=>array(
				"savecut"=>"保存裁剪头像",
				"saveflip"=>"旋转头像",
            ),
        ),
        "profile"=>array(
            "name"=>"我的资料",
            "action"=>array(
				"run"=>"我的资料",
            ),
        ),
		
		"money"=>array(
            "name"=>"我的余额",
            "action"=>array(
            
			),
        ),

        "recharge"=>array(
            "name"=>"在线充值",
            "action"=>array(
				"submit"=>"提交充值",
			),
        ),

		"vip"=>array(
            "name"=>"升级会员",
            "action"=>array(

			),
        ),

		"msg"=>array(
            "name"=>"消息",
            "action"=>array(

			),
        ),
		"message"=>array(
            "name"=>"私信",
            "action"=>array(

			),
        ),
		"about"=>array(
            "name"=>"关于我们",
            "action"=>array(

			),
        ),

		"my"=>array(
            "name"=>"我的帐号",
            "action"=>array(
                "mpshare"=>"我要推广",
			),
        ),
		"photo"=>array(
            "name"=>"我的相册",
            "action"=>array(
				"saveadd"=>"上传照片",
				"dynamic"=>"同步动态",
				"del"=>"删除照片",
			),
        ),
		
		"rz"=>array(
            "name"=>"诚信认证",
            "action"=>array(
				"mobilerz"=>"手机认证",
				"emailrz"=>"邮箱认证",
				"qqrz"=>"QQ认证",
				"idrz"=>"实名认证",
				"houserz"=>"房产认证",
				"carrz"=>"车子认证",
				"edurz"=>"学历认证",
			),
        ),
		
		"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"=>"删除黑名单",
            ),
        ),
        
        
		"visitme"=>array(
            "name"=>"谁看过我",
            "action"=>array(
			),
        ),		
		"visit"=>array(
            "name"=>"我看了谁",
            "action"=>array(
			),
        ),
		"fans"=>array(
            "name"=>"谁关注我",
            "action"=>array(
			),
        ),		
		"listen"=>array(
            "name"=>"我关注谁",
            "action"=>array(
			),
        ),	

		"set"=>array(
            "name"=>"我的设置",
            "action"=>array(
				"savebank"=>"修改收款资料",
				"savepassword"=>"修改登录密码",
			),
        ),

		"myparty"=>array(
            "name"=>"我报名的活动",
            "action"=>array(
			),
        ),

        "lineserv"=>array(
            "name"=>"委托服务",
            "action"=>array(

            ),
        ),

		"pay"=>array(
            "name"=>"在线支付",
            "action"=>array(
				"show"=>"支付结果",
			),
        ),
		

        "mydiary"=>array(
            "name"=>"心情日记",
            "action"=>array(
                "saveadd"=>"发布日记",
                "saveedit"=>"编辑日记",
                "del"=>"删除日记",
            ),
        ),

        "mydiarycomm"=>array(
            "name"=>"日记评论",
            "action"=>array(
            ),
        ),
        "map"=>array(
            "name"=>"标注地图",
            "action"=>array(
                "saveset"=>"标注地图",
            ),
        ),
        
        
        //8.09.01
        "msgchat"=>array(
            "name"=>"聊天",
            "action"=>array(
				"savewrite"=>"发送私信",
				"freesid"=>"解锁通信",
            ),
        ),

        //9.05.31
        "yunrz"=>array(
            "name"=>"实名认证",
            "action"=>array(
                "submitrz"=>"自助实名认证",
			),
        ),
        
        //0.03.31
        "giftme"=>array(
            "name"=>"收到礼物",
            "action"=>array(
            ),
        ),
        "giftto"=>array(
            "name"=>"送出礼物",
            "action"=>array(
            ),
        ),

        //21.04.19
        'statement'=>array(
            "name"=>"单身声明",
            "action"=>array(
            ),
        ),
        'wxto'=>array(
            "name"=>"查看微信",
            "action"=>array(
            ),
        ),
        'emtest'=>array(
            "name"=>"情感测试",
            "action"=>array(
            ),
        ),
        'mytest'=>array(
            "name"=>"我的测试",
            "action"=>array(
            ),
        ),

    );
    return $OELOVE_WAP_ITEMS[$id];
}

//获取标题
function _get_wapcp_title($c, $a="") {
    $_title = "";
    $_wap_arr =  _get_wapcp_items($c);
    if (!empty($_wap_arr)) {
        if (!empty($a)) {
            $_title = $_wap_arr['action'][$a];
        }
        else {
            $_title = $_wap_arr['name'];
        }
    }
    return $_title;
}

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