demo1.html 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. <!-- Page Content -->
  2. <div class="container">
  3. <!-- Page Heading/Breadcrumbs -->
  4. <div class="row">
  5. <div class="col-lg-12">
  6. <h1 class="page-header">无需登录页面
  7. <small>开发者示例</small>
  8. </h1>
  9. <ol class="breadcrumb">
  10. <li><a href="{:addon_url('example/index/index')}">插件首页</a>
  11. </li>
  12. <li class="active">无需登录页面</li>
  13. </ol>
  14. </div>
  15. </div>
  16. <!-- /.row -->
  17. <!-- Content Row -->
  18. <div class="row">
  19. <div class="col-lg-12">
  20. <p class="well">当前登录页面无需登录即可查看,当前请求的name值为:{$Request.param.name}</p>
  21. {if $user}
  22. <p class="well text-danger">但是如果你登录后可以浏览到这段隐藏的信息</p>
  23. {/if}
  24. </div>
  25. </div>
  26. <!-- /.row -->
  27. <hr>
  28. </div>
  29. <!-- /.container -->