Page 2 of 26 FirstFirst 123412 ... LastLast
Results 11 to 20 of 259
  1. #11
    Join Date
    Jun 2004
    Posts
    54
    Plugin Contributions
    0

    Default

    Okay, I've edited the tpl_contact_us_default.php and saved as tpl_contact_us2_default.php and tpl_contact_us3_default.php to accomodate the two eatra forms.

    I then duplicated the other folders and files that are also required by the contact us with the same naming structure, 2 and 3.

    Now, do i just open up the sidebox with the present contact us and duplicate the linking code?

  2. #12
    Join Date
    Jun 2004
    Posts
    54
    Plugin Contributions
    0

    Default

    I've got everything I can think of uploaded and added, added the two extra contact us filenames in the filename file and those show up correctly in the sidebox but they just refresh the mainpage when clicked, what am I missing??


  3. #13
    Join Date
    Jan 2004
    Posts
    60,160
    Blog Entries
    4
    Plugin Contributions
    49

    Default

    hang on ... trying something here... ;)

  4. #14
    Join Date
    Jun 2004
    Posts
    54
    Plugin Contributions
    0

    Default

    I even remembered to add and set contact2 and 3 in the english.php, but didn't make a difference.

  5. #15
    Join Date
    Jan 2004
    Posts
    60,160
    Blog Entries
    4
    Plugin Contributions
    49

    Default

    /includes/extra_datafiles/band_signup.php
    <?php
    // define the filenames used in the project
    ## define(&#39;FILENAME_BAND_SIGNUP&#39;, &#39;band_signup&#39;);
    ?>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



  6. #16
    Join Date
    Jan 2004
    Posts
    60,160
    Blog Entries
    4
    Plugin Contributions
    49

    Default

    /includes/languages/english/band_signup.php
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce |
    // +----------------------------------------------------------------------+
    // | Copyright &copy; 2003 The zen-cart developers |
    // | |
    // | http://www.zen-cart.com/index.php |
    // | |
    // | Portions Copyright &copy; 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: band_signup.php,v 1.0 2004/07/14 00:00:00 DrByteZen Exp &#036;
    //

    define(&#39;HEADING_TITLE&#39;, &#39;Band Sign-Up&#39;);
    define(&#39;NAVBAR_TITLE&#39;, &#39;Band Sign-Up&#39;);
    define(&#39;TEXT_SUCCESS&#39;, &#39;Your message has been successfully sent.&#39;);
    define(&#39;EMAIL_SUBJECT&#39;, &#39;Sign-up from Bionic Banana&#33;&#39;);

    define(&#39;ENTRY_NAME&#39;, &#39;Full Name:&#39;);
    define(&#39;ENTRY_EMAIL&#39;, &#39;E-Mail Address:&#39;);
    define(&#39;ENTRY_ENQUIRY&#39;, &#39;Message:&#39;);

    define(&#39;SEND_TO_ADDRESS&#39;,&#39;signups@bionicbanana.com&#39;);
    define(&#39;SIGN_US_UP&#39;,&#39;SIGN US UP&#33;&#39;);
    ?>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



  7. #17
    Join Date
    Jan 2004
    Posts
    60,160
    Blog Entries
    4
    Plugin Contributions
    49

    Default

    /includes/modules/pages/band_signup/header_php.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: header_php.php,v 1.0 2004/07/14 00:00:00 DrByteZen Exp &#036;
    //
    ## require(DIR_WS_MODULES . &#39;require_languages.php&#39;);

    ## &#036;error = false;
    ## if (isset(&#036;_GET[&#39;action&#39;]) && (&#036;_GET[&#39;action&#39;] == &#39;send&#39;)) {

    ## ## &#036;band_name = zen_db_prepare_input(&#036;_POST[&#39;band_name&#39;]);
    ## ## &#036;band_genre = zen_db_prepare_input(&#036;_POST[&#39;band_genre&#39;]);
    ## ## &#036;band_country = zen_db_prepare_input(&#036;_POST[&#39;band_country&#39;]);
    ## ## &#036;band_state = zen_db_prepare_input(&#036;_POST[&#39;band_state&#39;]);
    ## ## &#036;band_city = zen_db_prepare_input(&#036;_POST[&#39;band_city&#39;]);
    ## ## &#036;contact1_firstname = zen_db_prepare_input(&#036;_POST[&#39;contact1_firstname&#39;]);
    ## ## &#036;contact1_lastname = zen_db_prepare_input(&#036;_POST[&#39;contact1_lastname&#39;]);
    ## ## &#036;contact1_phone = zen_db_prepare_input(&#036;_POST[&#39;contact1_phone&#39;]);
    ## ## &#036;contact1_email = zen_db_prepare_input(&#036;_POST[&#39;contact1_email&#39;]);
    ## ## &#036;contact2_firstname = zen_db_prepare_input(&#036;_POST[&#39;contact2_firstname&#39;]);
    ## ## &#036;contact2_lastname = zen_db_prepare_input(&#036;_POST[&#39;contact2_lastname&#39;]);
    ## ## &#036;contact2_phone = zen_db_prepare_input(&#036;_POST[&#39;contact2_phone&#39;]);
    ## ## &#036;contact2_email = zen_db_prepare_input(&#036;_POST[&#39;contact2_email&#39;]);
    ## ## &#036;payable_to = zen_db_prepare_input(&#036;_POST[&#39;payable_to&#39;]);
    ## ## &#036;mailing_address1 = zen_db_prepare_input(&#036;_POST[&#39;mailing_address1&#39;]);
    ## ## &#036;mailing_address2 = zen_db_prepare_input(&#036;_POST[&#39;mailing_address2&#39;]);
    ## ## &#036;mailing_city = zen_db_prepare_input(&#036;_POST[&#39;mailing_city&#39;]);
    ## ## &#036;mailing_state = zen_db_prepare_input(&#036;_POST[&#39;mailing_state&#39;]);
    ## ## &#036;mailing_zipcode = zen_db_prepare_input(&#036;_POST[&#39;mailing_zipcode&#39;]);
    ## ## &#036;commments = zen_db_prepare_input(&#036;_POST[&#39;comments&#39;]);

    ## ## if (&#33;zen_validate_email(&#036;contact1_email))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, ENTRY_EMAIL_ADDRESS_CHECK_ERROR);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;band_name))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the band_name&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;band_genre))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the band_genre&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;band_country))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the band_country&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;band_state))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the band_state&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;band_city))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the band_city&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;contact1_firstname))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the contact1_firstname&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;contact1_lastname))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the contact1_lastname&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;contact1_phone))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the contact1_phone&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;contact2_firstname))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the contact2_firstname&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;contact2_lastname))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the contact2_lastname&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;contact2_phone))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the contact2_phone&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;contact2_email))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the contact2_email&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;payable_to))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the payable_to&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;mailing_address1))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the mailing_address1&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;mailing_city))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the mailing_city&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;mailing_state))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the mailing_state&#39;);
    ## ## ## }
    ## ## if (&#33;zen_not_null(&#036;mailing_zipcode))## {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add(&#39;band_signup&#39;, &#39;Please fill in the mailing_zipcode&#39;);
    ## ## ## }
    ## ## if (&#33;isset(&#036;_POST[&#39;termsandconds&#39;]) || (&#036;_POST[&#39;termsandconds&#39;] &#33;= &#39;1&#39;)) {
    ## ## ## &#036;error = true;
    ## ## ## &#036;messageStack->add_session(&#39;band_signup&#39;, &#39;You must accept our terms and conditions before signups can be processed.&#39;, &#39;error&#39;);
    ## ## }

    ## if (&#036;error == false) {

    // grab some customer info if logged in
    ## ## ## if(&#036;_SESSION[&#39;customer_id&#39;]) {
    ## ## ## ## &#036;check_customer = &#036;db->Execute("select customers_id, customers_firstname, customers_lastname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_id = &#39;" . &#036;customer_id . "&#39;");
    ## ## ## ## &#036;customer_email= &#036;check_customer->fields[&#39;customers_email_address&#39;];
    ## ## ## ## &#036;customer_name= &#036;check_customer->fields[&#39;customers_firstname&#39;] . &#39; &#39; . &#036;check_customer->fields[&#39;customers_lastname&#39;];
    ## ## ## } else {
    ## ## ## ## &#036;customer_email=&#39;Not logged in&#39;;
    ## ## ## ## &#036;customer_name=&#39;Not logged in&#39;;
    ## ## ## }

    //assemble the email contents:
    ## &#036;email_message_contents =
    ## ## &#39;band_name:&#39; . "&#092;t" . &#036;band_name . "&#092;n" .
    ## ## &#39;band_genre:&#39; . "&#092;t" . &#036;band_genre . "&#092;n" .
    ## ## &#39;band_country:&#39; . "&#092;t" . &#036;band_country . "&#092;n" .
    ## ## &#39;band_state:&#39; . "&#092;t" . &#036;band_state . "&#092;n" .
    ## ## &#39;band_city:&#39; . "&#092;t" . &#036;band_city . "&#092;n" .
    ## ## &#39;contact1_firstname:&#39; . "&#092;t" . &#036;contact1_firstname . "&#092;n" .
    ## ## &#39;contact1_lastname:&#39; . "&#092;t" . &#036;contact1_lastname . "&#092;n" .
    ## ## &#39;contact1_phone:&#39; . "&#092;t" . &#036;contact1_phone . "&#092;n" .
    ## ## &#39;contact1_email:&#39; . "&#092;t" . &#036;contact1_email . "&#092;n" .
    ## ## &#39;contact2_firstname:&#39; . "&#092;t" . &#036;contact2_firstname . "&#092;n" .
    ## ## &#39;contact2_lastname:&#39; . "&#092;t" . &#036;contact2_lastname . "&#092;n" .
    ## ## &#39;contact2_phone:&#39; . "&#092;t" . &#036;contact2_phone . "&#092;n" .
    ## ## &#39;contact2_email:&#39; . "&#092;t" . &#036;contact2_email . "&#092;n" .
    ## ## &#39;payable_to:&#39; . "&#092;t" . &#036;payable_to . "&#092;n" .
    ## ## &#39;mailing_address1:&#39; . "&#092;t" . &#036;mailing_address1 . "&#092;n" .
    ## ## &#39;mailing_address2:&#39; . "&#092;t" . &#036;mailing_address2 . "&#092;n" .
    ## ## &#39;mailing_city:&#39; . "&#092;t" . &#036;mailing_city . "&#092;n" .
    ## ## &#39;mailing_state:&#39; . "&#092;t" . &#036;mailing_state . "&#092;n" .
    ## ## &#39;mailing_zipcode:&#39; . "&#092;t" . &#036;mailing_zipcode . "&#092;n" .
    ## ## &#39;commments:&#39; . "&#092;t" . &#036;commments . "&#092;n" ;



    //send the email
    ## ## zen_mail(STORE_NAME, SEND_TO_ADDRESS, EMAIL_SUBJECT,
    ## ## ## OFFICE_FROM . "&#092;t" . &#036;name . "&#092;n" .
    ## ## ## OFFICE_EMAIL . "&#092;t" . &#036;email_address . "&#092;n&#092;n" .
    ## ## ## &#39;------------------------------------------------------&#39; . "&#092;n&#092;n" .
    ## ## ## &#036;email_message_contents .## "&#092;n&#092;n" .
    ## ## ## &#39;------------------------------------------------------&#39; . "&#092;n&#092;n" .
    ## ## ## OFFICE_USE . "&#092;t" . "&#092;n" .
    ## ## ## OFFICE_LOGGIN_NAME . "&#092;t" . &#036;customer_name . "&#092;n" .
    ## ## ## OFFICE_LOGGIN_EMAIL . "&#092;t" . &#036;customer_email . "&#092;n" .
    ## ## ## OFFICE_IP_ADDRESS . "&#092;t" . &#036;_SERVER[&#39;REMOTE_ADDR&#39;] . "&#092;n" .
    ## ## ## OFFICE_HOST_ADDRESS . "&#092;t" . gethostbyaddr(&#036;_SERVER[&#39;REMOTE_ADDR&#39;]) . "&#092;n" .
    ## ## ## OFFICE_DATE_TIME . "&#092;t" . date("D M j Y G:i:s T") . "&#092;n",
    ## ## ## &#036;name, &#036;email_address);

    ## ## ## zen_redirect(zen_href_link(FILENAME_BAND_SIGNUP, &#39;action=success&#39;));
    ## ## ## } //endif &#036;error=false

    ## } // endif action

    // default email and name if customer is logged in
    ## if(&#036;_SESSION[&#39;customer_id&#39;]) {
    ## ## ## &#036;check_customer = &#036;db->Execute("select customers_id, customers_firstname, customers_lastname, customers_password, customers_email_address, customers_default_address_id from " . TABLE_CUSTOMERS . " where customers_id = &#39;" . &#036;_SESSION[&#39;customer_id&#39;] . "&#39;");
    ## ## ## &#036;email= &#036;check_customer->fields[&#39;customers_email_address&#39;];
    ## ## ## &#036;firstname= &#036;check_customer->fields[&#39;customers_firstname&#39;];
    ## ## ## &#036;lastname= &#036;check_customer->fields[&#39;customers_lastname&#39;];
    ## }
    ## &#036;breadcrumb->add(NAVBAR_TITLE);
    ?>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



  8. #18
    Join Date
    Jan 2004
    Posts
    60,160
    Blog Entries
    4
    Plugin Contributions
    49

    Default

    /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>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



  9. #19
    Join Date
    Jun 2004
    Posts
    54
    Plugin Contributions
    0

    Default

    Okay Doc, I went through everystep but I&#39;m missing something. What do I have to change the

    "
    define(&#39;BOX_INFORMATION_CONTACT2&#39;, &#39;Band Account Form&#39;);"

    to to work with the files I just added that you created?

  10. #20
    Join Date
    Jan 2004
    Posts
    60,160
    Blog Entries
    4
    Plugin Contributions
    49

    Default

    In /modules/sideboxes/more_information.php
    Code:
     ## ##&#036;more_information&#91;&#93; = &#39;&#60;a href=&#34;&#39; . zen_href_link&#40;FILENAME_BAND_SIGNUP&#41; . &#39;&#34;&#62;&#39; . &#39;Band Signup Form&#39; . &#39;&#60;/a&#62;&#39;;

    Or maybe add a line to english.php saying

    Code:
    define&#40;&#39;BOX_INFORMATION_BAND_SIGNUP&#39;,&#39;Band Signup Form&#39;&#41;;
    and then use this instead of the other one above:
    Code:
     ## ##&#036;more_information&#91;&#93; = &#39;&#60;a href=&#34;&#39; . zen_href_link&#40;FILENAME_BAND_SIGNUP&#41; . &#39;&#34;&#62;&#39; . &#39;Band Signup Form&#39; . &#39;&#60;/a&#62;&#39;;
    (If you&#39;re using the "information" box instead of the "more_information" box, then make that change where appropriate.)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



 

 
Page 2 of 26 FirstFirst 123412 ... LastLast

Similar Threads

  1. custom survey forms
    By cpk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 May 2011, 05:07 PM
  2. Custom contact forms
    By raverX in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 18 Apr 2011, 04:45 PM
  3. Update Data With SQLScripts Created In Excel
    By JuxiZoza in forum Setting Up Categories, Products, Attributes
    Replies: 74
    Last Post: 23 Mar 2006, 05:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •