Access Denied\n"; echo"You do not have access to the Application Manager"; require_once(FOOTER); exit; } ?> Processing Add Request, please wait...\n"; $appname = escape_string($_POST["appname"]); $guid = escape_string($_POST["guid"]); $shortname = escape_string($_POST["shortname"]); $version = escape_string($_POST["version"]); $public_ver = escape_string($_POST["public_ver"]); if (checkFormKey()) { $sql = "INSERT INTO `applications` (`AppName`, `GUID`, `shortname`, `Version`, `public_ver`) VALUES ('$appname','$guid','$shortname','$version','$public_ver')"; $sql_result = mysql_query($sql, $connection) or trigger_error("
MySQL Error ".mysql_errno().": ".mysql_error()."
", E_USER_NOTICE); if ($sql_result) { echo"The application $appname $version has been successfully added."; } } } ?>

Manage Application List

     Show Versions for: $appname / "; } echo"Add New Application..."; ?>

Application Versions for

MySQL Error ".mysql_errno().": ".mysql_error()."", E_USER_NOTICE); while ($row = mysql_fetch_array($sql_result)) { echo"\n"; echo"\n"; echo""; echo""; echo"\n"; } ?>
Release Public Version?
".++$i." $row[AppName] $row[Version]$row[public_ver]

New Version of

"> "> Version (e.g. 1.0PR):


Public Version: Yes: No:
 
Processing update request, please wait...\n"; $sql = "UPDATE `applications` SET `AppName`='$appname', `Version`='$version', `public_ver`='$public_ver' WHERE `appid`='$appid'"; $sql_result = mysql_query($sql, $connection) or trigger_error("
MySQL Error ".mysql_errno().": ".mysql_error()."
", E_USER_NOTICE); if ($sql_result) { echo"Your update to $appname $version has been successful.
"; } } } else if ($_POST["submit"] == "Delete Version") { $appid= escape_string($_POST["appid"]); $appname = escape_string($_POST["AppName"]); $version = escape_string($_POST["version"]); echo"

Processing delete request, please wait...

\n"; $sql = "DELETE FROM `applications` WHERE `appid`='$appid'"; $sql_result = mysql_query($sql, $connection) or trigger_error("
MySQL Error ".mysql_errno().": ".mysql_error()."
", E_USER_NOTICE); if ($sql_result) { echo"You've successfully deleted the application '$appname $version'
"; require_once(FOOTER); exit; } } if (!$appid) { $appid = escape_string($_POST["appid"]); } // Show Edit Form $sql = "SELECT * FROM `applications` WHERE `appid` = '$appid' LIMIT 1"; $sql_result = mysql_query($sql, $connection) or trigger_error("
MySQL Error ".mysql_errno().": ".mysql_error()."
", E_USER_NOTICE); $row = mysql_fetch_array($sql_result); ?>

Edit Application:


\n"; echo"Version:
\n"; ?>
Should this version be exposed to end-users of the website, or just allowed for extension authors' install.rdf files? In general only release milestones should be exposed.
No: \n"; } else if ($public_ver=="NO" || empty($public_ver)) { echo"Yes: No: \n"; } echo"\n"; ?>

?');">


«« Return to Application Manager

Add New Application

Application Name:
GUID of App:
Shortname:

Version (e.g. 1.0PR):