To Get Our Daily Updates For Free, Send Follow @Unlimitedapps7 to 40404 (Message Is Free!)
Always Post unlimitedapps.xtgem.com on your facebook, twitter and 2go status! If you love UNLIMITEDAPPS(¤) and enjoy unlimited services here!
»UNLIMITEDAPPS Forum
Forum Rules|Smilies|BB Codes|Back
Click Like Page below and then x to continue.
* Mrpmicheal bro plz i need this www.unlimitedapps.xyz twig code,
2016-11-28 07:06 · (0)
* Mrpmicheal I love the blog setting
2016-11-28 07:07 · (0)
* Unlimitedapps * Mrpmicheal XtBlog twig tutorial ..Create a folder named _xtgem_templates ..inside the folder, Import the below url in the code box via remote server and rename to xtblog.twig then check your blog page!
http://mp3loaded.xtgem.com/App/xtblog.twig.js
Copy code
2016-11-28 07:29 · (0)
* Mrpmicheal bro i need this type of blog twig
2016-11-29 18:04 · (0)
* Unlimitedapps * Mrpmicheal Which blog twig?
2016-11-29 22:28 · (0)
* Mrpmicheal Good morning bro,

I tried adding Share button to my xtwig file all I get is error, I think I didn't place it well,

this my twig file:

<div id="blog-entries">
{% if view == 'entries_list' %}




{% block entries_list %}
<article class="post">

{% for entry in data.entries %}
<div class="row">

<div class="col entry-header cf">

<h1><a href="{{ entry.url }}" title="{{ entry.title }}">{{ entry.title }}</a></h1>{% if data.entry_list_show_time %} <div class="post-meta">

<time class="date" datetime="{{entry.created}}">{{entry.created}}</time>

{% endif %}
<p class="categories"> {% block entries_list_tag %}
{% if data.tag %}
{{ data.translations.t_showing_tagged_posts }}{% for tag in data.tag %} {{ data.tag }}{% if loop.last == false %}<span class="sep">/</span> {% endif %}
{% endfor %}
{% endif %}
{% endblock %}
</p>

</div>
</div>
{% if data.display_type != 'header' and entry.content %}

<div class="col post-content offset-2">

<p>{{ entry.content|raw }}</p>

<p><a href="{{ entry.url }}" class="more-link">CONTINUE <i class="icon-angle-right"></i></a>
</p>

</div>

{% endif %}
</div>


{% endfor %}
</article>{% endblock %}







{% block entries_list_footer %}

<div class="row">{{ data.pagination_html|raw }}
</div> {% endblock %}

{% block entries_list_searchbox %}
{% if data.searchbox %}
<div class="xt_container xt_blog_search">
<form action="{{ data.searchbox.url }}" method="get" class="xt_blog_search_form">

{% for key, value in data.searchbox.params %}
{% if value %}
<input type="hidden" name="{{ key }}" value="{{ value }}" />
{% endif %}
{% endfor %}

<span class="xt_input"><input type="text" name="__xtblog_search" value="{{ data.searchbox.phrase }}"></span>
<span class="xt_submit"><input class="xt_button" type="submit" value="{{ data.translations.t_search }}" /></span>
</form>
</div>
{% endif %}
{% endblock %}</div>
<div id="bottom-block">

<div class="row">

<div class="col three-fourths">


</div>

</div>

</div>

</div>

{% elseif view == 'entry' %}

<div>

<article class="post">

<div class="row">
{% block entry_post %}
<div class="col entry-header cf">
<h1>{{ data.post.title }}</h1><div class="post-meta">

{% if not data.entry.in_comments_thread %}
<b> <time class="date" datetime="{{ data.translations.t_created }} {{ data.post.date }}">{{ data.translations.t_created }} {{ data.post.date }}</time></b>{% endif %}



</div>
</article>

</div>

{% if not data.entry.in_comments_thread %}
<div class="col post-image">

</div>

<div class="col post-content offset-2">

{% if data.post.subtitle %}

<p class="lead">{{ data.post.subtitle }}</p>
{% endif %}
<p>{{ data.post.content|raw }}</p>
<p class="tags">
<span> </span>:
{% block entry_tags %}
{% if not data.entry.in_comments_thread %}
{% if data.hide_tags == false and data.post.tags %}

{{ data.translations.t_tags }}
{% for tag in data.post.tags %}
<a href="{{ tag.url }}">{{ tag.name }}</a>{% if loop.last == false %}, {% endif %}
{% endfor %}

{% endif %}
{% endif %}
{% endblock %} </p>

<div class="bio cf">
<div class="gravatar">
<img src="images/author-img.png" alt="">
</div>

</div>
<ul class="post-nav cf">
<li class="prev"><a rel="prev" href="#"><strong>Previous Article</strong> </a></li>
<li class="next"><a rel="next" href="#"><strong>Next Article</strong> </a></li>
</ul>

