Tiaxgame.Tk
Trang chủ | Register Wap4.Co Free
Đăng Nhập » Đăng Ký
ForumWap4 Việt NamShare Code
Lượt xem: 138

▼ [Modul]Share code _block

* Emperor  (Member) [Off]
40 * 34
*   Cách đây 4 tháng
Có sử dụng một số code hay của các bạn
{% block header %}
{% set time = now|date('U') %}
{% set cookie_acc=get_cookie('log') %}
{% set acc=get_data('acc-'~cookie_acc)[0].data|json_decode %}
{% if cookie_acc!='' %}
{{ set_cookie('timeon',time) }}
{% set timeon=get_cookie('timeon') %}
{% set idacc=get_data('acc-'~cookie_acc)[0].id %}
{% set status=status~update_data_by_id('acc-'~cookie_acc,idacc,{"id":acc.id,"acc":acc.acc,"name":acc.name,"pass":acc.pass,"avt":acc.avt,"time":acc.time,"fname":acc.fname,"sex":acc.sex,"birth":acc.birth,"info":acc.info,"exp":acc.exp,"reg":acc.reg,"online":timeon,"inbox":acc.inbox,"tinbox":acc.tinbox,"friend":acc.friend,"tbox":acc.tbox,"like":acc.like,"tblike":acc.tblike,"tbcmt":acc.tbcmt,"stblike":acc.stblike,"stbcmt":acc.stbcmt}|json_encode) %}
{% endif %}<!DOCTYPE html>
<html lang="vi">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> {{title|default(v[1])}}</title>
<meta name="description" content="{{desc|default(v[2])}} "/>
<link rel="canonical" href="http://{{url|default(v[0])}}">
<meta property="og:url" content="http://{{url|default(v[0])}}" />
<link rel="icon" href="http://taigamedi.com/images/favicon.ico">
<!-- facebook -->
<meta property="og:locale" content="vi_VN" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Tải game miễn phí, tải game đi" />
<meta property="og:url" content="http://{{url|default(v[0])}}" />
<meta property="og:description" content="{{desc|default(v[2])}}" />
<meta property="og:image" content="http://sachvui.com/data/images/thu-vien-ebook-sachvui.jpg" />
<meta name="google-site-verification" content="iyaGT3HGNKcpaP1UJ2D1abse3XuV1Gnj8WDr1Mx2b90" />
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@ga_data" />
<meta name="twitter:creator" content="@ga_data" />
<!-- Custom styles for this template -->
<link href="http://taigamedi.com/css/styles.css?v={{time}}" rel="stylesheet"><link href="http://camung.ga/css/style.css?v={{time}}" rel="stylesheet"><link href="https://fonts.googleapis.com/css?family=Open+Sans?v={{time}}" rel="stylesheet">
<link href="http://googleplay.viettel.vn/css/font-awesome.min.css" rel="stylesheet">
</head>
<body>
{% set cookie_acc=get_cookie('log') %}
{% set user=get_data('acc-'~cookie_acc)[0].data|json_decode %}

{% set reg=user.reg %}
{% set exp=user.exp %}
{% if exp<='10' %}
{% set level='01' %}
{% elseif exp<='25' %}
{% set level='02' %}
{% elseif exp<='45' %}
{% set level='03' %}
{% elseif exp<='70' %}
{% set level='04' %}
{% elseif exp<='100' %}
{% set level='05' %}
{% elseif exp<='135' %}
{% set level='06' %}
{% elseif exp<='175' %}
{% set level='07' %}
{% elseif exp<='220' %}
{% set level='08' %}
{% elseif exp<='270' %}
{% set level='09' %}
{% elseif exp<='325' %}
{% set level='10' %}
{% elseif exp<='385' %}
{% set level='11' %}
{% elseif exp<='450' %}
{% set level='12' %}
{% elseif exp<='520' %}
{% set level='13' %}
{% elseif exp<='595' %}
{% set level='14' %}
{% elseif exp<='675' %}
{% set level='15' %}
{% elseif exp<='760' %}
{% set level='16' %}
{% elseif exp<='850' %}
{% set level='17' %}
{% elseif exp<='945' %}
{% set level='18' %}
{% elseif exp<='1045' %}
{% set level='19' %}
{% elseif exp<='1150' %}
{% set level='20' %}
{% elseif exp<='1260' %}
{% set level='21' %}
{% elseif exp<='1375' %}
{% set level='22' %}
{% elseif exp<='1495' %}
{% set level='23' %}
{% elseif exp<='1520' %}
{% set level='24' %}
{% elseif exp>'1520' %}
{% set level='25' %}
{% endif %}
{% if reg=='9' %}
{% set chucvu='admin' %}
{% set name %} <font color="red">{{user.name}}</font>{% endset %}
{% elseif reg<='8' and reg>'6' %}
{% set chucvu='smod' %}
{% set name %} <font color="blue">{{user.name}}</font>{% endset %}
{% elseif reg<='6' and reg>'4' %}
{% set chucvu='mod' %}
{% set name %} <font color="green">{{user.name}}</font>{% endset %}
{% elseif reg<='4' and reg>='1' %}
{% set chucvu='member' %} {% set name=user.name %}
{% elseif reg=='0' %}
{% set chucvu='band' %}

