Ejemplo n.º 1
0
 function confirm()
 {
     $OSCOM_Db = Registry::get('Db');
     $Qmail = $OSCOM_Db->get('customers', 'count(*) as count', ['customers_newsletter' => '1']);
     $confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . '  <tr>' . "\n" . '    <td class="main"><font color="#ff0000"><strong>' . OSCOM::getDef('text_count_customers', ['count' => $Qmail->valueInt('count')]) . '</strong></font></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>&nbsp;</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main"><strong>' . $this->title . '</strong></td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>&nbsp;</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="main">' . "\n" . '      <ul class="nav nav-tabs" role="tablist">' . "\n" . '        <li role="presentation" class="active"><a href="#html_preview" aria-controls="html_preview" role="tab" data-toggle="tab">' . OSCOM::getDef('email_type_html') . '</a></li>' . "\n" . '        <li role="presentation"><a href="#plain_preview" aria-controls="plain_preview" role="tab" data-toggle="tab">' . OSCOM::getDef('email_type_plain') . '</a></li>' . "\n" . '      </ul>' . "\n" . '      <div class="tab-content">' . "\n" . '        <div role="tabpanel" class="tab-pane active" id="html_preview">' . "\n" . '          <iframe id="emailHtmlPreviewContent" style="width: 100%; height: 400px; border: 0;"></iframe>' . "\n" . '          <script id="emailHtmlPreview" type="x-tmpl-mustache">' . "\n" . '            ' . HTML::outputProtected($this->content_html) . "\n" . '          </script>' . "\n" . '          <script>' . "\n" . '            $(function() {' . "\n" . '              var content = $(\'<div />\').html($(\'#emailHtmlPreview\').html()).text();' . "\n" . '              $(\'#emailHtmlPreviewContent\').contents().find(\'html\').html(content);' . "\n" . '            });' . "\n" . '          </script>' . "\n" . '        </div>' . "\n" . '        <div role="tabpanel" class="tab-pane" id="plain_preview">' . "\n" . '          ' . nl2br(HTML::outputProtected($this->content)) . "\n" . '        </div>' . "\n" . '      </div>' . "\n" . '    </td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td>&nbsp;</td>' . "\n" . '  </tr>' . "\n" . '  <tr>' . "\n" . '    <td class="smallText" align="right">' . HTML::button(OSCOM::getDef('image_send'), 'fa fa-envelope', OSCOM::link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'] . '&action=confirm_send')) . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_NEWSLETTERS, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID'])) . '</td>' . "\n" . '  </tr>' . "\n" . '</table>';
     return $confirm_string;
 }
Ejemplo n.º 2
0
        $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_country_code_2') . '<br />' . HTML::inputField('countries_iso_code_2', $cInfo->countries_iso_code_2));
        $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_country_code_3') . '<br />' . HTML::inputField('countries_iso_code_3', $cInfo->countries_iso_code_3));
        $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_address_format') . '<br />' . HTML::selectField('address_format_id', tep_get_address_formats(), $cInfo->address_format_id));
        $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_save'), 'fa fa-save') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id)));
        break;
    case 'delete':
        $heading[] = array('text' => '<strong>' . OSCOM::getDef('text_info_heading_delete_country') . '</strong>');
        $contents = array('form' => HTML::form('countries', OSCOM::link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=deleteconfirm')));
        $contents[] = array('text' => OSCOM::getDef('text_info_delete_intro'));
        $contents[] = array('text' => '<br /><strong>' . $cInfo->countries_name . '</strong>');
        $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id)));
        break;
    default:
        if (is_object($cInfo)) {
            $heading[] = array('text' => '<strong>' . $cInfo->countries_name . '</strong>');
            $contents[] = array('align' => 'center', 'text' => HTML::button(OSCOM::getDef('image_edit'), 'fa fa-edit', OSCOM::link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=edit')) . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash', OSCOM::link(FILENAME_COUNTRIES, 'page=' . $_GET['page'] . '&cID=' . $cInfo->countries_id . '&action=delete')));
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_country_name') . '<br />' . $cInfo->countries_name);
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_country_code_2') . ' ' . $cInfo->countries_iso_code_2);
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_country_code_3') . ' ' . $cInfo->countries_iso_code_3);
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_address_format') . ' ' . $cInfo->address_format_id);
        }
        break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
}
?>
          </tr>
Ejemplo n.º 3
0
        <?php 
echo HTML::inputField('HTTP_WWW_ADDRESS', $www_location, 'required aria-required="true" id="wwwAddress" placeholder="http://"');
?>
        <span class="help-block">The web address to the online store.</span>
      </div>

      <div class="form-group has-feedback">
        <label for="webRoot">Webserver Root Directory</label>
        <?php 
echo HTML::inputField('DIR_FS_DOCUMENT_ROOT', str_replace('\\', '/', FileSystem::displayPath($dir_fs_www_root)), 'required aria-required="true" id="webRoot"');
?>
        <span class="help-block">The directory where the online store is installed on the server.</span>
      </div>

      <p><?php 
echo HTML::button('Continue to Step 3', 'triangle-1-e', null, null, 'btn-success');
?>
</p>

<?php 
foreach ($_POST as $key => $value) {
    if ($key != 'x' && $key != 'y') {
        echo HTML::hiddenField($key, $value);
    }
}
?>

    </form>
  </div>

  <div class="col-xs-12 col-sm-pull-9 col-sm-3">
