Workout With Friends Stay fit with a little motivation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Properties
search.php
Go to the documentation of this file.
1 <?php
2
3 sleep( 3 );
4 // no term passed - just exit early with no response
5 if (empty($_GET['term'])) exit ;
6 $q = strtolower($_GET["term"]);
7 // remove slashes if they were magically added
8 if (get_magic_quotes_gpc()) $q = stripslashes($q);
9
10 $items = array(
11 "Great Bittern"=>"Botaurus stellaris",
12 "Little Grebe"=>"Tachybaptus ruficollis",
13 "Black-necked Grebe"=>"Podiceps nigricollis",
14 "Little Bittern"=>"Ixobrychus minutus",
15 "Black-crowned Night Heron"=>"Nycticorax nycticorax",
16 "Purple Heron"=>"Ardea purpurea",
17 "White Stork"=>"Ciconia ciconia",
18 "Spoonbill"=>"Platalea leucorodia",
19 "Red-crested Pochard"=>"Netta rufina",
20 "Common Eider"=>"Somateria mollissima",
21 "Red Kite"=>"Milvus milvus",
22 "Hen Harrier"=>"Circus cyaneus",
23 "Montagu`s Harrier"=>"Circus pygargus",
24 "Black Grouse"=>"Tetrao tetrix",
25 "Grey Partridge"=>"Perdix perdix",
26 "Spotted Crake"=>"Porzana porzana",
27 "Corncrake"=>"Crex crex",
28 "Common Crane"=>"Grus grus",
29 "Avocet"=>"Recurvirostra avosetta",
30 "Stone Curlew"=>"Burhinus oedicnemus",
31 "Common Ringed Plover"=>"Charadrius hiaticula",
32 "Kentish Plover"=>"Charadrius alexandrinus",
33 "Ruff"=>"Philomachus pugnax",
34 "Common Snipe"=>"Gallinago gallinago",
35 "Black-tailed Godwit"=>"Limosa limosa",
36 "Common Redshank"=>"Tringa totanus",
37 "Sandwich Tern"=>"Sterna sandvicensis",
38 "Common Tern"=>"Sterna hirundo",
39 "Arctic Tern"=>"Sterna paradisaea",
40 "Little Tern"=>"Sternula albifrons",
41 "Black Tern"=>"Chlidonias niger",
42 "Barn Owl"=>"Tyto alba",
43 "Little Owl"=>"Athene noctua",
44 "Short-eared Owl"=>"Asio flammeus",
45 "European Nightjar"=>"Caprimulgus europaeus",
46 "Common Kingfisher"=>"Alcedo atthis",
47 "Eurasian Hoopoe"=>"Upupa epops",
48 "Eurasian Wryneck"=>"Jynx torquilla",
49 "European Green Woodpecker"=>"Picus viridis",
50 "Crested Lark"=>"Galerida cristata",
51 "White-headed Duck"=>"Oxyura leucocephala",
52 "Pale-bellied Brent Goose"=>"Branta hrota",
53 "Tawny Pipit"=>"Anthus campestris",
54 "Whinchat"=>"Saxicola rubetra",
55 "European Stonechat"=>"Saxicola rubicola",
56 "Northern Wheatear"=>"Oenanthe oenanthe",
57 "Savi`s Warbler"=>"Locustella luscinioides",
58 "Sedge Warbler"=>"Acrocephalus schoenobaenus",
59 "Great Reed Warbler"=>"Acrocephalus arundinaceus",
60 "Bearded Reedling"=>"Panurus biarmicus",
61 "Red-backed Shrike"=>"Lanius collurio",
62 "Great Grey Shrike"=>"Lanius excubitor",
63 "Woodchat Shrike"=>"Lanius senator",
64 "Common Raven"=>"Corvus corax",
65 "Yellowhammer"=>"Emberiza citrinella",
66 "Ortolan Bunting"=>"Emberiza hortulana",
67 "Corn Bunting"=>"Emberiza calandra",
68 "Great Cormorant"=>"Phalacrocorax carbo",
69 "Hawfinch"=>"Coccothraustes coccothraustes",
70 "Common Shelduck"=>"Tadorna tadorna",
71 "Bluethroat"=>"Luscinia svecica",
72 "Grey Heron"=>"Ardea cinerea",
73 "Barn Swallow"=>"Hirundo rustica",
74 "Hooded Crow"=>"Corvus cornix",
75 "Dunlin"=>"Calidris alpina",
76 "Eurasian Pied Flycatcher"=>"Ficedula hypoleuca",
77 "Eurasian Nuthatch"=>"Sitta europaea",
78 "Short-toed Tree Creeper"=>"Certhia brachydactyla",
79 "Wood Lark"=>"Lullula arborea",
80 "Tree Pipit"=>"Anthus trivialis",
81 "Eurasian Hobby"=>"Falco subbuteo",
82 "Marsh Warbler"=>"Acrocephalus palustris",
83 "Wood Sandpiper"=>"Tringa glareola",
84 "Tawny Owl"=>"Strix aluco",
85 "Lesser Whitethroat"=>"Sylvia curruca",
86 "Barnacle Goose"=>"Branta leucopsis",
87 "Common Goldeneye"=>"Bucephala clangula",
88 "Western Marsh Harrier"=>"Circus aeruginosus",
89 "Common Buzzard"=>"Buteo buteo",
90 "Sanderling"=>"Calidris alba",
91 "Little Gull"=>"Larus minutus",
92 "Eurasian Magpie"=>"Pica pica",
93 "Willow Warbler"=>"Phylloscopus trochilus",
94 "Wood Warbler"=>"Phylloscopus sibilatrix",
95 "Great Crested Grebe"=>"Podiceps cristatus",
96 "Eurasian Jay"=>"Garrulus glandarius",
97 "Common Redstart"=>"Phoenicurus phoenicurus",
98 "Blue-headed Wagtail"=>"Motacilla flava",
99 "Common Swift"=>"Apus apus",
100 "Marsh Tit"=>"Poecile palustris",
101 "Goldcrest"=>"Regulus regulus",
102 "European Golden Plover"=>"Pluvialis apricaria",
103 "Eurasian Bullfinch"=>"Pyrrhula pyrrhula",
104 "Common Whitethroat"=>"Sylvia communis",
105 "Meadow Pipit"=>"Anthus pratensis",
106 "Greylag Goose"=>"Anser anser",
107 "Spotted Flycatcher"=>"Muscicapa striata",
108 "European Greenfinch"=>"Carduelis chloris",
109 "Common Greenshank"=>"Tringa nebularia",
110 "Great Spotted Woodpecker"=>"Dendrocopos major",
111 "Greater Canada Goose"=>"Branta canadensis",
112 "Mistle Thrush"=>"Turdus viscivorus",
113 "Great Black-backed Gull"=>"Larus marinus",
114 "Goosander"=>"Mergus merganser",
115 "Great Egret"=>"Casmerodius albus",
116 "Northern Goshawk"=>"Accipiter gentilis",
117 "Dunnock"=>"Prunella modularis",
118 "Stock Dove"=>"Columba oenas",
119 "Common Wood Pigeon"=>"Columba palumbus",
120 "Eurasian Woodcock"=>"Scolopax rusticola",
121 "House Sparrow"=>"Passer domesticus",
122 "Common House Martin"=>"Delichon urbicum",
123 "Red Knot"=>"Calidris canutus",
124 "Western Jackdaw"=>"Corvus monedula",
125 "Brambling"=>"Fringilla montifringilla",
126 "Northern Lapwing"=>"Vanellus vanellus",
127 "European Reed Warbler"=>"Acrocephalus scirpaceus",
128 "Lesser Black-backed Gull"=>"Larus fuscus",
129 "Little Egret"=>"Egretta garzetta",
130 "Little Stint"=>"Calidris minuta",
131 "Common Linnet"=>"Carduelis cannabina",
132 "Mute Swan"=>"Cygnus olor",
133 "Common Cuckoo"=>"Cuculus canorus",
134 "Black-headed Gull"=>"Larus ridibundus",
135 "Greater White-fronted Goose"=>"Anser albifrons",
136 "Great Tit"=>"Parus major",
137 "Redwing"=>"Turdus iliacus",
138 "Gadwall"=>"Anas strepera",
139 "Fieldfare"=>"Turdus pilaris",
140 "Tufted Duck"=>"Aythya fuligula",
141 "Crested Tit"=>"Lophophanes cristatus",
142 "Willow Tit"=>"Poecile montanus",
143 "Eurasian Coot"=>"Fulica atra",
144 "Common Blackbird"=>"Turdus merula",
145 "Smew"=>"Mergus albellus",
146 "Common Sandpiper"=>"Actitis hypoleucos",
147 "Sand Martin"=>"Riparia riparia",
148 "Purple Sandpiper"=>"Calidris maritima",
149 "Northern Pintail"=>"Anas acuta",
150 "Blue Tit"=>"Cyanistes caeruleus",
151 "European Goldfinch"=>"Carduelis carduelis",
152 "Eurasian Whimbrel"=>"Numenius phaeopus",
153 "Common Reed Bunting"=>"Emberiza schoeniclus",
154 "Eurasian Tree Sparrow"=>"Passer montanus",
155 "Rook"=>"Corvus frugilegus",
156 "European Robin"=>"Erithacus rubecula",
157 "Bar-tailed Godwit"=>"Limosa lapponica",
158 "Dark-bellied Brent Goose"=>"Branta bernicla",
159 "Eurasian Oystercatcher"=>"Haematopus ostralegus",
160 "Eurasian Siskin"=>"Carduelis spinus",
161 "Northern Shoveler"=>"Anas clypeata",
162 "Eurasian Wigeon"=>"Anas penelope",
163 "Eurasian Sparrow Hawk"=>"Accipiter nisus",
164 "Icterine Warbler"=>"Hippolais icterina",
165 "Common Starling"=>"Sturnus vulgaris",
166 "Long-tailed Tit"=>"Aegithalos caudatus",
167 "Ruddy Turnstone"=>"Arenaria interpres",
168 "Mew Gull"=>"Larus canus",
169 "Common Pochard"=>"Aythya ferina",
170 "Common Chiffchaff"=>"Phylloscopus collybita",
171 "Greater Scaup"=>"Aythya marila",
172 "Common Kestrel"=>"Falco tinnunculus",
173 "Garden Warbler"=>"Sylvia borin",
174 "Eurasian Collared Dove"=>"Streptopelia decaocto",
175 "Eurasian Skylark"=>"Alauda arvensis",
176 "Common Chaffinch"=>"Fringilla coelebs",
177 "Common Moorhen"=>"Gallinula chloropus",
178 "Water Pipit"=>"Anthus spinoletta",
179 "Mallard"=>"Anas platyrhynchos",
180 "Winter Wren"=>"Troglodytes troglodytes",
181 "Common Teal"=>"Anas crecca",
182 "Green Sandpiper"=>"Tringa ochropus",
183 "White Wagtail"=>"Motacilla alba",
184 "Eurasian Curlew"=>"Numenius arquata",
185 "Song Thrush"=>"Turdus philomelos",
186 "European Herring Gull"=>"Larus argentatus",
187 "Grey Plover"=>"Pluvialis squatarola",
188 "Carrion Crow"=>"Corvus corone",
189 "Coal Tit"=>"Periparus ater",
190 "Spotted Redshank"=>"Tringa erythropus",
191 "Blackcap"=>"Sylvia atricapilla",
192 "Egyptian Vulture"=>"Neophron percnopterus",
193 "Razorbill"=>"Alca torda",
194 "Alpine Swift"=>"Apus melba",
195 "Long-legged Buzzard"=>"Buteo rufinus",
196 "Audouin`s Gull"=>"Larus audouinii",
197 "Balearic Shearwater"=>"Puffinus mauretanicus",
198 "Upland Sandpiper"=>"Bartramia longicauda",
199 "Greater Spotted Eagle"=>"Aquila clanga",
200 "Ring Ouzel"=>"Turdus torquatus",
201 "Yellow-browed Warbler"=>"Phylloscopus inornatus",
202 "Blue Rock Thrush"=>"Monticola solitarius",
203 "Buff-breasted Sandpiper"=>"Tryngites subruficollis",
204 "Jack Snipe"=>"Lymnocryptes minimus",
205 "White-rumped Sandpiper"=>"Calidris fuscicollis",
206 "Ruddy Shelduck"=>"Tadorna ferruginea",
207 "Cetti's Warbler"=>"Cettia cetti",
208 "Citrine Wagtail"=>"Motacilla citreola",
209 "Roseate Tern"=>"Sterna dougallii",
210 "Black-legged Kittiwake"=>"Rissa tridactyla",
211 "Pygmy Cormorant"=>"Phalacrocorax pygmeus",
212 "Booted Eagle"=>"Aquila pennata",
213 "Lesser White-fronted Goose"=>"Anser erythropus",
214 "Little Bunting"=>"Emberiza pusilla",
215 "Eleonora's Falcon"=>"Falco eleonorae",
216 "European Serin"=>"Serinus serinus",
217 "Twite"=>"Carduelis flavirostris",
218 "Yellow-legged Gull"=>"Larus michahellis",
219 "Gyr Falcon"=>"Falco rusticolus",
220 "Greenish Warbler"=>"Phylloscopus trochiloides",
221 "Red-necked Phalarope"=>"Phalaropus lobatus",
222 "Mealy Redpoll"=>"Carduelis flammea",
223 "Glaucous Gull"=>"Larus hyperboreus",
224 "Great Skua"=>"Stercorarius skua",
225 "Great Bustard"=>"Otis tarda",
226 "Velvet Scoter"=>"Melanitta fusca",
227 "Pine Grosbeak"=>"Pinicola enucleator",
228 "House Crow"=>"Corvus splendens",
229 "Hume`s Leaf Warbler"=>"Phylloscopus humei",
230 "Great Northern Loon"=>"Gavia immer",
231 "Long-tailed Duck"=>"Clangula hyemalis",
232 "Lapland Longspur"=>"Calcarius lapponicus",
233 "Northern Gannet"=>"Morus bassanus",
234 "Eastern Imperial Eagle"=>"Aquila heliaca",
235 "Little Auk"=>"Alle alle",
236 "Lesser Spotted Woodpecker"=>"Dendrocopos minor",
237 "Iceland Gull"=>"Larus glaucoides",
238 "Parasitic Jaeger"=>"Stercorarius parasiticus",
239 "Bewick`s Swan"=>"Cygnus bewickii",
240 "Little Bustard"=>"Tetrax tetrax",
241 "Little Crake"=>"Porzana parva",
242 "Baillon`s Crake"=>"Porzana pusilla",
243 "Long-tailed Jaeger"=>"Stercorarius longicaudus",
244 "King Eider"=>"Somateria spectabilis",
245 "Greater Short-toed Lark"=>"Calandrella brachydactyla",
246 "Houbara Bustard"=>"Chlamydotis undulata",
247 "Curlew Sandpiper"=>"Calidris ferruginea",
248 "Common Crossbill"=>"Loxia curvirostra",
249 "European Shag"=>"Phalacrocorax aristotelis",
250 "Horned Grebe"=>"Podiceps auritus",
251 "Common Quail"=>"Coturnix coturnix",
252 "Bearded Vulture"=>"Gypaetus barbatus",
253 "Lanner Falcon"=>"Falco biarmicus",
254 "Middle Spotted Woodpecker"=>"Dendrocopos medius",
255 "Pomarine Jaeger"=>"Stercorarius pomarinus",
256 "Red-breasted Merganser"=>"Mergus serrator",
257 "Eurasian Black Vulture"=>"Aegypius monachus",
258 "Eurasian Dotterel"=>"Charadrius morinellus",
259 "Common Nightingale"=>"Luscinia megarhynchos",
260 "Northern willow warbler"=>"Phylloscopus trochilus acredula",
261 "Manx Shearwater"=>"Puffinus puffinus",
262 "Northern Fulmar"=>"Fulmarus glacialis",
263 "Eurasian Eagle Owl"=>"Bubo bubo",
264 "Orphean Warbler"=>"Sylvia hortensis",
265 "Melodious Warbler"=>"Hippolais polyglotta",
266 "Pallas's Leaf Warbler"=>"Phylloscopus proregulus",
267 "Atlantic Puffin"=>"Fratercula arctica",
268 "Black-throated Loon"=>"Gavia arctica",
269 "Bohemian Waxwing"=>"Bombycilla garrulus",
270 "Marsh Sandpiper"=>"Tringa stagnatilis",
271 "Great Snipe"=>"Gallinago media",
272 "Squacco Heron"=>"Ardeola ralloides",
273 "Long-eared Owl"=>"Asio otus",
274 "Caspian Tern"=>"Hydroprogne caspia",
275 "Red-breasted Goose"=>"Branta ruficollis",
276 "Red-throated Loon"=>"Gavia stellata",
277 "Common Rosefinch"=>"Carpodacus erythrinus",
278 "Red-footed Falcon"=>"Falco vespertinus",
279 "Ross's Goose"=>"Anser rossii",
280 "Red Phalarope"=>"Phalaropus fulicarius",
281 "Pied Wagtail"=>"Motacilla yarrellii",
282 "Rose-coloured Starling"=>"Sturnus roseus",
283 "Rough-legged Buzzard"=>"Buteo lagopus",
284 "Saker Falcon"=>"Falco cherrug",
285 "European Roller"=>"Coracias garrulus",
286 "Short-toed Eagle"=>"Circaetus gallicus",
287 "Peregrine Falcon"=>"Falco peregrinus",
288 "Merlin"=>"Falco columbarius",
289 "Snow Goose"=>"Anser caerulescens",
290 "Snowy Owl"=>"Bubo scandiacus",
291 "Snow Bunting"=>"Plectrophenax nivalis",
292 "Common Grasshopper Warbler"=>"Locustella naevia",
293 "Golden Eagle"=>"Aquila chrysaetos",
294 "Black-winged Stilt"=>"Himantopus himantopus",
295 "Steppe Eagle"=>"Aquila nipalensis",
296 "Pallid Harrier"=>"Circus macrourus",
297 "European Storm-petrel"=>"Hydrobates pelagicus",
298 "Horned Lark"=>"Eremophila alpestris",
299 "Eurasian Treecreeper"=>"Certhia familiaris",
300 "Taiga Bean Goose"=>"Anser fabalis",
301 "Temminck`s Stint"=>"Calidris temminckii",
302 "Terek Sandpiper"=>"Xenus cinereus",
303 "Tundra Bean Goose"=>"Anser serrirostris",
304 "European Turtle Dove"=>"Streptopelia turtur",
305 "Leach`s Storm-petrel"=>"Oceanodroma leucorhoa",
306 "Eurasian Griffon Vulture"=>"Gyps fulvus",
307 "Paddyfield Warbler"=>"Acrocephalus agricola",
308 "Osprey"=>"Pandion haliaetus",
309 "Firecrest"=>"Regulus ignicapilla",
310 "Water Rail"=>"Rallus aquaticus",
311 "European Honey Buzzard"=>"Pernis apivorus",
312 "Eurasian Golden Oriole"=>"Oriolus oriolus",
313 "Whooper Swan"=>"Cygnus cygnus",
314 "Two-barred Crossbill"=>"Loxia leucoptera",
315 "White-tailed Eagle"=>"Haliaeetus albicilla",
316 "Atlantic Murre"=>"Uria aalge",
317 "Garganey"=>"Anas querquedula",
318 "Black Redstart"=>"Phoenicurus ochruros",
319 "Common Scoter"=>"Melanitta nigra",
320 "Rock Pipit"=>"Anthus petrosus",
321 "Lesser Spotted Eagle"=>"Aquila pomarina",
322 "Cattle Egret"=>"Bubulcus ibis",
323 "White-winged Black Tern"=>"Chlidonias leucopterus",
324 "Black Stork"=>"Ciconia nigra",
325 "Mediterranean Gull"=>"Larus melanocephalus",
326 "Black Kite"=>"Milvus migrans",
327 "Yellow Wagtail"=>"Motacilla flavissima",
328 "Red-necked Grebe"=>"Podiceps grisegena",
329 "Gull-billed Tern"=>"Gelochelidon nilotica",
330 "Pectoral Sandpiper"=>"Calidris melanotos",
331 "Barred Warbler"=>"Sylvia nisoria",
332 "Red-throated Pipit"=>"Anthus cervinus",
333 "Grey Wagtail"=>"Motacilla cinerea",
334 "Richard`s Pipit"=>"Anthus richardi",
335 "Black Woodpecker"=>"Dryocopus martius",
336 "Little Ringed Plover"=>"Charadrius dubius",
337 "Whiskered Tern"=>"Chlidonias hybrida",
338 "Lesser Redpoll"=>"Carduelis cabaret",
339 "Pallas' Bunting"=>"Emberiza pallasi",
340 "Ferruginous Duck"=>"Aythya nyroca",
341 "Whistling Swan"=>"Cygnus columbianus",
342 "Black Brant"=>"Branta nigricans",
343 "Marbled Teal"=>"Marmaronetta angustirostris",
344 "Canvasback"=>"Aythya valisineria",
345 "Redhead"=>"Aythya americana",
346 "Lesser Scaup"=>"Aythya affinis",
347 "Steller`s Eider"=>"Polysticta stelleri",
348 "Spectacled Eider"=>"Somateria fischeri",
349 "Harlequin Duck"=>"Histronicus histrionicus",
350 "Black Scoter"=>"Melanitta americana",
351 "Surf Scoter"=>"Melanitta perspicillata",
352 "Barrow`s Goldeneye"=>"Bucephala islandica",
353 "Falcated Duck"=>"Anas falcata",
354 "American Wigeon"=>"Anas americana",
355 "Blue-winged Teal"=>"Anas discors",
356 "American Black Duck"=>"Anas rubripes",
357 "Baikal Teal"=>"Anas formosa",
358 "Green-Winged Teal"=>"Anas carolinensis",
359 "Hazel Grouse"=>"Bonasa bonasia",
360 "Rock Partridge"=>"Alectoris graeca",
361 "Red-legged Partridge"=>"Alectoris rufa",
362 "Yellow-billed Loon"=>"Gavia adamsii",
363 "Cory`s Shearwater"=>"Calonectris borealis",
364 "Madeiran Storm-Petrel"=>"Oceanodroma castro",
365 "Great White Pelican"=>"Pelecanus onocrotalus",
366 "Dalmatian Pelican"=>"Pelecanus crispus",
367 "American Bittern"=>"Botaurus lentiginosus",
368 "Glossy Ibis"=>"Plegadis falcinellus",
369 "Spanish Imperial Eagle"=>"Aquila adalberti",
370 "Lesser Kestrel"=>"Falco naumanni",
371 "Houbara Bustard"=>"Chlamydotis undulata",
372 "Crab-Plover"=>"Dromas ardeola",
373 "Cream-coloured Courser"=>"Cursorius cursor",
374 "Collared Pratincole"=>"Glareola pratincola",
375 "Black-winged Pratincole"=>"Glareola nordmanni",
376 "Killdeer"=>"Charadrius vociferus",
377 "Lesser Sand Plover"=>"Charadrius mongolus",
378 "Greater Sand Plover"=>"Charadrius leschenaultii",
379 "Caspian Plover"=>"Charadrius asiaticus",
380 "American Golden Plover"=>"Pluvialis dominica",
381 "Pacific Golden Plover"=>"Pluvialis fulva",
382 "Sharp-tailed Sandpiper"=>"Calidris acuminata",
383 "Broad-billed Sandpiper"=>"Limicola falcinellus",
384 "Spoon-Billed Sandpiper"=>"Eurynorhynchus pygmaeus",
385 "Short-Billed Dowitcher"=>"Limnodromus griseus",
386 "Long-billed Dowitcher"=>"Limnodromus scolopaceus",
387 "Hudsonian Godwit"=>"Limosa haemastica",
388 "Little Curlew"=>"Numenius minutus",
389 "Lesser Yellowlegs"=>"Tringa flavipes",
390 "Wilson`s Phalarope"=>"Phalaropus tricolor",
391 "Pallas`s Gull"=>"Larus ichthyaetus",
392 "Laughing Gull"=>"Larus atricilla",
393 "Franklin`s Gull"=>"Larus pipixcan",
394 "Bonaparte`s Gull"=>"Larus philadelphia",
395 "Ring-billed Gull"=>"Larus delawarensis",
396 "American Herring Gull"=>"Larus smithsonianus",
397 "Caspian Gull"=>"Larus cachinnans",
398 "Ivory Gull"=>"Pagophila eburnea",
399 "Royal Tern"=>"Sterna maxima",
400 "Brünnich`s Murre"=>"Uria lomvia",
401 "Crested Auklet"=>"Aethia cristatella",
402 "Parakeet Auklet"=>"Cyclorrhynchus psittacula",
403 "Tufted Puffin"=>"Lunda cirrhata",
404 "Laughing Dove"=>"Streptopelia senegalensis",
405 "Great Spotted Cuckoo"=>"Clamator glandarius",
406 "Great Grey Owl"=>"Strix nebulosa",
407 "Tengmalm`s Owl"=>"Aegolius funereus",
408 "Red-Necked Nightjar"=>"Caprimulgus ruficollis",
409 "Chimney Swift"=>"Chaetura pelagica",
410 "Green Bea-Eater"=>"Merops orientalis",
411 "Grey-headed Woodpecker"=>"Picus canus",
412 "Lesser Short-Toed Lark"=>"Calandrella rufescens",
413 "Eurasian Crag Martin"=>"Hirundo rupestris",
414 "Red-rumped Swallow"=>"Cecropis daurica",
415 "Blyth`s Pipit"=>"Anthus godlewskii",
416 "Pechora Pipit"=>"Anthus gustavi",
417 "Grey-headed Wagtail"=>"Motacilla thunbergi",
418 "Yellow-Headed Wagtail"=>"Motacilla lutea",
419 "White-throated Dipper"=>"Cinclus cinclus",
420 "Rufous-Tailed Scrub Robin"=>"Cercotrichas galactotes",
421 "Thrush Nightingale"=>"Luscinia luscinia",
422 "White-throated Robin"=>"Irania gutturalis",
423 "Caspian Stonechat"=>"Saxicola maura variegata",
424 "Western Black-eared Wheatear"=>"Oenanthe hispanica",
425 "Rufous-tailed Rock Thrush"=>"Monticola saxatilis",
426 "Red-throated Thrush/Black-throated"=>"Turdus ruficollis",
427 "American Robin"=>"Turdus migratorius",
428 "Zitting Cisticola"=>"Cisticola juncidis",
429 "Lanceolated Warbler"=>"Locustella lanceolata",
430 "River Warbler"=>"Locustella fluviatilis",
431 "Blyth`s Reed Warbler"=>"Acrocephalus dumetorum",
432 "Caspian Reed Warbler"=>"Acrocephalus fuscus",
433 "Aquatic Warbler"=>"Acrocephalus paludicola",
434 "Booted Warbler"=>"Acrocephalus caligatus",
435 "Marmora's Warbler"=>"Sylvia sarda",
436 "Dartford Warbler"=>"Sylvia undata",
437 "Subalpine Warbler"=>"Sylvia cantillans",
438 "Ménétries's Warbler"=>"Sylvia mystacea",
439 "Rüppel's Warbler"=>"Sylvia rueppelli",
440 "Asian Desert Warbler"=>"Sylvia nana",
441 "Western Orphean Warbler"=>"Sylvia hortensis hortensis",
442 "Arctic Warbler"=>"Phylloscopus borealis",
443 "Radde`s Warbler"=>"Phylloscopus schwarzi",
444 "Western Bonelli`s Warbler"=>"Phylloscopus bonelli",
445 "Red-breasted Flycatcher"=>"Ficedula parva",
446 "Eurasian Penduline Tit"=>"Remiz pendulinus",
447 "Daurian Shrike"=>"Lanius isabellinus",
448 "Long-Tailed Shrike"=>"Lanius schach",
449 "Lesser Grey Shrike"=>"Lanius minor",
450 "Southern Grey Shrike"=>"Lanius meridionalis",
451 "Masked Shrike"=>"Lanius nubicus",
452 "Spotted Nutcracker"=>"Nucifraga caryocatactes",
453 "Daurian Jackdaw"=>"Corvus dauuricus",
454 "Purple-Backed Starling"=>"Sturnus sturninus",
455 "Red-Fronted Serin"=>"Serinus pusillus",
456 "Arctic Redpoll"=>"Carduelis hornemanni",
457 "Scottish Crossbill"=>"Loxia scotica",
458 "Parrot Crossbill"=>"Loxia pytyopsittacus",
459 "Black-faced Bunting"=>"Emberiza spodocephala",
460 "Pink-footed Goose"=>"Anser brachyrhynchus",
461 "Black-winged Kite"=>"Elanus caeruleus",
462 "European Bee-eater"=>"Merops apiaster",
463 "Sabine`s Gull"=>"Larus sabini",
464 "Sooty Shearwater"=>"Puffinus griseus",
465 "Lesser Canada Goose"=>"Branta hutchinsii",
466 "Ring-necked Duck"=>"Aythya collaris",
467 "Greater Flamingo"=>"Phoenicopterus roseus",
468 "Iberian Chiffchaff"=>"Phylloscopus ibericus",
469 "Ashy-headed Wagtail"=>"Motacilla cinereocapilla",
470 "Stilt Sandpiper"=>"Calidris himantopus",
471 "Siberian Stonechat"=>"Saxicola maurus",
472 "Greater Yellowlegs"=>"Tringa melanoleuca",
473 "Forster`s Tern"=>"Sterna forsteri",
474 "Dusky Warbler"=>"Phylloscopus fuscatus",
475 "Cirl Bunting"=>"Emberiza cirlus",
476 "Olive-backed Pipit"=>"Anthus hodgsoni",
477 "Sociable Lapwing"=>"Vanellus gregarius",
478 "Spotted Sandpiper"=>"Actitis macularius",
479 "Baird`s Sandpiper"=>"Calidris bairdii",
480 "Rustic Bunting"=>"Emberiza rustica",
481 "Yellow-browed Bunting"=>"Emberiza chrysophrys",
482 "Great Shearwater"=>"Puffinus gravis",
483 "Bonelli`s Eagle"=>"Aquila fasciata",
484 "Calandra Lark"=>"Melanocorypha calandra",
485 "Sardinian Warbler"=>"Sylvia melanocephala",
486 "Ross's Gull"=>"Larus roseus",
487 "Yellow-Breasted Bunting"=>"Emberiza aureola",
488 "Pine Bunting"=>"Emberiza leucocephalos",
489 "Black Guillemot"=>"Cepphus grylle",
490 "Pied-billed Grebe"=>"Podilymbus podiceps",
491 "Soft-plumaged Petrel"=>"Pterodroma mollis",
492 "Bulwer's Petrel"=>"Bulweria bulwerii",
493 "White-Faced Storm-Petrel"=>"Pelagodroma marina",
494 "Pallas’s Fish Eagle"=>"Haliaeetus leucoryphus",
495 "Sandhill Crane"=>"Grus canadensis",
496 "Macqueen’s Bustard"=>"Chlamydotis macqueenii",
497 "White-tailed Lapwing"=>"Vanellus leucurus",
498 "Great Knot"=>"Calidris tenuirostris",
499 "Semipalmated Sandpiper"=>"Calidris pusilla",
500 "Red-necked Stint"=>"Calidris ruficollis",
501 "Slender-billed Curlew"=>"Numenius tenuirostris",
502 "Bridled Tern"=>"Onychoprion anaethetus",
503 "Pallas’s Sandgrouse"=>"Syrrhaptes paradoxus",
504 "European Scops Owl"=>"Otus scops",
505 "Northern Hawk Owl"=>"Surnia ulula",
506 "White-Throated Needletail"=>"Hirundapus caudacutus",
507 "Belted Kingfisher"=>"Ceryle alcyon",
508 "Blue-cheeked Bee-eater"=>"Merops persicus",
509 "Black-headed Wagtail"=>"Motacilla feldegg",
510 "Northern Mockingbird"=>"Mimus polyglottos",
511 "Alpine Accentor"=>"Prunella collaris",
512 "Red-flanked Bluetail"=>"Tarsiger cyanurus",
513 "Isabelline Wheatear"=>"Oenanthe isabellina",
514 "Pied Wheatear"=>"Oenanthe pleschanka",
515 "Eastern Black-eared Wheatear"=>"Oenanthe melanoleuca",
516 "Desert Wheatear"=>"Oenanthe deserti",
517 "White`s Thrush"=>"Zoothera aurea",
518 "Siberian Thrush"=>"Zoothera sibirica",
519 "Eyebrowed Thrush"=>"Turdus obscurus",
520 "Dusky Thrush"=>"Turdus eunomus",
521 "Black-throated Thrush"=>"Turdus atrogularis",
522 "Pallas`s Grasshopper Warbler"=>"Locustella certhiola",
523 "Spectacled Warbler"=>"Sylvia conspicillata",
524 "Two-barred Warbler"=>"Phylloscopus plumbeitarsus",
525 "Eastern Bonelli’s Warbler"=>"Phylloscopus orientalis",
526 "Collared Flycatcher"=>"Ficedula albicollis",
527 "Wallcreeper"=>"Tichodroma muraria",
528 "Turkestan Shrike"=>"Lanius phoenicuroides",
529 "Steppe Grey Shrike"=>"Lanius pallidirostris",
530 "Spanish Sparrow"=>"Passer hispaniolensis",
531 "Red-eyed Vireo"=>"Vireo olivaceus",
532 "Myrtle Warbler"=>"Dendroica coronata",
533 "White-crowned Sparrow"=>"Zonotrichia leucophrys",
534 "White-throated Sparrow"=>"Zonotrichia albicollis",
535 "Cretzschmar`s Bunting"=>"Emberiza caesia",
536 "Chestnut Bunting"=>"Emberiza rutila",
537 "Red-headed Bunting"=>"Emberiza bruniceps",
538 "Black-headed Bunting"=>"Emberiza melanocephala",
539 "Indigo Bunting"=>"Passerina cyanea",
540 "Balearic Woodchat Shrike"=>"Lanius senator badius",
541 "Demoiselle Crane"=>"Grus virgo",
542 "Chough"=>"Pyrrhocorax pyrrhocorax",
543 "Red-Billed Chough"=>"Pyrrhocorax graculus",
544 "Elegant Tern"=>"Sterna elegans",
545 "Chukar"=>"Alectoris chukar",
546 "Yellow-Billed Cuckoo"=>"Coccyzus americanus",
547 "American Sandwich Tern"=>"Sterna sandvicensis acuflavida",
548 "Olive-Tree Warbler"=>"Hippolais olivetorum",
549 "Eastern Olivaceous Warbler"=>"Acrocephalus pallidus",
550 "Indian Cormorant"=>"Phalacrocorax fuscicollis",
551 "Spur-Winged Lapwing"=>"Vanellus spinosus",
552 "Yelkouan Shearwater"=>"Puffinus yelkouan",
553 "Trumpeter Finch"=>"Bucanetes githagineus",
554 "Red Grouse"=>"Lagopus scoticus",
555 "Rock Ptarmigan"=>"Lagopus mutus",
556 "Long-Tailed Cormorant"=>"Phalacrocorax africanus",
557 "Double-crested Cormorant"=>"Phalacrocorax auritus",
558 "Magnificent Frigatebird"=>"Fregata magnificens",
559 "Naumann's Thrush"=>"Turdus naumanni",
560 "Oriental Pratincole"=>"Glareola maldivarum",
561 "Bufflehead"=>"Bucephala albeola",
562 "Snowfinch"=>"Montifrigilla nivalis",
563 "Ural owl"=>"Strix uralensis",
564 "Spanish Wagtail"=>"Motacilla iberiae",
565 "Song Sparrow"=>"Melospiza melodia",
566 "Rock Bunting"=>"Emberiza cia",
567 "Siberian Rubythroat"=>"Luscinia calliope",
568 "Pallid Swift"=>"Apus pallidus",
569 "Eurasian Pygmy Owl"=>"Glaucidium passerinum",
570 "Madeira Little Shearwater"=>"Puffinus baroli",
571 "House Finch"=>"Carpodacus mexicanus",
572 "Green Heron"=>"Butorides virescens",
573 "Solitary Sandpiper"=>"Tringa solitaria",
574 "Heuglin's Gull"=>"Larus heuglini"
575 );
576
577
578 $result = array();
579 foreach ($items as $key=>$value) {
580 if (strpos(strtolower($key), $q) !== false) {
581 array_push($result, array("id"=>$value, "label"=>$key, "value" => strip_tags($key)));
582 }
583 if (count($result) > 11)
584 break;
585 }
586
587 // json_encode is available in PHP 5.2 and above, or you can install a PECL module in earlier versions
588 echo json_encode($result);
589
590 ?>
591