This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul> | |
| <li class="<?php echo (is_home()) ? "actual" : "" ?>"><a href="/">Inicio</a></li> | |
| <li class="<?php echo (is_page('carreras')) ? "actual" : "" ?>"><a href="/carreras">Carreras</a></li> | |
| <li class="<?php echo (is_page('media')) ? "actual" : "" ?>"><a href="/media">Media</a></li> | |
| <li class="<?php echo (is_page('institucional')) ? "actual" : "" ?>"><a href="/institucional">Institucional</a></li> | |
| <li class="<?php echo (is_page('academicos')) ? "actual" : "" ?>"><a href="/academicos">Académicos</a></li> | |
| <li class="<?php echo (is_page('investigacion')) ? "actual" : "" ?>"><a href="/investigacion">Investigación</a></li> | |
| <li class="<?php echo (is_page('asistencia')) ? "actual" : "" ?>"><a href="/asistencia">Asistencia Técnica</a></li> | |
| <li class="<?php echo (is_page('cursos')) ? "actual" : "" ?>"><a href="/cursos">Cursos y Seminarios</a></li> | |
| </ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul class="lsDefFoto grupo"> | |
| <li> | |
| <dl> | |
| <dt> | |
| <img src="/wp-content/themes/cienciapolitica/images/foto-academico.jpg" alt="" width="100" height="110" /> | |
| </dt> | |
| <dd> | |
| <h4>Dr. Fernando Luis Oyarzun Camus</h4> | |
| <p>Nombre del área en la que ejerce</p> | |
| <p>Magister en Sociologia, Universidad Católica de Lovaina, Bélgina</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Buscará todos los post que tengan | |
| * el custom fiel 'Destacado' en [vacio] | |
| * | |
| */ | |
| $args = array( | |
| 'post_type' => 'post', | |
| 'meta_key' => 'Destacado', | |
| 'meta_compare' => '!=', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * En la portada del sitio aparecerá un video | |
| * embebido de Youtube con el tamaño ancho y alto | |
| * dado en 'Configuración' | |
| * | |
| * | |
| */ | |
| ?> | |
| <div class="destacado"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * menú pipe | |
| * Muy simple plugin jQuery que | |
| * deja un separador entre los ítemes del | |
| * menú de navegación: | |
| * | |
| * Ejemplo: | |
| * | |
| * $(function(){ | |
| * $('#nav').menuPipe(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul class="personas"> | |
| <li class="vcard"> | |
| <h2 class="banner"><span class="fn">Nombre del Profesor</span></h2> | |
| <img alt="nombre del Profesor" src="http://placehold.it/130x130" class="photo"> | |
| <p> | |
| Información resuminda del profesor | |
| </p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Haga a elpost.cl más «leíble» | |
| * | |
| * 1. Selecciona un artículo, para leer (permalink) | |
| * 2. Firefox -> Firebug (si no lo tiene instalelo) | |
| * 3. Consola (en Firebug) -> menú emergente -> Linea de comando más grande | |
| * 4. Pegue el código de abajo | |
| * 5. Correr (abajo) | |
| * 6. Lea con más comodidad | |
| * 7. Captura: http://grab.by/72UM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * ini.css | |
| * Autor: Eric Meyer | |
| * http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ | |
| * v: 2009-07-22 11:31:08 | |
| */ | |
| html, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # chkconfig: 345 85 15 | |
| # description: Startup script for dropbox daemon | |
| # | |
| # processname: dropboxd | |
| # pidfile: /var/run/dropbox.pid | |
| # config: /etc/sysconfig/dropbox | |
| # | |
| ### BEGIN INIT INFO | |
| # Provides: dropboxd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require_once 'Zend/Loader/Autoloader.php'; | |
| $autoloader = Zend_Loader_Autoloader::getInstance(); | |
| require_once 'Zend/Db.php'; | |
| $pdoParams = array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES UTF8;'); | |
| $config = array( | |
| 'host' => 'localhost', | |
| 'username' => 'tipper_tipperbd', |