<style type="text/css">mewe{border-bottom:1px solid #dddddd}</style><xt:filelist sort_type="updated" sort_dir="desc" per_page="10" folder="/hinhnen/tet" template="<div class="list1"><img src='.file_url.' width='86px' height='82px'/ ><br/><a href=".file_url.">- Tải về máy</a> (.file_size.)</div>" /></div>
<div class="search_results" id="results"><xt:filelist sort_type="name" sort_dir="asc" folder="/YOUR_FOLDER" template="" per_page="10" filter="dummyentry*" /></div>
<form id="srchfrm" onsubmit="return validateForm()" action="<xt:url />" method="get">
<div class="search_form">
<input name="srch" value=""/>
<br />
<input type="submit" value="search" />
<input type="reset" value="•" />
</div>
</form>
và
<script type="text/javascript">
var dflt = '\<div style=\"text-align:center\"\>SEARCH MY FILES\</div\>';
var nrslts ='\<div style=\"text-align:center\"\>NO RESULTS\</div\>';
if ("" != "")
{var rslts=document.getElementById("results").innerHTML ;
if (rslts == "")
{document.getElementById("results").innerHTML= nrslts;}}
else
{document.getElementById("results").innerHTML= dflt;};
function validateForm()
{var inp=document.forms["srchfrm"]["srch"].value;
if (inp==null || inp==""){return false;}}
</script>
Đầu tiên tạo file tên"download" post code
Code:
<div class="bmenu"><b>Danh sách tệp tin</b></div><xt:filelist sort_type="updated" sort_dir="asc" folder="files" template="<div class='menu'>- <a href='http://tênwapbạn/taive?name=.file_name_parsed.&size=.file_size.&type=.file_type.&date=.file_date.&url=.file_url.'>.file_name_parsed.</a> (.file_size.)</div>" /> Tạo file tên "taive" post code
Code:
<div class="menu"><b>Tệp tin</b>«None»</div><div class="menu"><b>[<a href="404">Tải xuống</a>]</b> (None)<br/>Định dạng : None<br/>Người up : wizards<br/>Ngày up : None<br/><br/>Mã nhúng forum<form method="post"><input type="text" value ="[ur l=<xt:url>]Tải xuống None[/url]" /></form>Mã HTML<form method="post"><input type="text" value ='<a href="<xt:url>">Tải xuống None</a>' /></form></div></div>
XtGem.com