Couple Issues

Glee

Junior Member
Members
1Posts:
1 Threads:
Dec 21Joined:
0 Reputation:
#1
Hey Everyone,

I'd like to introduce myself my name is Glee and I've been working with Rev for very long time so now I have moved onto BrainCMS! Because the coding is lot different.

I have couple issues and I'm trying to get on the right path!

So I'm creating Habbo Theme for Brain as I looked on RetroRipper and no Theme was created.

Issue #1

The Promo Box

Mine:

Show ContentSpoiler:


What I'm trying to get it to.


Show ContentSpoiler:


My Code that I used (I attempted to compare between the Brain Theme)

PHP Code:
 <div id="promo-box">
 
       <div id="promo-bullets"></div>

 
               <?php
               $sql 
$dbh->prepare("SELECT id,title,image,shortstory FROM cms_news ORDER BY id DESC LIMIT 1");
 
              $sql->execute();
 
              while ($news $sql->fetch())
 
              {
 
               echo'
                <div class="promo-container" style="background-image: url('
.filter($news["image"]).');">
                <div class="promo-content-container-">
                    <div class="promo-content">
                <div class="title">'
.filter($news["title"]).'</div>
                <div class="body">'
.filter($news["shortstory"]).'</div>
                </div>
                </div>
                <div class="promo-link-container">
                <div class="enter-hotel-btn">
                <div class="open enter-btn"
                <a href="/news/'
.filter($news["id"]).'">'.$lang["Mreadmore"].' »</a>
                </div>
                </div>
                </div>
                </div>'
;
 
              }
 
              ?>
</div> 
Issue #2

I think this has to due with my header.php in my theme. When I swap between different tabs, I go from the me page when I go to community tab it goes to "Guest-Register"


Show ContentSpoiler:

When I swap Tabs 

Show ContentSpoiler:
Users browsing this thread:
1 Guest(s)