* MHS_AN-99 * JavaExperts Maybe on this part

var $description=call substr $val=$description;$start=($description_content_start 1);$length=($description_content_end-$description_content_start-1)

see
not operation math (plus or minus)
ie:
...
($description_content_start-1)
...
maybe
2015-03-06 00:04 · (0)
* JavaExperts * admin_teGa Both the codes are same i am not asking how i asking why its (description) not working. Pls read my post again
2015-03-05 23:03 · (0)
* admin_teGa * JavaExperts Open http://ggnnww.yn.lt/filelist_folder/filelister
2015-03-05 21:29 · (0)
* JavaExperts Why xtgem not showing description?

MAIN FILELIST CODE


<!--parser:xtscript-->
# The filelist
# Set the paths
# Files path is relative to the root directory
var $path=/games/240x400/download
# Descriptions path is relative to the current directory
var $descr=/games/240x400/descriptions
# Set the filelist template MUST BE ALL ON 1 LINE
var $template=<b>Game Screenshot:</b><br/><img src=http://nokiaasha.mobie.in/games/240x400/images/.file_name..jpg height=150 width=150><br/><b>Name:</b>.file_name_base_parsed.<br/><b>Size:</b>.file_size.<br /><b>Date</b>.file_date.<br/><b>Download:</b><a href=.file_url.>.file_name_base_parsed.</a>
var $template=call htmlspecialchars $val=$template
#Get the filelist
var $filelist=<xt:filelist sort_type="name" sort_dir="asc" folder="$path" template="||.file_name_base.@@$template##" per_page="3" filter="*.*"/>
# The outer holder
print <div class="xt_list">
@loop
# Get the entry
var $offset=call strpos $haystack=$filelist;$needle=||;$offset=$offset
var $end_file_substring=call strpos $haystack=$filelist;$needle=##;$offset=$offset
var $file_substring=call substr $val=$filelist;$start=($offset 2);$length=($end_file_substring-$offset-2) 
# Get the file base name (no file extension)
var $file_name_base_end =call strpos $haystack=$file_substring;$needle=@@;
var $file_name_base=call substr $val=$file_substring;$start=0;$length=$file_name_base_end 
# Get the rest of the template
var $list_entry=call substr $val=$file_substring;$start=($file_name_base_end  2);
# Get the content of the description file 
var $description=call source $file=$descr/$file_name_base;$html_safe=0;
# Check for body tags
var $description_content_offset=call strpos $haystack=$description;$needle=<body;
# Extract just the content of the body tags
if $description_content_offset
var $description_content_start=call strpos $haystack=$description;$needle=>;$offset=$description_content_offset
var $description_content_end=call strpos $haystack=$description;$needle=</body;$offset=$description_content_offset
var $description=call substr $val=$description;$start=($description_content_start 1);$length=($description_content_end-$description_content_start-1) 
endif
# output the entry change this to suit your needs
print {{
<div class="xt_item"><div style="padding:5px 0px 5px 5px;width:100%;border-bottom: solid 1px #dfdfdf; border-top: solid 1px #dfdfdf; border-right: solid 1px #dfdfdf; border-left: solid 1px #dfdfdf">
<div class="xt_description"><b>Game Description:</b><br/>$description</div><br/>
$list_entry
</div></div>
}}
# Loop back for next entry
var $offset=call strpos $haystack=$filelist;$needle=||;$offset=($offset 2)
if $offset > 0
goto @loop
endif
# Get the paging code from the filelist
var $paging_code_start=call strrpos $haystack=$filelist;$needle=##
var $paging_code=call substr $val=$filelist;$start=($paging_code_start 2);
# Output the paging code and close the outer holder
print $paging_code </div>
<!--/parser:xtscript-->

Copy code


everything had been done correctly but still it doesnt show why?


GAME URL
http://nokiaasha.cf/games/240x400/download/3D_K.O_Racing.jar

Description
http://nokiaasha.cf/games/240x400/descriptions/3D_K.O_Racing

@graham @heriwap please help me to get a good result.
2015-03-05 19:57 · (0)

Online: Guests: 1