Your IP : 216.73.216.134


Current Path : /home/bijouxly/old/templates/darklab/
Upload File :
Current File : /home/bijouxly/old/templates/darklab/index.php

<?php

/**

 * @subpackage       tpl_darklab

 * @copyright        Copyright (C) 2011 Linelab.org. All rights reserved.

 * @license          GNU General Public License version 2 or later; see LICENSE.txt

 */

defined('_JEXEC') or die;

define( 'YOURBASEPATH', dirname(__FILE__) );

$left_width = $this->params->get("leftWidth", "200");

$right_width = $this->params->get("rightWidth", "200");

$temp_width = $this->params->get("templateWidth", "960"); 

$sitetitle = $this->params->get("sitetitle", "DarkLab"); 

$col_mode = "s-c-s";

if ($left_width==0 and $right_width>0) $col_mode = "x-c-s";

if ($left_width>0 and $right_width==0) $col_mode = "s-c-x";

if ($left_width==0 and $right_width==0) $col_mode = "x-c-x";

$temp_width = 'margin: 0 auto; width: ' . $temp_width . 'px;'; 

?>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >

<head>

<?php

require(YOURBASEPATH . DS . "tools.php");

?>

<jdoc:include type="head" />
 
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />

<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/darklab/css/styles.css" type="text/css" media="screen,projection" />

<!--[if lte IE 6]>

<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/darklab/css/styles.ie.css" type="text/css" media="screen,projection" />

<![endif]-->

<!--[if lte IE 7]>

<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/darklab/css/styles.ie7.css" type="text/css" media="screen,projection" />

<![endif]-->


</head>

<body>
           
<div class="topground"></div>

<div id="main">

	<div id="wrapper" class="ground">



		<div id="nav">
      
		   <div class="logo"><a href="index.php" id="logo" title="<?php echo $sitetitle ?>" >
        
        <img src="<?php echo $this->baseurl ?>/templates/darklab/images/logo.png" alt="<?php echo $sitetitle ?>" /></a></div>
    
    <div class="menu">
        
        <jdoc:include type="modules" name="topmenu" style="none"/></div>

		</div>

		<div id="message">

		    <jdoc:include type="message" />

		</div>

		<?php if ($this->countModules('floom')) : ?>

		<div id="showcase">

			<div class="ground">

		    	<jdoc:include type="modules" name="floom" style="none"/>

		    </div>

		</div>

		<?php endif; ?>

        <div id="main-content" class="<?php echo $col_mode; ?>">

            <div id="colmask">

                <div id="colmid">

                    <div id="colright">

                        <div id="col1wrap">

							<div id="col1pad">

                            	<div id="col1">

									<?php if ($this->countModules('breadcrumbs')) : ?>

                                    <div class="breadcrumbs-pad">

                                        <jdoc:include type="modules" name="breadcrumbs" />

                                    </div>

									<?php endif; ?>
									
     <?php  if ($frontpage != 1) {

 if ($menu->getActive() !== $menu->getDefault()) { ?>

  <div class="component">
  
     <jdoc:include type="component" />
         
         </div>

             <?php }

                  } else {

                         ?> 

                         <div class="component">

                              <jdoc:include type="component" />

                      </div>

                 <?php 
                     }
                    ?>

	<?php if ($this->countModules('banners')) : ?>

									<div class="spacer">

										<jdoc:include type="modules" name="banners" style="xhtml"/>

									</div>

									<?php endif; ?>

	                            </div>

							</div>

                        </div>

						<?php if ($left_width != 0) : ?>

                        <div id="col2">

                        	<jdoc:include type="modules" name="left" style="xhtml"/>

                        </div>

						<?php endif; ?>

						<?php if ($right_width != 0) : ?>

                        <div id="col3">

                        	<jdoc:include type="modules" name="right" style="xhtml"/>

                        </div>

						<?php endif; ?>

                    </div>

                </div>

            </div>

        </div>

		<?php if ($this->countModules('user1 or user2 or user3')) : ?>
     
		  <div id="main3" class="spacer<?php echo $main3_width; ?>">

			<jdoc:include type="modules" name="user1" style="xhtml"/>

			<jdoc:include type="modules" name="user2" style="xhtml"/>

			<jdoc:include type="modules" name="user3" style="xhtml"/>

			</div>

			<?php endif; ?>

				<div id="footer">
				
					<div class="copy">

		<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" title="CSS Validity" style="text-decoration: none;">CSS Valid | </a><a href="http://www.linelab.org" title="Templates Themes" target="_blank" style="text-decoration: none;">LINELAB | </a><a href="http://validator.w3.org/check/referer" target="_blank" title="XHTML Validity" style="text-decoration: none;">XHTML Valid</a>&nbsp;

		  </div>

		<jdoc:include type="modules" name="footerload" style="none" />

    </div>	

	</div>

	<jdoc:include type="modules" name="debug" style="none" />

</div>

   </body>

  </html>