Polaroid
Bookmark Weezywap
Jar
•
Apk
•
Bmk
•
Opera
(GMT+1)
Tuesday May 13th 2025
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
Login
·
Signup
Home
»
Coding Help
»
XtGem coding help
»
Site Updates - Davex
» View post
Weezy
Davex
Thr's unexpected spacing in the codes ..thats the reason for the error ..recopy below ..replace only the folder paths!
<!--parser:xtscript--> # Create the search form print <div class="xt_search_form" id="xt_search_form"><form action='<xt:url />#xt_search_form' method="get"> # Create the search text input field get srch print <div class="zxfourborder"><div class="xt_input"><input type="search" name="srch" value="$srch" /></div></div><div class="zxfourborder"> # Get the currently selected search folder or set it to the default folder get_or_default fldr;s/s60v2_apps # This re-selects the last selected folder # the names and variables must match the ones used in the radio buttons var $chk = checked="checked" var $fltyp1= s60v2 Apps var $fltyp2= s60v3 Apps var $fltyp3= s60v5 Apps var $fltyp4= symbian antivirus if $fldr == s/s60v2_apps var $chk1 =$chk var $fltyp= $fltyp1 elseif $fldr == s/s60v3_apps var $chk2 = $chk var $fltyp= $fltyp2 elseif $fldr == s/s60v5_apps var $chk3 = $chk var $fltyp= $fltyp3 elseif $fldr == s/symbian_antivirus var $chk4 = $chk var $fltyp= $fltyp4 endif # Create the selected folder radio buttons # add more buttons or set your own values if required print <div class="xt_radio_button xt_text small"> print $fltyp1 <input type="radio" name="fldr" value="s/s60v2_apps" $chk1/> print $fltyp2 <input type="radio" name="fldr" value="s/s60v3_apps" $chk2/> print $fltyp3 <input type="radio" name="fldr" value="s/s60v5_apps" $chk3/> print $fltyp4<input type="radio" name="fldr" value="s/symbian_antivirus" $chk4/> print </div></div><div class="zxfourborder"> # This re-selects the last sort type and direction # the names and variables must match the ones used in the radio buttons get_or_default typ;name get_or_default dir;asc if $typ == name var $chk5 =$chk elseif $typ== size var $chk6= $chk endif if $dir == asc var $chk7 =$chk elseif $dir== desc var $chk8= $chk endif # Create the sort type and direction radio buttons print <div class="xt_radio_button xt_text small"> print Name <input type="radio" name="typ" value="name" $chk5/> print Size <input type="radio" name="typ" value="size" $chk6/> print Asc <input type="radio" name="dir" value="asc" $chk7/> print Desc <input type="radio" name="dir" value="desc" $chk8/> print </div></div><div class="zxfourborder"> # This re-selects the last selected results per page # the names and variables must match the ones used in the select menu var $slct= selected="selected" get_or_default per_page;0 if $per_page == 3 var $slct1 =$slct elseif $per_page== 5 var $slct2= $slct elseif $per_page == 10 var $slct3= $slct elseif $per_page == 0 var $slct4= $slct endif # Create the per page select menu print <div class="xt_select xt_text small"> print Per page <select name="per_page"> print <option value="3" $slct1>3</option> print <option value="5" $slct2>5</option> print <option value="10" $slct3>10</option> print <option value="0" $slct4>All</option> print </select> print </div></div><div class="zxfourborder"> # Add the submit button and close the search form print <div class="xt_submit"><input class="xt_button" type="submit" value="search" /></div></form></div></div> # Start the results output container print <div class="xt_list"> # No search pattern so output the default html and exit the script var $exists=call strlen $val=$srch if not $exists print <div class="zxfourborder"><div class="xt_item"><span class="xt_text normal"> Search For Symbian Applications</span></div></div> goto @end else # Create the filelist template for the search results # Must be all on one line var $template=<table width="100%"><tr><td width="25%" class="main" align="center"><img src="http://weezywap.xtgem.com/Pic/symbian_icon.png" width="100%" height="100%"></td><td width="75%" align="left" class="main"><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="/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 Now!</b></a></td></tr></table> # convert reserved characters var $template=call htmlspecialchars $val=$template # Note: If all your search files have file-extensions (.mp3 .png etc.) set the filter to $srch*.* # This will filter out all files without extensions (ie: index) # Get the search results using $srch* in the xt:filelist filter var $results = <xt:filelist sort_type="$typ" sort_dir="$dir" folder="/$fldr" template="$template" per_page="$per_page" filter="$srch*" /> endif # No results so output the default html for no search results and exit the script if not $results print <div class="zxfourborder"><div class="xt_item"><span class="xt_text normal">No results for $srch in this folder</span></div></div> goto @end else # Output the results print <div class="zxfourborder"><h4 class="xt_item" style="text-align: center;">$fltyp results for "$srch"</h4></div> print $results endif @end # Close the results output container print </div> <!--/parser:xtscript-->
#
2016-10-02 00:36 ·
(0)
Home
»
Coding Help
»
XtGem coding help
»
Site Updates - Davex
» View post
Online: Guests: 1
Translate
Pages
« Back
/
Home
Whatsapp Tricks
2go Arena
Facebook Arena
Guestbook
(41735)
Forum
(2572)
Chatroom
Naija mp3
Videos/Movies
Softwares/Games
Gallery/Themes
Wapmaster
Online Games/Tools
News/Updates
Blog/Tutorials
Copyright © 2025 WEEZYWAP
Home
|
About Us
|
Advertise
|
Frequently Asked Question
|
Contact Us
|
Partners
|
Disclaimer
|
Terms of Services
|
Invite Friends
|
Credits
Online: 1 , Today: 741, Hits: 8193561
Last modified: 27-08-2018 11:42:51 pm
Log in