count_by_status($filter); $multipage = multi($count['num'], $ppp, $page, ADMINSCRIPT."?action=tradelog&filter=$filter"); shownav('extended', 'nav_ec'); showsubmenu('nav_ec', array( array('nav_ec_config', 'setting&operation=ec&mod=forum', 0), array('nav_ec_tenpay', 'ec&operation=tenpay&mod=forum', 0), array('nav_ec_alipay', 'ec&operation=alipay&mod=forum', 0), array('nav_ec_credit', 'ec&operation=credit&mod=forum', 0), array('nav_ec_orders', 'ec&operation=orders&mod=forum', 0), array('nav_ec_tradelog', 'tradelog&mod=forum', 1), array('nav_ec_inviteorders', 'ec&operation=inviteorders', 0) )); showtableheader(); showsubtitle(array('tradelog_trade_no', 'tradelog_trade_name', 'tradelog_buyer', 'tradelog_seller', 'tradelog_money', $lang['tradelog_credit']."({$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][title]})", 'tradelog_fee', 'tradelog_order_status')); foreach(C::t('forum_tradelog')->fetch_all_by_status($filter, $start_limit, $ppp) as $tradelog) { $tradelog['status'] = trade_getstatus($tradelog['status']); $tradelog['lastupdate'] = dgmdate($tradelog['lastupdate']); $tradelog['tradeno'] = $tradelog['offline'] ? $lang['tradelog_offline'] : $tradelog['tradeno']; showtablerow('', '', array( $tradelog['tradeno'], ''.$tradelog['subject'].'', ''.$tradelog['buyer'].'', ''.$tradelog['seller'].'', $tradelog['price'], $tradelog['credit'], $tradelog['tax'], ''.$tradelog['status'].'
'.$tradelog['lastupdate'] )); } $statusselect = $lang['tradelog_order_status'].': '; showsubmit('', '', "$lang[tradelog_order_count] $count[num], $lang[tradelog_trade_total] ".intval($count['pricesum'])." $lang[rmb_yuan], $lang[tradelog_trade_totalcredit] {$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][title]} $count[creditsum] {$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][unit]}, $lang[tradelog_fee_total] ".intval($count['taxsum'])." $lang[rmb_yuan]", '', $multipage.$statusselect); showtablefooter(); ?>