0byt3m1n1-V2
Path:
/
home
/
magalijoj
/
www
/
blog
/
cbtpl
/
e3
/
ae
/
[
Home
]
File: e3ae5cbdd0dbd3ecd891b966fa86db9d.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0); ?>"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="MSSmartTagsPreventParsing" content="TRUE" /> <title><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0); ?></title> <link rel="schema.DC" href="http://purl.org/DC/elements/1.0/" /> <meta name="DC.Title" content="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?>" /> <meta name="DC.Creator" content="<?php echo context::global_filter($_ctx->posts->user_displayname,0,0,0,0,0); ?>" /> <meta name="DC.Language" scheme="rfc1766" content="<?php echo context::global_filter($_ctx->posts->post_lang,0,0,0,0,0); ?>" /> <link rel="top" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0); ?>" title="<?php echo __('Home'); ?>" /> <link rel="contents" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0); ?>" title="<?php echo __('Archives'); ?>" /> <?php $next_post = $core->blog->getNextPost($_ctx->posts->post_id,strtotime($_ctx->posts->post_dt),1); ?> <?php if ($next_post !== null) : ?><?php $_ctx->posts = $next_post; unset($next_post); while ($_ctx->posts->fetch()) : ?><link rel="next" href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>" title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?>" /><?php endwhile; $_ctx->posts = null; ?><?php endif; ?> <?php $prev_post = $core->blog->getNextPost($_ctx->posts->post_id,strtotime($_ctx->posts->post_dt),-1); ?> <?php if ($prev_post !== null) : ?><?php $_ctx->posts = $prev_post; unset($prev_post); while ($_ctx->posts->fetch()) : ?><link rel="previous" href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>" title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?>" /><?php endwhile; $_ctx->posts = null; ?><?php endif; ?> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/rss2",0,0,0,0,0); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/atom",0,0,0,0,0); ?>" /> <?php echo $core->tpl->getData('_head.html'); ?> </head> <body class="dc-post"> <div id="page"> <?php if ($_ctx->posts->trackbacksActive()) { echo $_ctx->posts->getTrackbackData(); } ?> <?php echo $core->tpl->getData('_top.html'); ?> <div id="wrapper"> <div id="main"> <div id="content"> <p id="navlinks"> <?php $prev_post = $core->blog->getNextPost($_ctx->posts->post_id,strtotime($_ctx->posts->post_dt),-1); ?> <?php if ($prev_post !== null) : ?><?php $_ctx->posts = $prev_post; unset($prev_post); while ($_ctx->posts->fetch()) : ?><a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>" title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?>" class="prev">« <?php echo context::global_filter($_ctx->posts->post_title,1,0,50,0,0); ?></a> | <?php endwhile; $_ctx->posts = null; ?><?php endif; ?> <?php $next_post = $core->blog->getNextPost($_ctx->posts->post_id,strtotime($_ctx->posts->post_dt),1); ?> <?php if ($next_post !== null) : ?><?php $_ctx->posts = $next_post; unset($next_post); while ($_ctx->posts->fetch()) : ?><a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>" title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?>" class="next"><?php echo context::global_filter($_ctx->posts->post_title,1,0,50,0,0); ?> »</a><?php endwhile; $_ctx->posts = null; ?><?php endif; ?> </p> <div class="post"> <h2 id="p<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0); ?>" class="post-title"><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?></h2> <p class="post-info"><?php echo __('By'); ?> <?php echo context::global_filter($_ctx->posts->getAuthorLink(),0,0,0,0,0); ?> <?php echo __('on'); ?> <?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0); ?>, <?php echo context::global_filter($_ctx->posts->getTime(''),0,0,0,0,0); ?> <?php if($_ctx->posts->cat_id) : ?> - <a href="<?php echo context::global_filter($_ctx->posts->getCategoryURL(),0,0,0,0,0); ?>"><?php echo context::global_filter($_ctx->posts->cat_title,1,0,0,0,0); ?></a> <?php endif; ?> - <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>"><?php echo __('Permalink'); ?></a> </p> <?php $objMeta = new dcMeta($core); $_ctx->meta = $objMeta->getMetaRecordset($_ctx->posts->post_meta,'tag'); $_ctx->meta->sort('meta_id_lower','asc'); ?><?php while ($_ctx->meta->fetch()) : ?> <?php if ($_ctx->meta->isStart()) : ?><ul class="post-tags"><?php endif; ?> <li><a href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("tag")."/".rawurlencode($_ctx->meta->meta_id),0,0,0,0,0); ?>"><?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0); ?></a></li> <?php if ($_ctx->meta->isEnd()) : ?></ul><?php endif; ?> <?php endwhile; $_ctx->meta = null; unset($objMeta); ?> <?php if($_ctx->posts->isExtended()) : ?> <div class="post-excerpt"><?php echo context::global_filter($_ctx->posts->getExcerpt(0),0,0,0,0,0); ?></div> <?php endif; ?> <div class="post-content"><?php echo context::global_filter($_ctx->posts->getContent(0),0,0,0,0,0); ?></div> </div> <?php if ($_ctx->posts !== null && $core->media) { $_ctx->attachments = new ArrayObject($core->media->getPostMedia($_ctx->posts->post_id)); ?> <?php foreach ($_ctx->attachments as $attach_i => $attach_f) : $GLOBALS['attach_i'] = $attach_i; $GLOBALS['attach_f'] = $attach_f; ?> <?php if ($attach_i == 0) : ?> <div id="attachments"> <h3><?php echo __('Attachments'); ?></h3> <ul> <?php endif; ?> <li class="<?php echo context::global_filter($attach_f->media_type,0,0,0,0,0); ?>"> <?php if($attach_f->type == "audio/mpeg3") : ?> <?php echo $core->tpl->getData('_mp3_player.html'); ?> - <?php endif; ?> <?php if($attach_f->type == "video/x-flv") : ?> <?php echo $core->tpl->getData('_flv_player.html'); ?> <?php endif; ?> <?php if($attach_f->type != "video/x-flv") : ?> <a href="<?php echo context::global_filter($attach_f->file_url,0,0,0,0,0); ?>" title="<?php echo context::global_filter($attach_f->basename,0,0,0,0,0); ?> (<?php echo context::global_filter(files::size($attach_f->size),0,0,0,0,0); ?>)"><?php echo context::global_filter($attach_f->media_title,0,0,0,0,0); ?></a> <?php endif; ?> </li> <?php if ($attach_i+1 == count($_ctx->attachments)) : ?> </ul> </div> <?php endif; ?> <?php endforeach; $_ctx->attachments = null; unset($attach_id); unset($attach_f); ?><?php } ?> <?php if(($_ctx->posts->hasComments() || $_ctx->posts->commentsActive())) : ?> <div id="comments"> <h3><?php echo __('Comments'); ?></h3> <?php if ($_ctx->exists("meta")) { @$params['from'] .= ', '.$core->prefix.'meta META '; @$params['sql'] .= 'AND META.post_id = P.post_id '; $params['sql'] .= "AND META.meta_type = 'tag' "; $params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' "; } ?> <?php if ($_ctx->posts !== null) { $params['post_id'] = $_ctx->posts->post_id; $core->blog->withoutPassword(false); } $params['comment_trackback'] = false; if ($_ctx->nb_comment_per_page !== null) { $params['limit'] = $_ctx->nb_comment_per_page; } if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; } if ($_ctx->exists("langs")) { $params['sql'] = "AND P.post_lang = '".$core->blog->con->escape($_ctx->langs->post_lang)."' "; } $params['order'] = 'comment_dt asc'; $_ctx->comments = $core->blog->getComments($params); unset($params); if ($_ctx->posts !== null) { $core->blog->withoutPassword(true);} ?> <?php while ($_ctx->comments->fetch()) : ?> <?php if ($_ctx->comments->isStart()) : ?> <dl> <?php endif; ?> <dt id="c<?php echo $_ctx->comments->comment_id; ?>" class="<?php if ($_ctx->comments->isMe()) { echo 'me'; } ?> <?php if (($_ctx->comments->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->comments->index() == 0) { echo 'first'; } ?>"><a href="#c<?php echo $_ctx->comments->comment_id; ?>" class="comment-number"><?php echo $_ctx->comments->index()+1; ?>.</a> <?php echo __('On'); ?> <?php echo context::global_filter($_ctx->comments->getDate(''),0,0,0,0,0); ?>, <?php echo context::global_filter($_ctx->comments->getTime(''),0,0,0,0,0); ?> <?php echo __('by'); ?> <?php echo context::global_filter($_ctx->comments->getAuthorLink(),0,0,0,0,0); ?></dt> <dd class="<?php if ($_ctx->comments->isMe()) { echo 'me'; } ?> <?php if (($_ctx->comments->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->comments->index() == 0) { echo 'first'; } ?>"><?php echo context::global_filter($_ctx->comments->getContent(0),0,0,0,0,0); ?></dd> <?php if ($_ctx->comments->isEnd()) : ?> </dl> <?php endif; ?> <?php endwhile; $_ctx->comments = null; ?> </div> <?php endif; ?> <?php if($_ctx->posts->commentsActive()) : ?> <?php if ($_ctx->form_error !== null) : ?> <p class="error" id="pr"><?php if ($_ctx->form_error !== null) { echo $_ctx->form_error; } ?></p> <?php endif; ?> <?php if (!empty($_GET['pub'])) : ?> <p class="message" id="pr"><?php echo __('Your comment has been published.'); ?></p> <?php endif; ?> <?php if (isset($_GET['pub']) && $_GET['pub'] == 0) : ?> <p class="message" id="pr"><?php echo __('Your comment has been submitted and will be reviewed for publication.'); ?></p> <?php endif; ?> <form action="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>#pr" method="post" id="comment-form"> <?php if ($_ctx->comment_preview !== null && $_ctx->comment_preview["preview"]) : ?> <div id="pr"> <h3><?php echo __('Your comment'); ?></h3> <dl> <dd class="comment-preview"><?php echo context::global_filter($_ctx->comment_preview["content"],0,0,0,0,0); ?></dd> </dl> <p><input type="submit" class="submit" value="<?php echo __('send'); ?>" /></p> </div> <?php endif; ?> <h3><?php echo __('Add a comment'); ?></h3> <fieldset> <p class="field"><label for="c_name"><?php echo __('Name or nickname'); ?> :</label> <input name="c_name" id="c_name" type="text" size="30" maxlength="255" value="<?php echo context::global_filter($_ctx->comment_preview["name"],1,0,0,0,0); ?>" /> </p> <p class="field"><label for="c_mail"><?php echo __('Email address'); ?> :</label> <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" value="<?php echo context::global_filter($_ctx->comment_preview["mail"],1,0,0,0,0); ?>" /> </p> <p class="field"><label for="c_site"><?php echo __('Website'); ?> (<?php echo __('optional'); ?>) :</label> <input name="c_site" id="c_site" type="text" size="30" maxlength="255" value="<?php echo context::global_filter($_ctx->comment_preview["site"],1,0,0,0,0); ?>" /> </p> <p style="display:none"><input name="f_mail" type="text" size="30" maxlength="255" value="" /></p> <p class="field"><label for="c_content"><?php echo __('Comment'); ?> :</label> <textarea name="c_content" id="c_content" cols="35" rows="7"><?php echo context::global_filter($_ctx->comment_preview["rawcontent"],1,0,0,0,0); ?></textarea> </p> </fieldset> <p class="form-help"><?php echo __('HTML code is displayed as text and web addresses are automatically converted.'); ?></p> <fieldset> <p><input type="checkbox" id="c_remember" name="c_remember" <?php if ($_ctx->comment_preview['remember']) { echo ' checked="checked"'; } ?> /> <label for="c_remember"><?php echo __('Remember me on this blog'); ?></label> </p> <p><input type="submit" class="preview" name="preview" value="<?php echo __('preview'); ?>" /> <?php if ($_ctx->comment_preview !== null && $_ctx->comment_preview["preview"]) : ?><input type="submit" class="submit" value="<?php echo __('send'); ?>" /><?php endif; ?></p> </fieldset> </form> <?php endif; ?> <?php if(($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?> <div id="pings"> <h3><?php echo __('They posted on the same topic'); ?></h3> <?php if ($_ctx->posts !== null) { $params['post_id'] = $_ctx->posts->post_id; $core->blog->withoutPassword(false); } $params['comment_trackback'] = true; $params['order'] = 'comment_dt asc'; $_ctx->pings = $core->blog->getComments($params); unset($params); if ($_ctx->posts !== null) { $core->blog->withoutPassword(true);} ?> <?php while ($_ctx->pings->fetch()) : ?> <?php if ($_ctx->pings->isStart()) : ?> <dl> <?php endif; ?> <dt id="c<?php echo $_ctx->pings->comment_id; ?>" class="<?php if (($_ctx->pings->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->pings->index() == 0) { echo 'first'; } ?>"><a href="#c<?php echo $_ctx->pings->comment_id; ?>" class="ping-number"><?php echo $_ctx->pings->index()+1; ?>.</a> <?php echo __('On'); ?> <?php echo context::global_filter($_ctx->pings->getDate(''),0,0,0,0,0); ?>, <?php echo context::global_filter($_ctx->pings->getTime(''),0,0,0,0,0); ?> <?php echo __('by'); ?> <?php echo context::global_filter($_ctx->pings->comment_author,1,0,0,0,0); ?></dt> <dd class="<?php if (($_ctx->pings->index()+1)%2) { echo 'odd'; } ?> <?php if ($_ctx->pings->index() == 0) { echo 'first'; } ?>"><p><a href="<?php echo context::global_filter($_ctx->pings->getAuthorURL(),0,0,0,0,0); ?>" <?php if($core->blog->settings->comments_nofollow) { echo ' rel="nofollow"';} ?>><?php echo context::global_filter($_ctx->pings->getTrackbackTitle(),1,0,0,0,0); ?></a></p> <?php echo context::global_filter($_ctx->pings->getTrackbackContent(),0,0,0,0,0); ?></dd> <?php if ($_ctx->pings->isEnd()) : ?> </dl> <?php endif; ?> <?php endwhile; $_ctx->pings = null; ?> </div> <?php endif; ?> <?php if($_ctx->posts->trackbacksActive()) : ?> <p id="ping-url"><?php echo __('Trackback URL'); ?> : <?php if ($_ctx->posts->trackbacksActive()) { echo $_ctx->posts->getTrackbackLink(); } ?> </p> <?php endif; ?> <?php if($_ctx->posts->commentsActive() || $_ctx->posts->trackbacksActive()) : ?> <p id="comments-feed"><a class="feed" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/rss2",0,0,0,0,0); ?>/comments/<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0); ?>" title="<?php echo __('This post\'s comments RSS feed'); ?>"><?php echo __('This post\'s comments feed'); ?></a></p> <?php endif; ?> </div> </div> <!-- End #main --> <div id="sidebar"> <div id="blognav"> <?php publicWidgets::widgetsHandler('nav'); ?> </div> <!-- End #blognav --> <div id="blogextra"> <?php publicWidgets::widgetsHandler('extra'); ?> </div> <!-- End #blogextra --> </div> </div> <!-- End #wrapper --> <?php echo $core->tpl->getData('_footer.html'); ?> </div> <!-- End #page --> </body> </html>
©
2018.