iptoarea.php 252 B

123456789101112131415161718
  1. <?php
  2. !defined('IN_MYMPS') && exit('FORBIDDEN');
  3. $ip = isset($ip) ? trim($ip) : '';
  4. if ($ip == 'wap') {
  5. $area = '手机端';
  6. }
  7. else {
  8. $area = ip2area($ip);
  9. }
  10. include MYMPS_ROOT . '/template/box/iptoarea.html';
  11. unset($ipdata);
  12. unset($address);
  13. ?>