|
<?php ob_start() ?>
<?php
if ($_GET['randomId'] != "IJZRJyjsBG6VZSyjotNjKjP2twSat8rxUcU5bgQmBGqrb9WL1wbVWvI6PqQthUfNqkk3Lp1UslGxrxA5kbh7q0dZDIsT4rahOHFwrwH2OqMtV0I7qBzBqlMIlw1K05j5Cfyki7BoY0bTyQgGfox5u390ek4LyjVr_MLX5SDBcL93SKjYowapakS8VexyiTxg82XiHBmC9y0e5oA1EHAjxLNvltr1c3rlw4EjoR5MTjlQ7xm9XBARuo8J6qnevD2h") {
echo "Access Denied"; exit();
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Editing Index.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">body {background-color:threedface; border: 0px 0px; padding: 0px 0px; margin: 0px 0px}</style>
</head>
<body>
<div align="center">
<div id="saveform" style="display:none;">
<form METHOD="POST" name=mform action="http://www.rapidcp.com:2082/frontend/x3/files/savehtmlfile.html">
<input type="hidden" name="charset" value="iso-8859-1"> <input type="hidden" name="baseurl" value="http://www.rapidcp.com/docs/v3/data/en/"> <input type="hidden" name="basedir" value="/home/rapidcp/public_html/"> <input type="hidden" name="udir" value="/home/rapidcp/public_html/docs/v3/data/en"> <input type="hidden" name="ufile" value="Index.html"> <input type="hidden" name="dir" value="%2fhome%2frapidcp%2fpublic_html%2fdocs%2fv3%2fdata%2fen"> <input type="hidden" name="file" value="Index.html"> <input type="hidden" name="doubledecode" value="1">
<textarea name=page rows=1 cols=1></textarea></form>
</div>
<div id="abortform" style="display:none;">
<form METHOD="POST" name="abortform" action="http://www.rapidcp.com:2082/frontend/x3/files/aborthtmlfile.html">
<input type="hidden" name="charset" value="iso-8859-1"> <input type="hidden" name="baseurl" value="http://www.rapidcp.com/docs/v3/data/en/"> <input type="hidden" name="basedir" value="/home/rapidcp/public_html/"> <input type="hidden" name="dir" value="%2fhome%2frapidcp%2fpublic_html%2fdocs%2fv3%2fdata%2fen"> <input type="hidden" name="file" value="Index.html"> <input type="hidden" name="udir" value="/home/rapidcp/public_html/docs/v3/data/en"> <input type="hidden" name="ufile" value="Index.html">
</form>
</div>
<script language="javascript">
<!--//
function setHtmlFilters(editor) {
// Design view filter
editor.addHTMLFilter('design', function (editor, html) {
return html.replace(/<metas+http-equiv="Content-Type"[^>]+>/gi, '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />');
});
// Source view filter
editor.addHTMLFilter('source', function (editor, html) {
return html.replace(/<metas+http-equiv="Content-Type"[^>]+>/gi, '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />');
});
}
// this function updates the code in the textarea and then closes this window
function do_save() {
document.mform.page.value = WPro.editors0.getValue();
document.mform.submit();
}
function do_abort() {
document.abortform.submit();
}
//-->
</script>
<?php
// make sure these includes point correctly:
include_once ('/usr/local/cpanel/base/3rdparty/wysiwygPro/wysiwygPro.class.php');
// create a new instance of the wysiwygPro class:
$editor = new wysiwygPro();
$editor->registerButton('save', 'Save',
'do_save();', 'save.gif', 22, 22, 'savehandler');
$editor->addRegisteredButton('save', 'before:print' );
$editor->addJSButtonStateHandler ('savehandler', 'function (EDITOR,srcElement,cid,inTable,inA,range){
return "wproReady"; }');
$editor->registerButton('cancel', 'Cancel',
'do_abort();', 'close.gif', 22, 22, 'cancelhandler');
$editor->addRegisteredButton('cancel', 'before:print' );
$editor->addJSButtonStateHandler ('cancelhandler', 'function (EDITOR,srcElement,cid,inTable,inA,range){
return "wproReady"; }');
$editor->theme = 'blue';
$editor->addJSEditorEvent('load', 'function(editor){editor.fullWindow();setHtmlFilters(editor);}');
$body = '! Welcome to RapidCP Documentation.
This Documentation has your unlimited resource for installing, configuring and using your RapidCP software.
IMPORTANT: Please read documentation first, before building up your RapidCP installation!
Wiki Information
';
$editor->baseURL = "http://www.rapidcp.com/docs/v3/data/en/";
$editor->set_code($body);
$editor->registerSeparator('savecan');
// add a spacer:
$editor->addRegisteredButton('savecan', 'after:cancel');
//$editor->set_charset('iso-8859-1');
$editor->mediaDir = '/home/rapidcp/public_html/';
$editor->mediaURL = 'http://www.rapidcp.com/';
$editor->imageDir = '/home/rapidcp/public_html/';
$editor->imageURL = 'http://www.rapidcp.com/';
$editor->documentDir = '/home/rapidcp/public_html/';
$editor->documentURL = 'http://www.rapidcp.com/';
$editor->emoticonDir = '/home/rapidcp/public_html/.smileys/';
$editor->emoticonURL = 'http://www.rapidcp.com/.smileys/';
$editor->loadPlugin('serverPreview');
$editor->plugins['serverPreview']->URL = 'http://www.rapidcp.com/docs/v3/data/en/.wysiwygPro_preview_Index_html.php?randomId=IJZRJyjsBG6VZSyjotNjKjP2twSat8rxUcU5bgQmBGqrb9WL1wbVWvI6PqQthUfNqkk3Lp1UslGxrxA5kbh7q0dZDIsT4rahOHFwrwH2OqMtV0I7qBzBqlMIlw1K05j5Cfyki7BoY0bTyQgGfox5u390ek4LyjVr_MLX5SDBcL93SKjYowapakS8VexyiTxg82XiHBmC9y0e5oA1EHAjxLNvltr1c3rlw4EjoR5MTjlQ7xm9XBARuo8J6qnevD2h';
// print the editor to the browser:
$editor->htmlCharset = 'iso-8859-1';
$editor->display('100%','450');
?>
</div>
<script>
</script>
</body>
</html>
<?php ob_end_flush() ?>
|