generat phonegap index file and php code