# You should have received a copy of the GNU General Public License
# along with Kermert; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# ***** END LICENSE BLOCK *****
/**
 * Element of administration part of application.
 *
 * This page manages categories.
 * @package Administration
 * @subpackage GUI
 */
include_once dirname(__FILE__) . '/prepend.php';
include_once dirname(__FILE__) . '/includes/Sajax.php';
$post_id = !empty($_REQUEST['post_id']) ? $_REQUEST['post_id'] : '';
$kermert = new Kermert($con);
$categories = $kermert->loadCategories();
?>
<!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>
<script type="text/javascript" language="javascript">
<!--
<?php 
sajax_show_javascript();
?>
-->
Esempio n. 2
0
# along with Kermert; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# ***** 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">