Location: PHPKode > projects > FreePHPShoppingCartSoftware > themes_header.inc
<?php

// =======================================================================
// Module name: Themes Header
// File name: themes_header.inc
// Version: 1.0
// Description: This script contains php code that controls how the header
// is displayed.
// 
// Comments are included within this script to document changes made to
// the code with each new version of the script. Each comment also lists
// the author's initials to document who made the changes to the code.
//
// Copyright (C) 2006-2010 Dustin Cowell Enterprises
//
// License: GNU General Public License, Version 2
//
// Link: http://www.gnu.org/licenses/gpl-2.0.txt
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to:
//
// Free Software Foundation, Inc.
// 51 Franklin Street, Fifth Floor
// Boston, MA  02110-1301 USA
// =======================================================================

// =======================================================================
// Comment - Version 1.0 - DC
// =======================================================================

if ($db_themes_header_display == "Logo Image") {

	echo ("<img border='0' src='" . $db_themes_logo_image_dir . $db_themes_logo_image_name . "'>");

} else {

	echo($font_header);
	echo("<b>$db_themes_website_name</b>");
	echo("</font>");

}

?>
Return current item: FreePHPShoppingCartSoftware