[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

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

   1      <table border="0" width="100%" cellspacing="0" cellpadding="<?php echo CELLPADDING_SUB; ?>"> 
   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 rowspan="2" class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_login.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></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 (isset($HTTP_GET_VARS['login']) && ($HTTP_GET_VARS['login'] == 'fail')) { 
  15      $info_message = TEXT_LOGIN_ERROR; 
  16    } 
  17  
  18    if (isset($info_message)) { 
  19  ?> 
  20  
  21        <tr> 
  22          <td class="smallText"><?php echo $info_message; ?></td> 
  23        </tr> 
  24        <tr> 
  25          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 
  26        </tr> 
  27  <?php 
  28    } 
  29  ?> 
  30        <tr> 
  31          <td><?php echo tep_draw_form('login', tep_href_link(FILENAME_AFFILIATE, 'action=process', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="2"> 
  32            <tr> 
  33              <td class="main" width="50%" valign="top"><b><?php echo HEADING_NEW_AFFILIATE; ?></b></td> 
  34              <td class="main" width="50%" valign="top"><b><?php echo HEADING_RETURNING_AFFILIATE; ?></b></td> 
  35            </tr> 
  36            <tr> 
  37              <td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="1" class="infoBox"> 
  38                <tr> 
  39                  <td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2" class="infoBoxContents"> 
  40                    <tr> 
  41                      <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 
  42                    </tr> 
  43                    <tr> 
  44                      <td class="main" valign="top"><?php echo TEXT_NEW_AFFILIATE . '<br><br>' . TEXT_NEW_AFFILIATE_INTRODUCTION; ?></td> 
  45                    </tr> 
  46                    <tr> 
  47                      <td class="smallText" colspan="2"><?php echo '<a  href="' . tep_href_link(FILENAME_AFFILIATE_TERMS, '', 'SSL') . '">' . TEXT_NEW_AFFILIATE_TERMS . '</a>'; ?></td> 
  48                    </tr> 
  49                    <tr> 
  50                      <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 
  51                    </tr> 
  52                  </table></td> 
  53                </tr> 
  54              </table></td> 
  55              <td width="50%" height="100%" valign="top"><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="1" class="infoBox"> 
  56                <tr> 
  57                  <td><table border="0" width="100%" height="100%" cellspacing="0" cellpadding="2" class="infoBoxContents"> 
  58                    <tr> 
  59                      <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 
  60                    </tr> 
  61                    <tr> 
  62                      <td class="main" colspan="2"><?php echo TEXT_RETURNING_AFFILIATE; ?></td> 
  63                    </tr> 
  64                    <tr> 
  65                      <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 
  66                    </tr> 
  67                    <tr> 
  68                      <td class="main"><b><?php echo TEXT_AFFILIATE_ID; ?></b></td> 
  69                      <td class="main"><?php echo tep_draw_input_field('affiliate_username'); ?></td> 
  70                    </tr> 
  71                    <tr> 
  72                      <td class="main"><b><?php echo TEXT_AFFILIATE_PASSWORD; ?></b></td> 
  73                      <td class="main"><?php echo tep_draw_password_field('affiliate_password'); ?></td> 
  74                    </tr> 
  75                    <tr> 
  76                      <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 
  77                    </tr> 
  78                    <tr> 
  79                      <td class="smallText" colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_AFFILIATE_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_AFFILIATE_PASSWORD_FORGOTTEN . '</a>'; ?></td> 
  80                    </tr> 
  81                    <tr> 
  82                      <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 
  83                    </tr> 
  84                  </table></td> 
  85                </tr> 
  86              </table></td> 
  87            </tr> 
  88                <tr> 
  89                  <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="infoBoxContents"> 
  90            <tr> 
  91              <td width="50%" align="left" valign="top"><?php echo '<a href="' . tep_href_link(FILENAME_AFFILIATE_SIGNUP, '', 'SSL') . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> 
  92              <td width="50%" align="right" valign="top"><?php echo tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN); ?></td> 
  93            </tr> 
  94                  </table></td> 
  95                </tr> 
  96          </table></form></td> 
  97        </tr> 
  98      </table>


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