mymps.count.inc.php 2.1 KB

123456789101112131415161718192021
  1. <?php
  2. //decode by http://dezend.qiling.org QQ 2859470
  3. if (!defined('IN_MYMPS')) {
  4. exit('FORBIDDEN');
  5. }
  6. $ele = array('information' => '信息', 'member' => '会员', 'certify' => '认证 ', 'siteabout' => '站务', 'plugin' => '插件');
  7. $element[information] = array('信息' => array('table' => 'information', 'url' => 'information.php'), '评论' => array('table' => 'comment', 'where' => 'WHERE type = \'information\'', 'url' => 'comment.php?part=information'), '举报' => array('table' => 'info_report', 'url' => 'information.php?part=report'));
  8. $element[member] = array('个人' => array('table' => 'member', 'where' => 'WHERE if_corp = \'0\' AND status = \'1\'', 'url' => 'member.php?if_corp=0'), '商家' => array('table' => 'member', 'where' => 'WHERE if_corp = \'1\' AND status = \'1\'', 'url' => 'member.php?if_corp=1'), '充值记录' => array('table' => 'payrecord', 'url' => 'payrecord.php'));
  9. $element[certify] = array('执照' => array('table' => 'certification', 'where' => 'WHERE typeid = \'1\'', 'url' => 'certification.php?typeid=1'), '身份证' => array('table' => 'certification', 'where' => 'WHERE typeid = \'2\'', 'url' => 'certification.php?typeid=2'));
  10. $element[siteabout] = array('公告' => array('table' => 'announce', 'url' => 'announce.php'), '帮助' => array('table' => 'faq', 'url' => 'faq.php'), '链接' => array('table' => 'flink', 'url' => 'friendlink.php'));
  11. $element[plugin] = array('新闻' => array('table' => 'news', 'url' => 'news.php'), '优惠券' => array('table' => 'coupon', 'url' => 'coupon_list.php'), '团购' => array('table' => 'group', 'url' => 'group_list.php'), '报名' => array('table' => 'group_signin', 'url' => 'group_signin.php'), '商品' => array('table' => 'goods', 'url' => 'goods_list.php'), '订单' => array('table' => 'goods_order', 'url' => 'goods_order.php'));
  12. if ($mymps_global['cfg_if_corp'] != 1) {
  13. unset($element[plugin]['优惠券']);
  14. unset($element[plugin]['团购']);
  15. unset($element[plugin]['商品']);
  16. unset($element[plugin]['报名']);
  17. unset($element[plugin]['订单']);
  18. unset($element[member]['商家']);
  19. unset($element[certify]['执照']);
  20. }