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
untitled PHP Code
Posted by: simon | October 14, 2010 @ 2:40am
PHP Code
[
Download
]
$i=0; foreach($show as $s){ $i++; if($i==1) $ornament = "ornament-1"; else $ornament = ''; if($title == $s['title']) $s['title'] = ' '; echo ' <div class="block-1c fl"> <h2><span class="fc3 '.$ornament.'">'.$s['title'].'</span></h2> <div class="product" > <a href="#" class="img" style="background-image: url({{pot}}images/tmp4.jpg);">Ustna voda</a> <br /><br /> <strong class="fs14 fc3">'.$s['pagetitle'].'</strong> <p class="fc3">'.$s['introtext'].'</p> <a href="[~'.$s['id'].'~]" class="arrow">Preberite več</a> </div> </div> '; $title = $s['title']; }
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.43 / 8
49 Votes
http://codebin.yi.org/893
page generated in 0.00 seconds