Back to top

Autore Topic: ja olyra  (Letto 7214 volte)

Offline Birra

  • Nuovo arrivato
  • *
  • Post: 5
    • Mostra profilo
ja olyra
« il: 02 Nov 2007, 07:25:56 »
ragazzi mi aiutate con un template?
ho installato ja olyra ma non vedo alcune parti del template
nella foto vedete il template completo da me invece mancano gli user 1-2-5-6 come posso metterli?
potete vedere il mio sito www.allgrain.net
vi posto la index del template forse il problema è li....
<?php
/*------------------------------------------------------------------------
# JA Olyra - Jul, 2007
# ------------------------------------------------------------------------
# Copyright (C) 2004-2007 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites:  http://www.joomlart.comhttp://www.joomlancers.com
-------------------------------------------------------------------------*/

defined( '_VALID_MOS' ) or die( 'Restricted access' );
$iso = split( '=', _ISO );
/*echo "<?xml version=\"1.0\" encoding=\"'. $iso[1] .'\"?' .'>";*/
global $ja_color_themes, $ja_header_images, $ja_width_default, $ja_color_default, $ja_font_size_default, $ja_tool, $ja_menutype, $ja_template_path, $ja_template_absolute_path, $ja_headerimg, $ja_color, $ja_width, $ja_font_size, $ja_template_name, $ja_header_toggle;

$ja_template_name = 'ja_olyra';

# BEGIN: TEMPLATE CONFIGURATIONS ##########
####################################
#support extra color themes
$ja_color_themes = array('default','blue','green'); // You can add more color array if needed
####################################
# Change the width of the template
$ja_width_default = 'wide'; // 'narrow': 800x600; 'wide': 1024x768; 'auto': fluid width
# default color
$ja_color_default = 'default'; //blank for default, else pick one of in extra color themes $ja_color_themes
#font size default
$ja_font_size_default = 3;
# Enable users option
$ja_tool = 7; // 0: disable all; 1: Screen tool; 2: font tool; 3: screen + font; 4: color tool; 5: screen + color; 6: font + color; 7: all;
# Choose your prefer Menu Type
$ja_menutype = 1; // 1: Split Menu; 2: Son of Suckerfish Dropdown Menu; 3: Transmenu;
# Enable Icon menu
$ja_iconmenu = 1;
# END: TEMPLATE CONFIGURATIONS ##########

# END: TEMPLATE CONFIGURATIONS ##########

# Define the template path ##########
$ja_template_path = $mosConfig_live_site.'/templates/'.$ja_template_name;
$ja_template_absolute_path = $mosConfig_absolute_path.'/templates/'.$ja_template_name;
include ($ja_template_absolute_path."/ja_templatetools.php");
include ($ja_template_absolute_path."/ja_module/ja_module_template.php");

$topnav = "";
$subnav = "";
if ($ja_menutype == 1) {
   require($ja_template_absolute_path."/ja_splitmenu.php");
   $topnav = ja_topNav('mainmenu', array('default'));
   $subnav = ja_subNav('mainmenu');
} else if ($ja_menutype == 4) {
   require($ja_template_absolute_path."/ja_scriptdlmenu.php");
   $topnav = $jamenu->menuObj->main;
   $subnav = $jamenu->menuObj->sub;
}

# Auto Collapse Divs Functions ##########
$ja_left = mosCountModules('left') || ($subnav);
$ja_right = mosCountModules('right');

if ( $ja_left && $ja_right ) {
   $divid = '';
   } elseif ( $ja_left ) {
   $divid = '-fr';
   } elseif ( $ja_right ) {
   $divid = '-fl';
   } else {
   $divid = '-f';
}

$msie='/msie\s(5\.[5-9]|[6]\.[0-9]*).*(win)/i';
$supported_browsers = !isset($_SERVER['HTTP_USER_AGENT']) ||
   !preg_match($msie,$_SERVER['HTTP_USER_AGENT']) ||
   preg_match('/opera/i',$_SERVER['HTTP_USER_AGENT']);

?>

<!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">

