define("ROOT_FOLDER_ID", 1016);
define("WEBPATH", "http://www.vater-gruppe.de");
define("INCLUDE_PHP_FOLDER", "system/include/php/");
define("countOfDisplayedComboBoxes",5);
define("ROOT_FOLDER_CORECLASSES_ID",1025);
define("ROOT_FOLDER_REPOSITORYCLASSES_ID",1026);
//define("ROOT_FOLDER_REPOSITORYCLASSES_ID",1398);
define("TABLE_PREFIX","vatergruppe");
define("TABLE_CATEGORIES",TABLE_PREFIX."tblCategorys");
define("TABLE_CONTENT",TABLE_PREFIX."tblContent");
define("TABLE_FILE",TABLE_PREFIX."tblFile");
define("TABLE_LINK",TABLE_PREFIX."tblLink");
define("TABLE_INDEX",TABLE_PREFIX."tblIndex");
define("TABLE_CATEGORY",TABLE_PREFIX."tblCategorys");
define ("ABSOLUTE_PATH","/webserver/customer/v/vagruppe/www.vater-gruppe.de/htdocs");
// ID's der Hauptmenüpunkte, die im Banner rechts unter den Bildern stehen sollen
$mainMenuRightItemIDArray = array(1048, 1049);
// 1048 = Kontakt
// 1049 = Suche
/*
* Including the core and repository classes
*/
$db2 = & new DB_WE();
/*
* Including the core classes
*/
$sqlSelectIncludes = " Select Path from ".TABLE_FILE." where ParentID = ".ROOT_FOLDER_CORECLASSES_ID;
$db2->query($sqlSelectIncludes);
while ($db2->next_record() == TRUE)
{
include_once ($_SERVER["DOCUMENT_ROOT"].$db2->Record["Path"]);
//echo "
Included1:".$_SERVER["DOCUMENT_ROOT"].$db2->Record["Path"];
}
/*
* Including the repository classes
*/
$sqlSelectIncludes = " Select Path from ".TABLE_FILE." where ParentID = ".ROOT_FOLDER_REPOSITORYCLASSES_ID;
$db2->query($sqlSelectIncludes);
while ($db2->next_record() == TRUE)
{
include_once ($_SERVER["DOCUMENT_ROOT"].$db2->Record["Path"]);
//echo "
Included2:".$_SERVER["DOCUMENT_ROOT"].$db2->Record["Path"];
}
?>
class HtmlHelperClass
{
function createHtmlFBComboBoxes($count, $alignment)
{
//$controlerFactory = new ControlerFactory();
//$controler = $controlerFactory->getInstance();
$controler = &ControlerFactory::getInstance();
//$options = "";
for ($i=0; $i < $count; $i++)
{
$options = $controler->getRegisteredClassesAsOptions($alignment);
$tempAlign = $alignment;
if (strtolower($alignment)=="right")
$tempAlign = "";
printElement( we_tag("select", array("name"=>"FB".$tempAlign.$i), $options ));
echo "
";
}
}
function showFBComboBoxes($count, $alignment)
{
//$controlerFactory = new ControlerFactory();
//$controler = &$controlerFactory->getInstance();
$controler = &ControlerFactory::getInstance();
//echo "
Anzuzeigende Funktionsblöcke
| =$layout->getLogo();?> | =$layout->getMainMenu($menuItems);?> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
//=$layout->getLink("http://www.web.de", "Test");?>
$htmlHelper->showFBComboBoxes(countOfDisplayedComboBoxes, FB_ALIGNEMENT_CENTER); ?>
=$layout->getTitle();?>
weiter
}
else if (isset($GLOBALS["HTTP_GET_VARS"]["we_lv_search_0"]))
{
?>
|
=$htmlHelper->showFBComboBoxes(countOfDisplayedComboBoxes, FB_ALIGNEMENT_RIGHT);?>
if ($hasRelatedPages > 0)
{
?>
Verwandte Themen
}
?>
if ($hasRelatedPages > 0)
{
?>
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||