29 行
		
	
	
	
		
			633 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			29 行
		
	
	
	
		
			633 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
class DXCC_Prefixes extends CI_Model {
 | 
						|
/*
 | 
						|
CREATE TABLE IF NOT EXISTS `dxcc_prefixes` (                                                                                       
 | 
						|
  `record` int NOT NULL,
 | 
						|
  `call` varchar(10) NOT NULL,
 | 
						|
  `entity` varchar(255) NOT NULL,
 | 
						|
  `adif` smallint NOT NULL,
 | 
						|
  `cqz` smallint NOT NULL,
 | 
						|
  `cont` varchar(5),
 | 
						|
  `long` float,
 | 
						|
  `lat` float,
 | 
						|
  PRIMARY KEY (`record`),
 | 
						|
  KEY `record` (`record`)
 | 
						|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;          
 | 
						|
 | 
						|
*/
 | 
						|
    function __construct(){
 | 
						|
        parent::__construct();
 | 
						|
    }
 | 
						|
 | 
						|
 | 
						|
    function empty_table($table){
 | 
						|
        $this->db->empty_table($table);
 | 
						|
    }
 | 
						|
 | 
						|
 | 
						|
}
 |