Polaroid

p _ x
Bookmark Weezywap
JarApkBmkOpera
(GMT+1)
Sunday October 13th 2024
+
Always Post weezywap.xtgem.com on your facebook, twitter, 2go, whatsapp and instagram status! If you love WEEZYWAP and enjoy unlimited services here!
»WEEZYWAP Forum
Forum Rules | Smilies | BB Codes | Back
* Bojt Have message u Bro weezy
2018-07-29 23:08 · (0)
* Weezy * Bojt do you need weezywap chatroom code?
2018-08-14 23:31 · (0)
* AGKLOADED * Weezy Yes
2018-08-16 17:49 · (0)
* Bojt * Weezy yes
with already login form
not to be re-logining ooo
thanks Bro
2018-08-19 04:11 · (0)
* Weezy * Bojt create account @ http://cbox.ws .. read how to modify the chatbox @ http://weezywap.xtgem.com/Wapmasta/Tools/cbox_form.html
2018-09-09 01:21 · (0)
* AGKLOADED * Weezy I image previews page code
2018-09-22 10:00 · (0)
* Tflesk * Weezy plz weezy edit this code for me
<!--parser:xtscript-->
# Get the search query 
get search
# Trim any spaces
var $search = call trim $val=$search
# No search query
if not $search
var $disable_js = //
goto @skip_1
endif
# Search query length check
var $len = call strlen $val=$search
if $len < 2
del $search
var $disable_js = //
print <b>Search query too short min 2 chars</b> <br />
goto @skip_1
endif
# Search query health check
# uncomment the next 3 lines to ban wildcards and negation in the search query
# var $neg = call strpos $haystack=#$search;$needle=-
# var $star = call strpos $haystack=#$search;$needle=*
# var $query = call strpos $haystack=#$search;$needle=?
var $dquot = call strpos $haystack=#$search;$needle="
var $squot = call strpos $haystack=#$search;$needle='
if $star or $query or $dquot or $squot or $neg==1
del $search
var $disable_js = //
print <b>Search query contains invalid chars</b> <br />
goto @skip_1
endif
# Set up the search
# Check for "anywhere"
get anywhere
if $anywhere
var $checked = checked="checked"
var $any = *
endif
# Filelist template that creates a javascript array 
var $template = ['.file_name_parsed.','.file_url.','.file_size.','.file_datetime.','.file_mime.','.file_type.'],
# Filelist parameters
var $params = template="$template"  filter="$any$search*" per_page="0"
# Filelist patterns
var $list1 = xt:filelist folder="/APPS/Android apps" $params
var $list2 = xt:filelist folder="/APPS/Java apps" $params
var $list3 = xt:filelist folder="/APPS/Java" $params
var $list4 = xt:filelist folder="/Handla/Operamini handler" $params
var $list5 = xt:filelist folder="/APPS/Android" $params
var $list6 = xt:filelist folder="/" $params
var $list7 = xt:filelist folder="/" $params
var $list8 = xt:filelist folder="/" $params
var $list9 = xt:filelist folder="/" $params
var $list10 = xt:filelist folder="/" $params
# Dummy array entry to use up the last , in the filelist template
var $dummy = ['dummy']
# skip_1 landing point
@skip_1
# The search form
print {{
<div class="search_form" id="srch">
<form action="<xt:url/>#srch" method="post">
<input type="search" name="search" value="$search" />
<input type="submit" value="Search" /><br />
Anywhere in filename <input type="checkbox"  name="anywhere" value="1" $checked />
</form>
</div><br />}}
# The actual filelist functions are created outside the xtscript to avoid timeouts
# Create an array of the filelist arrays
<!--/parser:xtscript-->
<script type="text/javascript">
// Results array
{_$$disable_js|}var list=[<{_$$list1|}><{_$$list2|}><{_$$list3|}><{_$$list4|}><{_$$list5|}><{_$$list6|}><{_$$list7|}><{_$$list8|}><{_$$list9|}><{_$$list10|}>{_$$dummy|}];
<!--parser:xtscript-->
if $search                            
# Get page number                            
get_or_default results_page;0
# Results per page
var $per_page=5
# Create javascript
print {{list.length=list.length-1; 
var length=list.length;
if (length){
var total_pages=Math.floor(}}
print {{list.length/$per_page);
var results_page=$results_page;
var search='$search';
var per_page=$per_page}}
print_raw {{;
var offset=(results_page*per_page);
var page_end=(offset + per_page);
if (page_end >= length)page_end=length;
// Output results
list.sort();
document.write('<div class="search_results">');
if (length >= 1)document.write('<div class="results_data">'+(offset+1)+' to '+page_end+' of ');
document.write( length+' Result');
if (length > 1) document.write('s');
document.write(' For &quot;<span> '+search+' </span>&quot;</div>');                        
for(i=offset;i < page_end;i++){
document.write('\
<div class="search_result">\
<div class="result_name">\
Name <span>'+list[i][0]+'&nbsp;<img src="http://xtgem.com/images/icons/mimes/'+list[i][5]+'.png" alt="*"/></span>\
</div>\
<div class="result_download_link">\
<a target="_BLANK" href="'+list[i][1]+'?__xt_download=1">Download</a> \
<a target="_BLANK" href="/download">Open</a>\
</div>\
<div class="result_url">\
Url <input type="text" value="'+list[i][1]+'" />\
</div>\
<div class="result_meta">\
Size <span>'+list[i][2]+'</span> \
Date <span>'+list[i][3]+'</span> \
Type <span>'+list[i][4]+'</span>\
</div>\
</div>');}
}}
# Pagination
var $common_part = document.write('<form style="display:inline" action="<xt:url />#srch" method="post"><input type="hidden" name="search" value="$search" /><input type="hidden" name="anywhere" value="$anywhere" /><input type="hidden" name="results_page" value="'+(results_page
print_raw {{
if (length > per_page){
document.write('<div class="results_pagination">');
if (offset > per_page){}}
print $common_part
print_raw {{-2)+'" /><span><input type="submit" value="'+(results_page-1)+'" /></span></form>');}
if (offset){}}
print $common_part
print_raw {{-1)+'" /><span><input type="submit" value="'+results_page+'" /></span></form>');}              
document.write('<form style="display:inline"><span><input type="button" value="'+(results_page+1)+'" /></span></form>'); 
if (page_end < length){}}
print $common_part
print_raw {{+1)+'" /><span><input type="submit" value="'+(results_page+2)+'" /></span></form>');}
if (page_end < (length-per_page)){}}
print $common_part
print_raw {{+2)+'" /><span><input type="submit" value="'+(results_page+3)+'" /></span></form>');}
document.write('</div>');} 
document.write('</div>');}}
# No search results  
print } else {document.write('<div class="no_search_results"> No results for &quot;<b>$search</b>&quot
print ;</div>');}
endif                            
<!--/parser:xtscript-->
</script>

Copy code
2018-10-25 00:28 · (0)
* Tflesk * Weezy plz weezy help edit this code for me it not working on operamini nd also help me change the filelist
<!--parser:xtscript-->
# Get the search query 
get search
# Trim any spaces
var $search = call trim $val=$search
# No search query
if not $search
var $disable_js = //
goto @skip_1
endif
# Search query length check
var $len = call strlen $val=$search
if $len < 2
del $search
var $disable_js = //
print <b>Search query too short min 2 chars</b> <br />
goto @skip_1
endif
# Search query health check
# uncomment the next 3 lines to ban wildcards and negation in the search query
# var $neg = call strpos $haystack=#$search;$needle=-
# var $star = call strpos $haystack=#$search;$needle=*
# var $query = call strpos $haystack=#$search;$needle=?
var $dquot = call strpos $haystack=#$search;$needle="
var $squot = call strpos $haystack=#$search;$needle='
if $star or $query or $dquot or $squot or $neg==1
del $search
var $disable_js = //
print <b>Search query contains invalid chars</b> <br />
goto @skip_1
endif
# Set up the search
# Check for "anywhere"
get anywhere
if $anywhere
var $checked = checked="checked"
var $any = *
endif
# Filelist template that creates a javascript array 
var $template = ['.file_name_parsed.','.file_url.','.file_size.','.file_datetime.','.file_mime.','.file_type.'],
# Filelist parameters
var $params = template="$template"  filter="$any$search*" per_page="0"
# Filelist patterns
var $list1 = xt:filelist folder="/APPS/Android apps" $params
var $list2 = xt:filelist folder="/APPS/Java apps" $params
var $list3 = xt:filelist folder="/APPS/Java" $params
var $list4 = xt:filelist folder="/Handla/Operamini handler" $params
var $list5 = xt:filelist folder="/APPS/Android" $params
var $list6 = xt:filelist folder="/" $params
var $list7 = xt:filelist folder="/" $params
var $list8 = xt:filelist folder="/" $params
var $list9 = xt:filelist folder="/" $params
var $list10 = xt:filelist folder="/" $params
# Dummy array entry to use up the last , in the filelist template
var $dummy = ['dummy']
# skip_1 landing point
@skip_1
# The search form
print {{
<div class="search_form" id="srch">
<form action="<xt:url/>#srch" method="post">
<input type="search" name="search" value="$search" />
<input type="submit" value="Search" /><br />
Anywhere in filename <input type="checkbox"  name="anywhere" value="1" $checked />
</form>
</div><br />}}
# The actual filelist functions are created outside the xtscript to avoid timeouts
# Create an array of the filelist arrays
<!--/parser:xtscript-->
<script type="text/javascript">
// Results array
{_$$disable_js|}var list=[<{_$$list1|}><{_$$list2|}><{_$$list3|}><{_$$list4|}><{_$$list5|}><{_$$list6|}><{_$$list7|}><{_$$list8|}><{_$$list9|}><{_$$list10|}>{_$$dummy|}];
<!--parser:xtscript-->
if $search                            
# Get page number                            
get_or_default results_page;0
# Results per page
var $per_page=5
# Create javascript
print {{list.length=list.length-1; 
var length=list.length;
if (length){
var total_pages=Math.floor(}}
print {{list.length/$per_page);
var results_page=$results_page;
var search='$search';
var per_page=$per_page}}
print_raw {{;
var offset=(results_page*per_page);
var page_end=(offset + per_page);
if (page_end >= length)page_end=length;
// Output results
list.sort();
document.write('<div class="search_results">');
if (length >= 1)document.write('<div class="results_data">'+(offset+1)+' to '+page_end+' of ');
document.write( length+' Result');
if (length > 1) document.write('s');
document.write(' For &quot;<span> '+search+' </span>&quot;</div>');                        
for(i=offset;i < page_end;i++){
document.write('\
<div class="search_result">\
<div class="result_name">\
Name <span>'+list[i][0]+'&nbsp;<img src="http://xtgem.com/images/icons/mimes/'+list[i][5]+'.png" alt="*"/></span>\
</div>\
<div class="result_download_link">\
<a target="_BLANK" href="'+list[i][1]+'?__xt_download=1">Download</a> \
<a target="_BLANK" href="/download">Open</a>\
</div>\
<div class="result_url">\
Url <input type="text" value="'+list[i][1]+'" />\
</div>\
<div class="result_meta">\
Size <span>'+list[i][2]+'</span> \
Date <span>'+list[i][3]+'</span> \
Type <span>'+list[i][4]+'</span>\
</div>\
</div>');}
}}
# Pagination
var $common_part = document.write('<form style="display:inline" action="<xt:url />#srch" method="post"><input type="hidden" name="search" value="$search" /><input type="hidden" name="anywhere" value="$anywhere" /><input type="hidden" name="results_page" value="'+(results_page
print_raw {{
if (length > per_page){
document.write('<div class="results_pagination">');
if (offset > per_page){}}
print $common_part
print_raw {{-2)+'" /><span><input type="submit" value="'+(results_page-1)+'" /></span></form>');}
if (offset){}}
print $common_part
print_raw {{-1)+'" /><span><input type="submit" value="'+results_page+'" /></span></form>');}              
document.write('<form style="display:inline"><span><input type="button" value="'+(results_page+1)+'" /></span></form>'); 
if (page_end < length){}}
print $common_part
print_raw {{+1)+'" /><span><input type="submit" value="'+(results_page+2)+'" /></span></form>');}
if (page_end < (length-per_page)){}}
print $common_part
print_raw {{+2)+'" /><span><input type="submit" value="'+(results_page+3)+'" /></span></form>');}
document.write('</div>');} 
document.write('</div>');}}
# No search results  
print } else {document.write('<div class="no_search_results"> No results for &quot;<b>$search</b>&quot
print ;</div>');}
endif                            
<!--/parser:xtscript-->
</script>

Copy code
2018-10-25 00:32 · (0)
* Weezy * AGKLOADED For the images filelist and preview page code copy @ http://weezywap.xtgem.com/forum/index/__xt/post-osr2ak8om6guvx3i582bd1sr2ak8om6guvx3i5.html#
2018-10-30 01:08 · (0)
* Weezy * Tflesk where did you copy the code from?
2018-10-30 01:09 · (0)

Online: Guests: 1

Translate
Pages
Copyright © 2024 WEEZYWAP
facebook twitter whatsapp google plus
Home | About Us | Advertise | Frequently Asked Question | Contact Us | Partners | Disclaimer | Terms of Services | Invite Friends | Credits



Online: 1 , Today: 711, Hits: 7854945
Last modified: 27-08-2018 11:42:51 pm