[ Index ]
osCommerce Docs :: PHP Cross Reference For osCommerce 2.2 MS2
Provided By OSCdox.com

/includes/boxes/ -> tell_a_friend.php (source)

[Summary view]

   1  <?php
   2  /*
   3    $Id: tell_a_friend.php,v 1.16 2003/06/10 18:26:33 hpdl Exp $
   4  
   5    osCommerce, Open Source E-Commerce Solutions
   6    http://www.oscommerce.com
   7  
   8    Copyright (c) 2003 osCommerce
   9  
  10    Released under the GNU General Public License
  11  */
  12  ?>
  13  <!-- tell_a_friend //-->
  14            <tr>
  15              <td>
  16  <?php
  17    $info_box_contents = array();
  18    $info_box_contents[] = array('text' => BOX_HEADING_TELL_A_FRIEND);
  19  
  20    new infoBoxHeading($info_box_contents, false, false);
  21  
  22    $info_box_contents = array();
  23    $info_box_contents[] = array('form' => tep_draw_form('tell_a_friend', tep_href_link(FILENAME_TELL_A_FRIEND, '', 'NONSSL', false), 'get'),
  24                                 'align' => 'center',
  25                                 'text' => tep_draw_input_field('to_email_address', '', 'size="10"') . '&nbsp;' . tep_image_submit('button_tell_a_friend.gif', BOX_HEADING_TELL_A_FRIEND) . tep_draw_hidden_field('products_id', $HTTP_GET_VARS['products_id']) . tep_hide_session_id() . '<br>' . BOX_TELL_A_FRIEND_TEXT);
  26  
  27    new infoBox($info_box_contents);
  28  ?>
  29              </td>
  30            </tr>
  31  <!-- tell_a_friend_eof //-->


Generated: Tue Nov 4 23:53:39 2003
Hosted By :: AABox.com
Cross-referenced by PHPXref 0.4