function execute() { global $oscTemplate; if (!empty(MODULE_CONTENT_FOOTER_BANNER_GROUP)) { $content_width = (int) MODULE_CONTENT_FOOTER_BANNER_CONTENT_WIDTH; if ($banner = tep_banner_exists('dynamic', MODULE_CONTENT_FOOTER_BANNER_GROUP)) { ob_start(); include 'includes/modules/content/' . $this->group . '/templates/banner.php'; $template = ob_get_clean(); $oscTemplate->addContent($template, $this->group); } } }
<?php if ($banner = tep_banner_exists('column_r')) { ?> <div id="column_right_banner" style="height: 200px;"><?php echo tep_display_banner($banner); ?> </div> <script language="javascript" type="text/javascript"><!-- function rotateRightBanner() { setTimeout(function() { document.getElementById('column_right_banner').style.opacity = 1; $('#column_right_banner').animate({opacity: 0.01}, 500); setTimeout(function() { jQuery('#column_right_banner').load('<?php echo tep_href_link(FILENAME_LOADER, 'action=rotate_banner&group=column_r', $request_type); ?> ', function() { $('#column_right_banner').animate({opacity: 1}, 500); }); }, 500); rotateRightBanner(); }, 12000); } // rotateRightBanner(); //--></script> <?php }
<?php if ($banner = tep_banner_exists('main_page')) { ?> <div id="main_page_banner"><?php echo tep_display_banner($banner); ?> </div> <script language="javascript" type="text/javascript"><!-- function rotateMainBanner(notShowBanner) { setTimeout(function() { document.getElementById('main_page_banner').style.opacity = 1; $('#main_page_banner').animate({opacity: 0.01}, 500); setTimeout(function() { jQuery('#main_page_banner').load('<?php echo tep_href_link(FILENAME_LOADER, 'action=rotate_banner&group=main_page', $request_type); ?> &shown='+notShowBanner, function() { $('#main_page_banner').animate({opacity: 1}, 500); }); }, 500); if (window.shownBanner) notShowBanner = shownBanner; rotateMainBanner(notShowBanner); }, 10000); } // rotateMainBanner(<?php echo $banner['banners_id']; ?> ); //--></script> <?php
<?php /* $Id: banner.php 973 2011-01-05 23:15:52Z michael.oscmax@gmail.com $ osCmax e-Commerce http://www.oscmax.com Copyright 2000 - 2011 osCmax Released under the GNU General Public License */ ?> <?php if ($banner = tep_banner_exists('dynamic', 'index')) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?> </td> </tr> </table> <?php }
</div> <div class="clear"></div> </div> </div> </div> <!-- <div class="grid-100 footer"> <p align="center"><?php echo FOOTER_TEXT_BODY; ?> </p> </div> <?php if ($banner = tep_banner_exists('dynamic', 'footer')) { ?> <div class="grid-100" style="text-align: center; padding-bottom: 20px;"> <?php echo tep_display_banner('static', $banner); ?> </div> <?php } ?> --> <script type="text/javascript"> $('.productListTable tr:nth-child(even)').addClass('alt'); </script>
<td align="center"><?php if ($banner = tep_banner_exists('dynamic', 'baner2')) { echo tep_display_banner('static', $banner); } ?> </td> </tr> <tr> <td align="center"><?php if ($banner = tep_banner_exists('dynamic', 'baner3')) { echo tep_display_banner('static', $banner); } ?> </td> <td align="center"><?php if ($banner = tep_banner_exists('dynamic', 'baner4')) { echo tep_display_banner('static', $banner); } ?> </td> </tr> <?php } ?> </table>
<?php /* $Id: banner.php 973 2011-01-05 23:15:52Z michael.oscmax@gmail.com $ osCmax e-Commerce http://www.oscmax.com Copyright 2000 - 2011 osCmax Released under the GNU General Public License */ ?> <?php if ($banner = tep_banner_exists('dynamic', 'product')) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?> </td> </tr> </table> <?php }
if (tep_session_is_registered('customer_id')) { $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int) $customer_id . "' and global_product_notifications = '1'"); $check = tep_db_fetch_array($check_query); if ($check['count'] > 0) { include DIR_WS_BOXES . 'best_sellers.php'; } else { //include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include DIR_WS_BOXES . 'product_notifications.php'; } } if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { } require DIR_WS_BOXES . 'consolas.php'; if ($banner = tep_banner_exists('dynamic', 'asistencia')) { ?> <!-- banner asistencia--> <tr><td> <table border="0" cellspacing="0" width="100%" cellpadding="0"> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" > <tr>
<?php /* $Id: googlead.php,v 1.2 2008/06/23 00:18:17 datazen Exp $ CRE Loaded, Open Source E-Commerce Solutions http://www.creloaded.com Copyright (c) 2008 CRE Loaded Copyright (c) 2008 AlogoZone, Inc. Copyright (c) 2003 osCommerce Released under the GNU General Public License */ //if (!(getenv('HTTPS')=='on')){ if ($banner = tep_banner_exists('dynamic', 'googlebox')) { ?> <!-- googlead //--> <div class="well"> <div class="box-header small-margin-bottom small-margin-left"><?php echo BOX_GOOGLE_AD_BANNER_HEADING; ?> </div> <?php echo $bannerstring; ?> </div> <?php } //} ?>
<?php /* $Id: banner.php 973 2011-01-05 23:15:52Z michael.oscmax@gmail.com $ osCmax e-Commerce http://www.oscmax.com Copyright 2000 - 2011 osCmax Released under the GNU General Public License */ ?> <?php if ($banner = tep_banner_exists('dynamic', 'all')) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><br><?php echo tep_display_banner('static', $banner); ?> </td> </tr> </table> <?php }
?> </div> <?php } if ($banner = tep_banner_exists('dynamic', 'derecha3')) { ?> <div class="banner-left banner"> <?php echo tep_display_banner('static', $banner); ?> </div> <?php } if ($banner = tep_banner_exists('dynamic', 'derecha4')) { ?> <div class="banner-left banner"> <?php echo tep_display_banner('static', $banner); ?> </div> <?php } if ($banner = tep_banner_exists('dynamic', 'derecha5')) { ?> <div class="banner-left banner"> <?php echo tep_display_banner('static', $banner); ?> </div> <?php }
?> </div> <?php } if ($banner = tep_banner_exists('dynamic', 'izquierda3')) { ?> <div class="banner-left banner"> <?php echo tep_display_banner('static', $banner); ?> </div> <?php } if ($banner = tep_banner_exists('dynamic', 'izquierda4')) { ?> <div class="banner-left banner"> <?php echo tep_display_banner('static', $banner); ?> </div> <?php } if ($banner = tep_banner_exists('dynamic', 'izquierda5')) { ?> <div class="banner-left banner"> <?php echo tep_display_banner('static', $banner); ?> </div> <?php }
<?php $title_text = 'Новинки'; include 'top.php'; ?> <font face="Tahoma" size="3" color="#363636"> Здравствуйте, {{username}}! </font> <br /> Будьте в курсе последних событий и новинок на SetBook.ru! <br /><br /> <table border="0" cellspacing="0" cellpadding="5" width="100%"> <tr> <td align="center"> <?php if ($banner = tep_banner_exists('main_page', '', false)) { echo tep_display_banner($banner); } ?> </td> </tr> </table> <br /><br /> <a href="<?php $pages_type = array(FILENAME_CATEGORIES, FILENAME_SERIES, FILENAME_AUTHORS, FILENAME_MANUFACTURERS); $params_type = array('cPath=', 'series_id=', 'authors_id=', 'manufacturers_id='); echo tep_href_link($pages_type[$this->type - 1], $params_type[$this->type - 1] . $category['id'] . '&view=new'); ?> " style="font-size: 17px;color:#FF6700;text-decoration:underline;"> <font face="Tahoma" size="4" color="#FF6700"> Новинки <?php
<?php if ($banner = tep_banner_exists('header_banner')) { echo tep_display_banner($banner); }
?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?> </td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php //echo tep_display_banner('static', $banner); ?> </td> </tr> </table> <?php }
<?php if ($banner = tep_banner_exists('inner_page')) { ?> <div id="inner_page_banner"><?php echo tep_display_banner($banner); ?> </div><br /> <?php }
echo nl2br($description); tep_exit(); break; case 'check_ssl': if (isset($HTTP_GET_VARS['ssl']) && ($HTTP_GET_VARS['ssl'] == 'on' || $HTTP_GET_VARS['ssl'] == 'off')) { $enable_ssl = $HTTP_GET_VARS['ssl']; if (!tep_session_is_registered('enable_ssl')) { tep_session_register('enable_ssl'); } // echo 'var ssl_enabled = "' . $enable_ssl . '";' . "\n"; } tep_exit(); break; case 'rotate_banner': $banner_group = tep_sanitize_string($HTTP_GET_VARS['group']); if ($banner = tep_banner_exists($banner_group, $HTTP_GET_VARS['shown'])) { echo tep_display_banner($banner); ?> <script language="javascript" type="text/javascript"><!-- var shownBanner = <?php echo $banner['banners_id']; ?> ; //--></script> <?php } tep_exit(); break; case 'load_tree': $product_type_id = (int) $HTTP_GET_VARS['type']; if ((int) $HTTP_GET_VARS['type'] > 0) {
} if (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true' && DOWNLOAD_ENABLED == 'true') { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } } if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <div id="cwdusacontainer"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td align="left" valign="top"><?php if ($banner = tep_banner_exists('dynamic', '850x100')) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?> </td> </tr> </table> <?php } ?> </td> </tr>