[HELP] IlluminaCMS errors [HELP]

Cronus

Cerberus Founder/Developer
Jul 19, 2013
449
25
Hello,

When I go to edit IlluminaCMS in engin/templtes it does not allow me like when I edit the footer it removes the footer it self

I am using notepad++
 

Cronus

Cerberus Founder/Developer
Jul 19, 2013
449
25
Yes its under engin/templtes cause this is the templates


Code:
<?php
 
    /*
      _____ _ _                _           
    |_  _| | |              (_)           
      | | | | |_  _ _ __ ___  _ _ __  __ _
      | | | | | | | | '_ ` _ \| | '_ \ / _` |
      _| |_| | | |_| | | | | | | | | | | (_| |
    |_____|_|_|\__,_|_| |_| |_|_|_| |_|\__,_|
       
        Illumina CMS by Jonteh (http://zaphotel.net/)
        ***** Thread for updates & help: http://forum.*****.com/f353/rel-illumina-cms-php-oop-917506/
    */
   
    require_once "required.php";
   
    if(!$users->isLogged()) {
        header ("Location: " . WWW . "/");
        exit;
    }
   
    if(isset($_POST['crackvault'])) {
        $userCombination = $_POST['vault1'].$_POST['vault2'].$_POST['vault3'].$_POST['vault4'];
        if($userCombination == $light->vault_code && $users->userVar(USERNAME, 'vault_won') == 0) {
            $db->real_query("UPDATE users SET credits = credits + '" . $light->vault_prize . "', vault_won = '1' WHERE id = '" . USER_ID . "'");
        }
    }
   
    define('MeSelected', true);
    define('MeTabSelected', true);
   
    /* Users registered */
   
    if ($result = $db->query("SELECT count(*)  FROM users")) {
        if ($result->num_rows && $result->num_rows > 0) {
            while ($data = $result->fetch_row()) {
                $userCount = $data[0];
            }
        } else {
            $userCount = 0;
        }
    } else {
        $userCount = 0;
    }
   
    $tpl->assign('userCount', $userCount);
    /* Items count */ $tpl->assign('itemsCount', $itemsCount);
   
    if ($result = $db->query("SELECT count(*)  FROM items")) {
        if ($result->num_rows && $result->num_rows > 0) {
            while ($data = $result->fetch_row()) {
                $itemsCount = $data[0];
            }
        } else {
            $itemsCount = 0;
        }
    } else {
        $itemsCount = 0;
    }
   
    $tpl->assign('itemsCount', $itemsCount);
   
   
    $tpl->assign('Credits', number_format($users->userVar(USERNAME, 'credits')));
    $tpl->assign('Pixels', number_format($users->userVar(USERNAME, 'activity_points')));
    $tpl->assign('Look', $users->userVar(USERNAME, 'look'));
    $tpl->assign('Motto', $users->userVar(USERNAME, 'motto'));
    $tpl->assign('username', USERNAME);
    $tpl->assign('pagetitle', 'Home');
   
    $tpl->draw('cms-head');
    $tpl->draw('cms-generictop');
 
   
    $tpl->draw('me-nav');
    $tpl->draw('me-aboutbox');
    $tpl->draw('col1-start');
    $tpl->draw('hotcampaigns');
    $tpl->draw('Referal');
    $tpl->draw('col-end');
    $tpl->draw('col2-start');
    $tpl->draw('newsbox');
if($light->vault_enabled == true) {
        $tpl->draw('vault');
    }
    $tpl->draw('radio');
    $tpl->draw('col-end');
    $tpl->draw('bottom');
    $tpl->draw('footer');
?>
 

Users who are viewing this thread

Top