I would need the full source code, I have a Google map key and can FTP the code.
Pages needed: Homepage-Query, Results-Table, Results-map, Admin-Data entry, About page.
Homepage-Query: The 1st section would have a box that can accept a zipcode or city, state combination. The 2nd section would be the “Types”. It should show a list of different types of churches in three columns. Each category's title would be listed in alphabetical order going top to bottom of the first column, then 2nd column, finally 3rd. These would come from a database. Each listed church variety would have a checkbox next to it. A search button would appear once at least one church type is selected. When the search button is pressed it would take you to the results-table page.
The results-table page would show the query results, in a table, of all the churches that fit the criteria in the 2nd section(Types), that fall within the geographic boundaries entered in the 1st section. Church information displayed in the table: name, address, phone, fax, size, website URL. Clicking on the church would pop up a modal box with the information about the church on it. A button at the top would say “Map it”.
Map-page would generate a Google map using the prior results criteria. On the left side is a scrollable list of the churches grouped by type. Each type and church has a check box. If a grouping is clicked then it toggles between selecting all or none within the group. The right side is a Google map (I have a map key) that plots all the churches that have been selected. Each church would have a listed number that corresponds to the pinpoint on the map with the same number. The Map-page would have a button that would toggle between results-table and Map-page.
Admin-page would require a login to enter. Regular users are not required to log in. Each login would have a role (administrator, Data entry, user). Login would require a password and be verified by a link sent to the email, as well as resetting the password. Certain roles would be allowed to add new churches (data entry and administrator). A data entry page is needed to populate the database table with churches. All entered data would be put into a database. An active flag would be used to show and hide data.
On new entries, if Lat/Long is needed use another site API to send the address to in return for the Lat/Long. which would then be stored in the DB table.
About-Page can be just informational about the website and criteria used to vet churches
This can be edit by administrators in the Admin section.