Fixed chart_do.php and show_chart.php

Fixed unset variable being returned in link by chart_do and trying to
access non-existing indexes in show_chart.
Empty projects.ini added to folder.