Weezy
wapar Copy the images filelist code, note that the folder to be used should contain images only ..replace the path to the 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="/images" template="<table width='100%'><tr><td width='25%' class='full' align='center'><img src='.file_url.' width='100%' height='100%'></td><td width='75%' align='left' class='full'><img src='http://weezywap.xtgem.com/images/rating.gif'/><br/><b>Name: </b><b style='color:blue'>.file_name_parsed.</b><br/><b>File Size: </b><b style='color:green'>.file_size.</b><br/><b>• </b><a href='/preview?name=.file_name_parsed.&link=.file_url.'><b style='color:red'>Preview</b></a><b>• </b><a href='/download?file=.file_name.&name=.file_name_parsed.&category=.file_mime.&size=.file_size.&href=.file_url.&date=.file_date.&time=.file_time.'><b style='color:red'>Download</b></a></td></tr></table>" filter="$fltr*" per_page="$prpg" />
<!--/parser:xtscript-->
<div align="center" class="full">Jump to page:<br/><form action="<xt:url type="path" />" method="get"><input type="text" style="width:25px" name="__filelist_page"><input
type="submit" value="jump"></form></div>
Copy code
Create a file directly in your filebrowser @
http://xtgem.com/filebrowser and name it
preview ..Copy the image preview page body code
<div class="zxfourborder"><img src="{_$link|http://mini.s-shot.ru/200x200/200/PNG/?weezywap.xtgem.com}" height="" width="" alt="preview of {_$name|WEEZYWAP}"/></div><table width="100%" border="0"><tr><td width="33%" bgcolor="" class="zxfourborder" align="center"><b>URL</b><br/><input type="text" size="5%" value="{_$link|http://weezywap.xtgem.com/index}"></input></td><td width="34%" bgcolor="" class="zxfourborder" align="center"><b>HTML</b><br/><input type='text' size='5%' value='<p align="center"><a href="http://weezywap.xtgem.com" target="_blank"><img src="{_$link|http://weezywap.xtgem.com/index}" border="0" alt="{_$name|weezywap}"></a></p>'></input></td><td width="33%" bgcolor="" class="zxfourborder" align="center"><b>BB CODE</b><br/><input type="text" size="5%" value="[img]{_$link|http://weezywap.xtgem.com/index}[/img]"></input></td></tr></table>
Copy code
wapar
Weezy Gv me d Inner C0DE 4 d¡s page, INVITE.
Weezy
wapar The mailing form is only available to sites registered b4 late 2012
Rocxy
Weezy pls hw cn i create d folder nd import dix code via remote server
http://weezywap.xtgem.com/App/xtblog.twig.js
Copy code
Rocxy
Weezy pls hw cn i create d folder nd import dix code via remote server
http://weezywap.xtgem.com/App/xtblog.twig.js
Copy code
wapar
Rocxy Create a folder direct in ur filebrowser @
http://xtgem.com/filebrowser name it
_xtgem_templates Click 0K...afta loading den, upload d file ab0ve in d folder via remote Server... Dats all... Den Chk ur blog and see d magic...
Weezy
Rocxy Go directly in your filebrowser @
http://xtgem.com/filebrowser ..click on
Create Folder ..the name of the folder should be
_xtgem_templates ..copy the name below
..then inside the folder click on
Upload File ..when the upload page opens, scroll down to the second upload option which is
Upload via Remote server ..paste the url in the box then upload ..after uploading, u will have
xtblog.twig.js ..click on the plus (+) sign beside the file, then Rename to
xtblog.twig
Legendishaq
Weezy That's perfect tutori weezy.........