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();
Пример #2
0
if (empty($auth->auth["uname"])) {
    $be->box_full($t->translate("Not logged in"), $t->translate("Please login first"));
} else {
    $username = $auth->auth["uname"];
    $db->query("SELECT * FROM requests WHERE reqid='{$reqid}' AND username='******'");
    if ($db->num_rows() == 1) {
        $db->next_record();
        $bx->box_begin();
        $bx->box_title($t->translate("edit request"));
        $bx->box_body_begin();
        htmlp_form_action("req_manage.php", "", "POST");
        htmlp_form_hidden("option", "edit");
        htmlp_form_hidden("reqid", $reqid);
        echo $t->translate("Subject") . ":<BR>";
        $reqsubject = $db->f("reqsubject");
        htmlp_input_text("reqsubject", 50, 75, $reqsubject);
        htmlp_form_submit($t->translate("Send"), "");
        echo "<BR>\n";
        echo $t->translate("Related to which Project") . ":<BR>";
        htmlp_select("projectname");
        $devprojectname = $db->f("projectname");
        $db2->query("SELECT * FROM os_projects WHERE username='******'");
        while ($db2->next_record()) {
            if ($devprojectname == $db2->f("projectname")) {
                htmlp_select_option($db2->f("projectname"), 1, $db2->f("projectname"));
            } else {
                htmlp_select_option($db2->f("projectname"), 0, $db2->f("projectname"));
            }
        }
        if ($devprojectname == "none") {
            htmlp_select_option("none", 1, $t->translate("none"));
Пример #3
0
     echo "<CENTER><TABLE BORDER=0 width=89%><TR><TD>\n";
     echo "<CENTER>";
     htmlp_form_submit($t->translate("Submit"), "");
     echo "</CENTER>";
     htmlp_form_hidden("option", $option);
     htmlp_form_end();
     echo "</td></tr>\n";
     echo "</table>\n";
     break;
 case "projects":
     $bx->box_begin();
     $bx->box_title($t->translate("Search for Projects"));
     $bx->box_body_begin();
     htmlp_form_action("devresults.php", NULL, "POST");
     echo $t->translate("Enter Name of <B>one</B> Project") . "\n";
     htmlp_input_text("projname", "30", "30", "");
     htmlp_form_hidden("option", $option);
     htmlp_form_submit($t->translate("Submit"), "");
     $bx->box_body_end();
     $bx->box_end();
     htmlp_form_end();
     break;
 case "lang":
     $bx->box_begin();
     $bx->box_title($t->translate("Search for Languages spoken"));
     $bx->box_body_begin();
     htmlp_form_action("devresults.php", NULL, "POST");
     echo $t->translate("Please select desired Language") . "\n";
     htmlp_select("dev_lang");
     echo "\n";
     select_lang(999);
?>

<!-- content -->
<?php 
$counter = 0;
if (empty($auth->auth["uname"])) {
    $be->box_full($t->translate("Not logged in"), $t->translate("Please login first"));
} else {
    $username = $auth->auth["uname"];
    $bx->box_begin();
    $bx->box_title($t->translate("Create a new Request"));
    $bx->box_body_begin();
    htmlp_form_action("req_manage.php", "", "POST");
    htmlp_form_hidden("option", "send");
    echo $t->translate("Subject") . ":<BR>";
    htmlp_input_text("reqsubject", 50, 75, "");
    htmlp_form_submit($t->translate("send"), "");
    echo "<BR>\n";
    echo $t->translate("Related to which Project") . ":<BR>";
    htmlp_select("projectname");
    $db2->query("SELECT * FROM os_projects WHERE username='******'");
    while ($db2->next_record()) {
        htmlp_select_option($db2->f("projectname"), 0, $db2->f("projectname"));
    }
    htmlp_select_option("none", 1, $t->translate("none"));
    htmlp_select_end();
    echo "<BR>\n";
    echo $t->translate("Which type") . ":<BR>";
    htmlp_select("category");
    htmlp_select_option("member", 1, $t->translate("new project member"));
    htmlp_select_option("task", 0, $t->translate("specific task"));
Пример #5
0
        $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();
        $bx->box_end();
    } else {
        $be->box_full($t->translate("Error"), $t->translate("Developer does not allow to contact him"));
    }
}
?>
<!-- end content -->

<?php