Смекни!
smekni.com

Створення веб-сайту інтернет-магазину на базі CMS Joomla (стр. 8 из 8)

<?php $mClasses = modulesClasses('case5'); if ($this->countModules('showcase') or $this->countModules('showcase2') or $this->countModules('showcase3')) : ?>

<div id="showcase-section" class="png">

<div class="wrapper">

<div id="showmodules" class="spacer<?php echo $showmod_width; ?>">

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

<div class="block <?php echo $mClasses['showcase'][0]; ?>">

<jdoc:include type="modules" name="showcase" style="main" />

</div>

<?php endif; ?>

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

<div class="block <?php echo $mClasses['showcase2'][0]; ?>">

<jdoc:include type="modules" name="showcase2" style="main" />

</div>

<?php endif; ?>

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

<div class="block <?php echo $mClasses['showcase3'][0]; ?>">

<jdoc:include type="modules" name="showcase3" style="main" />

</div>

<?php endif; ?>

</div>

</div>

</div>

<?php endif; ?>

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

<div id="showcase-panel">

<div class="wrapper">

<div id="showcase-panel-close">

<div class="readon-wrap1"><div class="readon1-l"></div><a class="readon-main" href="#"><span class="readon1-m"><span class="readon1-r">Close</span></span></a></div>

</div>

<jdoc:include type="modules" name="showcase-panel" style="showcasepanel" />

</div>

</div>

<?php endif;?>

<!--End Showcase-->

<!--Begin Main Body-->

<div id="mainbody-overlay" class="png">

<div id="mainbody-overlay2" class="png">

<div class="wrapper">

<div id="main-body">

<div id="main-body-surround">

<!--Begin Main Content Block-->

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

<div class="colmask leftmenu">

<div class="colmid">

<div class="colright">

<!--Begin col1wrap -->

<div class="col1wrap">

<div class="col1pad">

<div class="col1">

<div id="maincol2">

<div class="maincol2-padding">

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

<div id="newsflash-bar" class="png">

<jdoc:include type="modules" name="newsflash" style="newsflash" /> </div> <?php endif; ?><?php $mClasses = modulesClasses('case0'); if ($this->countModules('feature') or $this->countModules('feature2') or $this->countModules('feature3')) : ?>

<div id="featuremodules" class="spacer<?php echo $featuremod_width; ?> png"> <?php if ($this->countModules('feature')) : ?>

<div class="block <?php echo $mClasses['feature'][0]; ?> png">

<jdoc:include type="modules" name="feature" style="feature" /> </div>

<?php endif; ?> <?php if ($this->countModules('feature2')) : ?>

<div class="block <?php echo $mClasses['feature2'][0]; ?> png">

<jdoc:include type="modules" name="feature2" style="feature" /> </div>

<?php endif; ?>

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

<div class="block <?php echo $mClasses['feature3'][0]; ?> png">

<jdoc:include type="modules" name="feature3" style="feature" />

</div>

<?php endif; ?>

</div>

<?php endif; ?>

<div id="maincontent-tm" class="png"><div id="maincontent-tl" class="png"><div id="maincontent-tr" class="png"></div></div></div>

<div id="maincontent-m" class="png"><div id="maincontent-l" class="png"><div id="maincontent-r" class="png"><div id="maincontent-surround" class="png"><?php if ($this->countModules('breadcrumb')) : ?>

<div id="breadcrumbs">

<a href="<?php echo $this->baseurl; ?>" id="breadcrumbs-home" class="png"></a> <jdoc:include type="modules" name="breadcrumb" style="none" /> </div> <?php endif; ?> <?php $mClasses = modulesClasses('case1'); if ($this->countModules('user1') or $this->countModules('user2') or $this->countModules('user3')) : ?> <div id="mainmodules" class="spacer<?php echo $mainmod_width; ?>">

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

<div class="block <?php echo $mClasses['user1'][0]; ?>">

<jdoc:include type="modules" name="user1" style="main" /> </div> <?php endif; ?> <?php if ($this->countModules('user2')) : ?> <div class="block <?php echo $mClasses['user2'][0]; ?>"> <jdoc:include type="modules" name="user2" style="main" /></div>

<?php endif; ?>

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

<div class="block <?php echo $mClasses['user3'][0]; ?>">

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

</div>

<?php endif; ?> </div> <?php endif; ?>

<div class="bodycontent">

<?php if ($this->countModules('inset2') and !$editmode) : ?>

<div id="inset-block-right"><div class="right-padding">

<jdoc:include type="modules" name="inset2" style="main" />

</div></div>

<?php endif; ?>

<?php if ($this->countModules('inset') and !$editmode) : ?> <div id="inset-block-left"><div class="left-padding">

<jdoc:include type="modules" name="inset" style="main" />

</div></div>

<?php endif; ?>

<div id="maincontent-block">

<jdoc:include type="message" />

<?php if (!($frontpage_component == 'hide' and JRequest::getVar('view') == 'frontpage')): ?>

<jdoc:include type="component" />

<?php endif; ?> </div>

</div><div class="clr"></div>

<?php $mClasses = modulesClasses('case2'); if ($this->countModules('user4') or $this->countModules('user5') or $this->countModules('user6')) : ?>

