diff --git a/application/controllers/Lookup.php b/application/controllers/Lookup.php index 4b722892..205907dc 100644 --- a/application/controllers/Lookup.php +++ b/application/controllers/Lookup.php @@ -17,6 +17,28 @@ class Lookup extends CI_Controller { if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); } } + public function membership($callsign) { + $this->load->library('MembershipList'); + $data['results'] = $this->membershiplist->searchFilesForCallsign($callsign); + + print_r($data['results']); + + foreach ($data['results'] as $key => $value) { + echo "Key: " . $key . "\n"; + foreach ($value as $subKey => $subValue) { + echo "Sub-key: " . $subKey . "\n"; + if (is_array($subValue)) { + foreach ($subValue as $innerKey => $innerValue) { + echo "Inner key: " . $innerKey . "\n"; + echo "Inner value: " . $innerValue . "\n"; + } + } else { + echo "Sub-value: " . $subValue . "\n"; + } + } + } + } + public function index() { $data['page_title'] = "Quick Lookup"; diff --git a/application/libraries/MembershipList.php b/application/libraries/MembershipList.php new file mode 100644 index 00000000..89917cae --- /dev/null +++ b/application/libraries/MembershipList.php @@ -0,0 +1,41 @@ + \ No newline at end of file diff --git a/assets/membership_lists/FOC.txt b/assets/membership_lists/FOC.txt new file mode 100644 index 00000000..74c93832 --- /dev/null +++ b/assets/membership_lists/FOC.txt @@ -0,0 +1,586 @@ +Call,Name,Exch1 +# FOC_80AC +# FOC_80DXP +# FOCBWQP +# FOCCW +# Last number listed 2207 +# LastEdit,2023-03-02 +# Send new info/corr. DIRECT to ve2fk@arrl.net +# Thanks to +M0PCB,Iain,2207 +4X4DK,Ami,1836 +4Z4KX,Mark,1782 +5B4AGN,Bob,1670 +5R8AL,Alain,2189 +5Z4/G3AB,Andy,1564 +5Z4VJ,Andy,1564 +6Y5WJ,Josh,1925 +9J2BO,Brian,1322 +9V1VV,John,2016 +A45XR,Chris,1475 +AA3B,Bud,1921 +AC2K,Alan,1851 +AC4CA,John,2036 +AC5K,Wes,1662 +AD5A,Mike,2096 +AD5XI,Iain,2024 +AD8CW,Doug,1576 +AE1T,Peter,2093 +AI2Q,Alex,1861 +AK4Z,John,1898 +AK5X,Bill,2029 +CE2SV,Dale,2103 +CT1BQH,Carlos,2158 +CT7AGZ,Ken,2129 +DF2IC,Greg,1624 +DF4BV,Heinz,1904 +DF4XX,Kurt,2100 +DJ1YFK,Fabian,1796 +DJ2BW,Herman,1329 +DJ4KW,Gerd,1833 +DJ5IL,Karl,1980 +DJ5ZN,Klaus,1145 +DJ6SI,Baldur,1708 +DJ6ZM,Tof,1946 +DJ7PR,Leo,2199, +DK1WI,Ed,2124 +DK1WU,Hans,1808 +DK2GZ,Harry,1879 +DK4LX,Holger,1567 +DK7LX,Georg,2044 +DK7PE,Rudi, 2179 +DK7VW,Joe,1795 +DK8EI,Klaus,1344 +DK8IT,Gerry,1701 +DK9PY,Armin,2126 +DL1BUG,Red,1799 +DL1CW,Arno,2070 +DL1VDL,Hardy,1943 +DL2CC,Frank,2116 +DL2JRM,Rene,2192 +DL3AZ,Andy,1981 +DL4CF,Joe,1582 +DL5YL,Tina,2026 +DL5YM,Fred,2028 +DL6KVA,Axel,2098 +DL6LBI,Ingo,2020 +DL6RAI,Ben,2163 +DL8LBK,Ken,1763 +DL8PG,Gerd,1986 +DU7ET,Bob,2097 +EA2AJB,Andres,2153 +EA4BB,Nando,2054 +EA6BF,Josep,2182 +EA8CN,Andy,1656 +EI5DI,Paul,1905 +EI5DS,Ned,1940 +EI6FR,Declan,1770 +EI7BA,John,1989 +EW8O,Mik,2045 +F3OA,Mike,1174 +F5NZY,Steph,1737 +F5VHY,Den,744 +F6HKA,Bert,2017 +FG8NY,Jean,2072 +G0BQV,Mary,1677 +G0CHV,Mike,1901 +G0EFO,Mike,2068 +G0FJT,Jon,1607 +G0GKH,Dave,1939 +G0HFL,Nick,2171 +G0IBN,Andy,2048 +G0MFR,Gareth,2204, +G0ORH,Ken,1684 +G0PNM,Pete,2095 +G0VQW,Sandy,1931 +G2HKU,Ted,293 +G2JL,Mort,1223 +G2NF,Tony,1777 +G3BJ,Don,2006 +G3HEJ,Derek,1698 +G3IZD,Ivan,1673 +G3JUL,Geoff,623 +G3KOJ,Ray,1930 +G3LDI,Roger,2037 +G3LHJ,Derrick,841 +G3LIK,Mick,1192 +G3LKZ,Owen,671 +G3MBN,Brian,1781 +G3MCK,Gerald,1639 +G3NCN,John,1996 +G3NKC,David,1991 +G3NKS,Derek,1573 +G3OLB,Tom,1816 +G3PDH,Malcolm,1794 +G3PJT,Bob,1778 +G3PQD,Derek,1834 +G3ROO,Ian,1918 +G3RTE,Jim,1225 +G3RVM,Ian,1407 +G3RWF,Nick,1902 +G3RWL,Dick,1188 +G3RXP,Dave,1538 +G3SED,Mike,1678 +G3SWH,Phil,1513 +G3SXW,Roger,847 +G3SYM,Dave,1414 +G3TBK,Dave,1936 +G3VMK,Dale,1332 +G3VMW,Steve,1317 +G3VTT,Colin,1342 +G3WGV,John,1600 +G3WPF,Reg,988 +G3WPH,Mike,2019 +G3XAQ,Alan,1500 +G3XTT,Don,1805 +G3YIQ,Bob,1893 +G3YJQ,Fred,2066 +G3YLA,Jim,2128 +G3YXX,David,1685 +G3ZGC,Richard,1752 +G3ZRJ,Tony,2132 +G3ZXZ,Martin,2195 +G3ZYV,Dave,1589 +G4AFU,Paul,1546 +G4BSW,Nigel,2140 +G4BUE,Chris,1308 +G4BUO,Dave,1486 +G4BWP,Fred,1746 +G4BYG,Vic,1984 +G4DJX,Alan,1441 +G4FAD,Rich,1997 +G4FNL,Graham,1631 +G4FOC,Ray,1874 +G4FON,Ray,1874 +G4HMC,David,1934 +G4HZV,Bob,1568 +G4IIY,Ian,2015 +G4ILW,James,2112 +G4IRN,John,2000 +G4LFU,Tony,2091 +G4RCG,John,1899 +G4RMV,Mike,1649 +G4SIE,Rik,1503 +G4SPY,Arnold,1587 +G4WQI,Dean,2107 +G4XRV,Rupert,1650 +G5LP,Lionel,1757 +G5VZ,Chris,2191 +G7VJR,Mike,1992 +G8DX,Jack,2067 +G8VG,Pete,331 +GI3PDN,Ray,1839 +GM0GAV,Gavin,1998 +GM0HKS,Will, 2176 +GM3JKS,Frank,1542 +GM3POI,Clive,831 +GM3WUX,Terry,1189 +GM3YOR,Drew,1926 +GM3YTS,Rob,1430 +GM4EVS,David,2060 +GM4SID,Sid,1471 +GM4ZUK,Allan,2201, +GU4CHY,Dick,1855 +GU4YOX,Bob,2014 +GW3KGV,Ken,1309 +GW3YDX,Ron,1611 +GW4OKT,Keith,2137 +HA9RT,Joska,2033 +HB9BFQ,Bo,1516 +HB9QO,Bruno,1408 +I5EFO,Emil, 2172 +I7ALE,Sandro,1305 +IK0IXI,Fabio,1999 +IK0YGJ,Carlo,1937 +IK0YVV,Marco,2086 +IK4EWX,IAN,2205, +IK5VLL,Andy,2156 +IN3FHE,Helga,2180 +IS0AFM,Simone,1969 +IU0HMB,Vlado, 2178 +JA1GZV,Motoaki,2052 +JA1NUT,Shin,1529 +JA5DQH,Aki,1541 +JS2AHG,Atsu,1959 +K0PFX,Mel,1916 +K0VBU,Bill,1979 +K0VXU,Russ,2047 +K0XX,John,2061 +K1AJ,Bruce,1635 +K1AR,John,1528 +K1BG,Bruce,2083 +K1DG,Doug,1801 +K1DW,Dallas,2089 +K1ESE,John,2079 +K1FOC,Gary,1966 +K1GUP,Jerry,1593 +K1JD,John,1612 +K1NVY,Fred,2157 +K1SA,Bernie,1889 +K1ZZ,Dave,1053 +K2FOC,Bob,1606 +K2KRG,Steve,2142 +K2LE,Andy,1461 +K2MGR,Kurt,1340 +K2NV,Tony,2007 +K2QMF,Ted,1867 +K2RSK,Peter,2011 +K2SG,Tony,1494 +K2SX,Dennis,1599 +K2TT,Bill,675 +K2UFT,Dick,1721 +K2UR,George,1807 +K2UV,Warren,1915 +K2YWE,Dan,2076 +K2ZR,Dick,1694 +K2ZR/4,Dick,1694 +K3LR,Tim,2139 +K3LU,Ulis,2133 +K3MD,John,2092 +K3NA,Eric,1842 +K3PA,Drew,2159 +K3TF,Tom,2030 +K3TW,Tom,1177 +K3UL,Robert,2197, +K3WW,Chas,2117 +K3ZO,Fred,928 +K4BAI,John,1121 +K4BSK,Earl,2190 +K4EWG,Pete,1263 +K4JJW,Dick,1967 +K4LQ,Fred,1434 +K4OSO,Milt,1927 +K4QS,Chuck,2125 +K4UEE,Bob,1759 +K4UX,Al,2183 +K4WJ,John,1749 +K4XU,Dick,1268 +K5ALU,Red,1797 +K5AX,Tom,1697 +K5DU,Susan,2152 +K5EX,Ben,1907 +K5FP,Fred,1990 +K5KG,Geo,2122 +K5KV,Benny,2043 +K5LN,Bill,2088 +K5LY,Lee,2062 +K5NA,Richard,1539 +K5OT,Larry,2059 +K5RC,Tom,1760 +K5TF,Dick,2003 +K5VR,Stan,2077 +K5VWW,Orville,2082 +K5WK,Ken,2105 +K5XK,Ron,1641 +K6AR,Jim,1942 +K6KII,Cliff,1888 +K6NA,Glen,1235 +K6RB,Rob,1821 +K6XG,Dave,1868 +K6ZB,Bruce,1885 +K7HP,Hank,2063 +K7JA,Chip,2123 +K7NJ,Riki,1476 +K7SV,Larry,1866 +K7UOT,Tom,1601 +K8JP,Joe,1743 +K8JPM,Bob,2109 +K8MFO,Don,1186 +K8RD,Ed,1876 +K8ZH,Rick,1549 +K9DX,John,1681 +K9FN,Dave,2001 +K9QVB,John,1507 +K9UIY,Vic,1627 +K9VKY,Brian,2188 +K9WA,Jim,1306 +KC0VKN,Joe,2075 +KC4YDP,Jerry,1723 +KC7V,Mike,1634 +KF2AT,Percy,1686 +KF3B,Alan,1776 +KF7E,Jim,1726 +KH6LC,Lloyd,1985 +KJ9I,Dave,1920 +KM4FOC,Dennis,1599 +KN0V,Gary,1496 +KO8SCA,Adrian,2143 +KP3W,Jose,2184 +KP4P,Tele,1594 +KR2FOC,Rich,1971 +KR2Q,Doug,2202, +KR3E,Ed,1878 +KT4E,Amy,2111 +KT5X,Fred,1636 +KU8E,Jeff,1870 +KW7Q,Steve,2168 +KY7M,Lee,1741 +KZ5D,Art,1761 +LA3FL,Per,1480 +LA4XX,Hal,1973 +LA5HE,Rag,494 +LA7GIA,Ken,2161 +LB2TB,Lars,2120 +LB6GG,Hans,2149 +LU5OM,Manuel,1877 +LU6EF,Raul,1762 +LX20I,Mar,1493 +LY2PX,Willy,1773 +LY5A,Jonas,2104 +LZ1MS,Rumen,1826 +LZ2RS,Rumen,1945 +M0CVR,Dan,1988 +M0DXR,Mark,2136 +M0IHT,Harry,1956 +M0RYB,Peter,2147 +M3X,Harry,1956 +MD0CCE,Bob,1914 +MM0DGI,Steven,2203, +MU0FAL,Colin,1892 +N0AV,Jim,1909 +N1TO,Ed,2164 +N2ATB,Tony,1951 +N2KW,Allen,2115 +N2NA,Ric,1894 +N2NL,David,2050 +N2NT,Andy,1706 +N2UU,Bob,1483 +N3AM,John,1809 +N3BB,Jim,1688 +N3JT,Jim,1067 +N3KS,Kam,1928 +N3RD,Dave,1149 +N3RS,Sig,888 +N3WT,John,1906 +N4AF,Howie,1712 +N4AR,Bill,1164 +N4FP,Wayne,2150 +N4TY,Tyler,1699 +N4UB,Don,1490 +N4WJ,Frank,1183 +N5AN,Bud,1819 +N5AW,Marv,1941 +N5CW,Curt,1948 +N5KD,Pete,1864 +N5RR,Bill,2027 +N5RZ,Gator,2138 +N5TJ,Jeff,2194 +N5TP,Pete,1234 +N5XE,Carl,2193 +N5XZ,Allen,1953 +N6NT,Bruce,1669 +N6RA,Tom,1444 +N6TT,Steven,2004 +N6XI,Rick,1765 +N8AA,John,2160 +N8DE,Don,1938 +N8NA,Karl,1954 +N9RD,Juergen,1625 +N9RV,Pat,1830 +N9SW,Gene,698 +NA2U,Fred,2196, +NA5G,Ed,1970 +NA6M,Mark,2046 +NI4E,Eric,2170 +NM5M,Eric,2121 +NN6T,Glen,2049 +NO5W,Chuck,1944 +NW6V,Chris,2148 +NY2PO,Pat, 2175 +OE1TRW,HELMUT,2207 +OE2BZL,Knut,1853 +OE5TXF,Nigel,1266 +OH1RX,Jouko,2187 +OH2EA,Hans,937 +OH2KI,Jorma,1557 +OK1CF,Karel,1729 +OK1CZ,Petr,1547 +OK1KT,Vrata,1655 +OK1RP,Petr,1745 +OK1RR,Martin,1437 +OK1TN,Slavek,1835 +OK2CQR,Petr,1935 +OK2LA,Jindra,2080 +OK2PAY,Lada,2167 +OM2VL,Laci,2162 +ON4IZ,Doc,2069 +ON7PQ,Pat,2144 +OQ3R,Mar,1493 +OX3XR,Peter,1376 +OY1CT,Caen,1668 +OZ1JHM,Jalmar,2073 +OZ1LO,Leif,1205 +OZ2A,Kim,2099 +OZ4UN,Paul,1554 +OZ5DX,Hans,1211 +OZ7YL,Svata,1049 +OZ8SW,Steen,2018 +P40LE,Andy,1461 +PA0DIN,Din,1446 +PA0INA,Frans,1366 +PA0JLS,Hans,1982 +PA0VDV,Joeke,1101 +PA3CVV,Miles,1900 +PA4N,Frank,2034 +PA5TT,Teun,1506 +PA5V,Bob,1865 +PA5XM,Kees,1537 +PA7RA,Rien,1962 +PR7PO,Alex,1294 +R7KZ,Stan,1621 +RM2D,Mats,2114 +RX6CB,Eduard,2051 +S50A,Tine,1122 +S53R,Robert,1790 +S57NW,Jelka,1733 +S57WJ,Gabor,1897 +SD1A,Eric,2021 +SM1TDE,Eric,2021 +SM2CEW,Peter,2145 +SM2EKM,Jim,2084 +SM3EVR,Tord,1402 +SM5CCE,Kjell,477 +SM5COP,Rune,1514 +SM5GLC,Lasse,1418 +SM6BGA,Hans,1484 +SM6CPY,Carl,1571 +SM6CUK,Lars,935 +SM6DHU,Matt,1610 +SM7RME,THOR,2206, +SM7YIN,Ingvar,1860 +SP4R,Andrzej,1987 +SV1AOW,Geo,1704 +SV1RUX,David,2113 +SV2BBK,Theo,2166 +T6AA,Robert,1790 +TF3DC,Oskar,2009 +TI5/N3KS,Kam,1928 +UA9BA,Willy,2110 +UR5MM,Rudy,2081 +V31YN,Gerd,1833 +VA3PN,Pat,1659 +VE2FK,DUB,,(Claude) +VE3DZ,Yuri,1740 +VE3DZZ,Pat,1659 +VE3EJ,John,1947 +VE3GFN,Mike,2154 +VE3HX,Alan,1751 +VE3KI,Richard,2055 +VE3LYC,Cezar,1994 +VE3TM,Vlad, 2174 +VE3USP,Pista,2010 +VE3VA,Jeff,1753 +VE6BF,Bill,953 +VE7AHA,Andy,1963 +VE7CC,Lee,1544 +VE9CB,Dave,2141 +VK2AYD,Dave,832 +VK2BJ,Barry,1628 +VK2GR,Allan,2169 +VK2IA,Bernd,1922 +VK3DBD,David,1884 +VK3XU,Drew,1768 +VK4CT,John,1748 +VK4OQ,John,1710 +VK4TT,Keith,1857 +VK6GX,Phil,2040 +VK6LW,Kevin,1492 +VK6VZ,Steve,1693 +VK7CW,Steve,2085 +VQ9JC,Jim,1872 +VU2PTT,Prasad,1972 +VY2ZM,Jeff,1841 +W0CCA,Cap,2119 +W0CP,Walt,2131 +W0JX,Den,2032 +W0SA,Peter,1896 +W0UA,George,1903 +W0VTT,Mike,1739 +W0VX,Dave,2035 +W0ZR,Tom,1460 +W1AAX,Harry,1890 +W1AO,Joe,1882 +W1DV,Dave,1785 +W1EBI,George,1886 +W1EBM,Gary,1966 +W1FJ,Al,1532 +W1GF,Greg, 2181 +W1HT,Ralph,774 +W1JR,Joe,1806 +W1MO,Norm,1767 +W1RAN,Ned,779 +W1RM,Pete,1159 +W1UU,Peter,806 +W1YL,Ellen,875 +W1ZT,George,1873 +W2GD,John,2130 +W2MV,Alan,2031 +W2TB,Mike,1883 +W2VT,Rich,1971 +W3EEK,Carl,2094 +W3FSA,John,2165 +W3IL,Bill,1616 +W3LPL,Frank,1150 +W3YY,Bob,1923 +W4CI,Dave,2057 +W4CK,Mark,1515 +W4EDE,Lee,2023 +W4FOA,Tony,2151 +W4FOC,Del,1665 +W4HG,Wayne,2108 +W4MQC,Alan,1734 +W4PID,Dick,2198, +W4PM,Puck,1687 +W4TJE,Jack,2118 +W4VQ,Bob,1299 +W4WJ,Don,2102 +W4YE,Buddy,1217 +W4ZYT,Don,1700 +W5FB,Asa, 2177 +W5PEH,Pete,2022 +W5SG,Bill,1863 +W5SJ,Bill,2155 +W5ZO,Mike,2127 +W5ZR,Bert,1722 +W6CYX,Bob,1613 +W6OAT,Rusty,2065 +W6RGG,Bob,1563 +W7AQK,Dave,2078 +W7GKF,Bill,1957 +W7QC,Steve,1849 +W7RF,Dan,2135 +W8AV,Goose,1657 +W8FJ,John,1786 +W8KJP,Del,1665 +W8KR,Jack,2134 +W8ZR,Jim,2056 +W9KNI,Bob,1262 +W9RGB,Vic,1840 +W9SN,Steve,2186 +W9VNE,Jim,1104 +W9YXX,Bob,2039 +WA1FCN,Bob,2025 +WA1SKQ,Rich,2200, +WA2USA,Dennis, 2173 +WA9AQN,John,1887 +WB0SND,Mike,2146 +WB2YQH,Bob,1606 +WB4FSF,Bonnie,1929 +WB6BEE,Don,2041 +WF1OC,Pete,1159 +WK2G,Merrill,1788 +WL7E,Joe,1695 +WP3C,Alfredo,1965 +WR5U,Mike,1871 +WX3M,Milt,1927 +YO3FLR,Cristi,1810 +YO3FRI,Tina,1958 +ZB2CW,Derek,1617 +ZL1FOC,Jacky,2106 +ZL1MH,Mike,1608 +ZL2AGY,Tony,1645 +ZL2AZ,Pete,1717 +ZL2IFB,Gary,1912 +ZL3CW,Jacky,2106 +ZS1C,Raoul,2012 +ZS1EL,Vidi,658 diff --git a/assets/membership_lists/WWYC.txt b/assets/membership_lists/WWYC.txt new file mode 100644 index 00000000..b98f6499 --- /dev/null +++ b/assets/membership_lists/WWYC.txt @@ -0,0 +1,3 @@ +Call,Name,Exch1 +# wwyc +M0PCB,Iain,234 \ No newline at end of file