Ejemplo n.º 4
0
echo ENTRY_FAX_NUMBER;
?>
</label>
      <div class="col-sm-9">
        <?php 
echo HTML::inputField('fax', $Qaccount->value('customers_fax'), 'id="inputFax" placeholder="' . ENTRY_FAX_NUMBER_TEXT . '"');
?>
      </div>
    </div>


    <br />

    <div class="row">
      <div class="col-xs-6 text-right pull-right"><?php 
echo HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', null, 'primary', null, 'btn-success');
?>
</div>
      <div class="col-xs-6"><?php 
echo HTML::button(IMAGE_BUTTON_BACK, 'glyphicon glyphicon-chevron-left', OSCOM::link('account.php', '', 'SSL'));
?>
</div>
    </div>

  </div>

</form>

<?php 
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
Ejemplo n.º 5
0
<div class="contentContainer">
  <div class="contentText">

    <div class="panel panel-danger">
      <div class="panel-heading"><?php 
echo BOX_INFORMATION_HEADING;
?>
</div>
      <div class="panel-body">
        <?php 
echo BOX_INFORMATION;
?>
      </div>
    </div>

    <?php 
echo TEXT_INFORMATION;
?>

  </div>

  <div class="text-right">
    <?php 
echo HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', OSCOM::link('login.php'), null, null, 'btn-success');
?>
  </div>
</div>

<?php 
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
Ejemplo n.º 6
0
            if (substr($file, strrpos($file, '.')) == '.php') {
                $class = 'securityCheckExtended_' . substr($file, 0, strrpos($file, '.'));
                include OSCOM::getConfig('dir_root') . 'includes/modules/security_check/extended/' . $file;
                ${$class} = new $class();
                $modules[] = array('title' => isset(${$class}->title) ? ${$class}->title : substr($file, 0, strrpos($file, '.')), 'class' => $class, 'code' => substr($file, 0, strrpos($file, '.')));
            }
        }
    }
    $extdir->close();
}
usort($modules, 'tep_sort_secmodules');
require $oscTemplate->getFile('template_top.php');
?>

<div style="float: right;"><?php 
echo HTML::button('Reload', 'fa fa-refresh', OSCOM::link('security_checks.php'));
?>
</div>

<h1 class="pageHeading"><?php 
echo OSCOM::getDef('heading_title');
?>
</h1>

<table border="0" width="100%" cellspacing="0" cellpadding="2">
  <tr class="dataTableHeadingRow">
    <td class="dataTableHeadingContent" width="20">&nbsp;</td>
    <td class="dataTableHeadingContent"><?php 
echo OSCOM::getDef('table_heading_title');
?>
</td>
Ejemplo n.º 7
0
echo HTML::passwordField('password', NULL, 'minlength="' . ENTRY_PASSWORD_MIN_LENGTH . '" required aria-required="true" id="inputPassword" placeholder="' . ENTRY_PASSWORD_TEXT . '"');
echo FORM_REQUIRED_INPUT;
?>
      </div>
    </div>
    <div class="form-group has-feedback">
      <label for="inputConfirmation" class="control-label col-sm-3"><?php 
echo ENTRY_PASSWORD_CONFIRMATION;
?>
</label>
      <div class="col-sm-9">
        <?php 
echo HTML::passwordField('confirmation', NULL, 'minlength="' . ENTRY_PASSWORD_MIN_LENGTH . '" required aria-required="true" id="inputConfirmation" placeholder="' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '"');
echo FORM_REQUIRED_INPUT;
?>
      </div>
    </div>
  </div>

  <div class="text-right">
    <?php 
echo HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-user', null, 'primary', null, 'btn-success btn-block');
?>
  </div>
</div>

</form>

<?php 
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
Ejemplo n.º 8
0
            <?php 
echo HTML::radioField('rating', '1', null, 'required aria-required="true"') . HTML::stars(1, false) . ' ' . TEXT_BAD;
?>
          </label>
        </div>
      </div>
    </div>


  </div>

  <div class="clearfix"></div>

  <div class="row">
    <div class="col-xs-6 text-right pull-right"><?php 
echo HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', null, 'primary', null, 'btn-success');
?>
</div>
    <div class="col-xs-6"><?php 
echo HTML::button(IMAGE_BUTTON_BACK, 'glyphicon glyphicon-chevron-left', OSCOM::link('product_reviews.php', tep_get_all_get_params(array('reviews_id', 'action'))));
?>
</div>
  </div>

</div>

</form>