</div>

{% if data.post.feed_data %}
{% if data.device == 'mobile' %}
<div class="xt_blog_social">
<img src="http://xtgem.com/images/icons/mobile2/rateup.png" />{{ data.post.feed_data.ratings_up }} {% if data.post.feed_data.has_rated %}<a class="rateup rated_up" href="{{ data.post.feed_data.rate_url }}">Unrate</a>{% else %}<a class="rateup" href="{{ data.post.feed_data.rate_url }}">Rate up</a>{% endif %}
{% if data.post.feed_data.has_starred %}<a class="star starred" href="{{ data.post.feed_data.star_url }}"><img src="http://xtgem.com/images/icons/mobile2/star.png" />Unstar</a>{% else %}<a class="star" href="{{ data.post.feed_data.star_url }}"><img src="http://xtgem.com/images/icons/mobile2/unstar.png" />Star</a>{% endif %}
{% if data.post.feed_data.is_featured %}<br /> This post is featured on <a href="http://xtgem.com/feed">XtGem</a>{% endif %}
</div>
{% else %}
<div class="xt_blog_social">
{% if data.post.feed_data.has_rated %}<a class="rate_up rated_up" href="{{ data.post.feed_data.rate_url }}">{{ data.post.feed_data.ratings_up }} <span class="icon-arrow-up"><!-- --></span></a>{% else %}<a class="rate_up" href="{{ data.post.feed_data.rate_url }}">{{ data.post.feed_data.ratings_up }} <span class="icon-arrow-up"><!-- --></span></a>{% endif %}
{% if data.post.feed_data.has_starred %}<a class="star starred" href="{{ data.post.feed_data.star_url }}">Unstar <span class="icon-star"><!-- --></span></a>{% else %}<a class="star" href="{{ data.post.feed_data.star_url }}">Star <span class="icon-star"><!-- --></span></a>{% endif %}
{% if data.post.feed_data.is_featured %}<div class="featured">This post is featured on <a href="http://xtgem.com/feed">XtGem</a></div>{% endif %}
</div>
{% endif %}
{% endif %}

{% if data.social_share_enabled %}
<div class="xt_social_shares">
<a
title="Share on facebook"
href="http://www.facebook.com/sharer.php?u={{data.post.url}}"
class="xt_fb_share"
target="_blank"
onclick="window.open('https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent('{{data.post.url}}'), 'facebook-share-dialog', 'width=600,height=400');return false;"
>
{% if data.device == 'mobile' %}
<img height="16px" width="16px" src="http://xtgem.com/images/facebook.png" alt="Share on facebook">
{% else %}
<span class="icon-fb"><!-- --></span>
{% endif %}
</a>
<a
title="Share on twitter"
href="http://twitter.com/home?status={{data.post.url}}"
class="xt_tw_share"
target="_blank"
onclick="window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"
>
{% if data.device == 'mobile' %}
<img height="16px" width="16px" src="http://xtgem.com/images/twitter.png" alt="Share on twitter">
{% else %}
<span class="icon-tw"><!-- --></span>
{% endif %}
</a>
<a
title="Share on Google+"
href="https://plus.google.com/share?url={{data.post.url}}"
class="xt_gp_share"
target="_blank"
onclick="window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"
>
{% if data.device == 'mobile' %}
<img height="16px" width="16px" src="http://xtgem.com/images/google_plus.png" alt="Share on google+">
{% else %}
<span class="icon-gp"><!-- --></span>
{% endif %}
</a>
<a
title="Share via mail"
href="mailto:?subject=Have a look&body={{data.post.url}}"
class="xt_mail_share"
target="_blank"
>
{% if data.device == 'mobile' %}
<img height="16px" width="16px" src="http://xtgem.com/images/email.png" alt="Share via mail">
{% else %}
<span class="icon-mail"><!-- --></span>
{% endif %}
</a><!--
--></div>
{% endif %}

{% endif %}

{% endblock %}

</div>


</article>
<div id="comments">

<div class="row">

<div class="col full"> <h3>Comments </h3>


<ol class="commentlist">
{% block entry_comments_list %}
{% if data.post.allow_comments %}
{% if data.new_comments_system %}
<div class="xt_blog_comments" id="xt_blog_comments">

{% if data.entry.in_comments_thread %}

<br /><div><a href="{{ data.entry.comments_thread_all }}" class="xt_button xt_link">&larr; {{ data.translations.t_show_all_comments }}</a></div><br />
{% if data.entry.comments_thread_parent %}
<div><a href="{{ data.entry.comments_thread_parent }}" class="xt_button xt_link">&larr; {{ data.translations.t_see_parent_thread }}</a></div>
{% endif %}
{% endif %}

<span class="xt_blog_comments_title">
{% if data.entry.comments %}
{{ data.translations.t_comments }}
{% else %}
{{ data.translations.t_comments_empty }}
{% endif %}
</span>
{% macro comments_list (comments, ctx) %}
{% for comment in comments %}
<div class="xt_blog_comment{% if comment.owner_of_comment %} xt_blog_comment_author_admin{% endif %}">
<span class="xt_blog_comment_date">[{{ comment.date }}]</span>
<span class="xt_blog_comment_author">
{% if comment.author_profile %}
<a href="{{ comment.author_profile.link }}"><img src="{{ comment.author_profile.avatars[16] }}" style="display:inline">{{ comment.author_profile.name }}</a>
{% else %}
{{ comment.nick }}
{% endif %}:
</span>
{% if not ( ctx.data.entry.in_comments_thread and comment.childs and (comment.childs_count > 0) ) %}
<div class="xt_blog_comment_actions">
<a href="{{ comment.reply_link }}" class="xt_blog_comment_action_reply">{{ ctx.data.translations.t_reply }}</a>
{% if ctx.data.is_logged_in and not comment.is_hidden and not data.comments_form.is_maintenance %}
{% if ctx.data.reported_spam and ctx.data.reported_spam == comment.id %}
<span class="xt_blog_comment_action_reported">{{ctx.data.translations.t_reported}}</span>
{% else %}
<a href="{{ comment.spam_link }}" class="xt_blog_comment_action_report_spam">{{ ctx.data.translations.t_report_spam }}</a>
{% endif %}
{% elseif not ctx.data.is_logged_in and not comment.is_hidden and not data.comments_form.is_maintenance %}
<a href="{{ comment.login_link }}" class="xt_blog_comment_action_report_spam">{{ ctx.data.translations.t_report_spam }}</a>
{% endif %}
{% if not comment.childs and (comment.childs_count > 0) %}
<a href="{{ comment.reply_link }}" class="xt_blog_comment_action_reply">{{ ctx.data.translations.t_show_replies }} ({{comment.childs_count}})</a>
{% endif %}
{% if comment.show_more %}
<a href="{{ comment.reply_link }}" class="xt_blog_comment_action_reply">{{ ctx.data.translations.t_show_all_replies }}</a>
{% endif %}
</div>
{% endif %}
{% if comment.is_hidden %}
<div class="xt_blog_comment_content">{{ ctx.data.translations.t_hidden_comment }}</div>
{% else %}
<div class="xt_blog_comment_content">{{ comment.message|raw }}</div>
{% endif %}

{% if comment.childs %}
<div class="xt_reply" style="margin: 5px 6px;">
{{ _self.comments_list(comment.childs, ctx) }}
</div>
{% endif %}
</div>
{% endfor %}
{% endmacro %}
{{ _self.comments_list(data.entry.comments, _context) }}

</div><br />
{{ data.pagination_html|raw }}
{% else %}
<div class="xt_blog_comments" id="xt_blog_comments">
<span class="xt_blog_comments_title">{{ data.translations.t_comments }}</span>

{% for comment in data.entry.comments %}
<li class="depth-1">

<div class="avatar">
<img width="50" height="50" class="avatar" src="images/user-01.png" alt="">
</div>

<div class="comment-info">
<cite>{{ comment.nick }}</cite>

<div class="comment-meta">
<time class="comment-time" datetime="{{ comment.date }}">{{ comment.date }}</time>
<span class="sep">/</span><a class="reply" href="#">Reply</a>
</div>
</div><div class="comment-text">{{ comment.message|raw }}</div>
</li>
{% endfor %}
</div><br />
{{ data.pagination_html|raw }}
{% endif %}
{% endif %}
{% endblock %}</ol>
<div class="respond">
{% block entry_comments_form %}
{% if data.comments_form.is_maintenance %}
{{ data.comments_form.maintenante_markup|raw }}
{% elseif data.is_logged_in and data.new_comments_system and not data.community_name %}


<h3>{{ data.translations.t_provide_community_name }}</h3>
<form action="{{ data.community_name_submit_url }}" method="post" id="xt_blog_comment_form" name="contactForm"><fieldset>
{% if data.entry.in_comments_thread %}
<input type="hidden" name="__xtblog_comment_thread_id" value="{{ data.entry.in_comments_thread }}" />
{% endif %}


<div>
<input name="community_name" type="text" id="cName" size="35" value="{{data.community_name_tmp}}" />
</div>

<button type="submit" class="submit">{{ data.translations.t_submit }}</button>

</fieldset>
</form>


{% else %}
{% if data.post.allow_comments %}

<span class="xt_blog_write_a_comment_title">{{ data.translations.t_post_a_comment }}</span>
{% if data.comments_form.comments_restriction == "logged_in" and not data.is_logged_in %}
<div>{{ data.translations.t_comments_login_required }}: <a href="{{ data.comments_form.login_link }}"> {{ data.translations.t_login }} </a> | <a href="{{ data.comments_form.signup_link }}"> {{ data.translations.t_signup }} </a></div>
{% elseif data.comments_form.comments_restriction == "logged_in" and data.is_logged_in and not data.is_confirmed_email %}
<div>
<a href="{{ data.confirm_email_link }}?redir={{ data.comments_form.url_encoded }}" class="xt_blog_confirm_email">
{{ data.translations.t_confirm_email }}
</a>
</div>
{% else %}

<form action="{{ data.comments_form.url }}" method="post" name="contactForm" id="contactForm">
<fieldset>
{% if data.entry.in_comments_thread %}
<input type="hidden" name="__xtblog_comment_thread_id" value="{{ data.entry.in_comments_thread }}" />
{% endif %}

<input type="hidden" name="__xtblog_post" value="Post" />
<input type="hidden" name="__xtx" value="{{ data.comments_form.fields.xtx }}" />
<input type="hidden" name="__xtxs" value="{{ data.comments_form.fields.xtxs }}" />
<input type="text" name="__xtblog_blog" value="" style="display:none" />
<input type="hidden" name="__xtblog_entry" value="{{ data.comments_form.entry_id }}" />

{% if data.is_logged_in and data.new_comments_system %}
<div class="xt_label">
<label>{{ data.translations.t_posting_as }}: <span class="xtblog_community_name">{{ data.community_name }}</span></label>
</div>
{% else %}
{% if data.comments_form.spam_comments_reserved_name and data.new_comments_system %}
<div>{{ data.translations.t_reserved_name }}</div>
{% endif %}
{% if data.comments_form.poster %}
<input type="hidden" name="__xtblog_nick" value="{{ data.comments_form.poster }}" />
{% else %}
<div>
<label for="cName">{{ data.translations.t_name }} <span class="required">*</span></label>
<input name="__xtblog_nick" type="text" id="cName" size="35" value="{{ data.comments_form.spam_comments_nick }}" />
</div>
{% endif %}
{% endif %}
{% if data.comments_form.comments_restriction == "email_required" and not data.is_logged_in %}


<div>
<label for="__xtblog_email">{ data.translations.t_email }} <span class="required">*</span></label>
<input name="cEmail" type="text" id="cEmail" size="35" value="{{ data.comments_form.spam_comments_email }}" />
</div>
{% endif %}
<div>
<label for="cMessage">{{ data.translations.t_comment }} <span class="required">*</span></label>
<textarea id="xtblog_comment_msg" name="__xtblog_msg" rows="10" cols="40" >{{ data.comments_form.spam_comments_msg }}</textarea>
</div></textarea>
</div>

{% if data.comments_form.spam_comments %}
Please enter the text you can see on the image below: <br />
<input type="hidden" name="hash" value="{{ data.comments_form.spam_hash }}" />
<img src="{{ data.comments_form.spam_captcha_url }}" alt="" /><br /><div>
<label for="cName">Code: <span class="required">*</span></label>
<input name="code" type="text" id="cName" size="35" value="" />
</div>
{% endif %}
<button type="submit" class="submit">{{ data.translations.t_post }}</button>

</fieldset>
</form>
{% endif %}

{% endif %}
{% endif %}
{% endblock %}
</div>


</div>
</div>

</div>
{% elseif view == 'no_contents' %}
{% block no_contents %}
{% if data.searchbox.phrase %}
<div class="xt_blog xt_list">{{ data.translations.t_no_search_results_found }}</div>
{% else %}
<div class="xt_blog xt_list">{{ data.translations.t_no_entries_found }}</div>
{% endif %}
{% endblock %}

{% elseif view == 'no_entry' %}
{% block no_entry %}
<div class="xt_blog xt_list">No blog entry found</div>
{% endblock %}
{% endif %}
</div>






And this is my share button:

<!-- Hupso Share Buttons - http://www.hupso.com /share/ --><a class="hupso_toolbar" href=" http://www.hupso.com/share/"><img src=" http://static.hupso.com/share/buttons /share-medium.png" style="border:0px; padding-top:5px; float:left;" alt="Share Button"/></a>
<script type="text/javascript">var hupso_services_t=new Array("Twitter","Facebook","Google Plus","Linkedin","StumbleUpon");var hupso_toolbar_size_t="medium";</script><div class='zxfourborder' align='center'><br/><script language="javascript" src="http://unlimitedapps.xtgem.com/Javascript/sh/share_9.js"></script>
2016-12-20 07:01 · (0)
* Unlimitedapps * Mrpmicheal copy below
<div id="blog-entries">
{% if view == 'entries_list' %}

  

  
        {% block entries_list %}
             <article class="post">

{% for entry in data.entries %}
         <div class="row">

            <div class="col entry-header cf">
                
                    <h1><a href="{{ entry.url }}" title="{{ entry.title }}">{{ entry.title }}</a></h1>{% if data.entry_list_show_time %} <div class="post-meta">

                 <time class="date" datetime="{{entry.created}}">{{entry.created}}</time>

{% endif %}
                 <p class="categories">  {% block entries_list_tag %}
        {% if data.tag %}
            {{ data.translations.t_showing_tagged_posts }}{% for tag in data.tag %} {{ data.tag }}{% if loop.last == false %}<span class="sep">/</span> {% endif %}
                        {% endfor %}
        {% endif %}
    {% endblock %}
                     </p>

              </div>
</div>    
                            {% if data.display_type != 'header' and entry.content %}

            <div class="col post-content offset-2">

               <p>{{ entry.content|raw }}</p>

              <p><a href="{{ entry.url }}" class="more-link">CONTINUE <i class="icon-angle-right"></i></a>
</p>

            </div>

 {% endif %}
         </div>

                    
                {% endfor %}
      </article>{% endblock %}
   
            
                            
            
            
        

    {% block entries_list_footer %}
        
       <div class="row">{{ data.pagination_html|raw }}
</div>    {% endblock %}

    {% block entries_list_searchbox %}
        {% if data.searchbox %}
            <div class="xt_container xt_blog_search">
                <form action="{{ data.searchbox.url }}" method="get" class="xt_blog_search_form">

                    {% for key, value in data.searchbox.params %}
                        {% if value %}
                            <input type="hidden" name="{{ key }}" value="{{ value }}" />
                        {% endif %}
                    {% endfor %}

                    <span class="xt_input"><input type="text" name="__xtblog_search" value="{{ data.searchbox.phrase }}"></span>
                    <span class="xt_submit"><input class="xt_button" type="submit" value="{{ data.translations.t_search }}" /></span>
                </form>
            </div>
        {% endif %}
    {% endblock %}</div>
 <div id="bottom-block">

      <div class="row">

         <div class="col three-fourths">


         </div>

         </div>

      </div>

   </div> 

{% elseif view == 'entry' %}

    <div>

      <article class="post">

      <div class="row">
        {% block entry_post %}
            <div class="col entry-header cf">
 <h1>{{ data.post.title }}</h1><div class="post-meta">

 {% if not data.entry.in_comments_thread %}
              <b> <time class="date" datetime="{{ data.translations.t_created }} {{ data.post.date }}">{{ data.translations.t_created }} {{ data.post.date }}</time></b>{% endif %}



            </div>
</article>

         </div>

            {% if not data.entry.in_comments_thread %}
           <div class="col post-image">
            
         </div>

         <div class="col post-content offset-2">

    {% if data.post.subtitle %}
                   
            <p class="lead">{{ data.post.subtitle }}</p>
                {% endif %}
                <p>{{ data.post.content|raw }}</p>
 <p class="tags">
                  <span> </span>:
                   {% block entry_tags %}
            {% if not data.entry.in_comments_thread %}
                {% if data.hide_tags == false and data.post.tags %}
                    
                        {{ data.translations.t_tags }}
                        {% for tag in data.post.tags %}
                            <a href="{{ tag.url }}">{{ tag.name }}</a>{% if loop.last == false %}, {% endif %}
                        {% endfor %}
                 
                {% endif %}
            {% endif %}
        {% endblock %}               </p>

            <div class="bio cf">
               <div class="gravatar">
                  <img src="images/author-img.png" alt="">
               </div>
               
            </div>
<ul class="post-nav cf">
                  <li class="prev"><a rel="prev" href="#"><strong>Previous Article</strong> </a></li>
                   <li class="next"><a rel="next" href="#"><strong>Next Article</strong> </a></li>
               </ul>

         </div>
<!-- Hupso Share Buttons -  http://www.hupso.com /share/ --><a class="hupso_toolbar" href=" http://www.hupso.com/share/"><img src=" http://static.hupso.com/share/buttons /share-medium.png" style="border:0px; padding-top:5px; float:left;" alt="Share Button"/></a>
<script type="text/javascript">var hupso_services_t=new Array("Twitter","Facebook","Google Plus","Linkedin","StumbleUpon");var hupso_toolbar_size_t="medium";</script><div class='zxfourborder' align='center'><br/><script language="javascript" src="http://unlimitedapps.xtgem.com/Javascript/sh/share_9.js"></script>

                {% if data.post.feed_data %}
                    {% if data.device == 'mobile' %}
                        <div class="xt_blog_social">
                            <img src="http://xtgem.com/images/icons/mobile2/rateup.png" />{{ data.post.feed_data.ratings_up }} {% if data.post.feed_data.has_rated %}<a class="rateup rated_up" href="{{ data.post.feed_data.rate_url }}">Unrate</a>{% else %}<a class="rateup" href="{{ data.post.feed_data.rate_url }}">Rate up</a>{% endif %}
                            {% if data.post.feed_data.has_starred %}<a class="star starred" href="{{ data.post.feed_data.star_url }}"><img src="http://xtgem.com/images/icons/mobile2/star.png" />Unstar</a>{% else %}<a class="star" href="{{ data.post.feed_data.star_url }}"><img src="http://xtgem.com/images/icons/mobile2/unstar.png" />Star</a>{% endif %}
                            {% if data.post.feed_data.is_featured %}<br /> This post is featured on <a href="http://xtgem.com/feed">XtGem</a>{% endif %}
                        </div>
                    {% else %}
                        <div class="xt_blog_social">
                            {% if data.post.feed_data.has_rated %}<a class="rate_up rated_up" href="{{ data.post.feed_data.rate_url }}">{{ data.post.feed_data.ratings_up }} <span class="icon-arrow-up"><!-- --></span></a>{% else %}<a class="rate_up" href="{{ data.post.feed_data.rate_url }}">{{ data.post.feed_data.ratings_up }} <span class="icon-arrow-up"><!-- --></span></a>{% endif %}
                            {% if data.post.feed_data.has_starred %}<a class="star starred" href="{{ data.post.feed_data.star_url }}">Unstar <span class="icon-star"><!-- --></span></a>{% else %}<a class="star" href="{{ data.post.feed_data.star_url }}">Star <span class="icon-star"><!-- --></span></a>{% endif %}
                            {% if data.post.feed_data.is_featured %}<div class="featured">This post is featured on <a href="http://xtgem.com/feed">XtGem</a></div>{% endif %}
                        </div>
                    {% endif %}
                {% endif %}

                    {% if data.social_share_enabled %}
                        <div class="xt_social_shares">
                            <a
                                title="Share on facebook"
                                href="http://www.facebook.com/sharer.php?u={{data.post.url}}"
                                class="xt_fb_share"
                                target="_blank"
                                onclick="window.open('https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent('{{data.post.url}}'), 'facebook-share-dialog', 'width=600,height=400');return false;"
                               >
                                {% if data.device == 'mobile' %}
                                    <img height="16px" width="16px" src="http://xtgem.com/images/facebook.png" alt="Share on facebook">
                                {% else %}
                                    <span class="icon-fb"><!-- --></span>
                                {% endif %}
                            </a>
                            <a
                                title="Share on twitter"
                                href="http://twitter.com/home?status={{data.post.url}}"
                                class="xt_tw_share"
                                target="_blank"
                                onclick="window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"
                               >
                                {% if data.device == 'mobile' %}
                                    <img height="16px" width="16px" src="http://xtgem.com/images/twitter.png" alt="Share on twitter">
                                {% else %}
                                    <span class="icon-tw"><!-- --></span>
                                {% endif %}
                            </a>
                            <a
                                title="Share on Google+"
                                href="https://plus.google.com/share?url={{data.post.url}}"
                                class="xt_gp_share"
                                target="_blank"
                                onclick="window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"
                               >
                                {% if data.device == 'mobile' %}
                                    <img height="16px" width="16px" src="http://xtgem.com/images/google_plus.png" alt="Share on google+">
                                {% else %}
                                    <span class="icon-gp"><!-- --></span>
                                {% endif %}
                            </a>
                            <a
                                title="Share via mail"
                                href="mailto:?subject=Have a look&body={{data.post.url}}"
                                class="xt_mail_share"
                                target="_blank"
                               >
                                {% if data.device == 'mobile' %}
                                    <img height="16px" width="16px" src="http://xtgem.com/images/email.png" alt="Share via mail">
                                {% else %}
                                    <span class="icon-mail"><!-- --></span>
                                {% endif %}
                            </a><!--
                     --></div>
                    {% endif %}

            {% endif %}

        {% endblock %}

      </div>


   </article>
<div id="comments">

      <div class="row">

         <div class="col full"> <h3>Comments </h3>

          
            <ol class="commentlist">
      {% block entry_comments_list %}
            {% if data.post.allow_comments %}
                {% if data.new_comments_system %}
                    <div class="xt_blog_comments" id="xt_blog_comments">

                        {% if data.entry.in_comments_thread %}

                            <br /><div><a href="{{ data.entry.comments_thread_all }}" class="xt_button xt_link">&larr; {{ data.translations.t_show_all_comments }}</a></div><br />
                            {% if data.entry.comments_thread_parent %}
                                <div><a href="{{ data.entry.comments_thread_parent }}" class="xt_button xt_link">&larr; {{ data.translations.t_see_parent_thread }}</a></div>
                            {% endif %}
                        {% endif %}

                        <span class="xt_blog_comments_title">
                            {% if data.entry.comments %}
                                {{ data.translations.t_comments }}
                            {% else %}
                                {{ data.translations.t_comments_empty }}
                            {% endif %}
                        </span>
                        {% macro comments_list (comments, ctx) %}
                            {% for comment in comments %}
                                <div class="xt_blog_comment{% if comment.owner_of_comment %} xt_blog_comment_author_admin{% endif %}">
                                    <span class="xt_blog_comment_date">[{{ comment.date }}]</span>
                                    <span class="xt_blog_comment_author">
                                        {% if comment.author_profile %}
                                            <a href="{{ comment.author_profile.link }}"><img src="{{ comment.author_profile.avatars[16] }}" style="display:inline">{{ comment.author_profile.name }}</a>
                                        {% else %}
                                            {{ comment.nick }}
                                        {% endif %}:
                                    </span>
                                    {% if not ( ctx.data.entry.in_comments_thread and comment.childs and (comment.childs_count > 0) ) %}
                                        <div class="xt_blog_comment_actions">
                                            <a href="{{ comment.reply_link }}" class="xt_blog_comment_action_reply">{{ ctx.data.translations.t_reply }}</a>
                                            {% if ctx.data.is_logged_in and not comment.is_hidden and not data.comments_form.is_maintenance %}
                                                {% if ctx.data.reported_spam and ctx.data.reported_spam == comment.id %}
                                                    <span class="xt_blog_comment_action_reported">{{ctx.data.translations.t_reported}}</span>
                                                {% else %}
                                                    <a href="{{ comment.spam_link }}" class="xt_blog_comment_action_report_spam">{{ ctx.data.translations.t_report_spam }}</a>
                                                {% endif %}
                                            {% elseif not ctx.data.is_logged_in and not comment.is_hidden and not data.comments_form.is_maintenance %}
                                                <a href="{{ comment.login_link }}" class="xt_blog_comment_action_report_spam">{{ ctx.data.translations.t_report_spam }}</a>
                                            {% endif %}
                                            {% if not comment.childs and (comment.childs_count > 0) %}
                                                <a href="{{ comment.reply_link }}" class="xt_blog_comment_action_reply">{{ ctx.data.translations.t_show_replies }} ({{comment.childs_count}})</a>
                                            {% endif %}
                                            {% if comment.show_more %}
                                                <a href="{{ comment.reply_link }}" class="xt_blog_comment_action_reply">{{ ctx.data.translations.t_show_all_replies }}</a>
                                            {% endif %}
                                        </div>
                                    {% endif %}
                                    {% if comment.is_hidden %}
                                        <div class="xt_blog_comment_content">{{ ctx.data.translations.t_hidden_comment }}</div>
                                    {% else %}
                                        <div class="xt_blog_comment_content">{{ comment.message|raw }}</div>
                                    {% endif %}

                                    {% if comment.childs %}
                                        <div class="xt_reply" style="margin: 5px 6px;">
                                            {{ _self.comments_list(comment.childs, ctx) }}
                                        </div>
                                    {% endif %}
                                </div>
                            {% endfor %}
                        {% endmacro %}
                        {{ _self.comments_list(data.entry.comments, _context) }}

                    </div><br />
                    {{ data.pagination_html|raw }}
                {% else %}
                    <div class="xt_blog_comments" id="xt_blog_comments">
                        <span class="xt_blog_comments_title">{{ data.translations.t_comments }}</span>

                        {% for comment in data.entry.comments %}
                            <li class="depth-1">
                               
                  <div class="avatar">
                     <img width="50" height="50" class="avatar" src="images/user-01.png" alt="">
                  </div>

                  <div class="comment-info">
                     <cite>{{ comment.nick }}</cite>

                     <div class="comment-meta">
                        <time class="comment-time" datetime="{{ comment.date }}">{{ comment.date }}</time>
                        <span class="sep">/</span><a class="reply" href="#">Reply</a>
                     </div>
                  </div><div class="comment-text">{{ comment.message|raw }}</div>
                            </li>
                        {% endfor %}
                    </div><br />
                    {{ data.pagination_html|raw }}
                {% endif %}
            {% endif %}
        {% endblock %}</ol>
     <div class="respond">
        {% block entry_comments_form %}
            {% if data.comments_form.is_maintenance %}
                {{ data.comments_form.maintenante_markup|raw }}
            {% elseif data.is_logged_in and data.new_comments_system and not data.community_name %}
           

               <h3>{{ data.translations.t_provide_community_name }}</h3>
                    <form action="{{ data.community_name_submit_url }}" method="post" id="xt_blog_comment_form" name="contactForm"><fieldset>
                        {% if data.entry.in_comments_thread %}
                            <input type="hidden" name="__xtblog_comment_thread_id" value="{{ data.entry.in_comments_thread }}" />
                        {% endif %}
                        

                  <div>
                           <input name="community_name" type="text" id="cName" size="35" value="{{data.community_name_tmp}}" />
                  </div>
                      
                        <button type="submit" class="submit">{{ data.translations.t_submit }}</button>

                    </fieldset>
                   </form> 

    
            {% else %}
                {% if data.post.allow_comments %}
                 
                        <span class="xt_blog_write_a_comment_title">{{ data.translations.t_post_a_comment }}</span>
                        {% if data.comments_form.comments_restriction == "logged_in" and not data.is_logged_in %}
                            <div>{{ data.translations.t_comments_login_required }}: <a href="{{ data.comments_form.login_link }}"> {{ data.translations.t_login }} </a> | <a href="{{ data.comments_form.signup_link }}"> {{ data.translations.t_signup }} </a></div>
                        {% elseif data.comments_form.comments_restriction == "logged_in" and data.is_logged_in and not data.is_confirmed_email %}
                            <div>
                                <a href="{{ data.confirm_email_link }}?redir={{ data.comments_form.url_encoded }}" class="xt_blog_confirm_email">
                                    {{ data.translations.t_confirm_email }}
                                </a>
                            </div>
                        {% else %}
       
               <form action="{{ data.comments_form.url }}" method="post" name="contactForm" id="contactForm">
