first commit

This commit is contained in:
2025-07-18 16:20:14 +07:00
commit 98af45c018
16382 changed files with 3148096 additions and 0 deletions

35
pages/content.php Normal file
View File

@@ -0,0 +1,35 @@
<?php
include_once "../include/boot.php";
include "../include/authenticate.php";
include "../include/header.php";
$content = getval("content", "");
if ($content != "") {
$content = text($content);
} else {
$content = "This is default content text. You can create text (including html) in Admin->Manage Content and display it here.";
}
$modal = getval("modal", "");
$allowed_tags = array_merge(array("a"), $permitted_html_tags);
$allowed_attributes = array_merge(array("href","target"), $permitted_html_attributes);
$content = strip_tags_and_attributes($content, $allowed_tags, $allowed_attributes);
?>
<div class="BasicsBox">
<?php if ($modal) { ?>
<div class="backtoresults">
<a href="#" onclick="ModalClose();" class="closeLink fa fa-times" title="<?php echo escape($lang["close"]); ?>"></a>
</div>
<?php
}
echo $content;
?>
</div>
<?php
include "../include/footer.php";
?>