/includes/templates/YOURS/templates/tpl_band_signup_default.php
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |
// +----------------------------------------------------------------------+
// | Copyright © 2003 The zen-cart developers## ## ## ## ## ## ## ## ## ## ## ## ## |
// |## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |
// | http://www.zen-cart.com/index.php## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |
// |## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |
// | Portions Copyright © 2003 osCommerce## ## ## ## ## ## ## ## ## ## ## ## ## ## ## |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,## ## ## |
// | that is bundled with this package in the file LICENSE, and is## ## ## ## |
// | available through the world-wide-web at the following url:## ## ## ## ## |
// | http://www.zen-cart.com/license/2_0.txt.## ## ## ## ## ## ## ## ## ## ## ## ## ## |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to## ## ## |
// | license AT zen-cart DOT com so we can mail you a copy immediately.## ## ## ## ## |
// +----------------------------------------------------------------------+
// &#036;Id: tpl_band_signup_default.php,v 1.0 2004/07/14 00:00:00 DrByteZen Exp &#036;
//
?>
<STYLE>
BODY
{scrollbar-face-color: #528607; scrollbar-shadow-color: #3B6201;
scrollbar-highlight-color: #639E0C; scrollbar-3dlight-color: #7BB625;
scrollbar-darkshadow-color: #2C4901; scrollbar-track-color: #3F6A01;
scrollbar-arrow-color: #D8FA2E}
</STYLE>
<?php echo zen_draw_form(&#39;band_signup&#39;, zen_href_link(FILENAME_BAND_SIGNUP, &#39;action=send&#39;)); ?>
<table## width="100%" border="0" cellspacing="2" cellpadding="2" >
## <tr>
## ## <td class="breadCrumb" colspan="2"><?php echo &#036;breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></td>
## </tr>
## <tr>
## ## <td class="pageHeading" colspan="2"><h1><?php echo HEADING_TITLE; ?></h1></td>
## </tr>
<?php
## if (&#036;messageStack->size(&#39;band_signup&#39;) > 0) {
?>
## <tr>
## ## <td class="main" colspan="2"><?php echo &#036;messageStack->output(&#39;band_signup&#39;); ?></td>
## </tr>
<?php
## }

## if (isset(&#036;_GET[&#39;action&#39;]) && (&#036;_GET[&#39;action&#39;] == &#39;success&#39;)) {
?>
## <tr>
## ## <td class="plainBox" colspan="2"><?php echo TEXT_SUCCESS; ?></td>
## </tr>
## <tr>
## ## <td class="main" colspan="2"><?php echo zen_back_link() . zen_image_button(&#39;button_back.gif&#39;, IMAGE_BUTTON_BACK) . &#39;</a>&#39;; ?></td>
## </tr>
<?php
## } else {
?>
<tr>
## ## <td colspan="2" valign="top" bgcolor="#336600">Band Information:</td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Band Name:</td>
## ## <td class="main" valign="top"><input type="text" name="band_name"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Band Genre:</td>
## ## <td class="main" valign="top"><input type="text" name="band_genre"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Country of Origin:</td>
## ## <td class="main" valign="top"><input type="text" name="band_country"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">State/Province of Origin:</td>
## ## <td class="main" valign="top"><input type="text" name="band_state"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">City of Origin:</td>
## ## <td class="main" valign="top"><input type="text" name="band_city"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" colspan="2" valign="top" bgcolor="#336600">Band Contacts:</td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Contact 1 First Name:</td>
## ## <td class="main" valign="top"><?php echo zen_draw_input_field(&#39;contact1_firstname&#39;, &#036;firstname); ?></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Contact 1 Last Name:</td>
## ## <td class="main" valign="top"><?php echo zen_draw_input_field(&#39;contact1_lastname&#39;, &#036;lastname); ?></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Contact 1 Phone:</td>
## ## <td class="main" valign="top"><input type="text" name="contact1_phone"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Contact 1 Email:</td>
## ## <td class="main" valign="top"><?php echo zen_draw_input_field(&#39;contact1_email&#39;, (&#036;error ? &#036;_POST[&#39;contact1_email&#39;] : &#036;email), &#39; size="30"&#39;); ?></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Contact 2 First Name:</td>
## ## <td class="main" valign="top"><input type="text" name="contact2_firstname"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Contact 2 Last Name:</td>
## ## <td class="main" valign="top"><input type="text" name="contact2_lastname"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Contact 2 Phone:</td>
## ## <td class="main" valign="top"><input type="text" name="contact2_phone"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Contact 2 Email:</td>
## ## <td class="main" valign="top"><?php echo zen_draw_input_field(&#39;contact2_email&#39;, &#036;_POST[&#39;contact2_email&#39;], &#39; size="30"&#39;); ?></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" colspan="2" valign="top" bgcolor="#336600">Payment Information:</td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Payment Cheques Payable to:</td>
## ## <td class="main" valign="top"><input type="text" name="payable_to"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Mailing Address 1:</td>
## ## <td class="main" valign="top"><input type="text" name="mailing_address1"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Mailing Address 2: (optional)</td>
## ## <td class="main" valign="top"><input type="text" name="mailing_address2"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">City:</td>
## ## <td class="main" valign="top"><input type="text" name="mailing_city"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">State/Province:</td>
## ## <td class="main" valign="top"><input type="text" name="mailing_state"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Country:</td>
## ## <td class="main" valign="top"><input type="text" name="mailing_country"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Postal/Zip code:</td>
## ## <td class="main" valign="top"><input name="mailing_zipcode" type="text" size="10"></td>
</tr>
<tr>
## ## <td class="plainBoxHeading" align="right" valign="top">Comments (optional):</td>
## ## <td class="main" valign="top"><?php echo zen_draw_textarea_field(&#39;comments&#39;, &#39;soft&#39;, 40, 4); ?></td>
</tr>
<tr>
## ## <td class="main" colspan="2" align="right" valign="top">I have read and agree to the user agreement:
## ## ## <input type="checkbox" name="termsandconds" value="1"></td>
</tr>
<tr>
## ## <td class="main"><?php echo zen_back_link() . zen_image_button(&#39;button_back.gif&#39;, IMAGE_BUTTON_BACK) . &#39;</a>&#39;; ?></td>
## ## <td align="right"><?php echo zen_image_submit(&#39;button_send.gif&#39;, SIGN_US_UP); ?></td>
## </tr>
<?php
## }
?>
</table></form>