Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.48 KB | None | 0 0
  1. <config>
  2. <fields name="params">
  3. <fieldset name="advanced">
  4. <field name="widthStyle" class="" type="text" default="fluid" label="TPL widthStyle" description="widthStyle" />
  5. <field name="templateColor" class="" type="color" default="#808080" label="TPL templateColor" description="templateColor" />
  6. <field name="showComponent" class="" type="checkbox" default="1" label="TPL showComponent" description="showComponent" />
  7. </fieldset>
  8. </fields>
  9. </config>
  10.  
  11. <?php if($this->countModules('right') and error->getCode();quest::getCmd('layout') != 'form') : ?>
  12. <div id="maincolumn">
  13. <?php else: ?>
  14. <div id="maincolumn_full">
  15. <?php endif; ?>
  16.  
  17. <?php
  18. defined( '_JEXEC' ) or die( 'Restricted access' );
  19. JPlugin::loadLanguage( 'tpl_SG1' );
  20. ?>
  21. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  22. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
  23. <?php $app = Jfactory::getApplication();?>
  24. <head>
  25. <jdoc:include type="head" />
  26.  
  27. <link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
  28. <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
  29.  
  30. </head>
  31. <body id="page_bg">
  32. <div id="all">
  33. <div id="top">
  34. <div class="pill_m">
  35. <div id="pillmenu">
  36. <jdoc:include type="modules" name="user3"/>
  37. </div>
  38. </div>
  39. <div id="search">
  40. <?php if($this->countModules('user4')) :?>
  41. <jdoc:include type="modules" name="user4" />
  42. <?php endif; ?>
  43. </div>
  44. <div class="clr"></div>
  45. </div>
  46. <div id="middle"></div>
  47. <div id="header">
  48. <div id="logo">
  49. <a href="index.php"><?php echo $app->getCfg('sitename');?></a>
  50. </div>
  51. <div id="top-banner">
  52. <div id="top-spacer">
  53. <?php if($this->countModules('user1')) :?>
  54. <jdoc:include type="modules" name="user1" style="xhtml"/>
  55. <?php endif; ?>
  56. </div>
  57. <?php if($this->countModules('user2')) :?>
  58. <jdoc:include type="modules" name="user2" style="xhtml"/>
  59. <?php endif; ?>
  60. </div>
  61. </div>
  62.  
  63.  
  64.  
  65. <div class="center">
  66. <div id="wrapper">
  67. <div id="area">
  68.  
  69. <div id="content">
  70. <div id="leftcolumn">
  71. <jdoc:include type="modules" name="left" style="rounded" />
  72. <?php $sg = 'banner'; include "templates.php"; ?>
  73. </div>
  74.  
  75.  
  76. <?php if($this->countModules('right') and $this->error->getCode();quest::getCmd('layout') != 'form') : ?>
  77. <div id="maincolumn">
  78. <?php else: ?>
  79. <div id="maincolumn_full">
  80. <?php endif; ?>
  81. <div class="nopad">
  82. <?php if($this->countModules('user5')) :?>
  83. <jdoc:include type="modules" name="user5" style="rounded"/>
  84. <?php endif; ?>
  85.  
  86.  
  87. <jdoc:include type="message" />
  88. <?php $params = $app->getParams(); if($params->get('showComponent')) : ?>
  89. <jdoc:include type="component" />
  90. <?php endif; ?>
  91. <div id="container">
  92. <div id="user6">
  93. <?php if($this->countModules('user6')) :?>
  94. <jdoc:include type="modules" name="user6" style="rounded"/>
  95. <?php endif; ?>
  96. </div>
  97. <div id="user7">
  98. <?php if($this->countModules('user7')) :?>
  99. <jdoc:include type="modules" name="user7" style="rounded"/>
  100. <?php endif; ?>
  101. </div>
  102. <div id="user8">
  103. <?php if($this->countModules('user8')) :?>
  104. <jdoc:include type="modules" name="user8" style="rounded"/>
  105. <?php endif; ?>
  106. </div></div></div>
  107. </div>
  108.  
  109. <div id="rightcolumn" style="float: right;">
  110. <jdoc:include type="modules" name="right" style="rounded" />
  111. </div>
  112. </div>
  113.  
  114. </div>
  115. </div>
  116. <div class="clr"></div>
  117. </div>
  118. <jdoc:include type="modules" name="debug" />
  119. <div id="content_bottom"></div>
  120. <div id="footer">
  121. <p>
  122. Valid <a href="http://validator.w3.org/check/referer">XHTML</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
  123. </p>
  124. <div id="sgf">
  125. <?php $sg = ''; include "templates.php"; ?>
  126. </div>
  127. </div>
  128. </div>
  129. </body>
  130. </html>
  131.  
  132. <?if( $sg == 'banner' ):?>
  133. <div style="width:137px;text-align:center;margin:0 auto;">
  134. <br />
  135. <table style="width:137px;text-align:center;" cellpadding="0" cellspacing="0">
  136. <tr>
  137. <td><font class="sgf1">Menorca Net</font></td>
  138. </tr>
  139. </table>
  140. <table style="width:137px;height:16px;text-align:center;border:none;" cellpadding="0" cellspacing="0">
  141. <tr>
  142. <td></td>
  143. <td width="2" height="16"></td>
  144.  
  145. </tr>
  146. </table>
  147. </div>
  148. <?else:?>
  149. <?php echo $app->getCfg('sitename') ;?> 1995-2017<?endif;?>
  150.  
  151. <?php
  152. defined('_JEXEC') or die('Restricted access');
  153.  
  154. $lang = JFactory::getLanguage();
  155. $lang->load('tpl_SG1', JPATH_SITE, 'en-GB', true);
  156.  
  157. $config = JFactory::getConfig();
  158. $app = JFactory::getApplication();
  159. $params = $app->getParams();
  160. ?>
  161. <!DOCTYPE html>
  162. <html lang="<?php echo $this->language; ?>">
  163. <head>
  164. <jdoc:include type="head" />
  165. <link rel="stylesheet" href="templates/system/css/system.css">
  166. <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css">
  167. </head>
  168. <body id="page_bg">
  169. <div id="all">
  170. <div id="top">
  171. <div class="pill_m">
  172. <div id="pillmenu">
  173. <jdoc:include type="modules" name="user3" />
  174. </div>
  175. </div>
  176. <div id="search">
  177. <?php if ($this->countModules('user4')) : ?>
  178. <jdoc:include type="modules" name="user4" />
  179. <?php endif; ?>
  180. </div>
  181. <div class="clr"></div>
  182. </div>
  183. <div id="middle"></div>
  184. <div id="header">
  185. <div id="logo">
  186. <a href="index.php"><?php echo $config->get('sitename');?></a>
  187. </div>
  188. <div id="top-banner">
  189. <div id="top-spacer">
  190. <?php if ($this->countModules('user1')) : ?>
  191. <jdoc:include type="modules" name="user1" style="xhtml" />
  192. <?php endif; ?>
  193. </div>
  194. <?php if ($this->countModules('user2')) : ?>
  195. <jdoc:include type="modules" name="user2" style="xhtml" />
  196. <?php endif; ?>
  197. </div>
  198. </div>
  199. <div class="center">
  200. <div id="wrapper">
  201. <div id="area">
  202. <div id="content">
  203. <div id="leftcolumn">
  204. <jdoc:include type="modules" name="left" style="rounded" />
  205. <?php $sg = 'banner'; include_once 'templates.php'; ?>
  206. </div>
  207. <?php if ($this->countModules('right') && $config->get('layout') !== 'form') : ?>
  208. <div id="maincolumn">
  209. <?php else: ?>
  210. <div id="maincolumn_full">
  211. <?php endif; ?>
  212. <div class="nopad">
  213. <?php if ($this->countModules('user5')) : ?>
  214. <jdoc:include type="modules" name="user5" style="rounded" />
  215. <?php endif; ?>
  216.  
  217. <jdoc:include type="message" />
  218.  
  219. <?php if ($params->get('showComponent')) : ?>
  220. <jdoc:include type="component" />
  221. <?php endif; ?>
  222.  
  223. <div id="container">
  224. <div id="user6">
  225. <?php if ($this->countModules('user6')) : ?>
  226. <jdoc:include type="modules" name="user6" style="rounded" />
  227. <?php endif; ?>
  228. </div>
  229. <div id="user7">
  230. <?php if ($this->countModules('user7')) : ?>
  231. <jdoc:include type="modules" name="user7" style="rounded" />
  232. <?php endif; ?>
  233. </div>
  234. <div id="user8">
  235. <?php if ($this->countModules('user8')) : ?>
  236. <jdoc:include type="modules" name="user8" style="rounded" />
  237. <?php endif; ?>
  238. </div>
  239. </div>
  240. </div>
  241. </div>
  242. <div id="rightcolumn" style="float: right;">
  243. <jdoc:include type="modules" name="right" style="rounded" />
  244. </div>
  245. </div>
  246. </div>
  247. </div>
  248. <div class="clr"></div>
  249. </div>
  250. <jdoc:include type="modules" name="debug" />
  251. <div id="content_bottom"></div>
  252. <div id="footer">
  253. <p>Valid <a href="http://validator.w3.org/check/referer">XHTML</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.</p>
  254. <div id="sgf">
  255. <?php $sg = ''; include_once 'templates.php'; ?>
  256. </div>
  257. </div>
  258. </div>
  259. </body>
  260. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement