PageRenderTime 41ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/Quản lý website tin tức PHP/discuznews/template/default/forum/modcp.htm

https://gitlab.com/phamngsinh/baitaplon_sinhvien
HTML | 63 lines | 38 code | 1 blank | 24 comment | 0 complexity | 9cf32f8fdd04b354c34965dff9b5cd35 MD5 | raw file
  1. <!--{template common/header}-->
  2. <div id="pt" class="bm cl">
  3. <div class="z"><a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
  4. <a href="$_G[setting][navs][2][filename]">$_G[setting][navs][2][navname]</a> <em>&rsaquo;</em>
  5. <a href="forum.php?mod=modcp">{lang forum_manager}</a>
  6. </div>
  7. </div>
  8. <div id="ct" class="ct2_a wp cl">
  9. <div class="mn">
  10. <!--{if $script == 'noperm'}-->
  11. <div class="bm bw0">
  12. <h1 class="mt">{lang mod_option_error}</h1>
  13. <p>{lang mod_error_invalid}</p>
  14. <p class="notice">{lang mod_notice}</p>
  15. </div>
  16. <!--{elseif !empty($modtpl)}-->
  17. <!--{eval include(template($modtpl));}-->
  18. <!--{/if}-->
  19. </div>
  20. <div class="appl">
  21. <div class="tbn">
  22. <h2 class="mt bbda">{lang forum_manager}</h2>
  23. <ul>
  24. <li{if $_GET[action] == 'home'} class="a cl"{else} class="cl"{/if}><span class="y mtn">$notenum</span><a href="{$cpscript}?mod=modcp&action=home$forcefid">{lang mod_notice_title}</a></li>
  25. <!--{if $modforums['fids']}-->
  26. <!--{if $_G['group']['allowmodpost'] || $_G['group']['allowmoduser']}-->
  27. <li{if $_GET[action] == 'moderate'} class="a cl"{else} class="cl"{/if}><span class="y mtn">$modnum</span><a href="{$cpscript}?mod=modcp&action=moderate&op={if $_G['group']['allowmodpost']}threads{$forcefid}{else}members{/if}">{lang forum_moderate}</a></li>
  28. <!--{/if}-->
  29. <!--{/if}-->
  30. <!--{if !empty($_G['setting']['plugins']['modcp_base'])}-->
  31. <!--{loop $_G['setting']['plugins']['modcp_base'] $id $module}-->
  32. <li{if $_GET[id] == $id} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=plugin&op=base&id=$id{$forcefid}">$module[name]</a></li>
  33. <!--{/loop}-->
  34. <!--{/if}-->
  35. <!--{if $_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || $_G['group']['allowbanvisituser'] || $_G['group']['allowbanip']}-->
  36. <!--{if $_G['group']['allowbanuser'] || $_G['group']['allowbanvisituser']}--><li{if $_GET[action] == 'member' && $op == 'ban'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=member&op=ban$forcefid">{lang mod_option_member_ban}</a></li><!--{/if}-->
  37. <!--{if $_G['group']['allowbanip']}--><li{if $_GET[action] == 'member' && $op == 'ipban'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=member&op=ipban$forcefid">{lang mod_option_member_ipban}</a></li><!--{/if}-->
  38. <!--{if $modforums['fids']}--><li{if $_GET[action] == 'forumaccess'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=forumaccess{$forcefid}">{lang mod_option_member_access}</a></li><!--{/if}-->
  39. <!--{if $_G['group']['allowedituser']}--><li{if $_GET[action] == 'member' && $op == 'edit'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=member&op=edit$forcefid">{lang mod_option_member_edit}</a></li><!--{/if}-->
  40. <!--{/if}-->
  41. <!--{if $modforums['fids']}-->
  42. <li{if $_GET[action] == 'thread' || $_GET[action] == 'recyclebin'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=thread&op=thread{$forcefid}">{lang mod_option_subject}</a></li>
  43. <!--{if $_G['group']['allowrecommendthread']}--><li{if $_GET[action] == 'forum' && $op == 'recommend'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=forum&op=recommend&show=all{$forcefid}">{lang mod_option_forum_recommend}</a></li><!--{/if}-->
  44. <!--{if $_G['group']['alloweditforum']}--><li{if $_GET[action] == 'forum' && $op == 'editforum'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=forum&op=editforum{$forcefid}">{lang mod_option_forum_edit}</a></li><!--{/if}-->
  45. <!--{/if}-->
  46. <!--{if $_G['group']['allowpostannounce'] || $_G['group']['allowviewlog']}-->
  47. <!--{if $_G['group']['allowpostannounce']}--><li{if $_GET[action] == 'announcement'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=announcement$forcefid">{lang announcements}</a></li><!--{/if}-->
  48. <!--{if $_G['group']['allowviewlog']}--><li{if $_GET[action] == 'log'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=log$forcefid">{lang modcp_logs}</a></li><!--{/if}-->
  49. <!--{/if}-->
  50. <!--{if !empty($_G['setting']['plugins']['modcp_tools'])}-->
  51. <!--{loop $_G['setting']['plugins']['modcp_tools'] $id $module}-->
  52. <li{if $_GET[id] == $id} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=plugin&op=tools&id=$id">$module[name]</a></li>
  53. <!--{/loop}-->
  54. <!--{/if}-->
  55. <li{if $_GET[action] == 'report'} class="a"{/if}><a href="{$cpscript}?mod=modcp&action=report$forcefid">{lang modcp_report}</a></li>
  56. <li><a href="{if $forcefid}forum.php?mod=forumdisplay{$forcefid}{else}forum.php{/if}">{lang mod_option_return}</a></li>
  57. <li><a href="{$cpscript}?mod=modcp&action=logout">{lang logout}</a></li>
  58. </ul>
  59. </div>
  60. </div>
  61. </div>
  62. <!--{subtemplate common/footer}-->