function render_page() {
?>
html code here.
<?php
echo CONTENT; // this is the CMS output.
}
if (!defined('IN_FUSION')) {
die('Access Denied');
}
require_once INCLUDES.'theme_functions_include.php';
require_once 'theme_autoloader.php';
define('THEME_BULLET', '·');
define('BOOTSTRAP', TRUE);
define('FONTAWESOME', TRUE);
if (!defined('ATOM9_LOCALE')) {
if (file_exists(THEME.'locale/'.LANGUAGE.'.php')) {
define('ATOM9_LOCALE', THEME.'locale/'.LANGUAGE.'.php');
} else {
define('ATOM9_LOCALE', THEME.'locale/English.php');
}
}
function render_page(){
Atom9Theme\Producer::GetInstance()->render_page();
}
function opentable($title = '', $class = '') {
echo '<div class="mainpanel '.$class.'">';
echo $title ? '<div class="heading">'.$title.'</div>' : '';
echo '<div class="body">';
}
function closetable() {
echo '</div>';
echo '</div>';
}
function openside($title = '') {
echo '<div class="sidepanel">';
echo $title ? '<div class="heading">'.$title.'</div>' : '';
echo '<div class="body">';
}
function closeside() {
echo '</div>';
echo '</div>';
}
$theme_settings = get_theme_settings('Atom9');
$ignition_pack = !empty($theme_settings['ignition_pack']) ? $theme_settings['ignition_pack'] : 'DefaultPack';
define('IGNITION_PACK', THEME.'IgnitionPacks/'.$ignition_pack.'/');
Atom9Theme\Core::GetInstance()->GetIgnitionPacks($ignition_pack);
Category Forum
Panels and InfusionsLabels
None yet
Statistics
2 participants
Notifications
You are not receiving notifications from this thread.
Related Questions