Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $properties = array(
- title=>"Title",
- author=>"John",
- published=>1333576782
- );
- $content="<p>paragraph!</p>"
- block($content, $properties);
- ?>
- Would produce:
- <div class='block'>
- <div class='blockInner'>
- <h1>Title</h1>
- <span class='author'>By: John</span>
- <span class='published'>4/4/2012 at 6:01:52 PM</span>
- <p>Paragraph</p>
- </div>
- </div>
Add Comment
Please, Sign In to add comment