Advertisement
onzulin

fichero index.php y templateDetails.xml

Apr 7th, 2015
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.64 KB | None | 0 0
  1. //Fichero index.php
  2. <?php defined('_JEXEC') or die ('Restricted acess'); ?>
  3.  
  4. <!doctype html>
  5. <!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
  6. <!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
  7. <!--[if IE 8]>         <html class="no-js lt-ie9" lang=""> <![endif]-->
  8. <!--[if gt IE 8]><!--> <!--<html class="no-js" lang="">--> <!--<![endif]-->
  9. <html   class="no-js"
  10.         xmlns="http://www.w3.org/1999/xhtml"
  11.         xml:lang="<?php echo $this->language; ?>"
  12.         lang="<?php echo $this->language; ?>" >
  13.     <head>
  14.         <!-- poner el Jdoc que remplaza esta informacion y la obtendremos de joomla
  15.         <meta charset="utf-8">
  16.         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  17.         <title> </title>
  18.         <meta name="description" content=""> -->
  19.         <Jdoc:include type="head"/>
  20.         <meta name="viewport" content="width=device-width, initial-scale=1">
  21.  
  22.         <link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" /> <!--para cargar la hoja de estilos system.css. -->
  23.         <link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" /> <!-- para cargar la hoja de estilos general.css. -->
  24.  
  25.         <link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/normalize.min.css" type="text/css" /> <!-- para cargar el archivo css/normalize.min.css. -->
  26.         <link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/main.css" type="text/css" /> <!-- para cargar el archivo css/main.css. -->
  27.  
  28.         <link rel="apple-touch-icon" href="apple-touch-icon.png">
  29.  
  30.         <link rel="stylesheet" href="css/normalize.min.css">
  31.         <link rel="stylesheet" href="css/main.css">
  32.  
  33.         <script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
  34.  
  35.         <script src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/vendor/modernizr-2.6.2.min.js"></script> <!--para cargar el archivo js/vendor/modernizr-2.6.2.min.js. -->
  36.         <script>window.jQuery || document.write('<script src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/vendor/jquery-1.11.1.min.js"><\/script>')</script> <!--para cargar el archivo js/vendor/jquery-1.11.1.min.js.-->
  37.         <script src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/main.js"></script> <!--para cargar el archivo js/main.js.-->
  38.  
  39.     </head>
  40.     <body>
  41.        
  42.         <!--[if lt IE 8]>
  43.             <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
  44.         <![endif]-->
  45.         <!-- El cuerpo de la web que yo necesite  -->
  46.        
  47.        
  48.         <header>
  49.             <div class="logo">
  50.                 <img src="/img/ONZU-LOGO-DEF-COLOR_logo.png" alt="logotipo">
  51.             </div>
  52.         </header>
  53.         <nav class = "mainmenu">
  54.             <Jdoc:include type ="modules" name="position-1" />
  55.         </nav>
  56.  
  57.         <div class="footer-container">
  58.             <footer class="wrapper">
  59.                 <h3>footer</h3>
  60.             </footer>
  61.         </div>
  62.  
  63.        
  64.        
  65.         <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
  66.        
  67.         <script>
  68.             (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
  69.             function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
  70.             e=o.createElement(i);r=o.getElementsByTagName(i)[0];
  71.             e.src='//www.google-analytics.com/analytics.js';
  72.             r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
  73.             ga('create','UA-XXXXX-X','auto');ga('send','pageview');
  74.         </script>
  75.     </body>
  76. </html>
  77. //fichero templateDetails.xml
  78. <?xml version="1.0" encoding="utf-8"?>
  79. <!DOCTYPE install PUBLIC "-//Joomla! 3.0//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/2.5/template-install.dtd">
  80. <extension version="3.1" type="template" client="site">
  81.     <!-- Nombre de momento no definitivo de la plantilla  -->
  82.     <name>Videogames Onzulinapps</name>
  83.     <version>1.0</version>
  84.     <creationDate>06/04/2015</creationDate>
  85.     <author>Onzulinapps</author>
  86.     <authorEmail>onzulinapps@outlook.com</authorEmail>
  87.     <copyright>Copyright (C) 2015  Onzulinapps, Inc. All rights reserved.</copyright>
  88.     <description>Plantilla responsive design para videojuegos</description>
  89.     <files>
  90.         <filename>index.php</filename>
  91.         <!--<filename>error.php</filename>-->
  92.         <filename>favicon.ico</filename>
  93.         <filename>templateDetails.xml</filename>
  94.         <!--<filename>template_preview.png</filename>
  95.         <filename>template_thumbnail.png</filename> -->
  96.         <folder>css</folder>
  97.         <!--<folder>html</folder>
  98.         <folder>images</folder>-->
  99.         <folder>img</folder>
  100.         <folder>js</folder>
  101.         <!--<folder>language</folder>
  102.         <folder>less</folder>-->
  103.     </files>
  104.     <positions>
  105.         <position>banner</position>
  106.         <!--<position>debug</position>-->
  107.         <position>position-0</position>
  108.         <position>position-1</position>
  109.         <position>position-2</position>
  110.         <position>position-3</position>
  111.         <position>position-4</position>
  112.         <position>position-5</position>
  113.         <position>position-6</position>
  114.         <position>position-7</position>
  115.         <position>position-8</position>
  116.         <position>position-9</position>
  117.         <position>position-10</position>
  118.         <position>position-11</position>
  119.         <position>position-12</position>
  120.         <position>position-13</position>
  121.         <position>position-14</position>
  122.         <position>footer</position>
  123.     </positions>
  124. </extension>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement