<?php
// Version: 1.1 RC2; Descriptionkarma

function template_main()
{
        global $txt, $context;

?>        <script language="JavaScript">
<!--
function formfre(f) {
if (f.value == "") {
alert ("Fill this form, please");
return false;
}
else {
return true;
}
}
//-->
</script>

<?php
        echo '
                <div style="padding: 1px;">', theme_linktree(), '</div>
                <form name="myForm" method="POST" onSubmit="formfre(myForm.Description)" enctype="multipart/form-data">
                <table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
                        <tr class="titlebg">
                                <td align="center" colspan="2"><b>',$txt['whykarmamod'],'';
                                if ($_REQUEST['sa'] == 'applaud') echo $txt['karmadescappl']; else echo $txt['karmadescsmi']; echo'</b></td>
                        </tr>
                        <tr class="windowbg">
                                        <td align="center" ><b>', $txt['karmamoder'], '</b><br>',$txt['karmarequare'],'</td>
                                        <td align="center"><input type="text" name="Description" size="84" maxlength="62"/></td>
                        </tr>

                        <tr class="windowbg">
                          <td align="center"><input type="button" value="',$txt['karma_back'],'" onClick="javascript:history.go(-1)"></td>
                          <td align="center"><input type="submit" name="submit" value="',$txt['karma_continue'],'" onClick="this.disabled=(disabled)" /></td>

                        </tr>

                 </table>
                 </form>';



}
?>