<fieldset>
                                {% if data.entry.in_comments_thread %}
                                    <input type="hidden" name="__xtblog_comment_thread_id" value="{{ data.entry.in_comments_thread }}" />
                                {% endif %}

                                <input type="hidden" name="__xtblog_post" value="Post" />
                                <input type="hidden" name="__xtx" value="{{ data.comments_form.fields.xtx }}" />
                                <input type="hidden" name="__xtxs" value="{{ data.comments_form.fields.xtxs }}" />
                                <input type="text" name="__xtblog_blog" value="" style="display:none" />
                                <input type="hidden" name="__xtblog_entry" value="{{ data.comments_form.entry_id }}" />

                                {% if data.is_logged_in and data.new_comments_system %}
                                    <div class="xt_label">
                                        <label>{{ data.translations.t_posting_as }}: <span class="xtblog_community_name">{{ data.community_name }}</span></label>
                                    </div>
                                {% else %}
                                    {% if data.comments_form.spam_comments_reserved_name and data.new_comments_system %}
                                        <div>{{ data.translations.t_reserved_name }}</div>
                                    {% endif %}
                                    {% if data.comments_form.poster %}
                                        <input type="hidden" name="__xtblog_nick" value="{{ data.comments_form.poster }}" />
                                    {% else %}
                                    <div>
                           <label for="cName">{{ data.translations.t_name }} <span class="required">*</span></label>
                           <input name="__xtblog_nick" type="text" id="cName" size="35" value="{{ data.comments_form.spam_comments_nick }}" />
                  </div>
                                    {% endif %}
                                {% endif %}
                                {% if data.comments_form.comments_restriction == "email_required" and not data.is_logged_in %}

                                    
                                 <div>
                           <label for="__xtblog_email">{ data.translations.t_email }} <span class="required">*</span></label>
                           <input name="cEmail" type="text" id="cEmail" size="35" value="{{ data.comments_form.spam_comments_email }}" />
                  </div>
                                {% endif %}
<div>
                     <label  for="cMessage">{{ data.translations.t_comment }}  <span class="required">*</span></label>
                     <textarea id="xtblog_comment_msg" name="__xtblog_msg" rows="10" cols="40" >{{ data.comments_form.spam_comments_msg }}</textarea>
                  </div></textarea>
                                </div>

                                {% if data.comments_form.spam_comments %}
                                    Please enter the text you can see on the image below: <br />
                                    <input type="hidden" name="hash" value="{{ data.comments_form.spam_hash }}" />
                                    <img src="{{ data.comments_form.spam_captcha_url }}" alt="" /><br /><div>
                           <label for="cName">Code: <span class="required">*</span></label>
                           <input name="code" type="text" id="cName" size="35" value="" />
                  </div>
                                {% endif %}
                         <button type="submit" class="submit">{{ data.translations.t_post }}</button>

                    </fieldset>
                   </form> 
                        {% endif %}
                 
                {% endif %}
            {% endif %}
        {% endblock %}
     </div>
  

         </div>
      </div>

   </div>
{% elseif view == 'no_contents' %}
    {% block no_contents %}
        {% if data.searchbox.phrase %}
            <div class="xt_blog xt_list">{{ data.translations.t_no_search_results_found }}</div>
        {% else %}
            <div class="xt_blog xt_list">{{ data.translations.t_no_entries_found }}</div>
        {% endif %}
    {% endblock %}

{% elseif view == 'no_entry' %}
    {% block no_entry %}
        <div class="xt_blog xt_list">No blog entry found</div>
    {% endblock %}
{% endif %}
</div>

Copy code
2016-12-20 19:40 · (0)

Online: Guests: 1
Online : 1 Guest(s)
Today : 10 Guest(s)
Total : 860595 Hit(s)
Created by: ONYECHELSEA™
Copyright © 2014 -
All Rights Reserved
Imo, NIGERIAUA

Insane