htmlp_select_option("other", 1, $t->translate("other")); } else { htmlp_select_option("other", 0, $t->translate("other")); } htmlp_select_end(); htmlp_select_end(); echo "<BR>\n"; echo $t->translate("Request-Language") . ":<BR>"; htmlp_select("reqlang"); echo "\n"; $reqlang = $db->f("language"); select_lang($reqlang); htmlp_select_end(); echo "<BR>\n"; echo "<BR>\n"; $reqmessage = $db->f("reqmessage"); echo $t->translate("Content") . ":<BR>"; htmlp_textarea("reqmessage", 60, 30, "nowrap", 2000, $reqmessage); htmlp_form_end(); $bx->box_body_end(); $bx->box_end(); } else { $be->box_full($t->translate("Error"), $t->translate("No such Request")); } } ?> <!-- 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();
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 require "./include/footer.inc"; @page_close();