Jump to content

mirivlad

Members
  • Content Count

    7
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by mirivlad


  1.  

    Messages generated in modules and store in session. This code output this is messages^

     

    <!-- Messages -->                                <?php if ($message=$session->getMessage()): ?>                                    <p class="message"><?php echo htmlspecialchars($message) ?></p>                                <?php endif ?> 

    You can put this code in any field your tempate.

     

    Thank you for answering. But in what file do you want me in insert that code?

    You can put any file in your template. But if i understand - you want to get the same result as in the default theme. Then yoy put this code in index.php or any other file that the theme is based on a template and always displayed. In default theme is a file - themes/default/header.php


  2. Hi all! Please, help to understand what data is stored in fields `count1`-`count3` of the table quest?

    And field `time` - it's when quest start? Do I understand correctly?

    CREATE TABLE IF NOT EXISTS `quest` (`char_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',`quest_id` INT(10) UNSIGNED NOT NULL,`state` ENUM('0','1','2') NOT NULL DEFAULT '0',`time` INT(11) UNSIGNED NOT NULL DEFAULT '0',`count1` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',`count2` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',`count3` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',PRIMARY KEY (`char_id`,`quest_id`)) ENGINE=MyISAM; 

     

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.