Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php //print View::factory($) ?>
- <div class="post_container">
- <span class="category">
- <a rel="tag category" title="<?php print $category->description; ?>" href="<?php print URL::site('blog/category/'. $category->slug); ?>"><span class="<?php print $category->icon; ?> jqui-icon"></span></a>
- <a rel="tag category" title="<?php print $category->description; ?>" href="<?php print URL::site('blog/category/'. $category->slug); ?>"><?php print $category->title; ?></a>
- </span>
- <h3 class="content">
- <a rel="bookmark permalink" href="<?php print URL::site('blog/' . $post->slug); ?>"><?php print $post->title; ?></a>
- </h3>
- <p><strong>Author</strong>: <a rel="author me" href="<?php print URL::site('blog/author/juntalis');?>">Juntalis</a></p>
- <div class="spaced"><?php print $post->data; ?></div>
- <p class="spaced tagline">
- <span class="date"><em><?php print preg_replace('/ (\d+):(\d+) (AM|PM)/im', ' $1:$2 $3', date("D, M j, Y - h:i A", $post->created_on)); ?></em></span>
- <?php $tags = $post->tags;
- if(count($tags)) { ?>
- <span class="jqui-icon ui-icon-tag"></span><strong>Tags:</strong> <?php
- $str_tagline = '';
- foreach($tags as $tag) {
- if(!empty($tag))
- $str_tagline .= '<a rel="tag" href="' . URL::site('blog/tag/' . URL::title($tag)) . '/">' . $tag . '</a>, ';
- }
- $str_tagline = substr($str_tagline, 0, strlen($str_tagline) - 7);
- print $str_tagline;
- }
- ?></p>
- <div class="post_footer">
- <noscript><a rel="nofollow replies" href="<?php print URL::base(); ?>blog/post/<?php print $post->slug; ?>/comments/">Comments (<?php //print $post->comments_count; ?>)</a></noscript>
- <input type="checkbox" id="CmdShare_<?php print $post->id; ?>" class="share script" /><label class="script cmd_bar first" for="CmdShare_<?php print $post->id; ?>">Share this Post</label>
- <input type="checkbox" id="CmdComment_<?php print $post->id; ?>" class="comment script" /><label class="script cmd_bar" for="CmdComment_<?php print $post->id; ?>">Comments (<?php //print $post->comments; ?>)</label>
- <!-- Start Sharing Commands -->
- <div id="CntShare_<?php print $post->id; ?>" class="ui-widget panel">
- <div class="ui-state-highlight ui-corner-all" style="background-color:#fbfbef;">
- <h3>Various URLs</h3>
- <div style="float:right;text-align:left;width:50%;">
- <p>
- <strong>Tiny URL</strong><br />
- <input type="text" id="UrlTiny" class="input_text" value="<?php print Remote::get('http://tinyurl.com/api-create.php?url=' . URL::base() . 'blog/post/' . $post->id . '/'); ?>">
- </p>
- <p style="margin-top:1em;">
- <strong>BBCode</strong><br />
- <input type="text" id="UrlBBCode" class="input_text" value="[url=<?php print URL::base(); ?>blog/post/<?php print $post->id; ?>/]<?php print $post->title; ?>[/url]">
- </p>
- </div>
- <div style="display:block;">
- <p>
- <strong>Alternate URL</strong><br />
- <input type="text" id="UrlAlternate" class="input_text" value="<?php print URL::base(); ?>blog/post/<?php print $post->id; ?>">
- </p>
- <p style="margin-top:1em;">
- <strong>HTML Code</strong><br />
- <input type="text" id="UrlHtml" class="input_text" value="<a href="<?php print URL::base(); ?>blog/post/<?php print $post->id; ?>/"><?php print $post->title; ?></a>">
- </p>
- </div>
- </div>
- </div>
- <!-- End Sharing Commands -->
- <!-- Start Comment Commands -->
- <div id="CntComment_<?php print $post->id; ?>" class="ui-widget panel">
- <div class="ui-state-highlight ui-corner-all" style="background-color:#fbfbef;">
- <p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
- <strong>Sorry!</strong> <em>Not yet implemented..</em></p>
- </div>
- </div>
- <!-- End Comment Commands -->
- <script type="text/javascript" language="javascript">
- /*<![CDATA[*/
- $("#CmdShare_<?php print $post->id; ?>")
- .button({icons:{primary:'ui-icon-bookmark'}})
- .change(function() {
- $("#CntShare_<?php print $post->id; ?>").toggleSlide($("#CmdShare_<?php print $post->id; ?>"), 'slow');
- });
- $("#CmdComment_<?php print $post->id; ?>")
- .button({icons:{primary:'ui-icon-comment'}})
- .change(function() {
- $("#CntComment_<?php print $post->id; ?>").toggleSlide($("#CmdComment_<?php print $post->id; ?>"), 'slow');
- });
- /*]]>*/
- </script>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement