Example #1
0
<?php

require_once 'include/general.inc';
require_once 'include/config.inc';
require_once 'include/text.inc';
$html = xml_def();
$html .= doctype_def();
$html .= head_start($address, 'DoOPSearch Web Server - License and download');
$html .= head_end();
$html .= body_start('DoOPSearch Web Server');
$html .= link_start();
$html .= link_general($address);
$html .= link_end();
$html .= main_start();
$html .= content_start();
$html .= texts('license');
$html .= content_end();
$html .= main_end();
$html .= body_end();
echo $html;
    <?php 
echo "\n        <script type=\"text/javascript\"> // JAVASCRIPT library for fixed variables\n // management of javascript is set up here\n // SITE SETTINGS\n            var site_url = \"{$xerte_toolkits_site->site_url}\";\n            var site_apache = \"{$xerte_toolkits_site->apache}\";\n            var properties_ajax_php_path = \"website_code/php/properties/\";\n            var management_ajax_php_path = \"website_code/php/management/\";\n            var ajax_php_path = \"website_code/php/\";\n        </script>";
?>
    <script type="text/javascript" language="javascript" src="website_code/scripts/validation.js"></script>
    <?php 
_include_javascript_file("website_code/scripts/file_system.js");
_include_javascript_file("website_code/scripts/screen_display.js");
_include_javascript_file("website_code/scripts/ajax_management.js");
_include_javascript_file("website_code/scripts/folders.js");
_include_javascript_file("website_code/scripts/template_management.js");
_include_javascript_file("website_code/scripts/logout.js");
_include_javascript_file("website_code/scripts/import.js");
?>
    <?php 
head_end();
?>
</head>

<!--

code to sort out the javascript which prevents the text selection of the templates (allowing drag and drop to look nicer

body_scroll handles the calculation of the documents actual height in IE.

-->

<body >
<?php 
body_start();
?>