index.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{$user_login} - 我的收藏</title>
  5. <meta name="keywords" content=""/>
  6. <meta name="description" content="">
  7. <include file="public@head"/>
  8. </head>
  9. <body class="body-white" id="top">
  10. <include file="public@nav" />
  11. <div class="container tc-main">
  12. <div class="row">
  13. <div class="col-md-3">
  14. <include file="public@usernav" />
  15. </div>
  16. <div class="col-md-9">
  17. <div class="tabs">
  18. <ul class="nav nav-tabs">
  19. <li class="active"><a href="#one" data-toggle="tab"><i class="fa fa-star"></i> 我的收藏</a></li>
  20. </ul>
  21. <div class="tab-content">
  22. <div class="tab-pane active" id="one">
  23. <br>
  24. <table class="table table-bordered table-striped table-hover">
  25. <thead>
  26. <tr>
  27. <th>#</th>
  28. <th>标题</th>
  29. <th>描述</th>
  30. <th>操作</th>
  31. </tr>
  32. </thead>
  33. <tbody>
  34. <foreach name="lists" item="vo">
  35. <tr>
  36. <td>{$vo.id}</td>
  37. <td>{$vo.title}</td>
  38. <td>{$vo.description}</td>
  39. <td>
  40. <php>
  41. $url = json_decode($vo['url'],true);
  42. </php>
  43. <a href="{:cmf_url($url['action'],$url['param'])}">查看</a> |
  44. <a class="js-ajax-dialog-btn" href="{:url('user/favorite/delete',array('id'=>$vo['id']))}" data-msg="您确定要取消收藏吗?" data-ok="" data-cacel="取消">取消收藏</a>
  45. </td>
  46. </tr>
  47. </foreach>
  48. </tbody>
  49. </table>
  50. <div class="pagination">{$page|default=''}</div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. <include file="public@footer" />
  57. </div>
  58. <!-- /container -->
  59. <include file="public@scripts" />
  60. </body>
  61. </html>