<?php 
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
Ejemplo n.º 9
0
                    $contents[] = array('text' => HTML::radioField('compress', 'zip') . ' ' . OSCOM::getDef('text_info_use_zip'));
                }
                if ($dir_ok == true) {
                    $contents[] = array('text' => HTML::checkboxField('download', 'yes') . ' ' . OSCOM::getDef('text_info_download_only') . '*<br /><br />*' . OSCOM::getDef('text_info_best_through_https'));
                } else {
                    $contents[] = array('text' => HTML::radioField('download', 'yes', true) . ' ' . OSCOM::getDef('text_info_download_only') . '*<br /><br />*' . OSCOM::getDef('text_info_best_through_https'));
                }
                $contents[] = array('text' => HTML::button(OSCOM::getDef('image_backup'), 'fa fa-copy', null, null, 'btn-success') . HTML::button(OSCOM::getDef('image_cancel'), null, OSCOM::link(FILENAME_BACKUP), null, 'btn-link'));
                break;
            case 'restorelocal':
                $heading[] = array('text' => OSCOM::getDef('text_info_heading_restore_local'));
                $contents = array('form' => HTML::form('restore', OSCOM::link(FILENAME_BACKUP, 'action=restorelocalnow'), 'post', 'enctype="multipart/form-data"'));
                $contents[] = array('text' => OSCOM::getDef('text_info_restore_local') . '<br /><br />' . OSCOM::getDef('text_info_best_through_https'));
                $contents[] = array('text' => HTML::fileField('sql_file'));
                $contents[] = array('text' => OSCOM::getDef('text_info_restore_local_raw_file'));
                $contents[] = array('text' => HTML::button(OSCOM::getDef('image_restore'), 'fa fa-repeat', null, null, 'btn-success') . HTML::button(OSCOM::getDef('image_cancel'), null, OSCOM::link(FILENAME_BACKUP), null, 'btn-link'));
                break;
        }
    }
    if (tep_not_null($heading) && tep_not_null($contents)) {
        $show_listing = false;
        echo HTML::panel($heading, $contents, ['type' => 'info']);
    }
}
if ($show_listing === true) {
    ?>

<table class="oscom-table table table-hover">
  <thead>
    <tr class="info">
      <th><?php 
Ejemplo n.º 10
0
<?php 
    } else {
        if (sizeof($_SESSION['navigation']->snapshot) > 0) {
            $back_link = OSCOM::link($_SESSION['navigation']->snapshot['page'], tep_array_to_string($_SESSION['navigation']->snapshot['get'], array(session_name())), $_SESSION['navigation']->snapshot['mode']);
        } else {
            $back_link = OSCOM::link('address_book.php', '', 'SSL');
        }
        ?>

  <div class="row">
    <div class="col-sm-6 text-right pull-right"><?php 
        echo HTML::hiddenField('action', 'process') . HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', null, null, null, 'btn-success');
        ?>
</div>
    <div class="col-sm-6"><?php 
        echo HTML::button(IMAGE_BUTTON_BACK, 'glyphicon glyphicon-chevron-left', $back_link);
        ?>
</div>
  </div>

<?php 
    }
    ?>

</div>

</form>

<?php 
}
?>
          <p><?php 
echo OSCOM::getDef('checkout_bar_confirmation');
?>
</p>
        </div>
      </div>
    </div>
  </div>


<?php 
if ($process == true) {
    ?>

  <div class="buttonSet">
    <?php 
    echo HTML::button(OSCOM::getDef('image_button_back'), 'fa fa-angle-left', OSCOM::link('checkout_payment_address.php'));
    ?>
  </div>

<?php 
}
?>

</div>

</form>

<?php 
require $oscTemplate->getFile('template_bottom.php');
require 'includes/application_bottom.php';
Ejemplo n.º 12
0
                    </div>

                    <div role="tabpanel" class="tab-pane" id="plain_email">
                      <?php 
    echo HTML::textareaField('message', '60', '15');
    ?>
                    </div>
                  </div>
                </td>
              </tr>
              <tr>
                <td colspan="2">&nbsp;</td>
              </tr>
              <tr>
                <td class="smallText" colspan="2" align="right"><?php 
    echo HTML::button(OSCOM::getDef('image_preview'), 'fa fa-file-o');
    ?>
</td>
              </tr>
            </table></td>
          </form></tr>
<?php 
}
?>
        </table></td>
      </tr>
    </table>

<?php 
require $oscTemplate->getFile('template_bottom.php');
require 'includes/application_bottom.php';
Ejemplo n.º 13
0
            $contents[] = array('text' => OSCOM::getDef('text_info_edit_zone_intro'));
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_zone_name') . '<br />' . HTML::inputField('geo_zone_name', $zInfo->geo_zone_name));
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_zone_description') . '<br />' . HTML::inputField('geo_zone_description', $zInfo->geo_zone_description));
            $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_save'), 'fa fa-save') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id)));
            break;
        case 'delete_zone':
            $heading[] = array('text' => '<strong>' . OSCOM::getDef('text_info_heading_delete_zone') . '</strong>');
            $contents = array('form' => HTML::form('zones', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id . '&action=deleteconfirm_zone')));
            $contents[] = array('text' => OSCOM::getDef('text_info_delete_zone_intro'));
            $contents[] = array('text' => '<br /><strong>' . $zInfo->geo_zone_name . '</strong>');
            $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id)));
            break;
        default:
            if (isset($zInfo) && is_object($zInfo)) {
                $heading[] = array('text' => '<strong>' . $zInfo->geo_zone_name . '</strong>');
                $contents[] = array('align' => 'center', 'text' => HTML::button(OSCOM::getDef('image_edit'), 'fa fa-edit', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id . '&action=edit_zone')) . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id . '&action=delete_zone')) . HTML::button(OSCOM::getDef('image_details'), 'fa fa-info', OSCOM::link(FILENAME_GEO_ZONES, 'zpage=' . $_GET['zpage'] . '&zID=' . $zInfo->geo_zone_id . '&action=list')));
                $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_number_zones') . ' ' . $zInfo->num_zones);
                $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_date_added') . ' ' . DateTime::toShort($zInfo->date_added));
                if (tep_not_null($zInfo->last_modified)) {
                    $contents[] = array('text' => OSCOM::getDef('text_info_last_modified') . ' ' . DateTime::toShort($zInfo->last_modified));
                }
                $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_zone_description') . '<br />' . $zInfo->geo_zone_description);
            }
            break;
    }
}
if (tep_not_null($heading) && tep_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
Ejemplo n.º 14
0
</span><span class="pull-right"><?php 
    echo OSCOM::getDef('text_result_page');
    ?>
</span></div>
  </div>

<?php 
} else {
    ?>

  <div class="alert alert-info">
    <p><?php 
    echo OSCOM::getDef('text_no_purchases');
    ?>
</p>
  </div>

<?php 
}
?>

  <div class="buttonSet">
    <?php 
