XtGem Forum catalog

p _ x
Bookmark Weezywap
JarApkBmkOpera
(GMT+1)
Friday November 1st 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
* Mujhtech * Weezy Help me with ur user upload file code
2016-09-04 17:49 · (0)
* Legendishaq * Mujhtech There's nothing like user upload in xtgem site..... The only site dat's supporting user upload is wapka File manager
2016-09-05 06:21 · (0)
* Weezy * Mujhtech I linked my wapka file manager site to my xtgem!
2016-09-05 08:01 · (0)
* Mujhtech * Weezy I need ur search file code that u used at http://weezywap.xtgem.com/search
2016-09-05 09:43 · (0)
* Weezy * Mujhtech get the search script @ http://weezywap.xtgem.com/forum/index/__xt/sharing-weezywaps-latest-search-file-script/thread-oqp0yi6mk4estv1g314a71cb0ku6yw4qefh1s3.html
2016-09-06 08:28 · (0)
* Mujhtech * Weezy Pls help me with correct filelist search code, my filelist search code is not working
2016-09-06 10:03 · (0)
* Weezy * Mujhtech Paste the filelist search code u are using here!
2016-09-06 10:13 · (0)
* Mujhtech * Weezy This is the code

<!--parser:xtscript-->
# GET CURRENT VALUES OR SET DEFAULTS #
get_or_default folder;/Path/To/app/islamic mp
get_or_default srtby;name
get_or_default srtdir;asc
get_or_default prpg;5
get_or_default fltr;
get_or_default __filelist_page;1
/* MARK CURRENT SORT TYPE */
var $cst = color:#0f0 !important
if $srtby==updated
var $cst1=$cst
elseif $srtby==name
var $cst2=$cst
elseif $srtby==size
var $cst3=$cst
elseif $srtby==type
var $cst4=$cst
endif
/* MARK CURRENT SORT DIRECTION */
if $srtdir==asc
var $csd1=$cst
elseif $srtdir==desc
var $csd2=$cst
endif
/* SET CURRENT PER PAGE */
var $sel = selected="selected" class="selected"
if $prpg==3
var $pp1=$sel
elseif $prpg==5
var $pp2=$sel
elseif $prpg==10
var $pp3=$sel
elseif $prpg==20
var $pp4=$sel
elseif $prpg==50
var $pp5=$sel
elseif  $prpg <=1
var $pp6=$sel
endif
/* THE XT:FILELIST FUNCTION */
/* Set your own folder and template */
print <xt:filelist sort_type="$srtby" sort_dir="$srtdir" folder="$folder" template="&lt;a href=&quot;.file_url.&quot; &gt;.file_name_parsed.&lt;/a&gt;(.file_size.)&lt;br /&gt;" filter="$fltr*" per_page="$prpg" />
# SET OUTER HOLDERS AND FORM HIDDEN FIELDS #
print {{
<div style="text-align:center">
<div style="display:inline-block;text-align:center;background-color:#C0C0C0;border:1px solid #3b5998;border-radius:3px;padding:2px;margin:0 auto"><img src="http://weezywap.xtgem.com/i/i5/fs.png" alt="" /><form action=" " method="get"><input style="display:inline" type="hidden" name="srtby" value="$srtby" /><input style="display:inline" type="hidden" name="srtdir" value="$srtdir" /><input style="display:inline" type="hidden" name="__filelist_page" value="$__filelist_page" />
}}
# SET THE COMMON STYLES #
var $style=border:1px solid #ffffff;border-radius:2px;background:#3b5998;color:#ffffff;padding:0 1px !important;margin: 1px !important;font-size:.75em;text-decoration:none !important;
# SHOW SEARCH FILTER#
print {{
<input style="$style;width:5em"  type="search" name="fltr" value="$fltr" /><input style="$style" type="submit" value="Search" />
<br />
}}
# SHOW SORT TYPE #
print {{
<a  style="$style;$cst1" href="?srtby=updated&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Updated">Updated</a> . <a  style="$style;$cst2" href="?srtby=name&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Name">Name</a>. <a  style="$style;$cst3" href="?srtby=size&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Size">Size</a>. <a  style="$style;$cst4" href="?srtby=type&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="type">Type</a>
}}
<br/>
# SHOW SORT DIRECTION #
print {{ 
<a style="$style;$csd1" href="?srtby=$srtby&srtdir=asc&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Ascending">Ascending</a>.<a style="$style;$csd2" href="?srtby=$srtby&srtdir=desc&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Descending">Descending</a>
<br />
}}
# SHOW PER PAGE #
print {{
<select style="$style;" name="prpg">
<option $pp1>3</option>
<option $pp2>5</option>
<option $pp3>10</option>
<option $pp4>20</option>
<option $pp5>50</option>
<option $pp6 value=" ">all</option>
</select><input style="$style"  type="submit" value="per page" />
}}
# CLOSE FORM AND HOLDERS #
print {{
</form>
</div>
</div>
}}
<!--/parser:xtscript-->

