How to show this in two columns?
This is list page, i would like to show only uploads [banner 120x60].
<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php
require_once "/home/trener_osobisty/trener_osobisty/cmsAdmin/lib/viewer_functions.php";
list($partnerzyRecords, $partnerzyMetaData) = getRecords(array(
'tableName' => 'partnerzy',
'where' => whereRecordNumberInUrl(1),
'limit' => '6',
));
$partnerzyRecord = @$partnerzyRecords[0]; // get first record
?>
<?php foreach ($partnerzyRecords as $record): ?>
<?php foreach ($record['banner_120x60'] as $upload): ?>
<a href="http://<?php echo $record['link'] ?>" title="<?php echo $record['title'] ?>"> <img src="<?php echo $upload['urlPath'] ?>" alt="" width="<?php echo $upload['width'] ?>" height="<?php echo $upload['height'] ?>" border="0" /></a>
<?php endforeach ?>
<?php endforeach ?>