echo HTML::button(OSCOM::getDef('image_button_back'), 'fa fa-angle-left', OSCOM::link('account.php'));
?>
  </div>
</div>

<?php 
require $oscTemplate->getFile('template_bottom.php');
require 'includes/application_bottom.php';
Ejemplo n.º 15
0
<div class="row">
  <div class="col-xs-12 col-sm-push-3 col-sm-9">
    <h1>Finished!</h1>

    <div class="alert alert-success">The installation of your online store was successful! Click on either button to start your online selling experience:</div>

    <br />

    <div class="row">
      <div class="col-sm-6"><?php 
echo HTML::button('Online Store (Frontend)', 'fa fa-shopping-cart', $http_server . $http_catalog . 'index.php', array('newwindow' => 1), 'btn-success btn-block');
?>
</div>
      <div class="col-sm-6"><?php 
echo HTML::button('Administration Dashboard (Backend)', 'fa fa-lock', $http_server . $http_catalog . $admin_folder . '/index.php', array('newwindow' => 1), 'btn-info btn-block');
?>
</div>
    </div>
  </div>

  <div class="col-xs-12 col-sm-pull-9 col-sm-3">
    <div class="panel panel-success">
      <div class="panel-heading">
        <div class="panel-title">
          Step 4: Finished!
        </div>
      </div>

      <div class="panel-body">
        <p>Congratulations on installing and configuring osCommerce Online Merchant as your online store solution!</p>
Ejemplo n.º 16
0
    </div>

    <div class="form-group">
      <label for="inputPassword" class="control-label col-xs-4"><?php 
echo ENTRY_PASSWORD;
?>
</label>
      <div class="col-xs-8">
        <?php 
echo HTML::passwordField('password', NULL, 'required aria-required="true" id="inputPassword" placeholder="' . ENTRY_PASSWORD_TEXT . '"');
?>
      </div>
    </div>

    <p class="text-right"><?php 
echo HTML::button(IMAGE_BUTTON_LOGIN, 'glyphicon glyphicon-log-in', null, 'primary', null, 'btn-success btn-block');
?>
</p>

    </form>
    
    <hr>
    
    <p><?php 
echo '<a href="' . OSCOM::link('password_forgotten.php', '', 'SSL') . '">' . MODULE_CONTENT_LOGIN_TEXT_PASSWORD_FORGOTTEN . '</a>';
?>
</p>
    
  </div>
</div>
Ejemplo n.º 17
0
    $Qr->bindInt(':products_id', $Qproduct->valueInt('products_id'));
    $Qr->bindInt(':languages_id', $OSCOM_Language->getId());
    $Qr->execute();
    if ($Qr->fetch() !== false) {
        $has_rating = true;
        echo '<span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"><meta itemprop="ratingValue" content="' . $Qr->value('avgrating') . '" /><meta itemprop="ratingCount" content="' . $Qr->value('count') . '" /></span>';
    }
    ?>

  <div class="buttonSet row">
    <div class="col-xs-6"><?php 
    echo HTML::button(OSCOM::getDef('image_button_reviews') . ($has_rating === true ? ' (' . $Qr->value('count') . ')' : ''), 'fa fa-commenting', OSCOM::link('product_reviews.php', tep_get_all_get_params()));
    ?>
</div>
    <div class="col-xs-6 text-right"><?php 
    echo HTML::hiddenField('products_id', $Qproduct->valueInt('products_id')) . HTML::button(OSCOM::getDef('image_button_in_cart'), 'fa fa-shopping-cart', null, null, 'btn-success btn-product-info btn-buy');
    ?>
</div>
  </div>

  <div class="row">
    <?php 
    echo $oscTemplate->getContent('product_info');
    ?>
  </div>

