I am the one and only developer / programmer for FBC CMS and for those who never heard of it well its not officially a project yet. now I am having on the job training really seen i am a vb.net programmer not php
BUT this script which is only showing one block at a time either top or bottom. now this is the key to the blocks being displayed so this is required. I know for a fact it is only showing only two blocks max on the left.php script but the right.php script which is almost identical does the exact same thing.
heres the code:
CODE
<td width="5">
<?php
//adds an extra space between the collums
//keep this section for space.
//wanna delete, go on, it will be the same for idiots
?>
</td>
<td valign="top" width="200">
<?php
$place = ReadTb("blocks", "place");
$top = ReadTb("blocks", "top");
$enabled = ReadTb("blocks", "enabled");
$location = ReadTb("blocks", "location");
$icount = 0;
foreach ($place as $value) {
if ($place[$icount] == "left" and $top[$icount] == "1" and $enabled[$icount] == "1") {
include $blocksfolder .$location[$icount] .".php";
echo '<img src="' .$themefolder .'divider.gif" title="" width="100%" height="7">';
}
$icount = $icount + 1;
}
?>
<p></p>
<?php
$place = ReadTb("blocks", "place");
$top = ReadTb("blocks", "top");
$enabled = ReadTb("blocks", "enabled");
$location = ReadTb("blocks", "location");
$icount = 0;
foreach ($place as $value) {
if ($place[$icount] == "left" and $top[$icount] == "0" and $enabled[$icount] == "1") {
include $blocksfolder .$location[$icount] .".php";
echo '<img src="' .$themefolder .'divider.gif" title="" width="100%" height="7">';
}
$icount = $icount + 1;
}
?>
</td>
<td width="5">
<?php
//adds an extra space between the collums
//keep this section for space.
//wanna delete, go on, it will be the same for idiots
?>
</td>
this needs to be working asap becouse there is no way this cms will be released otherwise.
link to the cms
link to the cms working so you can see the problem.
between the user info and "Home" there should be another module