get rid of unused variables

git-svn-id: https://plugins.svn.wordpress.org/cforms2/trunk@1019933 b8457f37-d9ea-0310-8a92-e5e31aec5664
get rid of some deprecated functions

git-svn-id: https://plugins.svn.wordpress.org/cforms2/trunk@1019934 b8457f37-d9ea-0310-8a92-e5e31aec5664
get rid of one more deprecated function

git-svn-id: https://plugins.svn.wordpress.org/cforms2/trunk@1019935 b8457f37-d9ea-0310-8a92-e5e31aec5664
mitigate more SQL injection attacks

git-svn-id: https://plugins.svn.wordpress.org/cforms2/trunk@1019937 b8457f37-d9ea-0310-8a92-e5e31aec5664