<div id="mainmodules2" class="spacer<?php echo $mainmod2_width; ?>"> <?php if ($this->countModules('user4')) : ?> <div class="block <?php echo $mClasses['user4'][0]; ?>"> <jdoc:include type="modules" name="user4" style="main" />

</div>

<?php endif; ?>

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

<div class="block <?php echo $mClasses['user5'][0]; ?>">

<jdoc:include type="modules" name="user5" style="main" />

</div>

<?php endif; ?> <?php if ($this->countModules('user6')) : ?>

<div class="block <?php echo $mClasses['user6'][0]; ?>">

<jdoc:include type="modules" name="user6" style="main" />

</div>

<?php endif; ?>

</div>

<?php endif; ?>

</div></div></div></div>

<div id="maincontent-bm" class="png"><div id="maincontent-bl" class="png"><div id="maincontent-br" class="png"></div></div></div> </div> </div>

</div> </div>

</div> <!--End col1wrap -->

<!--Begin col2 -->

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

<div class="col2">

<div id="leftcol">

<div id="leftcol-padding">

<?php if ($subnav and $splitmenu_col=="leftcol") : ?> <div class="sidenav-block"> <?php echo $subnav; ?> </div>

<?php endif; ?> <jdoc:include type="modules" name="left" style="sidebar" /> <?php if (!isset($active)) :?><jdoc:include type="modules" name="inactive" style="sidebar" /> <?php endif; ?>

</div>

</div>

</div>

<?php endif; ?>

<!---End col2 -->

<!--Begin col3 -->

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

<div class="col3">

<div id="rightcol">

<div id="rightcol-padding">

<?php if ($subnav and $splitmenu_col=="rightcol") : ?> <div class="sidenav-block"> <?php echo $subnav; ?> </div> <?php endif; ?> <jdoc:include type="modules" name="right" style="sidebar" /></div>

</div> </div>

<?php endif; ?>

<!--End col3-->

</div>

</div>

</div>

</div>

<!--End Main Content Block-->

</div>

</div>

</div>

<!--Begin Bottom Main Modules-->

<?php $mClasses = modulesClasses('case3'); if ($this->countModules('user7') or $this->countModules('user8') or $this->countModules('user9')) : ?><div class="wrapper">

<div id="bottom-main">

<div id="mainmodules3" class="spacer<?php echo $mainmod3_width; ?>">

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

<div class="block <?php echo $mClasses['user7'][0]; ?>">

<jdoc:include type="modules" name="user7" style="sidebar" />

</div>

<?php endif; ?>

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

<div class="block <?php echo $mClasses['user8'][0]; ?>">

<jdoc:include type="modules" name="user8" style="sidebar" />

</div>

<?php endif; ?>

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

<div class="block <?php echo $mClasses['user9'][0]; ?>">

<jdoc:include type="modules" name="user9" style="sidebar" />

</div>

<?php endif; ?>

</div>

</div>

</div>

<?php endif; ?>

<!--End Bottom Main Modules-->

</div></div>

</div>

<!--End Main Body-->

<!--Begin Bottom Section-->

<?php $mClasses = modulesClasses('case4'); if ($this->countModules('bottom') or $this->countModules('bottom2') or $this->countModules('bottom3')) : ?>

<div class="wrapper">

<div id="bottom-border-top" class="png"></div>

<div id="bottom" class="png"><div id="bottom2" class="png">

<div id="bottom3" class="png"><div id="bottom4" class="png">

<div id="mainmodules4" class="spacer<?php echo $mainmod4_width; ?>">

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

<div class="block <?php echo $mClasses['bottom'][0]; ?>">

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

</div>

<?php endif; ?>

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

<div class="block <?php echo $mClasses['bottom2'][0]; ?>">

<jdoc:include type="modules" name="bottom2" style="bottom" />

</div>

<?php endif; ?>

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

<div class="block <?php echo $mClasses['bottom3'][0]; ?>">

<jdoc:include type="modules" name="bottom3" style="bottom" />

</div>

<?php endif; ?>

</div>

</div></div></div></div>

<div id="bottom-border-bottom" class="png"></div>

</div>

<?php endif; ?>

<!--End Bottom Section-->

<!--Begin Footer-->

<div id="footer">

<div class="wrapper">

<?php if ($show_copyright == "true") : ?>

<div class="copyright-block">

<a href="http://www.rockettheme.com/" title="<?php echo JText::_('ROCKETTHEME_JTC'); ?>" id="rocket" class="png"></a>

<div id="copyright">

&copy; <?php echo JText::_('COPYRIGHT'); ?>

</div>

</div>

<?php else: ?>

<div class="footer-mod">

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

</div>

<?php endif; ?>

<?php if ($show_topbutton == "true") : ?>

<div id="top-button"><a href="#" id="top-scroll" class="top-button-desc">

<?php echo JText::_('TOP'); ?></a></div>

<?php endif; ?>

</div>

</div>

<!--End Footer-->

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

<div id="debug-mod">

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

</div>

<?php endif; ?>

</body>

</html>


Додаток Б

Структурна схема веб- сайту

Головна сторінка Веб- сайту

Настройки Веб-сайта