added missing csvgraph.php. Added missing function for $defined in show_smartgraph.js