<?php
echo "<a href='https://www.php-fusion.co.uk/' target='_blank'>Najlepsze forum</a>";
?>
<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright (C) PHP Fusion Inc
| https://phpfusion...
+--------------------------------------------------------+
| Filename: viewpage.php
| Author: Core Development Team
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or >
| at www.gnu.org/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once __DIR__.'/maincore.php';
require_once THEMES.'templates/header.php';
echo render_breadcrumbs();
$cp_result = dbquery("SELECT * FROM ".DB_CUSTOM_PAGES." WHERE page_id='".$_GET['v']."'");
if (dbrows($cp_result)) {
$cp_data = dbarray($cp_result);
opentable2();
echo "<div style='text-align: center; padding-bottom: 17px; font-size: 35px; font-weight: bold; color: #000;'>".$cp_data['page_title']."</div>";
eval("?>".stripslashes($cp_data['page_content'])."<?php ");
closetable();
require_once THEMES.'templates/footer.php';
parse_textarea($cp_data['page_content'], FALSE, FALSE, TRUE, NULL, $cp_data['page_content'] == 'y' ? TRUE : FALSE)
require_once __DIR__.'/maincore.php';
require_once THEMES.'templates/header.php';
echo "<a href='https://www.php-fusion.co.uk/' target='_blank'>Najlepsze forum</a>";
require_once THEMES.'templates/footer.php';
Quote
If you still want to use the database, instead of forcing a input on the page as you do with page_id='".$_GET['v']."' , change it to page_id='YOURID' then your URL will be cleaner.
Category Forum
Modifications and Requests - 9Labels
None yet
Statistics
4 participants
Notifications
You are not receiving notifications from this thread.
Related Questions