{% set name %} <font color="black">{{user.name}}</font>{% endset %}
{% elseif reg=='10' %}
{% set name %} <font color="orange">{{user.name}}</font>{% endset %}
{% set chucvu='vip' %}
{% endif %}<div class="container">
<div class="header clearfix">
<nav class="nav">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header ">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar">
</span>
<span class="icon-bar">
</span>
<span class="icon-bar">
</span>
</button>
<a class="navbar-brand text-muted" href="http://camung.ga/">CAMUNG.GA</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav ">
<li class="active">
<a href="http://camung.ga/">Trang Chủ<span class="sr-only">(current)</span>
</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Chuyên mục<span class="caret">
</span>
</a>
<ul class="dropdown-menu">
<li><a href="/mien-phi/tai-game.html" title="Tải Game"> Tải Game</a></li>
<li><a href="/mien-phi/ung-dung.html" title="Ứng dụng"> Ứng dụng</a></li>
<li><a href="/mien-phi/blog-truyen.html" title="Blog truyện"> Blog truyện</a></li>
<li><a href="/mien-phi/ma-giam-gia.html" title="Mã giảm giá"> Mã giảm giá</a></li>
<li><a href="/mien-phi/chu-de-miui.html" title="Chủ Đề MIUI"> Chủ Đề MIUI</a></li>
<li><a href="/mien-phi/hoc-nau-an-don-gian.html" title="Học Nấu Ăn Đơn Giản"> Học Nấu Ăn Đơn Giản</a></li>
<li><a href="/mien-phi/mat-ngu-12-chom-sao.html" title="Mật Ngữ 12 Chòm Sao"> Mật Ngữ 12 Chòm Sao</a></li>
<li><a href="/mien-phi/thu-thuat-cho-android.html" title="Thủ Thuật cho ANDROID"> Thủ Thuật cho ANDROID</a></li>
<li><a href="/mien-phi/lam-van-mau.html" title="Làm Văn Mẫu"> Làm Văn Mẫu</a></li>
<li><a href="/mien-phi/share-code.html" title="Share Code"><strong></strong> Share Code</a></li>
<li role="separator" class="divider">
</li>
<li>
<a href="http://camung.ga/tai-game/tai-game-mien-phi.html">Tải Game miễn phí</a>
</li></ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Thông Tin<span class="caret">
</span>
</a>
<ul class="dropdown-menu">
<li>
<a href="http://camung.ga/">Lời nói đầu</a>
</li>
<li>
<a href="http://camung.ga/">Bản quyền</a>
</li>
<li>
<a href="http://camung.ga/">Liên hệ</a>
</li>

