#
# ***** END LICENSE BLOCK *****
/**
 * Element of administration part of application.
 *
 * This page manages image insertion and editing. It allows to upload a file (only from defined types), and add some
 * properties. When saved, it will be stored in database.
 * @package Administration
 * @subpackage GUI
 */
include_once dirname(__FILE__) . '/prepend.php';
include_once dirname(__FILE__) . '/../includes/classes/class.wiki2xhtml.php';
$post_id = !empty($_REQUEST['post_id']) ? $_REQUEST['post_id'] : '';
$kermert = new Kermert($con);
if ($post_id != '') {
    $kermert->setSingleImage();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
<link rel="stylesheet" type="text/css" href="./style.css" media="screen" />
<script type="text/javascript" src="./includes/tools.js"></script>
<title>Administration</title>
</head>
<body>
<table width="100%" class="Framework" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">