Home
Whatsapp World
Videos
Images
Wapmaster
Facebook World
2go World
Handler Files
Applications
Chatroom
Blog
Forum
Services
Musics
Nimbuzz World
Themes
Games
Guestbook
News
Menu
24/7 updates on happenings in africa
Login
·
Signup
Forum
Wapmasters/Webmasters Zone
Xtgem coding help
HEAD ADMIN THREAD
view posti
LORDEAGLE
said to
MAGIKLORD
0n
2015-08-27 20:15
copy below note u must paste it in plain text file named
xtblog.twig
EAGLENET BLOG TWIG
<!-- ** XtbLog Twig Original By Xtgem Edited By Author : Obasi Michael Ugochukwu Wapsite : http://eaglenet.xtgem.com email : eaglemike7@gmail.com facebook : fb.com/eaglenetsoftwares Twitter: @eaglenetsoft ** --> <link rel="stylesheet" type="text/css" href="http://eaglenet.xtgem.com/blog/eaglenet_blog.css" /> {% if view == 'entries_list' %} {% block entries_list_tag %} {% if data.tag %} <div class="eagle-blog"><b>{{ data.translations.t_showing_tagged_posts }}: <font color="red">{{ data.tag }}</font></b></div> {% endif %} {% endblock %} <div class="eagle-blog"> {% block entries_list %} {% for entry in data.entries %} <div id="post-container"> <header> <h2 id="post-title"><a href="{{ entry.url }}" target="_top" title="{{entry.title}}">{{ entry.title }}</a></h2> </header> {% if data.display_type !='header' and entry.content %} <section><br/> <ul><li id="post-image"> {% set img_http=entry.content|split('"') %}<img src="{% if img_http[3] starts with 'http' or img_http[3] starts with '/' %}{{ img_http[3] }}{% else %}http://eaglenet.xtgem.com/icon/no-image.jpg{% endif %}" alt="{{entry.title}}" height="60" width="60" /><aside>{% if data.entry_list_show_time %}<mark>{{ data.translations.t_created }}</mark><br/><q>{{entry.created}}</q>{% endif %}</aside>{% if entry.tags is not empty %} <font color="red">Tags:</font> {% for tag in entry.tags %} <a href="{{ tag.url }}">{{ tag.name }}</a> {% if not loop.last %}, {% endif %} {% endfor %} <br> {% endif %}</li><li id="post-text">{{ entry.content|raw }}</li><ul><br/> </section><table><tr><td><a href="http://facebook.com/sharer.php?u={{entry.url}}" title="share on facebook" target="_blank"><img src="http://eaglenet.xtgem.com/blog/icon/share.png" alt="Share" /></a></td><td><a href="{{ entry.url }}" target="_blank" title="{{entry.title}}"><img src="http://eaglenet.xtgem.com/blog/icon/readmore.png" alt="Full Story"/></a> {% endif %}</td><td> <a class="comment-no" href ="{{ entry.url }}_comments" title="number of comments"> {% if entry.comments_count %} {{ entry.comments_count }} {% else %} {{ entry.comments_count }} {% endif %}<img src="http://eaglenet.xtgem.com/blog/icon/comment.png" alt="Comment" /></a><td> </tr></table></div></div> {% endfor %} {% endblock %} {% block entries_list_footer %} {% if data.back_url %} <div class="blog-list-footer"><a href="{{ data.back_url }}">Back</a> | <a href="/">Home</a> </div> {% endif %} {{ data.pagination_html|raw }} {% endblock %} {% elseif view == 'entry' %} <div class="eagle-blog"> {% block entry_post %} <div id="post-container"> <header> <h2 id="post-title"> {{ data.post.title }}</h2></header> {% if not data.entry.in_comments_thread %} <section> {{ data.post.content|raw }}<br> </section> <footer> Thank's for reading my article <b><a href="{{ data.post.url }}">{{ data.post.title }}</a></b><br> <mark>{{ data.translations.t_created }}</mark><q> {{ data.post.date }}</q><br/> {% block entry_tags %} {% if not data.entry.in_comments_thread %} {% if data.hide_tags == false and data.post.tags %} <br> <mark>{{ data.translations.t_tags }}</mark> {% for tag in data.post.tags %} <sup><q><a href="{{ tag.url }}">{{ tag.name }}</a></q></sup> {% if loop.last == false %} , {% endif %} {% endfor %} {% endif %} {% endif %} <div class="footer">XTBlog Twig by: <a href="http://eaglenet.xtgem.com">Eaglenet</a> | <a href="http://eaglenet.xtgem.com/user.php"><script type="text/javascript" src="http://st1.freeonlineusers.com/on4.php?id=479108"></script> User</a></div>{% endblock %} {% if data.post.subtitle %} <div class="bl_tags">{{ data.post.subtitle }}</div> {% endif %} <aside> {% if data.post.feed_data %} {% if data.device == 'mobile' %} <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 %} {% else %} <br><br> {% 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>{% endif %} {% endif %} {% endif %} {% if data.social_share_enabled %} <br><b>Share: </b><a title="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;"><img src="http://giga.yn.lt/z/fb.png" alt="F"></a> <a title="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;"> <img src="http://giga.yn.lt/z/twitter.png" alt="T"></a> <a title="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;"><img src="http://giga.yn.lt/z/google.png" alt="G"></a> {% endif %}</aside> {% endif %} <div class="comment-title"> <a href="{{ data.back_url }}">{{ data.translations.t_back_to_posts }}</a></div></footer> {% endblock %} <div class="bl_comment_blok"> {% 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 %} <div><a href="{{ data.entry.comments_thread_all }}" class="xt_button xt_link">← {{ 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">← {{ data.translations.t_see_parent_thread }}</a></div> {% endif %} {% endif %} <div class="bl_comment_title"> {% if data.entry.comments %} {{ data.translations.t_comments }} {{ data.post.title }} {% else %} {{ data.translations.t_comments_empty }} {{ data.post.title }} {% endif %} </div> <div class="bl_comment_body"> {% macro comments_list (comments, ctx) %} {% for comment in comments %} <div class="comment{% if comment.owner_of_comment %} admin{% endif %}" id="1"> <div class="comment-header"> {% if comment.author_profile %} <img src="{{ comment.author_profile.avatars[32] }}" alt="Photo" class="avatar"><h5 class="author"><a class="hery" href="{{ comment.author_profile.link }}"{% if comment.owner_of_comment %} style="color:#f00;"{% endif %}>{% if comment.owner_of_comment %}Admin{% else %}{{ comment.author_profile.name }} {% endif %}</a></h5><div class="date">{{ comment.date }}</div> {% else %} <img src="http://giga.yn.lt/z/no-photo.jpg" class="avatar" alt="No Photo" width="32" height="32"/><h5 class="author"> {{ comment.nick }}</h5><div class="date">{{ comment.date }}</div> {% endif %}</div> {% if comment.is_hidden %} <div class="comment-content">{{ ctx.data.translations.t_hidden_comment }}</div> {% else %} <div class="comment-content">{{ comment.message|raw }}</div> {% endif %} {% 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 %} <div class="bl_title"> <a href="{{ comment.reply_link }}" class="xt_blog_comment_action_reply">{{ ctx.data.translations.t_show_all_replies }}</a> {% endif %} </div> {% endif %} {% if comment.childs %} <div class="xt_reply"> {{ _self.comments_list(comment.childs, ctx) }} </div> {% endif %} </div> {% endfor %} {% endmacro %} </div> {{ _self.comments_list(data.entry.comments, _context) }} {{ 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 %} <div class="xt_blog_comment"> <span class="xt_blog_comment_date">[{{ comment.date }}]</span> <span class="xt_blog_comment_author">{{ comment.nick }}:</span> <div class="xt_blog_comment_content">{{ comment.message|raw }}</div> </div> {% endfor %} </div><br /> {{ data.pagination_html|raw }} {% endif %} {% endif %} {% endblock %} </div></div> {% 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 %} <span class="color:#f00">{{ data.translations.t_provide_community_name }}</span> <form action="{{ data.community_name_submit_url }}" method="post" id="xt_blog_comment_form"> {% if data.entry.in_comments_thread %} <input type="hidden" name="__xtblog_comment_thread_id" value="{{ data.entry.in_comments_thread }}" /> {% endif %} <input class="giga-input" type="text" name="community_name" value="{{data.community_name_tmp}}" /></div> <div class="l"> <span class="count"><b><a href="http://giga.yn.lt/ajax/smile.php">SMILE</a> | <a href="http://giga.yn.lt/ajax/bbcode.php">BBCODE</a></b></span> <input class="giga-submit" type="submit" value="{{ data.translations.t_submit }}" /> </form></div> </div> {% else %} {% if data.post.allow_comments %} <div class="blog"> <div class="comment-title"><b>{{ data.translations.t_post_a_comment }}</b></div><div class="bl_comment_box_form"> {% 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" id="xt_blog_comment_form"> {% 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 class="giga-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><span class="xtblog_community_name">{{ data.translations.t_posting_as }} <a class="hery" href="http://xtgem.com/u/{{ data.community_name }}">{{ data.community_name }}</a> <img src="http://giga.yn.lt/z/featured.png" alt="on"> | <a href="http://xtgem.com/account/logout">Logout</a></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 %} {{ data.translations.t_name }} | <a href="{{ data.comments_form.login_link }}"> {{ data.translations.t_login }} </a> | <a href="{{ data.comments_form.signup_link }}"> {{ data.translations.t_signup }} </a><br> <input type="text" name="__xtblog_nick" value="{{ data.comments_form.spam_comments_nick }}" class="giga-input" /><br /> {% endif %} {% endif %} {% if data.comments_form.comments_restriction == "email_required" and not data.is_logged_in %} <div class="xt_label"> <label>{{ data.translations.t_email }} </label> </div> <input class="giga-input" type="text" name="__xtblog_email" value="{{ data.comments_form.spam_comments_email }}" /><br /> {% endif %} <div class="xt_label"> {{ data.translations.t_comment }} <br> </div> <textarea class="giga-textarea" name="__xtblog_msg">{{ data.comments_form.spam_comments_msg }}</textarea><br> {% if data.comments_form.spam_comments %} <font color="red">Opps!! Sorry, Please input before writing The Being in the picture below</font>: <br /> <input type="hidden" name="hash" value="{{ data.comments_form.spam_hash }}" /> <img src="{{ data.comments_form.spam_captcha_url }}" alt="" /><br /> <div class="xt_label"> <label>Code: </label> </div> <input class="giga-code" type="text" name="code" /> </div> {% endif %} <div class="l"><span class="count"><b><a href="http://giga.yn.lt/ajax/smile.php">SMILE</a> | <a href="http://giga.yn.lt/ajax/bbcode.php">BBCODE</a></b></span> <input class="giga-submit" type="submit" value="{{ data.translations.t_post }}" /> </form></div> {% endif %} </div> {% endif %} {% endif %} {% endblock %} </div> {% elseif view == 'no_contents' %} {% block no_contents %} {% if data.searchbox.phrase %} <div class="giga-menu">{{ data.translations.t_no_search_results_found }}</div> {% else %} <div class="giga-menu">{{ data.translations.t_no_entries_found }}</div> {% endif %} {% endblock %} {% block no_contents_searchbox %} {% if data.searchbox %} <form action="{{ data.searchbox.url }}" method="get" id="giga-search"> {% for key, value in data.searchbox.params %} {% if value %} <input type="hidden" name="{{ key }}" value="{{ value }}" /> {% endif %} {% endfor %} <input type="text" name="__xtblog_search" value="{{ data.searchbox.phrase }}" /><input type="submit" value="{{ data.translations.t_search }}" /></form> {% if data.back_url %} <div class="comment-title"><a href="{{ data.back_url }}" class="xt_blog_back_to_posts xt_link xt_button">{{ data.translations.t_back_to_posts }}</a></div> {% endif %} {{ data.pagination_html|raw }} {% endif %} {% endblock %} {% elseif view == 'no_entry' %} {% block no_entry %} <div class="comment-title">Sorry No blog entry found / Maaf Belum ada post artikel disini admin belum buat artikel baru</div> {% endblock %} {% endif %} </div></div>
·
rated(0)
Forum
Wapmasters/Webmasters Zone
Xtgem coding help
HEAD ADMIN THREAD
view posti
Oniline
1 Guests
Follow @eaglenetsoft