Exemplo n.º 1
0
                                        <option value="" disabled selected style="display:none;">Job role</option>
                                        <option value="1">Human Resources</option>
                                        <option value="2">Internal Communications</option>
                                        <option value="3">Marketing</option>
                                        <option value="4">Media Services</option>
                                        <option value="5">Other</option>
                                    </select>
                                 </div>
                            </div>
                            <div class="form_fifty">
                                <div class="form_container">
                                    <label for="interest"></label>
                                    <select name="interest" id="options" class="form_inner" placeholder="message">
                                        <option value="" disabled selected style="display:none;">How can we help you?</option>
                                        <option value="1">General Enquiry</option>
                                        <option value="2">Request a Demo</option>
                                        <option value="3">Speak with a Representative</option>
                                        <option value="4">Mozi apps Enquiry</option>
                                    </select>
                                 </div>
                            </div>

							<input type = "submit" name="sab_submit" id = "send" value = "Send"/>

						</fieldset>
					</form>';
    }
    echo $output;
}
$form_output = downloadForm();
echo $form_output;
Exemplo n.º 2
0
        return Conf::msg_error(whyNotText($whyNot ?: array("fail" => 1), "review"));
    }
    if ($editable) {
        $text = ReviewForm::textFormHeader(count($rrows) > 1) . $text;
    }
    $filename = (count($rrows) > 1 ? "reviews" : "review") . "-" . $prow->paperId;
    if (count($rrows) == 1 && $rrows[0]->reviewSubmitted) {
        $filename .= unparseReviewOrdinal($rrows[0]->reviewOrdinal);
    }
    downloadText($text, $filename, !$editable);
}
if (isset($_REQUEST["downloadForm"])) {
    downloadForm(true);
} else {
    if (isset($_REQUEST["text"])) {
        downloadForm(false);
    }
}
// refuse review action
function refuseReview()
{
    global $Conf, $Opt, $Me, $prow, $paperTable;
    Dbl::qe_raw("lock tables PaperReview write, PaperReviewRefused write");
    $rrow = $paperTable->editrrow;
    $hadToken = defval($rrow, "reviewToken", 0) != 0;
    $result = Dbl::qe("delete from PaperReview where reviewId={$rrow->reviewId}");
    if (!$result) {
        return;
    }
    $reason = defval($_REQUEST, "reason", "");
    if ($reason == "Optional explanation") {