}
            htmlp_select_option("{$weightid}", $select, $t->translate($weighting));
        }
        htmlp_select_end();
        echo "</td>\n";
        if ($count >= 2) {
            echo "</tr>\n";
            $count = 0;
        }
    }
    echo "</table></center>\n";
    echo "</table>";
    $bx->box_body_end();
    $bx->box_end();
    echo "<CENTER>";
    htmlp_form_hidden("action", "set");
    htmlp_form_submit($t->translate("Submit"), "");
    htmlp_form_end();
    echo "</CENTER><br><CENTER>\n";
    htmlp_form_action("watchset.php", "", "POST");
    htmlp_form_hidden("action", "delete");
    htmlp_form_submit($t->translate("Delete"), "");
    htmlp_form_end();
    echo "</CENTER>\n";
}
?>
<!-- end content -->

<?php 
require "./include/footer.inc";
@page_close();
        if ($counter % 2 == 0) {
            echo "</td></tr>\n\n";
        } else {
            echo "</td>\n";
        }
    }
    if ($counter % 2 == 0) {
        echo "</tr>\n\n";
    }
    htmlp_form_hidden("lang_amount", $lang_amount);
    echo "</table></center>\n";
    echo "</td></tr>\n";
    echo "</td></tr>\n";
    echo "</table>\n";
    $bx->box_body_end();
    $bx->box_end();
    echo "<CENTER><TABLE BORDER=0 width=89%><TR><TD width=65%>\n";
    echo "<CENTER>";
    htmlp_form_submit($t->translate("Submit"), "");
    echo "</CENTER>";
    echo "</td></tr>\n";
    echo "</table>\n";
    echo "</TD><TD width=5%>&nbsp;\n";
    echo "</TD><TD width=30%>\n";
}
?>
<!-- end content -->

<?php 
require "./include/footer.inc";
@page_close();
    htmlp_form_hidden("devname", $devname);
    if (empty($auth->auth["uname"])) {
        $sender = "-";
        htmlp_form_hidden("sender", $sender);
        echo $t->translate("Your E-Mail") . ":<BR>";
        htmlp_form_hidden("pmessto", $devname);
        htmlp_input_text("email", 50, 75, "");
        echo "<BR>\n";
    } else {
        $sender = $auth->auth["uname"];
        $email = "-";
        htmlp_form_hidden("sender", $sender);
        htmlp_form_hidden("email", $email);
    }
    echo $t->translate("Subject") . ":<BR>";
    htmlp_input_text("pmesssubject", 50, 75, "");
    htmlp_form_submit($t->translate("send"), "");
    echo "<BR>\n";
    echo "<BR>\n";
    echo $t->translate("Content") . ":<BR>";
    htmlp_textarea("pmessmessage", 60, 30, "nowrap", 2000, "");
    htmlp_form_end();
    $bx->box_body_end();
    $bx->box_end();
}
?>
<!-- end content -->

<?php 
require "./include/footer.inc";
@page_close();
<?php 
$db->query("SELECT * from extra_perms WHERE username='******'");
if ($db->num_rows() == 0) {
    $be->box_full($t->translate("Error"), $t->translate("Unknown Developer"));
} else {
    $db->next_record();
    //echo ".- ".$db->f("username").$db->num_rows()." -.";
    if ($db->f("contact") == "yes") {
        $bx->box_begin();
        $bx->box_title($t->translate("contact developer"));
        $bx->box_body_begin();
        htmlp_form_action("sendform.php", "", "POST");
        htmlp_form_hidden("devname", $devname);
        echo $t->translate("Subject:") . "<BR>";
        htmlp_input_text("subject", 50, 75, "");
        htmlp_form_submit("send", "");
        echo "<BR>\n";
        echo $t->translate("Your EMail Address:") . "<BR>";
        if (empty($auth->auth["uname"])) {
            htmlp_input_text("s_email", 50, 75, "");
        } else {
            $username = $auth->auth["uname"];
            $db2->query("SELECT * from auth_user WHERE username='******'");
            $db2->next_record();
            htmlp_input_text("s_email", 50, 75, $db2->f("email_usr"));
        }
        echo "<BR>\n";
        echo $t->translate("Content:") . "<BR>";
        htmlp_textarea("body", 60, 30, "nowrap", 2000, "");
        htmlp_form_end();
        $bx->box_body_end();