discourse-legacysite-perl/site/triclubs/include_add_confirm.php
2024-06-17 22:42:14 +10:00

207 lines
9.8 KiB
PHP

<p>Please confirm your club information. If everything is correct, click the submit button. Otherwise, you may click the edit button to change your club information before submitting.</p>
<div class="dtable form">
<div class="drow">
<div class="dcell name">Club Name</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes($_POST[name]); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Street Address</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($_POST[address])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Street Address Two</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($_POST[address_two])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">City</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($_POST[city])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">State</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($_POST[state])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Zip/Postal Code</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($_POST[zip])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">E-mail</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($_POST[email])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Website</div>
<div class="dcell divider"></div>
<div class="dcell value">
<a href="<? echo $_POST[website]; ?>" target="_blank"><? echo $_POST[website]; ?></a>
</div>
</div>
<div class="drow">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
for ($i = 0; $i < 25; $i++) echo("*");
echo (" MEMBERSHIP ");
for ($i = 0; $i < 25; $i++) echo("*");
?>
</div>
</div>
<div class="drow">
<div class="dcell name">President</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($_POST[president])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Board Member(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? if ($_POST[board] == 0) { echo "None"; } else { echo "Yes, Their Names - "; echo stripslashes($_POST[board_names]); } ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Membership</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($_POST[membership])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Dues</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($_POST[dues])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
for ($i = 0; $i < 62; $i++) echo("*");
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Club Info</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo strip_tags(stripslashes($_POST[info])) ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Sponsors</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo strip_tags(stripslashes($_POST[sponsors])) ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Discounts</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo strip_tags(stripslashes($_POST[discounts])) ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Directions</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo strip_tags(stripslashes($_POST[directions])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Workouts</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo strip_tags(stripslashes($_POST[workouts])) ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Meetings</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo strip_tags(stripslashes($_POST[meetings])) ?>
</div>
</div>
<div class="drow actions">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<form action="add.php" method="post">
<input type="hidden" name="name" value="<? echo stripslashes(htmlspecialchars($_POST[name])); ?>">
<input type="hidden" name="address" value="<? echo stripslashes(htmlspecialchars($_POST[address])); ?>">
<input type="hidden" name="address_two" value="<? echo stripslashes(htmlspecialchars($_POST[address_two])); ?>">
<input type="hidden" name="city" value="<? echo stripslashes(htmlspecialchars($_POST[city])); ?>">
<input type="hidden" name="state" value="<? echo $_POST[state]; ?>">
<input type="hidden" name="zip" value="<? echo $_POST[zip]; ?>">
<input type="hidden" name="email" value="<? echo $_POST[email]; ?>">
<input type="hidden" name="website" value="<? echo $_POST[website]; ?>">
<input type="hidden" name="president" value="<? echo $_POST[president]; ?>">
<input type="hidden" name="board" value="<? echo $_POST[board]; ?>">
<input type="hidden" name="board_names" value="<? echo stripslashes(htmlspecialchars($_POST[board_names])); ?>">
<input type="hidden" name="membership" value="<? echo $_POST[membership]; ?>">
<input type="hidden" name="dues" value="<? echo $_POST[dues]; ?>">
<input type="hidden" name="info" value="<? echo stripslashes(htmlspecialchars($_POST[info])); ?>">
<input type="hidden" name="sponsors" value="<? echo stripslashes(htmlspecialchars($_POST[sponsors])); ?>">
<input type="hidden" name="discounts" value="<? echo stripslashes(htmlspecialchars($_POST[discounts])); ?>">
<input type="hidden" name="directions" value="<? echo stripslashes(htmlspecialchars($_POST[directions])); ?>">
<input type="hidden" name="workouts" value="<? echo stripslashes(htmlspecialchars($_POST[workouts])); ?>">
<input type="hidden" name="meetings" value="<? echo stripslashes(htmlspecialchars($_POST[meetings])); ?>">
<input type="hidden" name="addclub" value="1">
<input type="hidden" name="confirm1" value="1">
<input type="hidden" name="submitted_by" value="<? echo $useruid; ?>" >
<input type="submit" name="submit" value="Submit Info" class="btn float-left" style="margin-right: 5px;"/>
</form>
<form action="add.php" method="post">
<input type="hidden" name="name" value="<? echo stripslashes(htmlspecialchars($_POST[name])); ?>">
<input type="hidden" name="address" value="<? echo stripslashes(htmlspecialchars($_POST[address])); ?>">
<input type="hidden" name="address_two" value="<? echo stripslashes(htmlspecialchars($_POST[address_two])); ?>">
<input type="hidden" name="city" value="<? echo stripslashes(htmlspecialchars($_POST[city])); ?>">
<input type="hidden" name="state" value="<? echo $_POST[state]; ?>">
<input type="hidden" name="zip" value="<? echo $_POST[zip]; ?>">
<input type="hidden" name="email" value="<? echo $_POST[email]; ?>">
<input type="hidden" name="website" value="<? echo $_POST[website]; ?>">
<input type="hidden" name="president" value="<? echo $_POST[president]; ?>">
<input type="hidden" name="board" value="<? echo $_POST[board]; ?>">
<input type="hidden" name="board_names" value="<? echo stripslashes(htmlspecialchars($_POST[board_names])); ?>">
<input type="hidden" name="membership" value="<? echo $_POST[membership]; ?>">
<input type="hidden" name="dues" value="<? echo $_POST[dues]; ?>">
<input type="hidden" name="info" value="<? echo stripslashes(htmlspecialchars($_POST[info])); ?>">
<input type="hidden" name="sponsors" value="<? echo stripslashes(htmlspecialchars($_POST[sponsors])); ?>">
<input type="hidden" name="discounts" value="<? echo stripslashes(htmlspecialchars($_POST[discounts])); ?>">
<input type="hidden" name="directions" value="<? echo stripslashes(htmlspecialchars($_POST[directions])); ?>">
<input type="hidden" name="workouts" value="<? echo stripslashes(htmlspecialchars($_POST[workouts])); ?>">
<input type="hidden" name="meetings" value="<? echo stripslashes(htmlspecialchars($_POST[meetings])); ?>">
<input type="submit" name="submit" value="Edit Information" class="btn float-left" />
</form>
</div>
</div>
</div>