Deutschland United States United Kingdom
ContentLion - Open Source CMS

index.php

Blame | Last modification | View Log

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
  <link rel="stylesheet" type="text/css" href="<?PHP echo sys::getFullSkinPath(); ?>css/style.css" />
  <script type="text/javascript" src="<?PHP echo sys::getFullSkinPath(); ?>js/jquery.min.js"></script>
  <script type="text/javascript" src="<?PHP echo sys::getFullSkinPath(); ?>js/image_slide.js"></script>
  <?PHP
    sys::includeHeader();
  ?>
</head>

<body>
  <div id="main">
    <div id="header">
      <div id="banner">
            <a href="/"><?PHP echo htmlentities(sys::getTitle()); ?></a>
          </div>
      <div id="menubar">
                <?PHP
                        sys::displayGlobalMenu("<ul id=\"menu\">","</ul>","<li>"," </li>","");
                ?>
      </div>
    </div>
    <div id="site_content">
       <ul class="slideshow">
        <li class="show"><img width="880" height="350" src="<?PHP echo sys::getFullSkinPath(); ?>images/home_1.jpg" /></li>
        <li><img width="880" height="350" src="<?PHP echo sys::getFullSkinPath(); ?>images/home_2.jpg" /></li>
        <li><img width="880" height="350" src="<?PHP echo sys::getFullSkinPath(); ?>images/home_3.jpg" /></li>
      </ul>    
          <div id="content">
        <div class="content_item">
          <?PHP
            if(isset($_POST['content']) && $_POST['content']){
              echo $_POST['content'];
            }
            else{
              sys::includeContent();
            }
          ?>
        </div>
      </div>
      <div class="sidebar_container">
        <div class="sidebar">
          <div class="sidebar_top"></div>
          <div class="sidebar_item">
                        <?PHP
                                sys::displayLocalMenu("<ul>","</ul>","<li>","</li>","localmenuentry");
                        ?>  
          </div>
          <div class="sidebar_base"></div>
        </div>
      </div>
    </div>
    <div id="footer">
      <a href="http://www.pdphoto.org/">Images</a> | <a href="http://www.araynordesign.co.uk">ARaynorDesign</a>
          <?PHP if(Page::Current()->alias == "home"){ ?> |
                <?PHP if(strtolower(Settings::getValue("language")) == "de"){ ?>
                   powered by <a href="http://www.contentlion.de">ContentLion CMS</a>
                <?PHP } else { ?>
                   powered by <a href="http://www.contentlion.org">ContentLion CMS</a>
                <?PHP } ?>
          <?PHP } ?>
    </div>
  </div>
  <p style="float: left;padding: 0;">&nbsp;</p>
</body>
</html>