Pair of Vintage Old School Fru
Home
Blog
About me
MOWIWAP FORUM
Dont Just Visit And Go, Also Invite Your Friends Here, THANKS
Login
·
Signup
Home
»
Coding Help
»
XtGem coding help
»
mowi plez help me
» View post
mowi
BORZY
Put this code where you want the search result to appear, edit it carefully and change the capital letters to there folder where your music files are.
<!--parser:xtscript--> # assign and convert template assign $template=call htmlspecialchars $val=<div class="lime" style="padding:2px"><span><a target="_blank" href=".file_url."><span style="padding:2px" > .file_name_parsed. </span></a></span></div><span style="padding:2px" > (.file_size.) .file_datetime. </span><br /> # Get the search pattern from the form get srch # Return if pattern has no length assign $exists=call strlen $val=$srch if not $exists print Search Music Files goto @end endif # Get the results from xt filelist assign $results = <xt:filelist folder="/YOUR_MUSIC_FOLDER" template="$template" per_page="10" filter="$srch*" /> # Return if no results if not $results print No results for $srch goto @end endif # Output the results print <h4 id="results" style="text-align:center">Results</h4> print <div class="xt_list">$results</div> @end <!--/parser:xtscript-->
#
2014-12-25 14:53 (edited 2014-12-25 14:59 by
mowi
) ·
(0)
Home
»
Coding Help
»
XtGem coding help
»
mowi plez help me
» View post
Online: Guests: 1
Log in