The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
test
Posted by: test | January 25, 2008 @ 10:58am
HTML Code
[
Download
]
{strip} {assign var=break value=7} {assign var=empty value="false"} {include file="header.tpl"} <div class="site"> {include file="left.tpl"} <div class="right"> {include file="top_links.tpl"} {include file="header_cms.tpl"} <div class="items"> <div class="item"> <div class="title">{include file="breadcrumbs.tpl"}</div> {if $mode eq "folder"} {foreach from=$cms_item_types item=type} {assign var=current value=$type} {/foreach} {if $current eq "product" or $current eq "article"} {if $cms_item_types neq null} {foreach from=$cms_item_types item=type} <div class="head_pagination">{if $subpages->$type neq null}{include file="pagination.tpl" subpage=$subpages->$type}{/if}</div> {/foreach} {foreach from=$cms_item_types item=type} {if $type eq "product"} <div class="clear"></div> <table border="0" cellspacing="0" cellpadding="0"> <tr> {foreach name=loop_name item=product from=$items.product} {assign var=count_me value=$smarty.foreach.loop_name.iteration} <td width="1"><img src="/img/line.jpg"></td> <td width="100"><a href="{$pathto}/{$product.named_id}.{$product.node.type}"><img src="/img/shop/{$product.attrs->primary.picture.value}" alt="" /></a><div class="label"><a href="{$pathto}/{$product.named_id}.{$product.node.type}">Model: {$product.attrs->primary.model.value}</a></div></td> {if $smarty.foreach.loop_name.last and $count_me neq $break} <td width="1"><img src="/img/line.jpg"></td> {/if} {if $smarty.foreach.loop_name.iteration mod $break eq 0} <td width="1"><img src="/img/line.jpg"></td></tr><tr> {/if} {if $count_me eq 7}{assign var=count_me value=0}{/if} {/foreach} </tr> </table> {elseif $type eq "article"} <div class="clear"></div> <br>Article List<br> {/if} {foreach from=$cms_item_types item=type} <div class="subtitle">{include file="breadcrumbs.tpl"}</div> <div class="foot_pagination">{if $subpages->$type neq null}{include file="pagination.tpl" subpage=$subpages->$type}{/if}</div> {/foreach} {/foreach} {else}{assign var=empty value="true"}{/if} {/if} {if $cms_item_types eq NULL or $empty eq "true"} <div class="head_pagination"> </div> <div class="clear"></div> <div align="center" style="padding: 5px;">There is nothing here at the moment. <a href="javascript:history.back()">Go back</a></div> {/if} {/if} {if $mode eq "item"} {if $item.node.type eq "product"} <div class="head_pagination">Creation Date: 12/02/2008</div> <div class="clear"></div> <br>Product Details<br> {elseif $item.node.type eq "article"} {foreach item=article from=$items.article} <div class="head_pagination">{$article.time|date_format:"%e %b %Y - %H:%M"}</div> <div class="clear"></div> <br>Article Details<br> {/foreach} {/if} {/if} </div> <div class="clear"></div> </div> </div> <div class="clear"></div> </div> {include file="footer.tpl"} {/strip}
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.49 / 8
156 Votes
http://codebin.yi.org/90
page generated in 0.01 seconds