Page 1 of 1

[JOB] Programmer required to assist with this snippet

Posted: Thu Feb 11, 2010 3:30 am
by Dan36
Hi
I’m using a smarty script to display some grids. I’ve tinkered around with the script to try and get the grids displayed in specific cells in a table but with no joy. :banghead:

Below is the code which generates the grids.

Code: Select all

<table cellspacing="0" cellpadding="0" width="1000" align="center" border="0"> 
{foreach item=grids from=$rows} 
<tr> 
{foreach item=grid from=$grids} 
<td> 
<img src="{$grid->url()|escape}" usemap="#grid_{$grid->id}" width="{$grid->width|escape}" height="{$grid->height|escape}" alt="" border="0" /></div><div style="clear: both"></div> 
</td> 
{/foreach} 
</tr> 
{/foreach} 
</table> 
{foreach item=rid_id from=$rids_ids} 
<div id="region-hint-{$rid_id}" class="hidde"><img src="show_image.php?rid={$rid_id}" /></div> 
{/foreach}
I would like the grids generated to be displayed in specific cells i.e.

Code: Select all

<table width="500" border="1"> 
<tr> 
<td width="100">grid id=2 to be displayed here</td> 
<td width="33">&nbsp;</td> 
<td width="100">grid id=3 to be displayed here</td> 
<td width="34">&nbsp;</td> 
<td width="100">grid id=4 to be displayed here</td> 
<td width="33">&nbsp;</td> 
<td width="100">grid id=5 to be displayed here</td> 
</tr> 
<tr> 
<td colspan="7">grid id=1 to be displayed here</td> 
</tr> 
</table>
Anyone like to carry this out for some paid freelance work? PM me if your interested.
Many thanks Dan

Re: [JOB] Programmer required to assist with this snippet

Posted: Thu Feb 25, 2010 1:57 pm
by Dan36
Sorry but work done now. Thanks for the offer though