Elxis CMS Forum

Ελληνικό Forum => Πρόσθετα => Topic started by: intefix on June 25, 2010, 12:50:55

Title: ks-net tmpl χάνω το περιεχόμενο της αριστερής στήλης...
Post by: intefix on June 25, 2010, 12:50:55
Έβαλα στη αριστερή στήλη σε ένα μενου ένα λινκ σε αυτόνομη σελίδα που δείχνει ένα script καιρού http://www.dimos-nestoros.gr/weather.html (http://www.dimos-nestoros.gr/weather.html) κάποια πατάτα θάχω κάνει πάλι...ο κώδικας του index
Code: [Select]
<?php 
/**
* @version: 1.0
* @copyright: Copyright (C) 2009 ks-net.gr. All rights reserved.
* @package: Elxis
* @subpackage: Templates / Eros
* @author: Kostas stathopoulos (ks-net)
* @link: http://www.ks-net.gr
* @email: info@ks-net.gr
* @description: Ks-Eros template for Elxis 2008.x/2009.x created by Kostas stathopoulos (ks-net).
* @license: http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Elxis CMS is a Free Software
*/

defined( &#39;_VALID_MOS&#39; ) or die( &#39;Direct Access to this location is not allowed.&#39; );

$iso explode( &#39;=&#39;, _ISO );
echo &#39;<?xml version="1.0" encoding="&#39;.$iso[1].&#39;"?&#39; .&#39;>&#39;._LEND;
?>

<!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" lang="<?php echo _LANGUAGE?>" xml:lang="<?php echo _LANGUAGE?>"<?php echo (_GEM_RTL) ? &#39; dir="rtl"&#39; : &#39;&#39;; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO?>" />
<?php mosShowHead(); ?>
<link href="<?php echo $mainframe->getCfg(&#39;live_site&#39;); ?>/templates/ks-eros/css/template_css<?php echo (_GEM_RTL) ? &#39;-rtl&#39; : &#39;&#39;; ?>.css" rel="stylesheet" type="text/css" media="all" />
<?php if ( $my->id ) { initEditor(); } ?>

<!--REMOVE THIS COMMENT TO ENABLE LYTEBOX-->
<link  href="<?php echo $mainframe->getCfg(&#39;live_site&#39;); ?>/templates/ks-eros/lytebox/lytebox.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="<?php echo $mainframe->getCfg(&#39;live_site&#39;); ?>/templates/ks-eros/lytebox/lytebox.js"></script>

<!--Εναλασόμενα φλας στο header -->
<!--
<script language="JavaScript">
var flashnumber =  4;
var randomnumber = Math.random() ;
var rand1 = Math.round( (flashnumber-1) * randomnumber) + 1 ;
flashes = new Array
flashes[1] = "http://www.dimos-nestoros.gr/flashes/1.swf"
flashes[2] = "2.swf"
flashes[3] = "3.swf"
flashes[4] = "4.swf"
var flash = flashes[rand1]
</script>
<script language="JavaScript">
document.write('<center>');
document.write('<embed src="' + flash + '" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1600" height="75"></embed>');
document.write('<param=movie value=wsmode>');
document.write('</center>');
</script>

-->

<!--Εκεί που λέει :
your_flash_width = Βάζουμε το πλάτος των flash όπου πρέπει να είναι και στα 4 το ίδιο.
your_flash_height= Βάζουμε το ύψος των flash όπου πρέπει να είναι και στα 4 το ίδιο.

Εκεί που πρέπει να δηλώνεις τα *.swf πρέπει να βάλεις ολόκληρη την url π.χ. : flashes[1] = http://www.your_domain.gr/flashes/1.swf κτλ.-->



<!--[if lt IE 7]>
    <style type="text/css" media="screen">
    #incol {width:100%;}
    .modfpg-container{width:98%;}
    #path, ul.mainlevel {margin-top:-3px;}
    </style>
<![endif]-->
</head>
<body<?php echo method_exists($mainframe, &#39;onLoad&#39;) ? $mainframe->onLoad() : &#39;&#39;; ?>>

<div id="lbg">
<div id="rbg">

<div id="header">
<?php mosLoadModules(&#39;topswf&#39;, -2); ?>

</div>
<!-- end header -->


<div id="nav">
<?php if (mosCountModules(&#39;top&#39;) > 0) { ?>
<div class="navigation">
<?php mosLoadModules(&#39;top&#39;, -2); ?>
</div>
<?php ?>
</div>
<!--<div id="path"><?php mospathway(); ?></div>-->
<div id="wrapper">
<?php if (mosCountModules(&#39;right&#39;) >= 1 OR mosCountModules(&#39;banner&#39;) >= 1 OR mosCountModules(&#39;newsflash&#39;) >= 1 OR mosCountModules(&#39;user4&#39;) >= 1 ) { ?>

<div id="content">

<?php } else { ?>


<div id="content_noright">


<?php ?>

<div id="incol">
<?php if (mosCountModules(&#39;newsflash&#39;) > 0 ) { ?>
<div id="newsflashes">
<?php mosLoadModules(&#39;newsflash&#39;, -2); ?>
</div>
<?php ?>
<?php if (mosCountModules(&#39;header&#39;) > 0) { ?>
<div id="position_top">
<?php mosLoadModules(&#39;header&#39;, -2); ?>
</div>
<?php ?>
<?php if ((mosCountModules(&#39;user1&#39;) > 0) OR (mosCountModules(&#39;user2&#39;) > 0)) { ?>
<div id="content_top_wrapper">
<div id="content_user1">
<?php mosLoadModules(&#39;user1&#39;, -2); ?>
</div>
<div id="content_user2">
<?php mosLoadModules(&#39;user2&#39;, -2); ?>
</div>
</div>
<?php ?>
<?php mosMainBody(); ?>
<?php if (mosCountModules(&#39;inset&#39;) > 0) { ?>
<div id="inset">
<?php mosLoadModules(&#39;inset&#39;, -2); ?>
</div>
<?php ?>
</div>
<!--incol end -->
</div>
<!--content else no right end -->


</div>
<!-- wrapper end -->
<?php if (mosCountModules(&#39;right&#39;) >= 1 OR mosCountModules(&#39;banner&#39;) >= 1 OR mosCountModules(&#39;newsflash&#39;) >= 1 OR mosCountModules(&#39;user4&#39;) >= 1 ) { ?>
<div id="rcol">
<div class="in">
<?php mosLoadModules(&#39;right&#39;, -2); ?>
<?php mosLoadModules(&#39;banner&#39;, -2); ?>
<?php mosLoadModules(&#39;newsflash&#39;, -2); ?>
<?php mosLoadModules(&#39;user4&#39;, -2); ?>
</div>
</div>
<?php ?>

<!-- rcol end -->

<div id="lcol">   
<div class="in">             
<?php mosLoadModules(&#39;user3&#39;, -2); ?>
<?php mosLoadModules(&#39;left&#39;, -2); ?>
<?php if (mosCountModules(&#39;banner&#39;) > 0) { ?>
<div align="center">
<?php mosLoadModules(&#39;banner&#39;, -2); ?>
</div>
<?php ?>
</div>
</div>
<!-- lcol end -->

<?php if (mosCountModules(&#39;bottom&#39;) > 0) { ?>
<div id="bottomwrap">
<?php mosLoadModules(&#39;bottom&#39;, -2); ?>
        </div>
    <?php ?>

<div id="footer">
<?php if ((mosCountModules(&#39;user4&#39;) > 0) OR (mosCountModules(&#39;user5&#39;) > 0) OR (mosCountModules(&#39;user6&#39;) > 0)) { ?>
<div id="moduser-footer">
<div class="footeruser">
<?php mosLoadModules(&#39;user4&#39;, -2); ?>
</div>
<div class="footeruser">
<?php mosLoadModules(&#39;user5&#39;, -2); ?>
</div>
</div>
<?php ?>
<?php if (mosCountModules(&#39;footer&#39;) > 0) { ?>
<div class="modfooter">
<?php mosLoadModules(&#39;footer&#39;, -2); ?>
</div>
<?php ?>

<?php include_once($mainframe->getCfg(&#39;absolute_path&#39;).&#39;/includes/footer.php&#39;); ?>
</div>
</div>
</div>
<!--bg columns -->
Ks-Eros elxis 2008.x, 2009.x template from kostas stathopoulos(ks-net) http://ks-net.gr
</body>
</html>
Title: Re: ks-net tmpl χάνω το περιεχόμενο της αριστερής στήλης...
Post by: intefix on June 26, 2010, 12:50:01
Αυτό γίνετε όποιο tmp χρησιμοποιήσω...Καμμιά βοήθεια στον αόματο...?