[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

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

   1  <table width="100%" border="0" cellspacing="2" cellpadding="1">
   2    <tr>
   3  
   4  <?php 
   5  if (DOWN_FOR_MAINTENANCE == 'true') { 
   6    $maintenance_on_at_time_raw = tep_db_query("select last_modified from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'DOWN_FOR_MAINTENANCE'"); 
   7    $maintenance_on_at_time= tep_db_fetch_array($maintenance_on_at_time_raw); 
   8    define('TEXT_DATE_TIME', $maintenance_on_at_time['last_modified']); 
   9  } 
  10  ?> 
  11  <!-- body_text //-->
  12      <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
  13          <tr> 
  14            <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
  15                <tr> 
  16                  <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
  17              <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'down_for_maintenance.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
  18                </tr>
  19              </table></td>
  20          </tr>
  21          <tr> 
  22            <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  23          </tr>
  24          <tr> 
  25            <td><br>
  26              <table border="0" width="100%" cellspacing="0" cellpadding="2">
  27                <tr> 
  28                  <td class="main"><?php echo DOWN_FOR_MAINTENANCE_TEXT_INFORMATION; ?></td>
  29                </tr>
  30                <?php if (DISPLAY_MAINTENANCE_TIME == 'true') { ?>
  31                <tr> 
  32                  <td class="main"><?php echo TEXT_MAINTENANCE_ON_AT_TIME . TEXT_DATE_TIME; ?></td>
  33                </tr>
  34                <?php
  35            } 
  36            if (DISPLAY_MAINTENANCE_PERIOD == 'true') { ?>
  37                <tr> 
  38                  <td class="main"><?php echo TEXT_MAINTENANCE_PERIOD . TEXT_MAINTENANCE_PERIOD_TIME; ?></td>
  39                </tr>
  40                <?php } ?>
  41              </table></td>
  42          </tr>
  43          <tr> 
  44            <td align="right" class="main"><br>
  45              <?php echo DOWN_FOR_MAINTENANCE_STATUS_TEXT . '<br><br>' . '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
  46          </tr>
  47        </table></td>
  48  <!-- body_text_eof //-->
  49    </tr>
  50  </table>
  51  


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