<?php 
    include 'includes/content/also_purchased_products.php';
    if ($Qproduct->valueInt('manufacturers_id') > 0) {
        $Qm = $OSCOM_Db->get('manufacturers', 'manufacturers_name', ['manufacturers_id' => $Qproduct->valueInt('manufacturers_id')]);
        if ($Qm->fetch() !== false) {
Ejemplo n.º 18
0
<?php 
    } else {
        $heading = $contents = [];
        if (isset($_GET['bID'])) {
            $Qbanner = $OSCOM_Db->get('banners', '*', ['banners_id' => (int) $_GET['bID']]);
            if ($Qbanner->fetch() !== false) {
                $bInfo = new objectInfo($Qbanner->toArray());
                if ($action == 'delete') {
                    $heading[] = array('text' => $bInfo->banners_title);
                    $contents = array('form' => HTML::form('banners', OSCOM::link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $bInfo->banners_id . '&action=deleteconfirm')));
                    $contents[] = array('text' => OSCOM::getDef('text_info_delete_intro'));
                    $contents[] = array('text' => '<strong>' . $bInfo->banners_title . '</strong>');
                    if ($bInfo->banners_image) {
                        $contents[] = array('text' => HTML::checkboxField('delete_image', 'on', true) . ' ' . OSCOM::getDef('text_info_delete_image'));
                    }
                    $contents[] = array('text' => HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash', null, null, 'btn-danger') . HTML::button(OSCOM::getDef('image_cancel'), null, OSCOM::link(FILENAME_BANNER_MANAGER, 'page=' . $_GET['page'] . '&bID=' . $_GET['bID']), null, 'btn-link'));
                }
            }
        }
        if (tep_not_null($heading) && tep_not_null($contents)) {
            $show_listing = false;
            echo HTML::panel($heading, $contents, ['type' => 'info']);
        }
    }
}
if ($show_listing === true) {
    ?>

<table class="oscom-table table table-hover">
  <thead>
    <tr class="info">
Ejemplo n.º 19
0
        $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_language_sort_order') . '<br />' . HTML::inputField('sort_order', $lInfo->sort_order));
        if (DEFAULT_LANGUAGE != $lInfo->code) {
            $contents[] = array('text' => '<br />' . HTML::checkboxField('default') . ' ' . OSCOM::getDef('text_set_default'));
        }
        $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_save'), 'fa fa-save') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_LANGUAGES, 'page=' . $_GET['page'] . '&lID=' . $lInfo->languages_id)));
        break;
    case 'delete':
        $heading[] = array('text' => '<strong>' . OSCOM::getDef('text_info_heading_delete_language') . '</strong>');
        $contents[] = array('text' => OSCOM::getDef('text_info_delete_intro'));
        $contents[] = array('text' => '<br /><strong>' . $lInfo->name . '</strong>');
        $contents[] = array('align' => 'center', 'text' => '<br />' . ($remove_language ? HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash', OSCOM::link(FILENAME_LANGUAGES, 'page=' . $_GET['page'] . '&lID=' . $lInfo->languages_id . '&action=deleteconfirm')) : '') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_LANGUAGES, 'page=' . $_GET['page'] . '&lID=' . $lInfo->languages_id)));
        break;
    default:
        if (is_object($lInfo)) {
            $heading[] = array('text' => '<strong>' . $lInfo->name . '</strong>');
            $contents[] = array('align' => 'center', 'text' => HTML::button(OSCOM::getDef('image_edit'), 'fa fa-edit', OSCOM::link(FILENAME_LANGUAGES, 'page=' . $_GET['page'] . '&lID=' . $lInfo->languages_id . '&action=edit')) . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash', OSCOM::link(FILENAME_LANGUAGES, 'page=' . $_GET['page'] . '&lID=' . $lInfo->languages_id . '&action=delete')) . HTML::button(OSCOM::getDef('image_details'), 'fa fa-info', OSCOM::link(FILENAME_DEFINE_LANGUAGE, 'lngdir=' . $lInfo->directory)));
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_language_name') . ' ' . $lInfo->name);
            $contents[] = array('text' => OSCOM::getDef('text_info_language_code') . ' ' . $lInfo->code);
            $contents[] = array('text' => '<br />' . $OSCOM_Language->getImage($lInfo->code, 32, 24));
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_language_directory') . '<br />includes/languages/<strong>' . $lInfo->directory . '</strong>');
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_language_sort_order') . ' ' . $lInfo->sort_order);
        }
        break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
}
?>
Ejemplo n.º 20
0
    ?>
</small>
    </blockquote>
  </div>

<?php 
}
?>

  <div class="contentText">

<?php 
if (is_array($payment_modules->modules)) {
    echo $payment_modules->process_button();
}
echo HTML::button(sprintf(IMAGE_BUTTON_PAY_TOTAL_NOW, $currencies->format($order->info['total'], true, $order->info['currency'], $order->info['currency_value'])), 'glyphicon glyphicon-ok', null, 'primary', array('params' => 'data-button="payNow"'), 'btn-success btn-block');
?>

  </div>
</div>

<script>
$('form[name="checkout_confirmation"]').submit(function() {
  $('button[data-button="payNow"]').text('<?php 
echo addslashes(IMAGE_BUTTON_PAY_TOTAL_PROCESSING);
?>
').prop('disabled', true);
});
</script>

</form>
Ejemplo n.º 21
0
            <?php 
echo HTML::checkboxField('newsletter_general', '1', $Qnewsletter->value('customers_newsletter') == '1' ? true : false);
?>
            <?php 
if (tep_not_null(OSCOM::getDef('my_newsletters_general_newsletter_description'))) {
    echo ' ' . OSCOM::getDef('my_newsletters_general_newsletter_description');
}
?>
          </label>
        </div>
      </div>
    </div>
  </div>

  <div class="buttonSet row">
  <div class="col-xs-6"><?php 
echo HTML::button(OSCOM::getDef('image_button_back'), 'fa fa-angle-left', OSCOM::link('account.php'));
?>
</div>
  <div class="col-xs-6 text-right"><?php 
echo HTML::button(OSCOM::getDef('image_button_continue'), 'fa fa-angle-right', null, null, 'btn-success');
?>
</div>
  </div>
</div>

</form>

<?php 
require $oscTemplate->getFile('template_bottom.php');
require 'includes/application_bottom.php';
Ejemplo n.º 22
0
                }
                $keys .= '<br /><br />';
            }
            $keys = substr($keys, 0, strrpos($keys, '<br /><br />'));
            $contents[] = array('align' => 'center', 'text' => HTML::button(OSCOM::getDef('image_edit'), 'fa fa-edit', OSCOM::link(FILENAME_MODULES, 'set=' . $set . '&module=' . $mInfo->code . '&action=edit')) . HTML::button(OSCOM::getDef('image_module_remove'), 'fa fa-minus', OSCOM::link(FILENAME_MODULES, 'set=' . $set . '&module=' . $mInfo->code . '&action=remove')));
            if (isset($mInfo->signature) && (list($scode, $smodule, $sversion, $soscversion) = explode('|', $mInfo->signature))) {
                $contents[] = array('text' => '<br />' . HTML::image(OSCOM::linkImage('icon_info.gif'), OSCOM::getDef('image_icon_info')) . '&nbsp;<strong>' . OSCOM::getDef('text_info_version') . '</strong> ' . $sversion . ' (<a href="http://sig.oscommerce.com/' . $mInfo->signature . '" target="_blank">' . OSCOM::getDef('text_info_online_status') . '</a>)');
            }
            if (isset($mInfo->api_version)) {
                $contents[] = array('text' => HTML::image(OSCOM::linkImage('icon_info.gif'), OSCOM::getDef('image_icon_info')) . '&nbsp;<strong>' . OSCOM::getDef('text_info_api_version') . '</strong> ' . $mInfo->api_version);
            }
            $contents[] = array('text' => '<br />' . $mInfo->description);
            $contents[] = array('text' => '<br />' . $keys);
        } elseif (isset($_GET['list']) && $_GET['list'] == 'new') {
            if (isset($mInfo)) {
                $contents[] = array('align' => 'center', 'text' => HTML::button(OSCOM::getDef('image_module_install'), 'fa fa-plus', OSCOM::link(FILENAME_MODULES, 'set=' . $set . '&module=' . $mInfo->code . '&action=install')));
                if (isset($mInfo->signature) && (list($scode, $smodule, $sversion, $soscversion) = explode('|', $mInfo->signature))) {
                    $contents[] = array('text' => '<br />' . HTML::image(OSCOM::linkImage('icon_info.gif'), OSCOM::getDef('image_icon_info')) . '&nbsp;<strong>' . OSCOM::getDef('text_info_version') . '</strong> ' . $sversion . ' (<a href="http://sig.oscommerce.com/' . $mInfo->signature . '" target="_blank">' . OSCOM::getDef('text_info_online_status') . '</a>)');
                }
                if (isset($mInfo->api_version)) {
                    $contents[] = array('text' => HTML::image(OSCOM::linkImage('icon_info.gif'), OSCOM::getDef('image_icon_info')) . '&nbsp;<strong>' . OSCOM::getDef('text_info_api_version') . '</strong> ' . $mInfo->api_version);
                }
                $contents[] = array('text' => '<br />' . $mInfo->description);
            }
        }
        break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
