Blank Page

2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 18, 2009   (RSS)

By s2smedia - May 15, 2009

Ive used CMS Builder before and never had this problem. Im using the new version for this new client, might me a new setting im not getting.

heres the test link:

guaranteedonsite.sight2sitemedia.net


heres the code:

<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php

require_once "/XXXXXX/lib/viewer_functions.php";

list($seo_managerRecords, $seo_managerMetaData) = getRecords(array(
'tableName' => 'seo_manager',
'where' => whereRecordNumberInUrl(1),
'limit' => '1',
));
$seo_managerRecord = @$seo_managerRecords[0]; // get first record


?>
<?php

require_once "XXXXXXXX/lib/viewer_functions.php";

list($productsRecords, $productsMetaData) = getRecords(array(
'tableName' => 'products',
));

?>

...................

<?php foreach ($productsRecords as $record): ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="services">
<tr>
<td width="100" align="left" valign="top" style="padding:0px 10px 10px 0px">
<?php foreach ($record['product_image'] as $upload): ?>


<img src="<?php echo $upload['urlPath'] ?>" width="<?php echo $upload['width'] ?>" height="<?php echo $upload['height'] ?>" alt="" />


<?php endif ?>
<?php endforeach ?>
</td>
<td align="left" valign="top"><span class="subheader_red"><?php echo $record['title'] ?></span><br />
<br />
<?php echo $record['description'] ?></td>
</tr>

</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top" style="padding:15px 0px 15px 0px"><img src="images/line2.jpg" width="510" height="1" alt="-" /></td>
</tr>
</table>
<?php endforeach; ?>

....................