<head>
<?php mosShowHead(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link href="<?php echo $ja_template_path;?>/css/template_css.css" rel="stylesheet" type="text/css" />

<?php if ($ja_iconmenu) { ?>
<link href="<?php echo $ja_template_path;?>/ja_iconmenu/ja-iconmenu.css" rel="stylesheet" type="text/css" />
<?php } ?>

<script language="javascript" type="text/javascript" src="<?php echo $ja_template_path;?>/scripts/ja.script.js"></script>

<?php genMenuHead(); ?>

<?php if ( $my->id ) { initEditor(); } ?>

<!--[if lte IE 6]>
<style type="text/css">
.clearfix {   height: 1%;}
</style>
<![endif]-->

<!--[if gte IE 7.0]>
<style type="text/css">
.clearfix {   display: inline-block;}
</style>
<![endif]-->

<script type="text/javascript">
/*<![CDATA[*/
document.write ('<style type="text\/css">.ja-tab-content{display: none;}\n#ja-hpwrap{height:0;overflow:hidden;visibility:hidden;}<\/style>');
/*]]>*/
</script>

<link href="<?php echo $ja_template_path;?>/css/colors/<?php echo $ja_color; ?>.css" rel="stylesheet" type="text/css" />

</head>

<body id="bd" class="<?php echo "$ja_width fs".$ja_font_size;?>">

<ul class="accessibility">
   <li><a href="<?php echo getCurrentURL();?>#ja-content" title="Skip to content">Skip to content[/url]</li>
   <li><a href="<?php echo getCurrentURL();?>#ja-col1" title="">Skip to 1st column[/url]</li>
   <li><a href="<?php echo getCurrentURL();?>#ja-col2" title="">Skip to 2nd column[/url]</li>
</ul>

<div id="ja-wrapper">
<a name="Top" id="Top">[/url]

<!-- BEGIN: MAIN NAVIGATION -->
<div id="ja-mainnavwrap" class="clearfix">

  <div id="ja-mainnav">
      <?php
         switch ($ja_menutype) {
            case 1: echo $topnav;
            break;
            case 2:
               echo "<div class=\"sfmenu-inner\">";
               include($ja_template_absolute_path."/ja_cssmenu.php");
               echo "</div>";
            break;
            case 3:
               echo "<div class=\"transmenu-inner\">";
               include($ja_template_absolute_path."/ja_transmenu.php");
               echo "</div>";
            break;
         }
      ?>
   </div>

</div>
<!-- END: MAIN NAVIGATION -->

<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
   <div id="ja-header" class="clearfix">

      <h1>
         <a href="index.php">
            <?php echo $mosConfig_sitename?>
         [/url]
      </h1>

      <?php if ($ja_iconmenu) { ?>
      <div id="ja-topnav"><div class="w1"><div class="w2"><div class="w3 clearfix">
         <?php include($ja_template_absolute_path."/ja_iconmenu.php"); ?>
      </div></div></div></div>
      <?php } ?>

   </div>
</div>
<div class="clr">&nbsp;</div>
<!-- END: HEADER -->


<?php
  $spotlight_left = (mosCountModules('user1') || mosCountModules('user2') || mosCountModules('user5'));
 
  if ($spotlight_left && mosCountModules('user6')) {
?>
<!-- BEGIN: TOPSPOTLIGHT -->
<div id="ja-topslwrap" class="clearfix">
  <div id="ja-topsl">

    <?php
    $spotlight = array ('user1','user2','user5');
    $topsl = calSpotlight ($spotlight);
    if( $topsl ) {
    ?>
    <div id="ja-topsl-leftwrap">
      <div class="innerpad">
        <div id="ja-topsl-head">
          Highlight
        </div>

        <div id="ja-topsl-left">
        <div class="wrap1"><div class="wrap2"><div class="wrap3 clearfix">
          <?php if( mosCountModules('user1') ) {?>
           <div class="ja-box<?php echo $topsl['modules']['user1']; ?>" style="width: <?php echo $topsl['width']; ?>;">
             <?php mosLoadModules('user1', -2); ?>
           </div>
           <?php } ?>
     
           <?php if( mosCountModules('user2') ) {?>
           <div class="ja-box<?php echo $topsl['modules']['user2']; ?>" style="width: <?php echo $topsl['width']; ?>;">
             <?php mosLoadModules('user2', -2); ?>
           </div>
           <?php } ?>
     
           <?php if( mosCountModules('user5') ) {?>
           <div class="ja-box<?php echo $topsl['modules']['user5']; ?>" style="width: <?php echo $topsl['width']; ?>;">
             <?php mosLoadModules('user5', -2); ?>
           </div>
           <?php } ?>
         </div></div></div>
        </div> 
      </div>
    </div>
    <?php } ?>
   
    <?php if ( mosCountModules('user6') ) { ?>
    <div id="ja-topsl-right">
      <div class="innerpad">
      <?php mosLoadModules('user6', -3); ?>
      </div>
    </div>
    <?php } ?>
   
  </div>
</div>
<!-- END: TOPSPOTLIGHT -->
<?php } ?>

<div id="ja-containerwrap">
   <div id="ja-container" class="clearfix">

      <!-- BEGIN: CONTENT -->
      <div id="ja-mainbody<?php echo $divid; ?>">
      <div id="ja-book-tl" class="clearfix"><div id="ja-book-bl" class="clearfix">

        <div id="ja-contentwrap" class="clearfix">
           <div id="ja-content">

             <?php if ($option != 'com_frontpage') {?>
               <div id="ja-pathway">
                  <?php mosPathway(); ?>
               </div><div class="clr"></div>
               <?php } ?>         

              <?php mosMainBody(); ?>
              <?php if ( mosCountModules('banner') ) { ?>
              <div id="ja-banner">
                 <?php   echo mosLoadModules ( 'banner',-1 ); ?>
              </div>
              <?php } ?>
 
           </div>
        </div>
        
        <?php if ($ja_left) { ?>
          <!-- BEGIN: LEFT COLUMN -->
          <div id="ja-col1">
            <div class="innerpad">
            <?php if ($subnav) { ?>
             <div id="ja-subnav" class="moduletable">
                <h3><?php echo $menuname; ?></h3>
                <?php echo $subnav; ?>
             </div>
             <?php } ?>
           
             <?php   echo mosLoadModules ( 'left',-2 );?>
             </div>
          </div>
          <!-- END: LEFT COLUMN -->
        <?php } ?>
        
       </div></div>
      </div>
     <!-- END: CONTENT -->
 
      <?php if ($ja_right) { ?>
        <!-- BEGIN: RIGHT COLUMN -->
        <div id="ja-col2">
          <div class="innerpad">
            <?php   echo mosLoadModules ( 'right',-3 ); ?>
            </div>
        </div>
        <!-- END: RIGHT COLUMN -->
      <?php } ?>
   </div>
</div>

<!-- BEGIN: FOOTER -->
<div id="ja-footerwrap">
   <div id="ja-footer" class="clearfix">
   
     <small>
         <?php include_once( $ja_template_absolute_path.'/footer.php' ); ?>
      </small>
      
    <div id="ja-cert">
    <a href="<?php echo $mosConfig_live_site ?>/index.php?option=com_rss&amp;feed=RSS2.0&amp;no_html=1" target="_blank" title="RSS 2.0" style="text-decoration: none;">
      <img src="<?php echo $ja_template_path;?>/images/<?php echo $ja_color; ?>/but-rss.gif" alt="RSS 2.0" />
    [/url]
      <?php if ($ja_menutype != 3 ) { ?>
      <a href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo $mosConfig_live_site;?>" target="_blank" title="Our site is valid CSS" style="text-decoration: none;">
         <img src="<?php echo $ja_template_path;?>/images/<?php echo $ja_color; ?>/but-css.gif" alt="Our site is valid CSS" />
      [/url]
      <?php } ?>
      <a href="http://validator.w3.org/check/referer" target="_blank" title="Our site is valid XHTML 1.0 Transitional" style="text-decoration: none;">
         <img src="<?php echo $ja_template_path;?>/images/<?php echo $ja_color; ?>/but-xhtml10.gif" alt="Our site is valid XHTML 1.0 Transitional" />
      [/url]
   </div><div class="clr"></div>

   </div>
</div>
<!-- END: FOOTER -->


</div>

<!-- BEGIN: USER TOOLS -->
<script type="text/javascript">
/* <![CDATA[ */
  tool_height = 0;
  tool_done = 1;
  tool_timeoutid = 0;
  change_value = 20;
  tool_change = 0;
  tool_interval = 20;
  var tool_elem;

  function tool_init () {
     tool_elem = document.getElementById ('ja-usertools');
  }

  function doopen() {
   tool_change = change_value;
   tool_timeoutid = setTimeout ("doanim()", 30);
  }

  function doclose() {
   tool_change = -change_value;
   tool_timeoutid = setTimeout ("doanim()", 30);
  }

  function doanim() {
   if (tool_timeoutid)
   {
      clearTimeout (tool_timeoutid);
   }
   
   tool_height += tool_change;
   tool_done = 0;
   if (tool_change > 0)
   {
      if (tool_height > tool_elem.scrollHeight) {
         tool_height = tool_elem.scrollHeight;
         tool_done = 1;
      }
   } else {
      if (tool_height < 0) {
         tool_height = 0;
         tool_done = 1;
      }
   }
   tool_elem.style.height = tool_height + "px";
   if (!tool_done)
   {
      tool_timeoutid = setTimeout ("doanim()", tool_interval);
      tool_done = 1;
   }
  }

   jaAddEvent (window, 'load', tool_init);
/* ]]> */
</script>

<?php if ($ja_tool) {
   if ($supported_browsers) {
      echo "<div id=\"jausertoolswrap\" style=\"position: fixed; bottom: 15px; right: 15px;\">";
   } else {
      ?>
      <div id="jausertoolswrap" style="position: absolute; top: expression( ( -15 - jausertoolswrap.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' ); right: 15px;">
      <?php
   }
?>
      <div style="position:relative;display:block;" onmouseover="doopen()" onmouseout="doclose()">
      <span class="ja-sitetool">
  • </span>

      <div id="ja-usertools">
         <?php genToolMenu($ja_tool); ?>
      </div>
      </div>
   </div>
<?php } ?>
<!-- END: USER TOOLS -->

<?php mosLoadModules( 'debug', -1 );?>
</body>

</html>

Offline ste

  • Instancabile
  • ******
  • Post: 8774
  • Sesso: Femmina
    • Mostra profilo
Re: ja olyra
« Risposta #1 il: 02 Nov 2007, 11:13:06 »
Ciao Birra, si tratta di un template a pagamento, in queso forum non trattiamo estensioni commerciali, chiedi supporto allo sviluppatore ;)
TTI - Team Traduzione Italiano di Joomla.it - Guide su Joomla

Offline Birra

  • Nuovo arrivato
  • *
  • Post: 5
    • Mostra profilo
Re: ja olyra
« Risposta #2 il: 02 Nov 2007, 11:32:23 »
il forum è in inglese ed io non ci capisco
va be fa lostesso grazie

 



Web Design Bolzano Kreatif