<?php
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->achivements}</title>
{$headerinclude}
<script languaje="javascript">
function select_all_achivements(){
for (i=0;i<document.achivements_form.elements.length;i++)
if(document.achivements_form.elements[i].type == "checkbox")
document.achivements_form.elements[i].checked=1
}
function unselect_all_achivements(){
for (i=0;i<document.achivements_form.elements.length;i++)
if(document.achivements_form.elements[i].type == "checkbox")
document.achivements_form.elements[i].checked=0
}
</script>
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td>
<form method="post" name="achivements_form" enctype="multipart/form-data" action="usercp.php">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<div class="cp_sidebar">
{$usercpnav}
</div>
{$errors}
<div class="cp_content" style="position: relative;">
<div class="thead">
<strong>{$lang->achivements}</strong>
</div>
<div class="tcat"><strong>{$lang->achivementscurrentprofile}</strong></div>
<div class="trow1">{$currentachivements}</div>
<div class="tcat"><strong>{$lang->achivementscurrentpostbit}</strong></div>
<div class="trow1">{$currentachivementspostbit}</div>
<div class="tcat"><strong>{$lang->myachivements}</strong></div>
<div class="trow2">
<a href="javascript:select_all_achivements()"><small>{$lang->markall}</small></a> |
<a href="javascript:unselect_all_achivements()"><small>{$lang->marknone}</small></a><br />
{$achivements}
</div>
<div align="center">
<input type="hidden" name="action" value="do_achivements" />
<input type="submit" class="button" name="profile" value="{$lang->showinprofile}" />
<input type="submit" class="button" name="postbit" value="{$lang->showinpostbit}" />
</div>
</div>
</form>
</td>
</tr>
</table>
{$footer}
</body>
</html>