<?php
/**
 * pragmaMx  Content Management System
 * Copyright (c) 2007 pragmaMx Dev Team - http://pragmaMx.org
 * 
 * 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.
 * 
 */
if (!defined("mxMainFileLoaded")) die ("You can't access this file directly...");

$mxblockcache = false;

/**
 * Setzen der Variablen für die Titel der verschiedenen Blöcke
**/  
$blockfiletitle = 'Community '; // Der eigentliche Block Titel
$blocktitle1 = '<b><font color="#FFB804">Events</font></b>'; // Der Titel für den linken Block
$blocktitle2 = '<b><font color="#FFB804">Forum</font></b>'; // Der Titel für den mittleren block
$blocktitle3 = '<b><font color="#FFB804">Gallery</font></b>'; // Der Titel für den rechten Block
$align_block1_title = 'center'; // align des Titles des linken Blocks
$align_block2_title = 'center'; // align des Titles des mittleren Blocks
$align_block3_title = 'center'; // align des Titles des rechten Blocks

/**
 * Includen der Blöcke sowie setzen der Variablen für die Anzeige
**/  
include("blocks/block-latest_nd.php"); //Der linke Block
$out1 = $content; // Die Variable $out1 mit dem content von dem linken Block füllen
unset($content); // Die Variable wieder löschen damit der nächste Block sie mit neuen Werten füllen kann
include("blocks/block-smf_Center.php"); // Der Block in der Mitte
$out2 = $content; // Die Variable $out2 mit dem content von dem mittleren Block füllen
unset($content); // Die Variable wieder löschen damit der nächste Block sie mit neuen Werten füllen kann
include("block-Gallery-scroll-Last_pictures_thumb.php"); // Der rechte Block
$out3 = $content; // Die Variable $out3 mit dem content von dem rechten Block füllen

/**
 * Die eigentliche Ausgabe des Blocks
**/
$content = '
<table width="100%">
<tr>
<td width="33%" style="border-left : #666666 solid 1px;" align="'. $align_block1_title .'" >'. $blocktitle1 .'</td>
<td width="33%" style="border-left : #666666 solid 1px; border-right: #666666 solid 1px;" align="'. $align_block2_title .'">'. $blocktitle2 .'</td>
<td width="33%" style="border-right : #666666 solid 1px;" align="'. $align_block3_title .'">'. $blocktitle3 .'</td>
</tr>
<tr>
<td width="33%" style="border-left : #666666 solid 1px;">'. $out1 .'</td>
<td width="33%" style="border-left : #666666 solid 1px; border-right: #666666 solid 1px;">'. $out2 .'</td>
<td width="33%" style="border-right : #666666 solid 1px;">'. $out3 .'</td>
</tr>
</table>
';
?>
