Pozdrav, radim stranicu za jednu tvrtku, i uradio sam sve, medjutim imam problem da mi javlja neke greske... Pokusajte otvoriti limorad.com, na firefoxu je sve ok, medjutim explorer javlja neke greske u index.php kojeg vam saljem...
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
?>
<!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(); ?>
<?php if ( $my->id ) { initEditor(); }
// ***************************************************
// Change this variable below to configure the template
// ***************************************************
$menu_type = "suckerfish"; // suckerfish | module
$menu_name = "mainmenu"; // mainmenu by default, can be any Joomla menu name
$use_instantsearch = "yes"; // Use Instant Search yes | no
$use_colorswitcher = "no"; // Show Color Switcher: yes | no
//** If no, then what would you like the default color to be?
$default_color = "blue"; // Default Color: blue | red | green | pink | orange
$show_fontresizer = "yes"; // Show Font Resizer: yes | no
//** If no, then what would you like the default font size to be?
$default_fontsize = "largeText"; // Default Font Size: mediumText | largeText | xLargeText
$show_sidebarswitcher = "yes"; // Show Sidebar Switch: yes | no
//** If no, which side should the sidebar be displayed on?
$default_sidebarposition = "left"; // Sidebar Position: left | right
$show_widthresizer = "yes"; // Show Width Resizer: yes | no
//** If no, what should the default width be?
$default_width = "narrow"; // Default Width: narrow | wide
$show_sifr = "no"; // Show SiFR: yes | no
//** If no, would you like it on by default?
$default_sifr = "no"; // Default SiFR: yes | no
$show_helpicon = "no"; // Display Help icon: yes | no
$show_optionstoggle = "yes"; // Show Options Toggle: yes | no
$show_displayoptions = "yes"; // Show Display Options: yes | no
// *************************************************
[color=red]$style_color = $_COOKIE["style_color"] ? $_COOKIE["style_color"] : $default_color;
$style_size = $_COOKIE["style_size"] ? $_COOKIE["style_size"] : $default_width;
$font_size = $_COOKIE["font_size"] ? $_COOKIE["font_size"] : $default_fontsize;
$style_sidebar = $_COOKIE["style_sidebar"] ? $_COOKIE["style_sidebar"] : $default_sidebarposition;
if ($default_sifr == "yes") {
$sifr_status = $_COOKIE["sifr_status"] ? $_COOKIE["sifr_status"] : "sIFROn";
} else {
$sifr_status = $_COOKIE["sifr_status"] ? $_COOKIE["sifr_status"] : "sIFROff";
}[/color]
if ($menu_type != "module") {
require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/jj_" . $menu_type . ".php");
}
// *************************************************
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/print.css" rel="stylesheet" type="text/css" media="print" />
<!--[if IE]>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 7]>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/sIFR-print.css" type="text/css" media="print" />
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/jquery.absolute-v2.js"></script>
<script type="text/javascript" language="javascript">
function JJDynamicColors(default_color){
/***************************************
Color Specific CSS:
- Header
- Pathway Bar
- Search BG
- Links
- Inset Boxes
- Module Headers
- Footer
***************************************/
var _JJ_moduletable_bg = {blue:"#3AAEFE", red:"#CC3300", green:"#799C0A", pink:"#FF8DB4", orange:"#F18B00"};
var _JJ_color_style = readCookie("style_color");
if (!_JJ_color_style) {
_JJ_color_style = default_color;
}
/* Headers */
jQuery("body."+_JJ_color_style+" #header").css({ background: "#eee url(<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/"+_JJ_color_style+"/header.png) top left no-repeat" });
/* Pathway Bar */
jQuery("body."+_JJ_color_style+" #sitePath").css({ background: "url(<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/"+_JJ_color_style+"/sub-bar.jpg) repeat-x" });
/* Module Headers */
jQuery("body."+_JJ_color_style+" #sidebar .moduletable h3, body."+_JJ_color_style+" #sidebar .moduletable-login h3").css({ background: _JJ_moduletable_bg[_JJ_color_style]+" url(<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/"+_JJ_color_style+"/moduleheader-left.png) no-repeat right center" });
/* Search BG */
jQuery("body."+_JJ_color_style+" #searchBox input").css({ background: "transparent url(<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/"+_JJ_color_style+"/search-bg.jpg) no-repeat" });
/* Footer */
jQuery("body."+_JJ_color_style+" #footer").css({ background: _JJ_color_style+" url(<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/"+_JJ_color_style+"/footer-bg.jpg) repeat-x" });
/* Inset Boxes */
jQuery("body."+_JJ_color_style+" #inset .moduletable").css({ background:"#fff url(<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/images/"+_JJ_color_style+"/inset-bg.jpg) repeat-x" });
}
jQuery(function(){
<?php if ($use_colorswitcher == "no") { ?>
eraseCookie('style_color');
createCookie('style_color', '<?php echo $default_color; ?>', 365);
<?php } ?>
JJDynamicColors('<?php echo $default_color; ?>');
});
jQuery(document).ready(function() {
jQuery("a.help-link").toggle(function() {
jQuery(".helpWrap").animate({
height: 'show',
opacity: 'show'
}, 'slow');
}, function() {
jQuery(".helpWrap").animate({
height: 'hide',
opacity: 'hide'
}, 'slow');
});
});
</script>
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
<?php if ( mosCountModules( 'left' ) <= 0) { ?>
<style type="text/css">
#wrapper #main {background:none;}
#wrapper #content {float:none;width:760px;}
body.wide #wrapper #content {float:none;width:980px;}
#wrapper #main div.padding{padding:20px;background-image:none;}
#wrapper #main { background: transparent none!important; }
</style>
<?php } ?>
</head>
<body style="display:none;" class="<?php echo trim(sprintf("%s %s %s %s %s", $style_color, $style_size, $font_size, $style_sidebar, $sifr_status));
?>">
<div id="wrapper">
<div id="options-wrap">
<?php if ($show_displayoptions == "yes") { ?>
<div id="displayOptions">
<h3>Display Options</h3>
<?php if ($use_colorswitcher == "yes") { ?>
<h4>Color Options</h4>
<ul id="color-scheme" class="menu horizontal clearfix">
<li><a href="#" rel="blue" id="colorBlue" class="styleswitch active-option" title="Blue Theme">Switch to blue color scheme</a></li>
<li><a href="#" rel="red" id="colorRed" class="styleswitch" title="Red Theme">Switch to red color scheme</a></li>
<li><a href="#" rel="green" id="colorGreen" class="styleswitch" title="Green Theme">Switch to green color scheme</a></li>
<li><a href="#" rel="pink" id="colorPink" class="styleswitch" title="Pink Theme">Switch to pink color scheme</a></li>
<li><a href="#" rel="orange" id="colorOrange" class="styleswitch" title="Orange Theme">Switch to yellow color scheme</a></li>
</ul>
<div class="optionsDivider"></div>
<?php } ?>
<?php if ($show_fontresizer == "yes") { ?>
<h4>Text Size</h4>
<ul id="text-size" class="menu horizontal clearfix">
<li><a href="#" rel="mediumText" id="textMedium" class="fontswitch active-option" title="Medium Font Size (Default)">Medium Font Size (Default)</a></li>
<li><a href="#" rel="largeText" id="textLarge" class="fontswitch" title="Large Font Size">Large Font Size</a></li>
<li><a href="#" rel="xLargeText" id="textXLarge" class="fontswitch" title="X-Large Font Size">X-Large Font Size</a></li>
</ul>
<div class="optionsDivider"></div>
<?php } ?>
<?php if ($show_sidebarswitcher == "yes") { ?>
<h4>Sidebar Postion</h4>
<ul id="sidebar-position" class="menu horizontal clearfix">
<li><a href="#" rel="left" id="sidebarLeft" class="sidebarswitch active-option" title="Sidebar Left">Sidebar Left</a></li>
<li><a href="#" rel="right" id="sidebarRight" class="sidebarswitch" title="Sidebar Right">Sidebar Right</a></li>
</ul>
<div class="optionsDivider"></div>
<?php } ?>
<?php if ($show_widthresizer == "yes") { ?>
<h4>Layout</h4>
<ul id="navigation-position" class="menu horizontal clearfix">
<li><a href="#" rel="narrow" id="widthNarrow" class="sizeswitch active-option" title="800px Width">800px Width</a></li>
<li><a href="#" rel="wide" id="widthWide" class="sizeswitch" title="1000px Width">1000px Width</a></li>
</ul>
<div class="optionsDivider"></div>
<?php } ?>
<?php if ($show_sifr == "yes") { ?>
<h4>Typography Rendering</h4>
<ul id="typography-rendering" class="menu horizontal clearfix">
<li><a href="#" rel="sIFROn" id="renderingOn" class="sfirswitch" title="Fancy Fonts">With Rendering</a></li>
<li><a href="#" rel="sIFROff" id="renderingOff" class="sfirswitch active-option" title="Browser Fonts">Without Rendering</a></li>
</ul>
<?php } ?>
</div>
<?php if ($show_helpicon == "yes") { ?>
<a href="#" class="help-link">Help</a>
<?php } ?>
<?php } ?>
</div>
<div id="header">
<?php if(mosCountModules('header')) { ?>
<?php mosLoadModules('header',-2); ?>
<?php } ?>
<?php if ($show_helpicon == "yes") { ?>
<div class="helpWrap">
<div class="help-contents">
<h3>Display Options Help</h3>
<ul>
<li class="help-blue">Blue Theme</li>
<li class="help-red">Red Theme</li>
<li class="help-green">Green Theme</li>
<li class="help-pink">Pink Theme</li>
<li class="help-yellow">Yellow Theme</li>
</ul>
<ul>
<li class="help-narrow">800px Width</li>
<li class="help-wide">1000px Width</li>
<li class="help-sidebar">Sidebar Position</li>
<li class="help-text">Adjust Text Size</li>
<li class="help-sifr">Fancy Type Toggle</li>
</ul>
</div>
</div>
<?php } ?>
</div>
<div id="nav">
<?php if ($menu_type == "suckerfish") mosShowSuckerFishMenu($menu_name); ?>
<?php if ($show_optionstoggle == "yes") { ?>
<div id="toggleoptions" style="cursor:hand;cursor:pointer;">Display Options</div>
<?php } ?>
</div>
<div id="sitePath">
<?php mosPathWay(); ?>
<div id="searchBox">
<?php if ( $use_instantsearch == 'yes') {
include('templates/jj_absolute_redux/mod_jxcorelivesearch.php');
} else {
include('modules/mod_search.php');
}
?>
</div>
</div>
<div id="main">
<div id="content">
<div class="padding">
<?php if(mosCountModules('top')) { ?>
<div id="inset">
<?php mosLoadModules('top',-2); ?>
</div>
<?php } ?>
<?php if(mosCountModules('user1') || mosCountModules('user2') ) { ?>
<table cellspacing="10" cellpadding="0" class="newsboxes">
<tr valign="top">
<?php if(mosCountModules('user1')) { ?>
<td class="newsLeft"><?php mosLoadModules('user1', -2); ?></td>
<?php } ?>
<?php if(mosCountModules('user2')) { ?>
<td class="newsRight"><?php mosLoadModules('user2', -2); ?></td>
<?php } ?>
</tr>
</table>
<?php } ?>
<?php mosMainBody(); ?>
<?php if(mosCountModules('user6')) { ?>
<div id="bottomInset">
<?php mosLoadModules('user6', -1); ?>
</div>
<?php } ?>
</div>
</div>
<?php if(mosCountModules('left')) { ?>
<div id="sidebar">
<?php mosLoadModules('left',-2); ?>
<?php mosLoadModules('user5',-2); ?>
</div>
<?php } ?>
<br clear="all" />
</div>
<div id="footer">
<div id="credits">
Template adapted by <a href="http://www.zdici.com" title="zdici.com">zdici.com</a><br />
</div>
<?php if (mosCountModules('footer')>0) mosLoadModules('footer',-1); ?>
</div>
</div>
</body>
</html>
Linije koda za koje javlja greske sam obojio u crveno