Use different var name looping through columns
Use different var name looping through columns

There is some problem with the var $i getting reset somehow somewhere
related to the include of each widget PHP code. I found that this was
doing $i = 1, $i = 2 and then $i = 2 again and I got fatal errors
because each widget code was being included twice.

Crash report begins.  Anonymous machine information:

amd64
10.2-STABLE
FreeBSD 10.2-STABLE #245 1b7c029(devel): Mon Dec 14 04:17:47 CST 2015

root@pfs23-amd64-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSense

Crash report details:

PHP Errors:
[17-Dec-2015 10:10:50 Asia/Kathmandu] PHP Fatal error:  Cannot redeclare
getServerDateItems() (previously declared in
/usr/local/www/widgets/widgets/ntp_status.widget.php:64) in
/usr/local/www/widgets/widgets/ntp_status.widget.php on line 64
[17-Dec-2015 10:10:50 Asia/Kathmandu] PHP Stack trace:
[17-Dec-2015 10:10:50 Asia/Kathmandu] PHP   1. {main}()
/usr/local/www/index.php:0
[17-Dec-2015 10:10:53 Asia/Kathmandu] PHP Fatal error:  Cannot redeclare
getServerDateItems() (previously declared in
/usr/local/www/widgets/widgets/ntp_status.widget.php:64) in
/usr/local/www/widgets/widgets/ntp_status.widget.php on line 64
[17-Dec-2015 10:10:53 Asia/Kathmandu] PHP Stack trace:
[17-Dec-2015 10:10:53 Asia/Kathmandu] PHP   1. {main}()
/usr/local/www/index.php:0
[17-Dec-2015 10:11:27 Asia/Kathmandu] PHP Fatal error:  Cannot redeclare
getServerDateItems() (previously declared in
/usr/local/www/widgets/widgets/ntp_status.widget.php:64) in
/usr/local/www/widgets/widgets/ntp_status.widget.php on line 64
[17-Dec-2015 10:11:27 Asia/Kathmandu] PHP Stack trace:
[17-Dec-2015 10:11:27 Asia/Kathmandu] PHP   1. {main}()
/usr/local/www/index.php:0

NewEraCracker/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,ptorsten/pfsense,ch1c4um/pfsense,pfsense/pfsense,jxmx/pfsense,BlackstarGroup/pfsense,BlackstarGroup/pfsense,brunostein/pfsense,brunostein/pfsense,jxmx/pfsense,ch1c4um/pfsense,dennypage/pfsense,phil-davis/pfsense,NewEraCracker/pfsense,dennypage/pfsense,pfsense/pfsense,NOYB/pfsense,brunostein/pfsense,ch1c4um/pfsense,NOYB/pfsense,ptorsten/pfsense,pfsense/pfsense,dennypage/pfsense,phil-davis/pfsense,ch1c4um/pfsense,jxmx/pfsense,phil-davis/pfsense,NOYB/pfsense,NewEraCracker/pfsense,pfsense/pfsense,BlackstarGroup/pfsense,ptorsten/pfsense,phil-davis/pfsense,dennypage/pfsense