[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/templates/fallback/content/ -> contact_us.tpl.php (source)

   1      <?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
   2        <tr>
   3          <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
   4            <tr>
   5              <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
   6              <td class="pageHeading" align="right"></td>
   7            </tr>
   8          </table></td>
   9        </tr>
  10        <tr>
  11          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  12        </tr>
  13  <?php
  14    if ($messageStack->size('contact') > 0) {
  15  ?>
  16        <tr>
  17          <td><?php echo $messageStack->output('contact'); ?></td>
  18        </tr>
  19        <tr>
  20          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  21        </tr>
  22  <?php
  23    }
  24  
  25    if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) {
  26  ?>
  27        <tr>
  28          <td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?></td>
  29        </tr>
  30        <tr>
  31          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  32        </tr>
  33        <tr>
  34          <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
  35            <tr class="infoBoxContents">
  36              <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
  37                <tr>
  38                  <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
  39                  <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
  40                  <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
  41                </tr>
  42              </table></td>
  43            </tr>
  44          </table></td>
  45        </tr>
  46  <?php
  47    } else {
  48  ?>
  49        <tr>
  50          <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
  51            <tr class="infoBoxContents">
  52              <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
  53                <tr>
  54                  <td class="main"><?php echo ENTRY_NAME; ?></td>
  55                </tr>
  56                <tr>
  57                  <td class="main"><?php echo tep_draw_input_field('name'); ?></td>
  58                </tr>
  59                <tr>
  60                  <td class="main"><?php echo ENTRY_EMAIL; ?></td>
  61                </tr>
  62                <tr>
  63                  <td class="main"><?php echo tep_draw_input_field('email'); ?></td>
  64                </tr>
  65                <tr>
  66                  <td class="main"><?php echo ENTRY_ENQUIRY; ?></td>
  67                </tr>
  68                <tr>
  69                  <td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td>
  70                </tr>
  71              </table></td>
  72            </tr>
  73          </table></td>
  74        </tr>
  75        <tr>
  76          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  77        </tr>
  78        <tr>
  79          <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
  80            <tr class="infoBoxContents">
  81              <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
  82                <tr>
  83                  <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
  84                  <td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>
  85                  <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
  86                </tr>
  87              </table></td>
  88            </tr>
  89          </table></td>
  90        </tr>
  91  <?php
  92    }
  93  ?>
  94      </table></form>
  95  


Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7