default.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <title>{$title} - {$site.name}</title>
  10. <link href="__CDN__/assets/libs/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
  11. <link href="__ADDON__/css/common.css?v={$site.version}" rel="stylesheet">
  12. <link href="__CDN__/assets/libs/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  13. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  14. <!--[if lt IE 9]>
  15. <script src="https://cdn.staticfile.org/html5shiv/3.7.3/html5shiv.min.js"></script>
  16. <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
  17. <![endif]-->
  18. </head>
  19. <body>
  20. <!-- Navigation -->
  21. <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  22. <div class="container">
  23. <!-- Brand and toggle get grouped for better mobile display -->
  24. <div class="navbar-header">
  25. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  26. <span class="sr-only">Toggle navigation</span>
  27. <span class="icon-bar"></span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. </button>
  31. <a class="navbar-brand" href="{:addon_url('epay/index/index')}">{$site.name}</a>
  32. </div>
  33. <!-- Collect the nav links, forms, and other content for toggling -->
  34. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  35. <ul class="nav navbar-nav navbar-right">
  36. <li>
  37. </li>
  38. {if $user}
  39. <li class="dropdown">
  40. <a href="#" class="dropdown-toggle" data-toggle="dropdown">欢迎你! {$user.nickname|htmlentities}<b class="caret"></b></a>
  41. <ul class="dropdown-menu">
  42. <li>
  43. <a href="{:url('index/user/index')}">会员中心</a>
  44. </li>
  45. <li>
  46. <a href="{:url('index/user/profile')}">个人资料</a>
  47. </li>
  48. <li>
  49. <a href="{:url('index/user/logout')}">退出登录</a>
  50. </li>
  51. </ul>
  52. </li>
  53. {else /}
  54. <li class="dropdown">
  55. <a href="{:url('index/user/index')}" class="dropdown-toggle" data-toggle="dropdown">会员中心 <b class="caret"></b></a>
  56. <ul class="dropdown-menu">
  57. <li>
  58. <a href="{:url('index/user/login')}">登录</a>
  59. </li>
  60. <li>
  61. <a href="{:url('index/user/register')}">注册</a>
  62. </li>
  63. </ul>
  64. </li>
  65. {/if}
  66. </ul>
  67. </div>
  68. <!-- /.navbar-collapse -->
  69. </div>
  70. <!-- /.container -->
  71. </nav>
  72. {__CONTENT__}
  73. <div class="container">
  74. <!-- Footer -->
  75. <footer>
  76. <div class="row">
  77. <div class="col-lg-12">
  78. <hr>
  79. <p>Copyright &copy; {$site.name} 2017-2022</p>
  80. </div>
  81. </div>
  82. </footer>
  83. </div>
  84. <!-- /.container -->
  85. <script src="__CDN__/assets/libs/jquery/dist/jquery.min.js"></script>
  86. <script src="__CDN__/assets/libs/bootstrap/dist/js/bootstrap.min.js"></script>
  87. <script src="__CDN__/assets/libs/fastadmin-layer/dist/layer.js?v={$site.version}"></script>
  88. <script src="__ADDON__/js/jquery.qrcode.min.js?v={$site.version}"></script>
  89. <script src="__ADDON__/js/common.js?v={$site.version}"></script>
  90. </body>
  91. </html>