コード例 #1
0
ファイル: form_payment.php プロジェクト: alexzita/alex_blog
					<span><?php 
        echo $memberInfo->PhoneNumber;
        ?>
</span>
				</div>
				<div>
					<span style="font-weight: bold">Email:</span>
					<span><?php 
        echo $memberInfo->Email;
        ?>
</span>
				</div>
			</div>
			<div>
				<?php 
        echo get_registration_statement($selectionXmlObj->Form);
        ?>
			</div>
		</div>
<?php 
        do_html_footer(&$err_message);
        exit;
    } else {
        $err_message .= "Form with given FormID does not exist.";
    }
}
do_html_header("Enter FormID Number", &$err_message);
?>
<div style="padding: 20; text-align: center">
<form action="form_payment.php" method="get">
	<input type="text" name="formid"></input>
コード例 #2
0
ファイル: payment_form.php プロジェクト: alexzita/alex_blog
$php_root_path = "..";
require_once "{$php_root_path}/includes/include_all_fns.inc";
session_start();
$err_message = " Unable to process your request due to the following problems: <br>\n";
$header = "Registration Form";
$accepted_privilegeID_arr = array(1 => "");
$accepted_phaseID_arr = array(1 => "", 2 => "", 3 => "", 4 => "");
authentication($header, $accepted_privilegeID_arr, $accepted_phaseID_arr, $homepage, $php_root_path, $GLOBALS["DB_PREFIX"], &$err_message);
// Retrieve the setting information
$settingInfo = get_Conference_Settings();
if (array_key_exists('submit', $_POST)) {
    do_html_header("Registration Statement", &$err_message);
    $exclusionList = array('submit' => 'Submit');
    $selectionList = array_diff_assoc($_POST, $exclusionList);
    $selectionXml = get_selection_xml($selectionList);
    $htmlStatement = get_registration_statement($selectionXml);
    ?>
	<form action="lodge_payment_form.php" method="post">
	<div style="width: 98% ; margin: 1%">
		<?php 
    // Output the resulting HTML
    echo $htmlStatement;
    ?>
	</div>
	<input type="hidden" name="xml" value="<?php 
    echo htmlentities($selectionXml);
    ?>
" />
	<input type="submit" name="submit" value="Confirm Form" />
	</form>
	
コード例 #3
0
ファイル: payment_forms.php プロジェクト: alexzita/alex_blog
$err_message = " Unable to process your request due to the following problems: <br>\n";
$header = "Registration Forms";
$accepted_privilegeID_arr = array(1 => "");
$accepted_phaseID_arr = array(1 => "", 2 => "", 3 => "", 4 => "");
authentication($header, $accepted_privilegeID_arr, $accepted_phaseID_arr, $homepage, $php_root_path, $GLOBALS["DB_PREFIX"], &$err_message);
$memberInfo = getMemberInfo($_SESSION["valid_user"]);
if ($memberInfo == null) {
    exit;
}
if (has_paid_registration($memberInfo->RegisterID)) {
    $paid = get_paid_registration($memberInfo->RegisterID);
    do_html_header("Paid Registration - #" . $paid->FormID, &$err_message);
    ?>
<div style="padding: 20">
	<?php 
    echo get_registration_statement($paid->Form);
    ?>
</div>
<?php 
} else {
    do_html_header($header, &$err_message);
    $forms = retrieve_selection_xml_for_registerid($memberInfo->RegisterID);
    if (count($forms) > 0) {
        ?>
		<p>
		Previously filled forms:
		<ul>
<?php 
        foreach ($forms as $form) {
            ?>
			<li>