left.php 1.4 KB

1234567891011121314151617181920212223242526272829
  1. <?php
  2. if (!defined('IN_ROOT')) {
  3. exit('Access denied');
  4. }
  5. ?>
  6. <div class="col-sm-2">
  7. <aside class="aside-left">
  8. <ul>
  9. <?php if ($this->action == 'apps' && IN_DIST_ON || $this->action == 'sign' && IN_SIGN || $this->action == 'super' && IN_SUPER) {
  10. ?>
  11. <li class="<?php echo ($this->module == 'publish' || $this->module == 'publish_update') ? 'active' : '' ?>">
  12. <a href="/index/publish/<?php echo $this->action ?>"> <span class="iconfont icon-upload1"></span>上传应用</a>
  13. </li>
  14. <?php
  15. } ?>
  16. <li class="<?php echo $this->module == 'apps' ? 'active' : '' ?>">
  17. <a href="/index/apps/<?php echo $this->action ?>"><span class="iconfont icon-41"></span>应用列表</a>
  18. </li>
  19. <?php if (IN_SUPER && ($this->action == 'super' || strstr($this->module, 'super'))) { ?>
  20. <li class="<?php echo $this->module == 'super_code' ? 'active' : '' ?>">
  21. <a href="/index/super_code/super"><span class="iconfont icon-pwd"></span>授权码管理</a>
  22. </li>
  23. <li class="<?php echo $this->module == 'super_cert' ? 'active' : '' ?>">
  24. <a href="/index/super_cert/super"><span class="iconfont icon-gongju"></span>开发者账号</a>
  25. </li>
  26. <?php } ?>
  27. </ul>
  28. </aside>
  29. </div>