.
Deleted spurious temp files.
Returned id to iduser in players.
Cleaned up jigs.php.
No fixes, just syntax.
Another code cleanup. Please ignore.
Work in Progress. Editing files below.

Ran the following SQL:

UPDATE `j17_jigs_buildings` SET
`type` = 'generator'
WHERE `type` = 'windmill'
OR `type` = 'turbine'

ALTER TABLE `j17_jigs_generators`
DROP COLUMN `line`

ALTER TABLE `j17_jigs_generators`
DROP COLUMN `timestamp`

ALTER TABLE `j17_jigs_generators`
DROP COLUMN `quantity`

ALTER TABLE `j17_jigs_batteries`
ADD COLUMN `timestamp` INT NOT NULL DEFAULT 0
Merge pull request #8 from justinkelly69/master

Put id back to iduser in Players