<li role="separator" class="divider">
</li>
<li>
<a href="/">Báo Cáo Vi Phạm</a>
</li>
</ul>
</li>
</ul>
<!-- tim kiem -->
<form class="navbar-form navbar-right" role="search" method="get" action="http://google.com/search">
<div class="input-group">
<input type="hidden" name="sitesearch" value="camung.ga">
<input type="text" class="form-control" placeholder="Nhập tên cần tìm" name="q">
<div class="input-group-btn">
<button class="btn btn-primary" type="submit">
<i class="glyphicon glyphicon-search">
</i>
</button>
</div>
</div>
</form>
<!-- /tim kiem -->
</div>
<!-- /.navbar-collapse -->
</nav></div>
{% if cookie_acc=='' %}<div class="alert alert-success" role="alert">{% set time="now"|date("H:i","Asia/Ho_Chi_Minh") %}
{% set gio=time|split(':')[0] %}
{% if gio in 1..5 %}
{% set chao='Dậy sớm thế, không ngủ hả!!' %}
{% elseif gio in 6..9 %}
{% set chao='Buổi Sáng Tốt Lành. Ngày Mới làm việc, học tập thành công.' %}
{% elseif gio in 10..12 %}
{% set chao='Ăn cơm rồi ngủ trưa để chiều còn đi học, đi làm nữa chứ quý khách' %}
{% elseif gio in 13..16 %}
{% set chao='Buổi chiều học tập và làm việc vui vẻ nha!!!' %}
{% elseif gio in 17..19 %}
{% set chao='Ăn tối vui vẻ và ngon miệng nhé quý khách' %}
{% elseif gio in 20..23 or gio=="0" %}
{% set chao='Học tối, làm việc vui vẻ nhé. Chúc buổi tối tốt lành' %}
{% endif %}
<i class="glyphicon glyphicon-time"></i><span class="blue"> Bây giờ là: </span><b class="red pro">{{time}}. </b><span class="blue">{{chao}}</span>
</div>
{% else %}
<div class="alert alert-success" role="alert"><i class="fa fa-user"></i> <a href="/info/{{user.acc}}">{{name}}</a>! Level {{level}}.{% if acc.reg=='9' %} <br><span class="glyphicon glyphicon-th-list"></span> <a href="/admin">Cpanel</a>{% endif %} <span class="glyphicon glyphicon-envelope"></span> <a href="/inbox"> Hòm thư </a>{% if acc.tinbox!=0 %} [{% for i in 0..acc.tinbox %}<a href="/inbox/{{acc.inbox|split('-')[i]|raw}}"> {{acc.inbox|split('-')[i]|raw}}</a>,{% endfor %}]{% endif %} <span class="glyphicon glyphicon-log-out"> <a href="/log/dangxuat">Đăng xuất</a></span>


{% if acc.stbcmt>0 %}<br>
<img src="http://gocfriend.xtgem.com/images/thongbao.png"><a href="/notification/cmt">Co nguoi binh luan bai viet cua ban </a>
{% elseif acc.stblike>0 %}<br>
<img src="http://gocfriend.xtgem.com/images/thongbao.png"><a href="/notification/like">Co nguoi thich bai viet cua ban </a>
{% endif %}
</div>
{% endif %}
{% endblock %}
{% block footer %}{% set url=get_uri_segments() %}
{% set cpanel=get_data('cpanel')[0].data|json_decode %}
{%set link='http://camung.ga/'~url|join('/') %}
{% set list %} {% set data=get_data('sitemap')[0].data|json_decode %}{{data.list}}{% if cpanel.sitemap>0 %} {% for i in 1..cpanel.sitemap %} {% set data1=get_data('site'~i)[0].data|json_decode %}{{data1.list}}{% endfor %}{% endif %}{% endset %}
{% set list=list~'' %}
{% if link~'-_-' in list %}{% else %}
{% set site1=get_data('sitemap')[0].data|json_decode %}
{% if site1.total<151 %}
{{update_data_by_id('sitemap',get_data('sitemap')[0].id,{"total":site1.total+1,"list":link~'-_-'~title~'-_-'~'0.'~random(100)~'_-_'~site1.list}|json_encode)}}
{% else %}
{% set site1=get_data('sitemap'~cpanel.sitemap)[0].data|json_decode %}
{% if site1.total<151 %}
{{update_data_by_id('sitemap'~cpanel.sitemap,get_data('sitemap'~cpanel.sitemap)[0].id,{"total":site1.total+1,"list":link~'-_-'~title~'-_-'~'0.'~random(100)~'_-_'~site1.list}|json_encode)}}
{% else %}
{% set p=cpanel.sitemap+1 %}
{{save_data('sitemap'~p,{"total":1,"list":link~'-_-'~title~'-_-'~'0.'~random(100)~'_-_'}|json_encode)}}
{{update_data_by_id('cpanel',get_data('cpanel')[0].id,{"title":cpanel.title,"desc":cpanel.desc,"keys":cpanel.keys,"img":cpanel.img,"favicon":cpanel.favicon,"url":cpanel.url,"sitemap":cpanel.sitemap+1,"tiento":cpanel.tiento,"css":cpanel.css}|json_encode)}}
{% endif %}
{% endif %}

{% endif %}

<footer class="footer">
<p>&copy; 2018 CamUng.Ga, Nonprofit Organization <br> Bạn vừa truy cập: <script>document.write(document.referrer)</script></footer></div>
<!-- /container -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-114855225-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-114855225-1');
</script> <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/vi_VN/sdk.js#xfbml=1&version=v2.12&appId=581594512207486&autoLogAppEvents=1';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</body>
</html>
{% endblock %}
[Like=2] khanh , Pupy
* Pupy  (Admin) [Off]
181 * 315
*   Cách đây 4 tháng
a zink hôm nay có gì vui mà share code lù lù 1 đống thế này hehe
▼ Tổng số: 2
- Share:
BBCode:

Link: