人人商城

account-header.tpl.php 4.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php defined('IN_IA') or exit('Access Denied');?><ol class="breadcrumb we7-breadcrumb">
  2. <a href="<?php echo url('account/manage', array('account_type' => ACCOUNT_TYPE))?>"><i class="wi wi-back-circle"></i> </a>
  3. <li><a href="<?php echo url('account/manage', array('account_type' => ACCOUNT_TYPE))?>"><?php echo ACCOUNT_TYPE_NAME;?>管理</a></li>
  4. <li><?php echo ACCOUNT_TYPE_NAME;?>设置</li>
  5. </ol>
  6. <div class="media media-wechat-setting">
  7. <a class="media-left">
  8. <span class="icon">
  9. <?php if(ACCOUNT_TYPE == ACCOUNT_TYPE_APP_NORMAL) { ?>
  10. <i class="wi wi-wxapp"></i>
  11. <?php } else { ?>
  12. <i class="wi wi-wechat"></i>
  13. <?php } ?>
  14. </span>
  15. <img src="<?php echo $headimgsrc;?>" class="wechat-img">
  16. </a>
  17. <div class="media-body media-middle ">
  18. <h4 class="media-heading color-dark"><?php echo $account['name'];?></h4>
  19. <span class="color-gray">
  20. <?php if(ACCOUNT_TYPE == ACCOUNT_TYPE_APP_NORMAL) { ?>
  21. 小程序
  22. <?php } else { ?>
  23. <?php if($account['level'] == 1) { ?>类型:普通订阅号<?php } ?><?php if($account['level'] == 2) { ?>类型:普通服务号<?php } ?><?php if($account['level'] == 3) { ?>类型:认证订阅号<?php } ?><?php if($account['level'] == 4) { ?>类型:认证服务号/认证媒体/政府订阅号<?php } ?>
  24. <?php } ?>
  25. </span>
  26. </div>
  27. <?php if($state == ACCOUNT_MANAGE_NAME_FOUNDER || $state == ACCOUNT_MANAGE_NAME_OWNER) { ?>
  28. <div class="media-right media-middle">
  29. <a href="<?php echo url('account/manage/delete', array('uniacid' => $account['uniacid'], 'acid' => $account['acid'], 'account_type' => ACCOUNT_TYPE))?>" class="btn btn-primary" onclick="return confirm('确认放入回收站吗?')">停 用</a>
  30. </div>
  31. <?php } ?>
  32. </div>
  33. <div class="clearfix"></div>
  34. <div class="btn-group we7-btn-group wechat-edit-group">
  35. <?php if($state == ACCOUNT_MANAGE_NAME_FOUNDER || $state == ACCOUNT_MANAGE_NAME_OWNER || $state == ACCOUNT_MANAGE_NAME_VICE_FOUNDER) { ?>
  36. <a href="<?php echo url('account/post/base', array('uniacid' => $account['uniacid'], 'acid' => $account['acid'], 'account_type' => ACCOUNT_TYPE))?>" class="btn btn-default <?php if($do == 'base') { ?> active<?php } ?>">基础信息</a>
  37. <?php if(ACCOUNT_TYPE == ACCOUNT_TYPE_OFFCIAL_NORMAL) { ?>
  38. <a href="<?php echo url('account/post/sms', array('uniacid' => $account['uniacid'], 'acid' => $account['acid'], 'account_type' => ACCOUNT_TYPE))?>" class="btn btn-default <?php if($do == 'sms') { ?> active<?php } ?>">短信信息</a>
  39. <?php } ?>
  40. <?php } ?>
  41. <a href="<?php echo url('account/post-user/edit', array('uniacid' => $account['uniacid'], 'acid' => $account['acid'], 'account_type' => ACCOUNT_TYPE))?>" class="btn btn-default <?php if($action == 'post-user' && $do == 'edit') { ?> active<?php } ?>">使用者管理</a>
  42. <?php if(ACCOUNT_TYPE == ACCOUNT_TYPE_APP_NORMAL) { ?>
  43. <a href="<?php echo url('wxapp/manage/display', array('uniacid' => $account['uniacid'], 'acid' => $account['acid'], 'account_type' => ACCOUNT_TYPE))?>" class="btn btn-default <?php if($action == 'manage' && $do == 'display') { ?> active<?php } ?>">版本管理</a>
  44. <?php } ?>
  45. <?php if(ACCOUNT_TYPE == ACCOUNT_TYPE_PHONEAPP_NORMAL) { ?>
  46. <a href="<?php echo url('phoneapp/manage/display', array('uniacid' => $account['uniacid'], 'acid' => $account['acid'], 'account_type' => ACCOUNT_TYPE))?>" class="btn btn-default <?php if($action == 'manage' && $do == 'display') { ?> active<?php } ?>">版本管理</a>
  47. <?php } ?>
  48. <?php if(ACCOUNT_TYPE == ACCOUNT_TYPE_ALIAPP_NORMAL) { ?>
  49. <a href="<?php echo url('miniapp/manage/display', array('uniacid' => $account['uniacid'], 'acid' => $account['acid'], 'account_type' => ACCOUNT_TYPE))?>" class="btn btn-default <?php if($action == 'manage' && $do == 'display') { ?> active<?php } ?>">版本管理</a>
  50. <?php } ?>
  51. <a href="<?php echo url('account/post/modules_tpl', array('uniacid' => $account['uniacid'], 'acid' => $account['acid'], 'account_type' => ACCOUNT_TYPE))?>" class="btn btn-default <?php if($action == 'post' && $do == 'modules_tpl') { ?> active<?php } ?>">可用应用模板/模块</a>
  52. </div>