<?php
/**
* @package yoo_studio Template
* @file index.php
* @version 1.5.2 June 2010
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) 2007 - 2010 YOOtheme GmbH
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
JHTML::_('behavior.mootools');
// include config
include_once(dirname(__FILE__).'/config.php');
$doc = JFactory::getDocument();
$tplurl = JURI::base().'templates/'.$doc->template;
?>
<!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>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" />
<script type="text/javascript" src="http://sk.lang-tutor.com/info-block.js"></script>
<script type="text/javascript" src="http://sk.lang-tutor.com/faq.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<link rel="stylesheet" href="<?php echo $tplurl; ?>/style/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
<script type="text/javascript" src="<?php echo $tplurl; ?>/js/jquery.fancybox-1.3.4.pack.js"></script>
<jdoc:include type="head" />
<link rel="apple-touch-icon" href="<?php echo $template->url ?>/apple_touch_icon.png" />
<meta name='yandex-verification' content='5ce3924672b838ff' />
<meta name="cmsmagazine" content="fb628f3d20f491dbd1427a74b3197d19" />
<meta name="google-site-verification" content="dQUgVM_BabFgUhU2myzqiRnBBMmz442_3yj-watSTos" />
<script>
$(function() {
$( "#accordion1" ).accordion({
heightStyle: "content",
active: "false",
collapsible: "true"
});
});
$(function(){
$("#ui-accordion-accordion1-header-4").remove();
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27215134-1']);
var OpenStatParser = {
_params: {},
_parsed: false,
_decode64: function(data) {
if (typeof window['atob'] === 'function') {
return atob(data);
}
var b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var o1, o2, o3, h1, h2, h3, h4, bits, i = 0,
ac = 0,
dec = "",
tmp_arr = [];
if (!data) {
return data;
}
data += '';
do {
h1 = b64.indexOf(data.charAt(i++));
h2 = b64.indexOf(data.charAt(i++));
h3 = b64.indexOf(data.charAt(i++));
h4 = b64.indexOf(data.charAt(i++));
bits = h1 << 18 | h2 << 12 | h3 << 6 | h4;
o1 = bits >> 16 & 0xff;
o2 = bits >> 8 & 0xff;
o3 = bits & 0xff;
if (h3 == 64) {
tmp_arr[ac++] = String.fromCharCode(o1);
} else if (h4 == 64) {
tmp_arr[ac++] = String.fromCharCode(o1, o2);
} else {
tmp_arr[ac++] = String.fromCharCode(o1, o2, o3);
}
} while (i < data.length);
dec = tmp_arr.join('');
return dec;
},
_parse: function() {
var prmstr = window.location.search.substr(1);
var prmarr = prmstr.split('&');
this._params = {};
for (var i = 0; i < prmarr.length; i++) {
var tmparr = prmarr[i].split('=');
this._params[tmparr[0]] = tmparr[1];
}
this._parsed = true;
},
hasMarker: function() {
if (!this._parsed) {
this._parse();
}
return (typeof this._params['_openstat'] !== 'undefined')? true : false;
},
buildCampaignParams: function() {
if (!this.hasMarker()) {
return false;
}
var openstat = this._decode64(this._params['_openstat']);
var statarr = openstat.split(';');
return 'utm_campaign=' + statarr[3] + '&utm_source=' + statarr[0] + '&utm_medium=cpc&utm_content=' + statarr[2];
}
}
if (OpenStatParser.hasMarker()) {
var campaignParams = OpenStatParser.buildCampaignParams();
if (campaignParams !== false) {
_gaq.push(['_set', 'campaignParams', campaignParams]);
}
}
_gaq.push(['_addOrganic', 'images.yandex.ru', 'text']);
_gaq.push(['_addOrganic', 'blogs.yandex.ru', 'text']);
_gaq.push(['_addOrganic', 'video.yandex.ru', 'text']);
_gaq.push(['_addOrganic', 'yandex.ru', 'query']);
_gaq.push(['_addOrganic', 'go.mail.ru', 'q']);
_gaq.push(['_addOrganic', 'mail.ru', 'q']);
_gaq.push(['_addOrganic', 'images.google.ru', 'q']);
_gaq.push(['_addOrganic', 'maps.google.ru', 'q']);
_gaq.push(['_addOrganic', 'google.com.ua', 'q']);
_gaq.push(['_addOrganic', 'rambler.ru', 'words']);
_gaq.push(['_addOrganic', 'nova.rambler.ru', 'query']);
_gaq.push(['_addOrganic', 'nova.rambler.ru', 'words']);
_gaq.push(['_addOrganic', 'gogo.ru', 'q']);
_gaq.push(['_addOrganic', 'nigma.ru', 's']);
_gaq.push(['_addOrganic', 'search.qip.ru', 'query']);
_gaq.push(['_addOrganic', 'webalta.ru', 'q']);
_gaq.push(['_addOrganic', 'sm.aport.ru', 'r']);
_gaq.push(['_addOrganic', 'meta.ua', 'q']);
_gaq.push(['_addOrganic', 'search.bigmir.net', 'z']);
_gaq.push(['_addOrganic', 'search.i.ua', 'q']);
_gaq.push(['_addOrganic', 'index.online.ua', 'q']);
_gaq.push(['_addOrganic', 'web20.a.ua', 'query']);
_gaq.push(['_addOrganic', 'search.ukr.net', 'q']);
_gaq.push(['_addOrganic', 'search.ukr.net', 'search_query']);
_gaq.push(['_addOrganic', 'search.com.ua', 'q']);
_gaq.push(['_addOrganic', 'search.ua', 'q']);
_gaq.push(['_addOrganic', 'poisk.ru', 'text']);
_gaq.push(['_addOrganic', 'go.km.ru', 'sq']);
_gaq.push(['_addOrganic', 'liveinternet.ru', 'ask']);
_gaq.push(['_addOrganic', 'gde.ru', 'keywords']);
_gaq.push(['_addOrganic', 'affiliates.quintura.com', 'request']);
_gaq.push(['_addOrganic', 'akavita.by', 'z']);
_gaq.push(['_addOrganic', 'search.tut.by', 'query']);
_gaq.push(['_addOrganic', 'all.by', 'query']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
$(document).ready(function() {
jQuery.noConflict();
jQuery(".fancybox").fancybox({
maxWidth : 600,
maxHeight : 400,
fitToView : false,
width : '70%',
height : '70%',
autoSize : false,
closeClick : false,
openEffect : 'none',
closeEffect : 'none'
});
});
</script>
</head>
<body id="page" class="yoopage <?php echo $this->params->get('columns'); ?> <?php echo $this->params->get('itemcolor'); ?> <?php echo $this->params->get('toolscolor'); ?>">
<?php if($this->countModules('absolute')) : ?>
<div id="absolute">
<jdoc:include type="yoomodules" name="absolute" />
</div>
<?php endif; ?>
<div id="page-body">
<div class="page-body-img">
<div class="wrapper">
<div id="header">
<div id="toolbar">
<?php if($this->params->get('date')) : ?>
<div id="date">
<div class="module mod-toolbar"><div class="box-1"><div class="box-2"><div class="box-3 deepest">
<?php echo JHTML::_('date', 'now', JText::_('DATE_FORMAT_LC'))?>
</div></div></div></div>
</div>
<?php endif; ?>
<?php if($this->countModules('toolbarleft')) : ?>
<div class="left">
<jdoc:include type="yoomodules" name="toolbarleft" style="yoo" />
</div>
<?php endif; ?>
<?php if($this->countModules('toolbarright')) : ?>
<div class="right">
<jdoc:include type="yoomodules" name="toolbarright" style="yoo" />
</div>
<?php endif; ?>
</div>
<div id="headerbar">
<?php if($this->countModules('headerleft')) : ?>
<div class="left">
<jdoc:include type="yoomodules" name="headerleft" style="yoo" />
</div>
<?php endif; ?>
<?php if($this->countModules('headerright')) : ?>
<div class="right">
<jdoc:include type="yoomodules" name="headerright" style="yoo" />
</div>
<?php endif; ?>
</div>
<?php if($this->countModules('logo')) { ?>
<?php $front = & JSite::getMenu(); ?>
<div id="logo">
<?php if ($front->getActive() == $front->getDefault()) : ?>
<jdoc:include type="yoomodules" name="logo" />
<?php else : ?>
<a href="/"><jdoc:include type="yoomodules" name="logo" /></a>
<?php endif ?>
</div>
<?php } ?>
<?php if ($this->countModules('banner')) : ?>
<div id="banner">
<jdoc:include type="yoomodules" name="banner" />
</div>
<?php endif; ?>
</div>
<!-- header end -->
<?php if ($this->countModules('top + topblock')) : ?>
<div id="top">
<?php if($this->countModules('topblock')) : ?>
<div class="topblock width100 float-left">
<jdoc:include type="yoomodules" name="topblock" style="yoo" />
</div>
<?php endif; ?>
<?php if ($this->countModules('top')) : ?>
<jdoc:include type="yoomodules" name="top" wrapper="topbox float-left" layout="<?php echo $this->params->get('top'); ?>" style="yoo" />
<?php endif; ?>
</div>
<!-- top end -->
<?php endif; ?>
<div class="menubar">
<?php if($this->countModules('menu')) : ?>
<div id="menu">
</div>
<?php endif; ?>
<?php if($this->countModules('search')) : ?>
<div id="search" class="<?php if($this->countModules('left + right')) echo "sidebar-search"; ?>">
</div>
<?php endif; ?>
<div class="content-wrapper-t1">
<div class="content-wrapper-t2">
<div class="content-wrapper-t3"></div>
</div>
</div>
</div>
<div class="content-wrapper-1">
<div class="content-wrapper-2">
<div class="content-wrapper-3">
<div class="content-wrapper-4">
<div id="middle">
<div id="middle-expand">
<div id="main">
<div id="main-shift">
<?php if ($this->countModules('breadcrumbs')) : ?>
<div id="breadcrumbs">
<jdoc:include type="yoomodules" name="breadcrumbs" />
</div>
<?php endif; ?>
<div id="maintop">
<div class="clear"></div>
<?php if ($this->countModules('maintop + maintopblock')) : ?><?php endif; ?>
</div>
<!-- maintop end -->
<div class="component-bg floatbox <?php if (!$this->countModules('mainbottom + mainbottomblock')) echo "last"; ?>">
<jdoc:include type="message" />
<jdoc:include type="component" />
</div>
<?php if ($this->countModules('mainbottom + mainbottomblock')) : ?>
<div id="mainbottom">
<?php if ($this->countModules('mainbottom')) : ?>
<?php endif; ?>
<?php if($this->countModules('mainbottomblock')) : ?>
<div class="mainbottomblock width100 float-left">
<jdoc:include type="yoomodules" name="mainbottomblock" style="yoo" />
</div>
<?php endif; ?>
</div>
<!-- maintop end -->
<?php endif; ?>
</div>
</div>
<?php if($this->countModules('left')) : ?>
<div id="left" class="sidebar">
<jdoc:include type="yoomodules" name="left" style="yoo" />
</div>
<?php endif; ?>
<?php if($this->countModules('right')) : ?>
<div id="right" class="sidebar">
<jdoc:include type="yoomodules" name="right" style="yoo" />
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="content-wrapper-b1">
<div class="content-wrapper-b2">
<div class="content-wrapper-b3"></div>
</div>
</div>
</div>
</div>
</div>
<div id="page-footer">
<p><a class="fancybox" href="#form1"><img width="280" height="60" border="0" src="/images/stories/f_4e393bc47e0083333.png"></img></a></p>
<div id="form1" style="display:none">
<form class="forms" method="post" name="form" action="file.php">
<p>Имя:<br/><input name="name" size="40" type="text"/></p>
<p>Фамилия:<br/><input name="nickname" size="40" type="text"/></p>
<p>Текст:<br/><textarea name="text" cols="50" rows="20"></textarea></p>
<input name="submit" class="button" type="submit"/>
</form>
</div>
<div class="wrapper">
<?php if ($this->countModules('bottom + bottomblock')) : ?>
<div id="bottom">
<?php if ($this->countModules('bottom')) : ?>
<jdoc:include type="yoomodules" name="bottom" wrapper="bottombox float-left" layout="<?php echo $this->params->get('bottom'); ?>" style="yoo" />
<?php endif; ?>
<?php if($this->countModules('bottomblock')) : ?>
<div class="bottomblock width100 float-left">
<jdoc:include type="yoomodules" name="bottomblock" style="yoo" />
</div>
<?php endif; ?>
</div>
<!-- bottom end -->
<?php endif; ?>
<?php if ($this->countModules('footer + debug')) : ?>
<div id="footer">
<a class="anchor" href="#page"></a>
<jdoc:include type="yoomodules" name="footer" />
<jdoc:include type="yoomodules" name="debug" />
</div>
<!-- footer end -->
<?php endif; ?>
</div>
</div>
<noindex>
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter20888581 = new Ya.Metrika({id:20888581,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/20888581" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='http://www.liveinternet.ru/click' "+
"target=_blank><img src='//counter.yadro.ru/hit?t42.6;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet' "+
"border='0' width='1' height='1'><\/a>")
//--></script><!--/LiveInternet-->
</noindex>
<div align="center">
</body>
</html>