midoking

ucp.tpl

Mar 3rd, 2017
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  1. <section id="ucp_top">
  2. <a href="{$url}ucp/avatar" id="ucp_avatar">
  3. <div>{lang("change_avatar", "ucp")}</div>
  4. <img src="{$avatar}"/>
  5. </a>
  6.  
  7. <section id="ucp_info">
  8. <aside>
  9. <table width="100%">
  10. <tr>
  11. <td width="10%"><img src="{$url}application/images/icons/user.png" /></td>
  12. <td width="40%">{lang("nickname", "ucp")}</td>
  13. <td width="50%">
  14. <a href="{$url}ucp/settings" data-tip="Change nickname" style="float:right;margin-right:10px;"><img src="{$url}application/images/icons/pencil.png" align="absbottom" /></a>
  15. <a href="profile/{$id}" data-tip="View profile">{$username}</a>
  16. </td>
  17. </tr>
  18. <tr>
  19. <td width="10%"><img src="{$url}application/images/icons/world.png" /></td>
  20. <td width="40%">{lang("location", "ucp")}</td>
  21. <td width="50%">
  22. <a href="{$url}ucp/settings" data-tip="Change location" style="float:right;margin-right:10px;"><img src="{$url}application/images/icons/pencil.png" align="absbottom" /></a>
  23. {$location}
  24. </td>
  25. </tr>
  26. <tr>
  27. <td width="10%"><img src="{$url}application/images/icons/plugin.png" /></td>
  28. <td width="40%">Expansion</td>
  29. <td width="50%">
  30. <a href="{$url}ucp/expansion" data-tip="Change expansion" style="float:right;margin-right:10px;"><img src="{$url}application/images/icons/cog.png" align="absbottom" /></a>
  31. {$expansion}
  32. </td>
  33. </tr>
  34. <tr>
  35. <td width="10%"><img src="{$url}application/images/icons/award_star_bronze_1.png" /></td>
  36. <td width="40%">{lang("account_rank", "ucp")}</td>
  37. <td width="50%">{foreach from=$groups item=group} <span {if $group.color}style="color:{$group.color}"{/if}>{$group.name}</span> {/foreach}</td>
  38. </tr>
  39. </table>
  40. </aside>
  41.  
  42. <aside>
  43. <table width="100%">
  44. <tr data-tip="Earn voting points by voting for the server">
  45. <td width="10%"><img src="{$url}application/images/icons/lightning.png" /></td>
  46. <td width="40%">{lang("voting_points", "ucp")}</td>
  47. <td width="50%">{$vp}</td>
  48. </tr>
  49. <tr data-tip="Earn donation points by donating money to the server">
  50. <td width="10%"><img src="{$url}application/images/icons/coins.png" /></td>
  51. <td width="40%">{lang("donation_points", "ucp")}</td>
  52. <td width="50%">{$dp}</td>
  53. </tr>
  54. <tr>
  55. <td width="10%"><img src="{$url}application/images/icons/shield.png" /></td>
  56. <td width="40%">{lang("account_status", "ucp")}</td>
  57. <td width="50%">{$status}</td>
  58. </tr>
  59. <tr>
  60. <td width="10%"><img src="{$url}application/images/icons/date.png" /></td>
  61. <td width="40%">{lang("member_since", "ucp")}</td>
  62. <td width="50%">{$register_date}</td>
  63. </tr>
  64. </table>
  65. </aside>
  66. </section>
  67.  
  68. <div class="clear"></div>
  69. </section>
  70.  
  71. <div class="ucp_divider"></div>
  72.  
  73. <section id="ucp_buttons">
  74. {if hasPermission('view', "vote") && $config['vote']}
  75. <a href="{$url}{$config.vote}" style="background-image:url({$url}application/modules/ucp/images/vote_panel.jpg)"></a>
  76. {/if}
  77.  
  78. {if hasPermission('view', "donate") && $config['donate']}
  79. <a href="{$url}{$config.donate}" style="background-image:url({$url}application/modules/ucp/images/donate_panel.jpg)"></a>
  80. {/if}
  81.  
  82. {if hasPermission('view', "store") && $config['store']}
  83. <a href="{$url}{$config.store}" style="background-image:url({$url}application/modules/ucp/images/item_store.jpg)"></a>
  84. {/if}
  85.  
  86. {if hasPermission('canUpdateAccountSettings', 'ucp') && $config['settings']}
  87. <a href="{$url}{$config.settings}" style="background-image:url({$url}application/modules/ucp/images/account_settings.jpg)"></a>
  88. {/if}
  89.  
  90. {if hasPermission('canChangeExpansion', "ucp") && $config['expansion']}
  91. <a href="{$url}{$config.expansion}" style="background-image:url({$url}application/modules/ucp/images/change_expansion.jpg)"></a>
  92. {/if}
  93.  
  94. {if hasPermission('view', "teleport") && $config['teleport']}
  95. <a href="{$url}{$config.teleport}" style="background-image:url({$url}application/modules/ucp/images/teleport_hub.jpg)"></a>
  96. {/if}
  97.  
  98. {if hasPermission('view', "gm") && $config['gm']}
  99. <a href="{$url}{$config.gm}" style="background-image:url({$url}application/modules/ucp/images/gm_panel.jpg)"></a>
  100. {/if}
  101.  
  102. {if hasPermission('view', "admin") && $config['admin']}
  103. <a href="{$url}{$config.admin}" style="background-image:url({$url}application/modules/ucp/images/admin_panel.jpg)"></a>
  104. {/if}
  105.  
  106. <div class="clear"></div>
  107. </section>
  108.  
  109. {$characters}
Add Comment
Please, Sign In to add comment