Copy code
2016-09-06 12:03 · (0)
* Weezy * Mujhtech Copy below, editted and working ..u should insert the folder path in the code below ..i used /uploads as the default folder
<!--parser:xtscript-->
# GET CURRENT VALUES OR SET DEFAULTS #
get_or_default srtby;updated
get_or_default srtdir;desc
get_or_default prpg;10
get_or_default fltr;
get_or_default __filelist_page;1
/* MARK CURRENT SORT TYPE */
var $cst = color:#0f0 !important
if $srtby==updated
var $cst1=$cst
elseif $srtby==name
var $cst2=$cst
elseif $srtby==size
var $cst3=$cst
elseif $srtby==type
var $cst4=$cst
endif
/* MARK CURRENT SORT DIRECTION */
if $srtdir==asc
var $csd1=$cst
elseif $srtdir==desc
var $csd2=$cst
endif
/* SET CURRENT PER PAGE */
var $sel = selected="selected" class="selected"
if $prpg==3
var $pp1=$sel
elseif $prpg==5
var $pp2=$sel
elseif $prpg==10
var $pp3=$sel
elseif $prpg==20
var $pp4=$sel
elseif $prpg==50
var $pp5=$sel
elseif  $prpg <=1
var $pp6=$sel
endif
# SET OUTER HOLDERS AND FORM HIDDEN FIELDS #
print {{
<div style="text-align:center">
<div style="text-align:center;background-color:#C0C0C0;border:1px solid #3b5998;padding:2px;margin:0 auto">
<form action=" " method="get">
<input style="display:inline" type="hidden" name="srtby" value="$srtby" />
<input style="display:inline" type="hidden" name="srtdir" value="$srtdir" />
<input style="display:inline" type="hidden" name="__filelist_page" value="$__filelist_page" />
}}
# SET THE COMMON STYLES #
var $style=border:1px solid #ffffff;border-radius:2px;background:#3b5998;color:#ffffff;padding:0 1px !important;margin: 1px !important;font-size:.75em;text-decoration:none !important
# SHOW SEARCH FILTER#
print {{
<img src="/i/i5/fs.png" alt="" /><input style="$style;width:5em"  type="search" name="fltr" value="$fltr" /><input style="$style" type="submit" value="Search" />
<br />
}}
# SHOW SORT TYPE #
print {{
<a  style="$style;$cst1" href="?srtby=updated&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Updated"><b>Updated</b></a> . <a  style="$style;$cst2" href="?srtby=name&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Name"><b>Name</b></a> . <a  style="$style;$cst3" href="?srtby=size&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Size"><b>Size</b></a> . <a  style="$style;$cst4" href="?srtby=type&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="type"><b>Type</b></a>  
}}
# SHOW SORT DIRECTION #
print {{ 
<br/><a style="$style;$csd1" href="?srtby=$srtby&srtdir=asc&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Ascending"><b>Ascending</b></a> . <a style="$style;$csd2" href="?srtby=$srtby&srtdir=desc&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Descending"><b>Descending</b></a>
<br />
}}
# SHOW PER PAGE #
print {{
<select style="$style;" name="prpg">
<option $pp1>3</option>
<option $pp2>5</option>
<option $pp3>10</option>
<option $pp4>20</option>
<option $pp5>50</option>
<option $pp6 value=" ">all</option>
</select><input style="$style"  type="submit" value="Per Page" />
}}
# CLOSE FORM AND HOLDERS #
print {{
</form>
</div>
</div>
}}
/* THE XT:FILELIST FUNCTION */
/* Set your own folder and template */
print <xt:filelist sort_type="$srtby" sort_dir="$srtdir" folder="/uploads" template="&lt;a href=&quot;.file_url.&quot; &gt;.file_name_parsed.&lt;/a&gt;(.file_size.)&lt;br /&gt;" filter="$fltr*" per_page="$prpg" />
<!--/parser:xtscript-->

Copy code
2016-09-07 08:48 · (0)
* Mujhtech * Weezy Help me, see how it look like http://mujhtech.xtgem.com/Facebook/fb_app.php
2016-09-09 09:25 · (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: 48, Hits: 7894839
Last modified: 27-08-2018 11:42:51 pm