HvZSource/Karl-vs-Zombies--KvZ- — pull request #7 by vantage509 (2013-11-01 20:49:44+00:00)
Title: Major Update: Zombie Profile Image, Game History, PHP'ed Config, Optimiz...

...ations

Added support for Zombie profile photo that displays automatically upon
being tagged. Also cleaned up image naming convention based on new
persistent user_id.

Added centralized function for calling Game Summary display and created
'games' table to store game history.

Changed config.dat to config.php for security and ease of including vs
parsing. Also added various optimizations and removed deprecated ereg
code.

- settings/config.php <= settings/config.dat
* Change config to php file and pull in using require_once

- functions/functions.php <= functions/load_config.php
* Update load_config() function to pull config with require once
* Add game_summary() function to return HTML formatted game summary

- account.php
* Support two profile images (one human, one zombie)
* Replace deprecated ereg_replace with preg_replace
* Update Registration status notices to user

- admin/account.php
* Replace deprecated ereg_replace with preg_replace

- admin/activate_player.php, admin/aplayers.php, admin/deactivate_player.php
* Update config call

- admin/delete_player.php, admin/edit_player.php, admin/front.php, admin/insert.php
* Update config call

- admin/flow.php
* Save Game Summary
* Save Player stats before game reset

- admin/insertfront.php, admin/login.php, admin/mailer.php, admin/navbar.php
* Update config call

- admin/openreg.php, admin/register.php, admin/rules.php, admin/time.php
* Update config call

- admin/oz_pick.php
* Update config call
* Add OZ profile image

- admin/twitter_set.php, game_no_start.php, game_over.php, getID.php, listZombies.php
* Update config call

- db.sql
* Change all tables to InnoDB Engine
* Add 'games' table for storing game summaries
* Add default game settings for feed_limit and starve_time
* Add 'user_id' so users have persistent identifier, make primary key
* Add zombie profile image

- images/hum_no_photo.jpg
* Default profile image for humans

- index.php
* Add game summary
* Update config call

- kill.php
* Clean up HTML

- pass_reset.php, reg_closed.php, register.php, rules.php
* Update config call

- players.php
* Update config call
* Add support for default images when no profile photo