if($_GET[order]) $s_order=$_GET[order]." DESC"; else $s_order="addtime desc"; $ting_list=gxl_sql_ting('cid:'.$list_id.';lz:'.$_GET[lz].';letter:'.$_GET[letter].';field:ting_id,ting_cid,ting_name,ting_author,ting_letters,ting_pic,ting_gold,ting_title,ting_anchor,ting_addtime,ting_content;limit:30;page:true;order:ting_'.$s_order.';');$page = $ting_list[0]['page'];$pagetop = $ting_list[0]['pagetop'];$pagetop = $ting_list[0]['pagetop'];$prev = $ting_list[0]['prev'];$next = $ting_list[0]['next'];$totalpages = $ting_list[0]['totalpages'];$currentpage = $ting_list[0]['currentpage'];$prevcount = $ting_list[0]['prevcont'];$nextcount = $ting_list[0]['nextcont'];