Ejemplo n.º 23
0
echo FORM_TITLE_FRIEND_MESSAGE;
?>
</label>
      <div class="col-sm-9">
        <?php 
echo HTML::textareaField('message', 40, 8, NULL, 'required aria-required="true" id="inputMessage" placeholder="' . ENTRY_FORM_TITLE_FRIEND_MESSAGE_TEXT . '"');
echo FORM_REQUIRED_INPUT;
?>
      </div>
    </div>
  </div>

  <div class="clearfix"></div>

  <div class="row">
    <div class="col-sm-6 text-right pull-right"><?php 
echo HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', null, 'primary', null, 'btn-success');
?>
</div>
    <div class="col-sm-6"><?php 
echo HTML::button(IMAGE_BUTTON_BACK, 'glyphicon glyphicon-chevron-left', OSCOM::link('product_info.php', 'products_id=' . $Qproduct->valueInt('products_id')));
?>
</div>
  </div>
</div>

</form>

<?php 
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
Ejemplo n.º 24
0
            </table></td>
<?php 
    $heading = array();
    $contents = array();
    switch ($action) {
        case 'delete':
            $heading[] = array('text' => '<strong>' . OSCOM::getDef('text_info_heading_delete_review') . '</strong>');
            $contents = array('form' => HTML::form('reviews', OSCOM::link(FILENAME_REVIEWS, 'page=' . $_GET['page'] . '&rID=' . $rInfo->reviews_id . '&action=deleteconfirm')));
            $contents[] = array('text' => OSCOM::getDef('text_info_delete_review_intro'));
            $contents[] = array('text' => '<br /><strong>' . $rInfo->products_name . '</strong>');
            $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_REVIEWS, 'page=' . $_GET['page'] . '&rID=' . $rInfo->reviews_id)));
            break;
        default:
            if (isset($rInfo) && is_object($rInfo)) {
                $heading[] = array('text' => '<strong>' . $rInfo->products_name . '</strong>');
                $contents[] = array('align' => 'center', 'text' => HTML::button(OSCOM::getDef('image_edit'), 'fa fa-edit', OSCOM::link(FILENAME_REVIEWS, 'page=' . $_GET['page'] . '&rID=' . $rInfo->reviews_id . '&action=edit')) . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash', OSCOM::link(FILENAME_REVIEWS, 'page=' . $_GET['page'] . '&rID=' . $rInfo->reviews_id . '&action=delete')));
                $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_date_added') . ' ' . DateTime::toShort($rInfo->date_added));
                if (tep_not_null($rInfo->last_modified)) {
                    $contents[] = array('text' => OSCOM::getDef('text_info_last_modified') . ' ' . DateTime::toShort($rInfo->last_modified));
                }
                $contents[] = array('text' => '<br />' . tep_info_image($rInfo->products_image, $rInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT));
                $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_review_author') . ' ' . $rInfo->customers_name);
                $contents[] = array('text' => OSCOM::getDef('text_info_review_rating') . ' ' . HTML::image(OSCOM::linkImage('Shop/stars_' . $rInfo->reviews_rating . '.gif')));
                $contents[] = array('text' => OSCOM::getDef('text_info_review_read') . ' ' . $rInfo->reviews_read);
                $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_review_size') . ' ' . $rInfo->reviews_text_size . ' bytes');
                $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_products_average_rating') . ' ' . number_format($rInfo->average_rating, 2) . '%');
            }
            break;
    }
    if (tep_not_null($heading) && tep_not_null($contents)) {
        echo '            <td width="25%" valign="top">' . "\n";
Ejemplo n.º 25
0
Registry::get('Hooks')->call('Account', 'Logout');
require $oscTemplate->getFile('template_top.php');
?>

<div class="page-header">
  <h1><?php 
echo OSCOM::getDef('heading_title');
?>
</h1>
</div>

<div class="contentContainer">
  <div class="contentText">
    <div class="alert alert-danger">
      <?php 
echo OSCOM::getDef('text_main');
?>
    </div>
  </div>

  <div class="buttonSet">
    <div class="text-right"><?php 
echo HTML::button(OSCOM::getDef('image_button_continue'), 'fa fa-angle-right', OSCOM::link('index.php'), null, 'btn-danger');
?>
</div>
  </div>
</div>

<?php 
require $oscTemplate->getFile('template_bottom.php');
require 'includes/application_bottom.php';
}
?>

  <div class="contentText">
    <div><?php 
echo HTML::hiddenField('action', 'submit') . HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', null, 'primary', null, 'btn-success btn-block');
?>
</div>
  </div>

<?php 
if ($process == true) {
    ?>

  <div>
    <?php 
    echo HTML::button(IMAGE_BUTTON_BACK, 'glyphicon glyphicon-chevron-left', OSCOM::link('checkout_payment_address.php', '', 'SSL'));
    ?>
  </div>

<?php 
}
?>

</div>

</form>

<?php 
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';
Ejemplo n.º 27
0
                            $class_method = explode('->', $use_function);
                            if (!isset(${$class_method[0]}) || !is_object(${$class_method[0]})) {
                                include 'includes/classes/' . $class_method[0] . '.php';
                                ${$class_method[0]} = new $class_method[0]();
                            }
                            $keys .= tep_call_function($class_method[1], $value['value'], ${$class_method[0]});
                        } else {
                            $keys .= tep_call_function($use_function, $value['value']);
                        }
                    } else {
                        $keys .= $value['value'];
                    }
                    $keys .= '<br /><br />';
                }
                $keys = substr($keys, 0, strrpos($keys, '<br /><br />'));
                $contents[] = array('align' => 'center', 'text' => HTML::button(OSCOM::getDef('image_edit'), 'fa fa-edit', OSCOM::link('modules_content.php', 'module=' . $mInfo->code . '&action=edit')) . HTML::button(OSCOM::getDef('image_module_remove'), 'fa fa-minus', OSCOM::link('modules_content.php', 'module=' . $mInfo->code . '&action=remove')));
                if (isset($mInfo->signature) && (list($scode, $smodule, $sversion, $soscversion) = explode('|', $mInfo->signature))) {
                    $contents[] = array('text' => '<br />' . HTML::image(OSCOM::linkImage('icon_info.gif'), OSCOM::getDef('image_icon_info')) . '&nbsp;<strong>' . OSCOM::getDef('text_info_version') . '</strong> ' . $sversion . ' (<a href="http://sig.oscommerce.com/' . $mInfo->signature . '" target="_blank">' . OSCOM::getDef('text_info_online_status') . '</a>)');
                }
                if (isset($mInfo->api_version)) {
                    $contents[] = array('text' => HTML::image(OSCOM::linkImage('icon_info.gif'), OSCOM::getDef('image_icon_info')) . '&nbsp;<strong>' . OSCOM::getDef('text_info_api_version') . '</strong> ' . $mInfo->api_version);
                }
                $contents[] = array('text' => '<br />' . $mInfo->description);
                $contents[] = array('text' => '<br />' . $keys);
            }
        }
        break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
Ejemplo n.º 28
0
        if (tep_not_null($extra_list_contents)) {
            $prod_list_contents .= '    <dl class="dl-horizontal list-group-item-text">';
            $prod_list_contents .= $extra_list_contents;
            $prod_list_contents .= '    </dl>';
        }
        if (PRODUCT_LIST_PRICE > 0 || PRODUCT_LIST_BUY_NOW > 0) {
            $prod_list_contents .= '      <div class="row">';
            if (PRODUCT_LIST_PRICE > 0) {
                if (tep_not_null($Qlisting->valueDecimal('specials_new_products_price'))) {
                    $prod_list_contents .= '      <div class="col-xs-6" itemprop="offers" itemscope itemtype="http://schema.org/Offer"><meta itemprop="priceCurrency" content="' . HTML::output($_SESSION['currency']) . '" /><div class="btn-group" role="group"><button type="button" class="btn btn-default"><del>' . $currencies->display_price($Qlisting->valueDecimal('products_price'), tep_get_tax_rate($Qlisting->valueInt('products_tax_class_id'))) . '</del></span>&nbsp;&nbsp;<span class="productSpecialPrice" itemprop="price" content="' . $currencies->display_raw($Qlisting->valueDecimal('specials_new_products_price'), tep_get_tax_rate($Qlisting->valueInt('products_tax_class_id'))) . '">' . $currencies->display_price($Qlisting->valueDecimal('specials_new_products_price'), tep_get_tax_rate($Qlisting->valueInt('products_tax_class_id'))) . '</span></button></div></div>';
                } else {
                    $prod_list_contents .= '      <div class="col-xs-6" itemprop="offers" itemscope itemtype="http://schema.org/Offer"><meta itemprop="priceCurrency" content="' . HTML::output($_SESSION['currency']) . '" /><div class="btn-group" role="group"><button type="button" class="btn btn-default"><span itemprop="price" content="' . $currencies->display_raw($Qlisting->valueDecimal('products_price'), tep_get_tax_rate($Qlisting->valueInt('products_tax_class_id'))) . '">' . $currencies->display_price($Qlisting->valueDecimal('products_price'), tep_get_tax_rate($Qlisting->valueInt('products_tax_class_id'))) . '</span></button></div></div>';
                }
            }
            if (PRODUCT_LIST_BUY_NOW > 0) {
                $prod_list_contents .= '       <div class="col-xs-6 text-right">' . HTML::button(OSCOM::getDef('image_button_buy_now'), 'fa fa-shopping-cart', OSCOM::link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'sort', 'cPath')) . 'action=buy_now&products_id=' . $Qlisting->valueInt('products_id')), null, 'btn-success btn-sm btn-product-listing btn-buy') . '</div>';
            }
            $prod_list_contents .= '      </div>';
        }
        $prod_list_contents .= '    </div>';
        $prod_list_contents .= '  </div>';
        $prod_list_contents .= '</div>';
    }
    echo '<div id="products" class="row list-group" itemtype="http://schema.org/ItemList">';
    echo '  <meta itemprop="numberOfItems" content="' . (int) $Qlisting->getPageSetTotalRows() . '" />';
    echo $prod_list_contents;
    echo '</div>';
} else {
    ?>

  <div class="alert alert-info"><?php 
Ejemplo n.º 29
0
        $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_tax_rate') . '<br />' . HTML::inputField('tax_rate', $trInfo->tax_rate));
        $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_rate_description') . '<br />' . HTML::inputField('tax_description', $trInfo->tax_description));
        $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_tax_rate_priority') . '<br />' . HTML::inputField('tax_priority', $trInfo->tax_priority));
        $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_save'), 'fa fa-save') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_TAX_RATES, 'page=' . $_GET['page'] . '&tID=' . $trInfo->tax_rates_id)));
        break;
    case 'delete':
        $heading[] = array('text' => '<strong>' . OSCOM::getDef('text_info_heading_delete_tax_rate') . '</strong>');
        $contents = array('form' => HTML::form('rates', OSCOM::link(FILENAME_TAX_RATES, 'page=' . $_GET['page'] . '&tID=' . $trInfo->tax_rates_id . '&action=deleteconfirm')));
        $contents[] = array('text' => OSCOM::getDef('text_info_delete_intro'));
        $contents[] = array('text' => '<br /><strong>' . $trInfo->tax_class_title . ' ' . number_format($trInfo->tax_rate, TAX_DECIMAL_PLACES) . '%</strong>');
        $contents[] = array('align' => 'center', 'text' => '<br />' . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash') . HTML::button(OSCOM::getDef('image_cancel'), 'fa fa-close', OSCOM::link(FILENAME_TAX_RATES, 'page=' . $_GET['page'] . '&tID=' . $trInfo->tax_rates_id)));
        break;
    default:
        if (is_object($trInfo)) {
            $heading[] = array('text' => '<strong>' . $trInfo->tax_class_title . '</strong>');
            $contents[] = array('align' => 'center', 'text' => HTML::button(OSCOM::getDef('image_edit'), 'fa fa-edit', OSCOM::link(FILENAME_TAX_RATES, 'page=' . $_GET['page'] . '&tID=' . $trInfo->tax_rates_id . '&action=edit')) . HTML::button(OSCOM::getDef('image_delete'), 'fa fa-trash', OSCOM::link(FILENAME_TAX_RATES, 'page=' . $_GET['page'] . '&tID=' . $trInfo->tax_rates_id . '&action=delete')));
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_date_added') . ' ' . DateTime::toShort($trInfo->date_added));
            $contents[] = array('text' => '' . OSCOM::getDef('text_info_last_modified') . ' ' . DateTime::toShort($trInfo->last_modified));
            $contents[] = array('text' => '<br />' . OSCOM::getDef('text_info_rate_description') . '<br />' . $trInfo->tax_description);
        }
        break;
}
if (tep_not_null($heading) && tep_not_null($contents)) {
    echo '            <td width="25%" valign="top">' . "\n";
    $box = new box();
    echo $box->infoBox($heading, $contents);
    echo '            </td>' . "\n";
}
?>
          </tr>
        </table></td>
Ejemplo n.º 30
0
<div class="contentContainer">
  <div class="contentText">

    <div class="panel panel-danger">
      <div class="panel-heading"><?php 
echo BOX_INFORMATION_HEADING;
?>
</div>
      <div class="panel-body">
        <?php 
echo BOX_INFORMATION;
?>
      </div>
    </div>

    <?php 
echo TEXT_INFORMATION;
?>

  </div>

  <div class="text-right">
    <?php 
echo HTML::button(IMAGE_BUTTON_CONTINUE, 'glyphicon glyphicon-chevron-right', OSCOM::link('index.php', 'Account&LogIn'), null, null, 'btn-success');
?>
  </div>
</div>

<?php 
require 'includes/template_bottom.php';
require 'includes/application_bottom.php';