Список розділів › Скрипти › Callme — скрипт замовлення зворотнього дзвінка
<?php
// @copyright Copyright (C) 2008 - 2011 IceTheme. All Rights Reserved
// @license Copyrighted Commercial Software
// @author IceTheme (icetheme.com)
// No direct access.
defined('_JEXEC') or die;
// A code to show the offline.php page for the demo
if(JRequest::getCmd("tmpl","index")== "offline"){
if(is_file(dirname(__FILE__).DS."offline.php")){
require_once(dirname(__FILE__).DS."offline.php");
}else{
if(is_file(JPATH_SITE.DS."templates".DS."system".DS."offline.php")){
require_once(JPATH_SITE.DS."templates".DS."system".DS."offline.php");
}
}
}else{
// Include PHP files to the template
include_once(JPATH_ROOT . "/templates/" . $this->template . '/icetools/default.php');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/icetools/switcher.php');
?>
<!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>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />
<jdoc:include type="head" />
<?php if($this->params->get('fixcols')) { ?>
<?php if(!countModules('mod_ice_accordion')): ?>
<script type="text/javascript" src="<?php echo $this->baseurl . "/templates/" . $this->template . '/js/fix-cols.js' ?>"></script>
<?php endif; ?>
<?php } ?>
<?php
// Include CSS and JS variables
include_once(JPATH_ROOT . "/templates/" . $this->template . '/css_vars.php');
?>
<script type="text/javascript">
var reformalOptions = {
project_id: 19781,
project_host: "feedback.joomla-support.ru",
tab_orientation: "left",
tab_indent: "40%",
tab_bg_color: "#503a5a",
tab_border_color: "#FFFFFF",
tab_image_url: "http://tab.reformal.ru/0JTQvtCx0LDQstC40YLRjCDQuNC00LXRjiDQuNC70Lgg0L7RgtC30YvQsiE=/FFFFFF/7f1851a83b83e3ae5801f0cdb1302013/left/0/tab.png",
tab_border_width: 2
};
(function() {
var script = document.createElement('script');
script.type = 'text/javascript'; script.async = true;
script.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'media.reformal.ru/widgets/v3/reformal.js';
document.getElementsByTagName('head')[0].appendChild(script);
})();
function ResizeCSS(){
if(jQuery('body').width() < 1300){jQuery('#plugin-fb').css("display","none"); }
if(jQuery('body').width() > 1300){ jQuery('#plugin-fb').css("display","block"); }
}
ResizeCSS();
jQuery(window).resize(function(){ResizeCSS();});
</script>
<script type="text/javascript" src="/callme/js/callme.js"></script>
</head>
<body class="<?php echo $pageclass->get('pageclass_sfx'); ?>">
<div id="site_wrapper">
<!-- Accessibility -->
<ol id="accessibility">
<li><a href="#nav-wrapper"><?php echo JText::_("SKIP_MENU");?></a></li>
<li><a href="#content"><?php echo JText::_("SKIP_CONTENT");?></a></li>
<li><a href="#footer" ><?php echo JText::_("SKIP_FOOTER");?></a></li>
</ol><!-- Accessibility -->
<!-- TopBar -->
<div id="topbar_wrapper">
<div id="topbar">
<div class="wrapper">
<?php if ($this->countModules('contact')) { ?>
<div id="contact_nr">
<jdoc:include type="modules" name="contact" />
</div>
<?php } ?>
<?php if ($this->countModules('language')) { ?>
<div id="language">
<jdoc:include type="modules" name="language" />
</div>
<?php } ?>
<?php if ($this->countModules('topmenu')) { ?>
<div id="topmenu">
<jdoc:include type="modules" name="topmenu" />
</div>
<?php } ?>
</div>
</div>
</div><!-- TopBar -->
<?php if ($this->countModules('cart')) { ?>
<a id="ice-top"></a>
<?php } ?>
<div class="wrapper">
<div id="logo">
<p><a href="<?php echo $this->baseurl ?>"><img src="<?php echo $this->baseurl ?>/<?php echo htmlspecialchars($logo); ?>" alt="<?php echo $sitename;?>"/></a> </p>
</div>
<?php if ($this->countModules('cart')) { ?>
<div id="cart">
<jdoc:include type="modules" name="cart" />
</div>
<?php } ?>
<?php if ($this->countModules('search')) { ?>
<div id="search">
<jdoc:include type="modules" name="search" />
</div>
<?php } ?>
<?php if ($this->countModules('mainmenu')) { ?>
<!-- Main Nav -->
<div id="nav-wrapper">
<jdoc:include type="modules" name="mainmenu" />
</div><!-- Main Nav -->
<?php } ?>
<!-- BreadCrumbs -->
<jdoc:include type="modules" name="breadcrumbs" />
</div>
</div><!-- Header -->
<!-- Content -->
<div id="content" class="clearfix">
<div class="wrapper">
<?php if ($this->countModules('left')) { ?>
<!-- Left Column -->
<div id="left-column">
<jdoc:include type="modules" name="left" style="colmodule" />
</div> <!-- Left Column -->
<?php } ?>
<!-- Content Inside -->
<div id="content_inside">
<?php if ($this->countModules('icetabs')) { ?>
<div id="icetabs" class="clearfix">
<jdoc:include type="modules" name="icetabs" />
</div>
<?php } ?>
<?php if ($this->countModules('notice')) { ?>
<div id="notice-msg_wrapper">
<div id="notice-msg_wrapper_2">
<div id="notice-msg" class="clearfix">
<jdoc:include type="modules" name="notice" />
</div>
</div>
</div>
<?php } ?>
<?php if ($this->countModules('promo1 + promo2 + promo3')) { ?>
<!-- Promo -->
<div id="promo" class="clearfix">
<?php if ($this->countModules('promo1')) { ?>
<div class="<?php echo $promomodulewidth; ?> <?php echo $promomodsep1; ?> floatleft">
<jdoc:include type="modules" name="promo1" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('promo2')) { ?>
<div class="<?php echo $promomodulewidth; ?> <?php echo $promomodsep2; ?> floatleft">
<jdoc:include type="modules" name="promo2" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('promo3')) { ?>
<div class="<?php echo $promomodulewidth; ?> floatleft">
<jdoc:include type="modules" name="promo3" style="block" />
</div>
<?php } ?>
</div><!-- Promo -->
<?php } ?>
<!-- Middle Column -->
<div id="middle-column">
<div class="padding">
<?php if ($this->countModules('jshopping1 + jshopping2 + jshopping3')) { ?>
<!-- JShopping Modules -->
<div id="jshopping-mods" class="clearfix">
<jdoc:include type="modules" name="jshopping1" style="block" />
<jdoc:include type="modules" name="jshopping2" style="block" />
<jdoc:include type="modules" name="jshopping3" style="block" />
</div><!-- JShopping Modules -->
<?php } ?>
<jdoc:include type="message" />
<jdoc:include type="component" />
</div>
</div><!-- Middle Column -->
<?php if ($this->countModules('right')) { ?>
<!-- Right Column -->
<div id="right-column">
<jdoc:include type="modules" name="right" style="colmodule" />
</div><!-- Right Column -->
<?php } ?>
</div><!-- Content Inside -->
<?php if ($this->countModules('bottom1 + bottom2 + bottom3 + bottom4 + icecarousel')) { ?>
<!-- Bottom -->
<div id="bottom" class="clearfix">
<?php if ($this->countModules('icecarousel')) { ?>
<div id="icecarousel">
<jdoc:include type="modules" name="icecarousel" style="icemodule" />
</div>
<?php } ?>
<?php if ($this->countModules('bottom1')) { ?>
<div class="<?php echo $botmodwidth; ?> <?php echo $botmodsep1; ?> floatleft">
<jdoc:include type="modules" name="bottom1" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('bottom2')) { ?>
<div class="<?php echo $botmodwidth; ?> <?php echo $botmodsep2; ?> floatleft">
<jdoc:include type="modules" name="bottom2" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('bottom3')) { ?>
<div class="<?php echo $botmodwidth; ?> <?php echo $botmodsep3; ?> floatleft">
<jdoc:include type="modules" name="bottom3" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('bottom4')) { ?>
<div class="<?php echo $botmodwidth; ?> floatleft">
<jdoc:include type="modules" name="bottom4" style="block" />
</div>
<?php } ?>
</div><!-- Bottom -->
<?php } ?>
</div>
</div><!-- Content -->
<?php if ($this->countModules('footer1 + footer2 + footer3 + footer4 + footer5')) { ?>
<!-- Footer -->
<div id="footer">
<div class="wrapper clearfix">
<?php if ($this->countModules('footer1')) { ?>
<div class="<?php echo $footermodulewidth; ?> <?php echo $footermodsep1; ?> floatleft">
<jdoc:include type="modules" name="footer1" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('footer2')) { ?>
<div class="<?php echo $footermodulewidth; ?> <?php echo $footermodsep2; ?> floatleft">
<jdoc:include type="modules" name="footer2" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('footer3')) { ?>
<div class="<?php echo $footermodulewidth; ?> <?php echo $footermodsep3; ?> floatleft">
<jdoc:include type="modules" name="footer3" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('footer4')) { ?>
<div class="<?php echo $footermodulewidth; ?> <?php echo $footermodsep4; ?> floatleft">
<jdoc:include type="modules" name="footer4" style="block" />
</div>
<?php } ?>
<?php if ($this->countModules('footer5')) { ?>
<div class="<?php echo $footermodulewidth; ?> floatleft">
<jdoc:include type="modules" name="footer5" style="block" />
</div>
<?php } ?>
</div>
</div><!-- Footer -->
<?php } ?>
<!-- Copyright -->
<div id="copyright">
<div class="wrapper">
<?php if($this->params->get('icelogo')) { ?>
<div id="icelogo">
<p><a href="http://www.icetheme.com"><span><?php echo JText::_("ICETHEMECOPY");?></span></a></p>
</div>
<?php } ?>
<?php if ($this->countModules('copyright')) { ?>
<div id="copyrightmenu">
<jdoc:include type="modules" name="copyright" />
</div>
<?php } ?>
<?php if ($this->countModules('footer')) { ?>
<div id="copytext" class="floatleft">
<jdoc:include type="modules" name="footer" />
</div>
<?php } ?>
<?php if($this->params->get('go2top')) { ?>
<script type="text/javascript">
window.addEvent('domready',function() { new SmoothScroll({ duration: 800 }); })
</script>
<a id="go2top" href="#topbar" class="hasTip" title="<?php echo JText::_("GOTOP");?>" ><span><?php echo JText::_("GOTOP");?></span></a>
<?php } ?>
<?php if ($this->countModules('fb-like')) { ?>
<div id="fb-like">
<jdoc:include type="modules" name="fb-like" />
</div>
<?php } ?>
</div>
</div><!-- Copyright -->
<!-- javascript code to make J! tooltips -->
<script type="text/javascript">
window.addEvent('domready', function() {
$$('.hasTip').each(function(el) {
var title = el.get('title');
if (title) {
var parts = title.split('::', 2);
el.store('tip:title', parts[0]);
el.store('tip:text', parts[1]);
}
});
var JTooltips = new Tips($$('.hasTip'), { fixed: false});
});
</script>
<jdoc:include type="modules" name="debug" />
</body>
</html>
<?php } ?>
Dedushka написав:avynin, вы закомментировали код и задаёте вопрос. Я не получаю удовольствия от просмотров сайтов по несколку раз в ожидании того, что админ соизволит одновременно и задать вопрос, или установить скрипт, чтобы я мог посмотреть, в чём дело и ответить. Так что будьте добры посмотреть инструкцию и самостоятельно разобраться в вашем вопросе.
<?php
/* Design by VTEM http://www.vtem.net All Rights Reserved */
defined( '_JEXEC' ) or die( 'Restricted access' );
JHtml::_('behavior.framework', true);
include_once(JPATH_ROOT . "/templates/" . $this->template . '/vtemtools/default.php');
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<?php
include_once(JPATH_ROOT."/templates/".$this->template.'/vtemtools/css_var.php');
?>
<body id="vtem" class="<?php echo css_browser_selector().' '.$pageoption.' '.$pageview.' template-'.$TemplateStyle;?>">
<div id="vt_body_wrapper">
<div id="vt_main_wrapper">
<div id="vt_wrapper" class="clearfix">
<!-- /////////////////// HEADER LAYOUT ///////////////////////////////-->
<div id="vt_header_section" class="vt_header_section clearfix">
<?php if ($this->countModules('drawer1 + drawer2 + drawer3 + drawer4 + drawer5 + drawer6 ')) : ?>
<div class="vt_wrapper_drawer clearfix">
<div class="vt_section clearfix">
<div id="vt_drawer" class="vt_drawer clearfix">
<?php echo VTEMShowModule('drawer', 'vt_xhtml', 6);?>
</div>
</div>
</div>
<?php endif;?>
<div class="vt_wrapper_header clearfix">
<div class="vt_section clearfix">
<div id="vt_header" class="vt_header clearfix">
<?php echo VTEMShowModule('header', 'vt_xhtml', 6, 'header1', 'header2');?>
</div>
</div>
</div>
<?php if ($this->countModules('top1 + top2 + top3 + top4 + top5 + top6 ')) : ?>
<div class="vt_wrapper_top clearfix">
<div class="vt_section clearfix">
<div id="vt_top" class="vt_top clearfix">
<?php echo VTEMShowModule('top', 'vt_xhtml', 6);?>
</div>
</div>
</div>
<?php endif;?>
</div>
<!-- /////////////////// MAIN LAYOUT ///////////////////////////////-->
<div id="vt_main_section" class="vt_main_section clearfix">
<?php if ($this->countModules('showcase1 + showcase2 + showcase3 + showcase4 + showcase5 + showcase6 ')) : ?>
<div class="vt_wrapper_showcase clearfix">
<div class="vt_section clearfix">
<div id="vt_showcase" class="vt_showcase clearfix">
<?php echo VTEMShowModule('showcase', 'vt_xhtml', 6);?>
</div>
</div>
</div>
<?php endif;?>
<div id="vt_main_contaner" class="clearfix">
<?php if ($this->countModules('feature1 + feature2 + feature3 + feature4 + feature5 + feature6 ')) : ?>
<div class="vt_wrapper_feature clearfix">
<div class="vt_section clearfix">
<div id="vt_feature" class="vt_feature clearfix">
<?php echo VTEMShowModule('feature', 'vt_xhtml', 6);?>
</div>
</div>
<div class="clr"></div>
</div>
<?php endif;?>
<div id="vt_main_inside" class="clearfix">
<div class="vt_section clearfix">
<?php if(($pageview == "wrapper") || ($Layout == "wf")) :
echo '<div id="vt_full">';
if($SystemMessages == 1) :
echo '<jdoc:include type="message" />';
endif;
echo $component.'</div>';
else : // LEFT-BODY_RIGHT ////////////////
if($this->countModules('left')) :
echo '<div id="vt_nav_left" class="vt_auto_cols '.$navleft.' '.$leftfloat.'">'.$modleft.'</div>';
endif;
echo '<div id="vt_main_com" class="vt_auto_cols '.$contentwidth.' '.$bodyfloat.'">
<div class="vt_component_inside">';
if($SystemMessages == 1) :
echo '<jdoc:include type="message" />';
endif;
echo $component;
if ($this->countModules('inset1 + inset2')) :
echo '<div id="vt_inset" class="vt_inset clearfix">'.VTEMShowModule('inset', 'vt_xhtml', 2).'</div>';
endif;
echo ' </div>
</div>';
if($this->countModules('right')) :
echo '<div id="vt_nav_right" class="vt_auto_cols '.$navright .' '. $rightfloat.'">'.$modright.'</div>';
endif;
// END LEFT-BODY_RIGHT ///////////////////////////
endif; ?>
</div>
</div>
</div>
<?php if ($this->countModules('utility1 + utility2 + utility3 + utility4 + utility5 + utility6 ')) : ?>
<div class="vt_wrapper_utility clearfix">
<div class="vt_section clearfix">
<div id="vt_utility" class="vt_utility clearfix">
<?php echo VTEMShowModule('utility', 'vt_xhtml', 6);?>
</div>
</div>
</div>
<?php endif; ?>
<?php if ($this->countModules('bottom1 + bottom2 + bottom3 + bottom4 + bottom5 + bottom6 ')) : ?>
<div class="vt_wrapper_bottom clearfix">
<div class="vt_section clearfix">
<div id="vt_bottom" class="vt_bottom clearfix">
<?php echo VTEMShowModule('bottom', 'vt_xhtml', 6);?>
</div>
</div>
</div>
<?php endif; ?>
</div>
<!-- /////////////////// FOOTER LAYOUT ///////////////////////////-->
<div id="vt_footer_section" class="vt_footer_section clearfix">
<div id="vt_wapper_footer">
<?php if ($this->countModules('footer1 + footer2 + footer3 + footer4 + footer5 + footer6 ')) : ?>
<div id="vt_footer" class="vt_footer clearfix">
<div class="vt_section clearfix">
<?php echo VTEMShowModule('footer', 'vt_xhtml', 6);?>
</div>
</div>
<?php endif; ?>
<div class="wapper_copyright_gotop clearfix">
<?php if ($this->countModules('copyright1 + copyright2 + copyright3 + copyright4 + copyright5 + copyright6 ')) : ?>
<div class="vt_section clearfix">
<div id="vt_copyright" class="vt_copyright clearfix">
<?php echo VTEMShowModule('copyright', 'vt_xhtml', 6);?>
</div>
<?php if($totop) echo '<div id="gotop"><p><a href="#vtem" title="Back to Top"><span>Go Top</span></a></p></div>';?>
</div>
<?php endif; ?>
<div class="clr"></div>
<?php echo $vtcopyright;?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include_once(JPATH_ROOT . "/templates/" . $this->template . '/vtemtools/debug.php');?>
</body>
</html>
<?php
/**
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!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; ?>" >
<head>
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script> var cm_bt = 0; </script>
<script type="text/javascript" src="/callme/js/callme.js"></script>
<jdoc:include type="head" />
<link href="<?php echo $this->baseurl ?>/templates/lotus-2013/css/template.css" rel="stylesheet" type="text/css">
<link href="<?php echo $this->baseurl ?>/templates/lotus-2013/css/virtuemart.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="cent">
<div class="top">
<?php if($this->countModules('top-slogan')) : ?>
<div class="top-slogan">
<jdoc:include type="modules" name="top-slogan" style="rounded" />
</div>
<?php endif; ?>
<?php if($this->countModules('top-left')) : ?>
<div class="top-left">
<jdoc:include type="modules" name="top-left" style="rounded" />
</div>
<?php endif; ?>
<?php if($this->countModules('top-cent')) : ?>
<div class="top-cent">
<jdoc:include type="modules" name="top-cent" style="rounded" />
</div>
<?php endif; ?>
<?php if($this->countModules('top-right')) : ?>
<div class="top-right">
<jdoc:include type="modules" name="top-right" style="rounded" />
</div>
<?php endif; ?>
<?php if($this->countModules('top-menu')) : ?>
<div class="top-menu">
<jdoc:include type="modules" name="top-menu" style="rounded" />
</div>
<?php endif; ?>
</div>
</div>
<?php if($this->countModules('top-sales')) : ?>
<div class="top-sales">
<jdoc:include type="modules" name="top-sales" style="rounded" />
</div>
<?php endif; ?>
<div class="cent">
<?php if($this->countModules('left')) : ?>
<div class="cont-left">
<jdoc:include type="modules" name="left" style="rounded" />
</div>
<?php endif; ?>
<div class="cont-cent">
<jdoc:include type="component" />
</div>
</div>
<div class="bottom">
<?php if($this->countModules('footer')) : ?>
<div class="cent">
<jdoc:include type="modules" name="footer" style="rounded" />
</div>
<?php endif; ?>
</div>
</body>
</html>
cursor: pointer;
text-align: center;
font: bold 10px Arial, Helvetica, sans-serif;
text-decoration: none;
text-transform: uppercase;
background: url(../images/button-bg.gif) repeat-x 0 100%;
border: 1px solid #e7e7e7;
margin: 0;
padding: 5px 9px;
float: left;
Повернутись в Callme — скрипт замовлення зворотнього дзвінка
Зараз переглядають цей розділ: 12 гостей