local nav_html = [=[ ]=] print(string.format(search_html));local title_html = [=[

HCFC WAPka

HTTP Costum Free Config | AkunSSH | Download | Tutorial | Tools Service | Searching Video and File Sharing.

]=] print(string.format(title_html)) function firstToUpper(str) return (str:gsub("^%l", string.upper)) end local category = req.script_filename local category = category:gsub("-", " ") local category = firstToUpper(category) index_header = "Category : " .. category html.title = "index_header" raw_uri = req.uri forum_id = tonumber(string.match(raw_uri, "/category/(%d+)")) if (req.get.page == nil) then pagenumber = "1" else pagenumber = req.get.page end local param_post = { page = pagenumber, forumid = forum_id, limit = 10, order = "DESC" } local is_ok, postlist = api.post_info(param_post) if (postlist[0] == nil) then empty_post = 1 end if (empty_post == 1) then post_entry = 'No pages found' else post_entry = '' end local index_html = [=[

%s

%s ]=] print(string.format(index_html, index_header, post_entry)); local post_index_html = [[ ]] print(html.render_tag(post_index_html, postlist, true)); print("
") print("
") local param_paging = { page = pagenumber + 1, limit = 10, order = "DESC" } local is_ok, paging = api.post_info(param_paging) if (paging[0] == nil) then next_page = "style=\"pointer-events:none;\"" else next_page = "" end if (pagenumber == "1") then prev_page = "style=\"pointer-events:none;\"" else prev_page="" end local paging_html = [=[
]=] print(string.format(paging_html, pagenumber - 1, prev_page, pagenumber + 1, next_page)); local index_2_html = [=[
]=] print(string.format(index_2_html));


Statistik

Ada 37 artikel dan 369 file terbaru telah diunggah.

News Upload 35 file config terbaru. Baru saja diunggah pengunjung.

News Upload 20 file txt terbaru. Baru saja diunggah pengunjung.

News Upload 211 file gambar terbaru. Baru saja diunggah pengunjung.

News Upload 56 file video terbaru. Baru saja diunggah pengunjung.



Tools Service


local jumbotron = [[

HCFC.WAPKA.SITE

]] print(jumbotron) local jumbotron_list_html = [[ %name% (%postnum%) ]] local jumbotron_param = { parent = 0, limit = 20, order = "id_desc" } local is_ok, jumbotron_list = api.forum_info(jumbotron_param) if is_ok then print(html.render_tag(jumbotron_list_html, jumbotron_list, true)) end print("
") local footer_html = [=[ ]=] print(string.format(footer_html))