<?php session_start(); if (!isset($_SESSION['sessCategory'])) { header('Location: index.php'); exit; } include_once 'inc/classes/Sound.php'; include_once 'inc/classes/SoundImage.php'; include_once 'inc/classes/SoundTest.php'; include_once 'inc/classes/Technology.php'; include_once 'inc/classes/Category.php'; $objSound = new Sound(); $oSound = $objSound->getAllSoundByCategoryId($_SESSION['sessCategory']); $objTechnology = new Technology(1); $objSoundImage = new SoundImage(); $oSoundImage = $objSoundImage->getAllSoundImageBySoundId($oSound[0]->Id); $objSoundTest = new SoundTest(); $oSoundTest = $objSoundTest->getAllSoundTest($oSound[0]->Id); $objCategory = new Category($_SESSION['sessCategory']); $bgcolor = "#F40000"; // Coke red default if ($objCategory->BackgroundColor != "") { $bgcolor = $objCategory->BackgroundColor; } $background = $bgcolor . " none repeat scroll 0% 0%"; // this is used in single-product-template.php ?> <!DOCTYPE html> <html lang="en"> <head>