ShareCode Console v1.0 quản lí chung về wap.

7 bài đăng
17.09.2015 / 13:19
mad
Bài đăng: 2434
Member
Nhào vô cắn tao đi, tao sợ mày à cắn bừa.

Như trên. Code này dùng để xem thông tin các nick, diễn đàn, thông tin số liệu wap. Trong đây mình đã cập nhật 3 Mã, 1 Mã help, tổng là 4. K nói nhìu nữa

Mã Twig - Dữ liệu

[code]{%set u=api.u.get(api.r.get('user'))%}

{%if api.r.get('user')%}

<div class="left">

{%if u.nick!=null%}

Nick: {{u.nick}}. Plus: {{u.plus}}. Level: {{u.level}}. Uid: {{u.uid}}

{%else%}Người dùng không tồn tại.{%endif%}

</div>

{%endif%}

{%if api.r.get('view')%}

<div class="left">

Các mã lệnh: <br>- about:user12345678 là xem thông tin người dùng, 123456789 là uid. <br>- about:site là xem các số liệu của trang wap. <br>- forum:new là thông tin về diễn đàn, gồm 3 chỉ số (new,top,act).

</div>

{%endif%}[/code]

Mã HTML - Jquery Xử Lí

[code]<script src="files/1043097/jquery.js"></script><script>

$(function(){

$('#console').submit(function(){

code=$('#console>#code').val();

page=$('#page');

file=$('#file');

if(code.length>0){

page.append('[<a href="main.php?f=1">user</a>] > '+code+'.<br>');

if(code.match(/about\:site/gi)){

file.load('stats.php?id=stats .left',function(){

page.append('[<a href="">console</a>] > '+file.html().replace(/\<br\>/gi,'. ')+'<br><br>');

});

}else if(code.match(/^help$/gi)){

file.load('main.php?f={{api.r.get('f')}}&view=help .left',function(){

page.append('[<a href="">console</a>] > '+file.html()+'<br>');});

}else if(code.match(/about\:user([0-9]+)/gi)){

file.load('main.php?f={{api.r.get('f')}}&user='+code.replace(/about\:user([0-9]+)/gi,'$1')+' .left',function(){

page.append('[<a href="">console</a>] > '+file.html().replace(/\<br\>/gi,'. ')+'<br>');});

}else if(code.match(/Forum\:(act|new|top)/gi)){

file.load('forums.php?id=menu&sor='+code.replace(/Forum\:(act|new|top)/gi,'$1')+' .left>a',function(){

page.append('[<a href="">console</a>] > '+file.html().replace(/\<\/a\>/gi,'</a>. ')+'<br>');});

}else{

page.append('[<a href="">console</a>] > Cú pháp console sai.<br><br>');

}

}else{

page.append('[<a href="">console</a>] > Cú pháp console sai.<br><br>');

}

return false;

})

})

</script>[/code]

Cuối cùng là Mã HTML dùng để thực hiện tương tác

[code]

<div style="display:none" id="file"></div>

<div class="title">Console</div>

<div id="page" style="min-height:70px;background:#000;color:#fff">

[<a href="">console</a>] > Welcome to console toolkit.<br><br>

</div>

<form id="console">

<input id="code" style="padding:5px;background:none;border:1px solid #eee;width:60%;color:#000"> <input type="submit" value="Mã" style="padding:5px;background:none;border:1px solid #eee;width:20%;color:#000">

</form>

<br>

<b>Mẹo</b> Gõ lệnh help để biết thêm chi tiết.[/code]

Code này là của tớ. Hiện tại tớ đặt cho nó là v1.0 và các bạn có thể phát triển thêm! Nhớ chia sẻ cho m.n nhé.

17.09.2015 / 13:24
mad
Bài đăng: 2434
Member
Nhào vô cắn tao đi, tao sợ mày à cắn bừa.

Ai làm rùi thì share link demo cho các bạn khác nhé! Tại mình k rảnh để demo

17.09.2015 / 13:33
NhOcKery
Bài đăng: 159
Member
NgOn NhƯ xE cOn =))

Úp úp tỏi :yao:

19.09.2015 / 08:54
phan_nam1999
Bài đăng: 21
Member

có tác dụng gì ??? mỗi nhớ mã ip của thành viên đã khổ rồi chi bằng vào nick đó xem nhanh hơn ???

19.09.2015 / 09:53
thaian2009
Bài đăng: 709
Member

cd main

rm u 12345678 (yes/no)

add nick pass

lv 12345678 50

plus 12345678 9e9

block 12345678 9999

view 123456 all (plus;level;city;nick;country;ip;browser)

rm profile 12345678

stats all

ch 123456 text

~~~~~~~~~~~~~~>console<~~~~~~~~~~~~troll

19.09.2015 / 18:09
jqkkoj
Bài đăng: 63
Member
Đã đủ tuổi xem phim 18+

Demo???

19.09.2015 / 19:25
mad
Bài đăng: 2434
Member
Nhào vô cắn tao đi, tao sợ mày à cắn bừa.

hihi thaian, mình k hiểu về console nên đặt tên múa rìu qua mắt thợ đó :))