zoukankan      html  css  js  c++  java
  • zen cat head)页面布局小结

    头部页面(head)在->D:phpStudy4iisWWWincludes emplatesclassiccommon pl_header.php 修改改代码;

    <?php
    /**
    * Common Template - tpl_header.php
    *
    * this file can be copied to /templates/your_template_dir/pagename<br />
    * example: to override the privacy page<br />
    * make a directory /templates/my_template/privacy<br />
    * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
    * to override the global settings and turn off the footer un-comment the following line:<br />
    * <br />
    * $flag_disable_header = true;<br />
    *
    * @package templateSystem
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
    */
    ?>

    <?php
    // Display all header alerts via messageStack:
    if ($messageStack->size('header') > 0) {
    echo $messageStack->output('header');
    }
    if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
    echo htmlspecialchars(urldecode($_GET['error_message']));
    }
    if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
    echo htmlspecialchars($_GET['info_message']);
    } else {

    }
    ?>


    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>

    <div id="headerWrapper">
    <div class="topper-menu float-right">
    </div>

    <!--bof-branding display-->
    <div id="logoWrapper">
    <!--bof-languages-->
    <div class="languages-wrapper">

    <form method="get" action="" name="currencies_form"><select onchange="this.form.submit();" name="currency">
    <option value="USD">$&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;USD</option>
    <option selected="selected" value="EUR">€&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Euro</option>
    <option value="GBP">£&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GBP</option>
    <option value="CAD">$&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CAD</option>
    <option value="AUD">A$&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AUD</option>
    </select>
    <input type="hidden" value="index" name="main_page"></form> <label class="float-right"></label>
    </div>
    <!--eof-languages-->
    <div class="clearBoth"></div>
    <!--bof-checkout-->
    <div align="right" class="float-right td-languages">

    <!-- header cart section -->
    <table align="right" class="align-center cart-header">
    <tbody><tr>
    <td>
    <div id="cartBoxEmpty"><a href=""><img alt="" src="includes/templates/classic/images/spacer.gif" class="cart-icon empty float-left"></a>Mon panier</div>
    </td>
    </tr>
    </tbody></table>

    </div>
    <div class="float-right" id="login_logout_section">
    <a href="">Se connecter</a>
    - <a href="">Inscrire</a>

    </div>

    <div class="clearBoth"></div>
    <!--bof-search-->
    <div class="search-header float-right">
    <form method="get" action="" name="quick_find_header">
    <input type="hidden" value="advanced_search_result" name="main_page"><input type="hidden" value="1" name="search_in_description">
    <div class="search-header-input"><input type="text" onblur="if (this.value == '') this.value = 'Entrez vos mots clés de recherche ici';" onfocus="if (this.value == 'Entrez vos mots clés de recherche ici') this.value = '';" value="Entrez vos mots clés de recherche ici" maxlength="30" size="6" name="keyword">
    </div>
    <input type="image" value="Serch" src="includes/templates/classic/images/search_header_button.gif" class="button-search-header"></form></div>
    <!--eof-search-->

    <!--bof-branding display-->
    <div id="logo"><a href=""><img width="200" height="104" title=" new balance pas cher , new balance 574 femme " alt="new balance pas cher , new balance 574 femme" src="includes/templates/classic/images/logo.gif"></a></div>
    </div>

    <!--eof-branding display-->
    <div id="top_nav">
    <div id="tab_nav">
    <!--<div class="top-nav-left"></div>-->
    <div class="top-nav-right"></div>
    <ul class="list-style-none">
    <li class="home-link"><a href="http://www.golife.fr/">Accueil</a></li>
    <li><a href="http://www.golife.fr/new-balance-574-c-21/new-balance-574-femme-c-21_22/">New Balance 574 Femme</a></li>
    <li><a href="http://www.golife.fr/new-balance-996-c-41/new-balance-996-femme-c-41_42/">New Balance 996 Femme</a></li>
    <li><a href="http://www.golife.fr/new-balance-999-c-46/new-balance-999-homme-c-46_48/">New Balance 999 Homme</a></li>
    <li><a href="http://www.golife.fr/new-balance-576-c-24/new-balance-576-homme-c-24_26/">New Balance 576 Homme</a></li>
    </ul>
    </div>
    <div class="clearBoth"></div>

    </div>

    </div>
    <?php } ?>

  • 相关阅读:
    再看机器学习
    普通MLP处理图像时遇到了什么样的问题,才导致后续各种模型的出现
    图像分类算法为什么有那么多?
    算法的时间复杂度到底怎么算?
    [Python]7种基础排序算法-Python实现
    [Python3]星号*的打开方式
    [Pyspark]RDD常用方法总结
    [Python3]为什么map比for循环快
    Sass简介
    最全的DOM事件笔记
  • 原文地址:https://www.cnblogs.com/WANGXINCHUAN/p/4745990.html
Copyright © 2011-2022 走看看