1), array('id' => -1), 1, 10000); $suffixes_counts = array(); foreach ($all_active_domains as &$d) { $d['length'] = mb_strlen($d['domain']); $parts = explode('.', $d['domain']); $d['suffix'] = end($parts); $d['create_date_fmt'] = date('Y-m-d H:i', $d['create_date']); if ($d['price_type'] == 'inquiry') { $d['price_display'] = '询价'; } else { $d['price_display'] = '¥' . floatval($d['price']); } $suffixes_counts[$d['suffix']] = isset($suffixes_counts[$d['suffix']]) ? $suffixes_counts[$d['suffix']] + 1 : 1; } unset($d); arsort($suffixes_counts); // Convert domains list to JSON safe variable $domains_json = xn_json_encode($all_active_domains); ?>
全部
一口价
询价
类型
类型
纯英文
纯数字
IDN
出售
时间
后缀筛选
$cnt) { ?>
域名 长度 描述 价格