lookup_email($current->userid); } //header apidb_header("Submit Application"); if ($queueName) { // add to queue //FIXME: need to get image upload in $query = "INSERT INTO appQueue VALUES (null, '". addslashes($queueName)."', '". addslashes($queueVersion)."', '". addslashes($queueVendor)."', '". addslashes($queueDesc)."', '". addslashes($queueEmail)."', '". addslashes($queueURL)."', '". addslashes($queueImage)."');"; mysql_query($query); if ($error = mysql_error()) { echo "

Error:

\n"; echo "

$error

\n"; } else { echo "

Your application has been submitted for Review. You should hear back\n"; echo "soon about the status of your submission

\n"; } } else { // show add to queue form echo '
',"\n"; echo "

This page is for submitting new applications to be added to this\n"; echo "database. The application will be reviewed by the AppDB Administrator\n"; echo "and you will be notified via email if this application will be added to\n"; echo "the database.

\n"; echo "

Please don't forget to mention whether you actually tested this\n"; echo "application under Wine, which Wine version you used and how well it worked. Thank you !

\n"; echo "

To submit screenshots, please email them to "; echo "appdb@winehq.com

\n"; echo html_frame_start("New Application Form",400,"",0); echo "\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; echo '',"\n"; //echo '',"\n"; echo '',"\n"; echo '
App Name
App Version
App Vendor
App URL
App Desc
Email
Image
',"\n"; echo html_frame_end(); echo "
"; } apidb_footer(); ?>