Sign up to create your own snipts, or login.

Public snipts » estupendos's snipts The latest snipts from estupendos.

showing 1-7 of 7 snipts
  • Backup index.php Super45.net
    <?php get_header(); ?>
    
     <div id="row1">
      <div id="discodestacado">
           <h2><img src="/images/disco-destacado.png" alt="Disco Destacado" /></h2>
    	   <div id="contenedor-disco">
    	<?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=1&cat=1488');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
                        <div id="foto-tit-dd">
    			<div id="fotodd"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div>
    			<div id="titdd"><h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3></div>
                         </div>
    		<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?> 
    	   </div>
      </div><!-- end of discodestacado div -->
      <div id="otrosdiscos">
             <h2><img src="/images/en-breve.png" alt="En Breve" /></h2>
    		 <div id="slider">
    			<ul>
    
    
    				<li>
    
    	<?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=6&cat=1489');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    
                           <div class="d-breve"><div class="foto-breve"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div><div class="tit-breve"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></div></div>
    
    		<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    
    				</li>
    				
    				<li>
    	<?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=6&offset=6&cat=1489');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    
                           <div class="d-breve"><div class="foto-breve"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div><div class="tit-breve"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></div></div>
    
    		<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    				</li>
    			
    				<li>
    	<?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=6&offset=12&cat=1489');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    
                           <div class="d-breve"><div class="foto-breve"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div><div class="tit-breve"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></div></div>
    
    		<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    				</li>
    				
    
    				
    			</ul>
    		 </div>
      </div><!-- end of otrosdiscos div -->
    
    
    
      <div id="publi1">
    <script type='text/javascript'><!--//<![CDATA[
       var m3_u = (location.protocol=='https:'?'https://open.estupendos.net/www/delivery/ajs.php':'http://open.estupendos.net/www/delivery/ajs.php');
       var m3_r = Math.floor(Math.random()*99999999999);
       if (!document.MAX_used) document.MAX_used = ',';
       document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
       document.write ("?zoneid=2");
       document.write ('&amp;cb=' + m3_r);
       if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
       document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
       document.write ("&amp;loc=" + escape(window.location));
       if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
       if (document.context) document.write ("&context=" + escape(document.context));
       if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
       document.write ("'><\/scr"+"ipt>");
    //]]>--></script><noscript><a href='http://open.estupendos.net/www/delivery/ck.php?n=a75a6856&amp;cb=23544353' target='_blank'><img src='http://open.estupendos.net/www/delivery/avw.php?zoneid=2&amp;cb=23544353&amp;n=a75a6856' border='0' alt='' /></a></noscript>
      </div><!-- end of publi1 div -->
    
    
    
     </div><!-- end of row1 div -->
    
    
    
    
     <div id="row2">
      <div id="destacado">
    	     <h2><img src="/images/destacamos.png" alt="Destacamos en S45" /></h2>
    
    	<?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=1&cat=1509');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    		 <div id="contenedor-destacado">
    			<div class="foto-destacado"><?php get_the_image('custom_key=foto-home&default_size=full&default_image=/images/medium.png'); ?></div>
    			<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    			<p class="metadata"><?php
    foreach((get_the_category()) as $cat) {
    if ($cat->cat_ID != "1509" )
    {
    echo '<a href="/?cat=' . $cat->cat_ID . '"> ' .
    $cat->cat_name . '</a> ';
    }
    }
    ?> | Por <?php the_author_posts_link(); ?> | <?php the_time('d.m.y') ?> | <?php comments_popup_link('<img src="/images/icon-comm.png" alt="Comentarios" /> 0', '<img src="/images/icon-comm.png" alt="Comentarios" /> 1', '<img src="/images/icon-comm.png" alt="Comentarios" /> %'); ?></p>
    		 </div>
    		<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    
    
    
    
    	<?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=5&offset=1&cat=1509');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    		 
    		 <div class="sub-destacado">
    			<div class="foto-sub-destacado"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div>
    			<div class="txt-sub-destacado">
    				<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    				<p class="metadata"><?php
    foreach((get_the_category()) as $cat) {
    if ($cat->cat_ID != "1509" )
    {
    echo '<a href="/?cat=' . $cat->cat_ID . '"> ' .
    $cat->cat_name . '</a> ';
    }
    }
    ?> | <?php the_time('d.m.y') ?> | <?php comments_popup_link('<img src="/images/icon-comm.png" alt="Comentarios" /> 0', '<img src="/images/icon-comm.png" alt="Comentarios" /> 1', '<img src="/images/icon-comm.png" alt="Comentarios" /> %'); ?></p>
    			</div>
    		 </div>
    		 <div class="clear-destacado"></div>
    			<?php endwhile; ?>
    		<?php else : ?>
    		<?php endif; ?>
    
    
    
    
    		 
      </div><!-- end of destacado div -->
      <div id="articulos">
    	<ul>
    		<li><a href="#tabs-1"><img src="/images/blog.png" alt="Blog" /></a></li>
    		<li><a href="#tabs-2"><img src="/images/noticias.png" alt="Noticias" /></a></li>
    		<li><a href="#tabs-3"><img src="/images/articulos.png" alt="Articulos" /></a></li>
    	</ul>
    
    	<div id="tabs-1">   
    
    <?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=8&cat=41');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    		 <div class="sub-destacado">
    			<div class="foto-sub-destacado"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div>
    			<div class="txt-sub-destacado">
    				<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    				<p class="metadata"><?php the_time('d.m.y') ?> | <?php comments_popup_link('<img src="/images/icon-comm.png" alt="Comentarios" /> 0', '<img src="/images/icon-comm.png" alt="Comentarios" /> 1', '<img src="/images/icon-comm.png" alt="Comentarios" /> %'); ?></p>
    			</div>
    		 </div>
    	     <div class="clear-destacado"></div>
    		 
    			<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    	
            <div class="vertodos"><a href="/seccion/blog/" title="Ver todo el blog">[+] Ver todos</a></div>	 
    
    
    
    	</div>
    
    	<div id="tabs-2">   
    
    <?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=8&cat=3');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    		 <div class="sub-destacado">
    			<div class="foto-sub-destacado"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div>
    			<div class="txt-sub-destacado">
    				<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    				<p class="metadata"><?php the_time('d.m.y') ?> | <?php comments_popup_link('<img src="/images/icon-comm.png" alt="Comentarios" /> 0', '<img src="/images/icon-comm.png" alt="Comentarios" /> 1', '<img src="/images/icon-comm.png" alt="Comentarios" /> %'); ?></p>
    			</div>
    		 </div>
    	     <div class="clear-destacado"></div>
    		 
    			<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    
    <div class="vertodos"><a href="/seccion/noticias/" title="Ver todas las noticias">[+] Ver todos</a></div>
    		 
    
    	</div>
    	
    	<div id="tabs-3">   
    
    
    <?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=1&cat=42');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    
    		 <div id="contenedor-articulo">
    
    
    
    			<div class="contenedor-foto-articulo"><?php get_the_image('custom_key=foto-home&default_size=full&default_image=/images/medium.png'); ?></div>
                            <div class="cat-arti"><?php the_category(); ?></div>
    			<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    			<p class="metadata">Por <?php the_author_posts_link(); ?> | <?php the_time('d.m.y') ?> | <?php comments_popup_link('<img src="/images/icon-comm.png" alt="Comentarios" /> 0', '<img src="/images/icon-comm.png" alt="Comentarios" /> 1', '<img src="/images/icon-comm.png" alt="Comentarios" /> %'); ?></p>
    		 </div>
    		<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>		 
    
    
    
    
    
    <?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=5&offset=1&cat=42,44,45');
    ?>
    		<?php while (have_posts()) : the_post(); ?>		 
    		 <div class="sub-destacado">
    			<div class="foto-sub-destacado"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div>
                            <div class="cat-arti"><?php the_category(); ?></div>
    			<div class="txt-sub-destacado">
    				<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    				<p class="metadata"><?php the_time('d.m.y') ?> | <?php comments_popup_link('<img src="/images/icon-comm.png" alt="Comentarios" /> 0', '<img src="/images/icon-comm.png" alt="Comentarios" /> 1', '<img src="/images/icon-comm.png" alt="Comentarios" /> %'); ?></p>
    			</div>
    		 </div>
    	     <div class="clear-destacado"></div>
    		<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>		 
    		 
    		
    
    <div class="vertodos"><a href="/seccion/articulos/" title="Ver todos los artículos">[+] Ver todos</a></div>
    
    	</div>
    
    	
      </div><!-- end of articulos div -->
      <div id="radio">
        <div id="s45radio">
    
    		<h2><img src="/images/2009/06/super-45-radio.png" alt="S45 en Radio Duna" /></h2>
    <?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=1&cat=49');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    	    <div id="foto-radio"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div>
            <div id="txt-radio">
    			<span class="prox-radio">Pr&oacute;ximo programa:<br /></span>
    			<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    			<?php the_excerpt() ?>
    		</div>	 
    			<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    
    
    
    		<div class="podcast">
    <?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=1&cat=21');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
            <div id="txt-podcast">
    			<p class="podcast-anterior">Descarga el programa anterior:</p>
    			<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    			<div class="excerpt-podcast"><?php the_excerpt() ?></div>
    	</div>	 
    			<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    		</div>
    	</div>	
    	<div id="ad-radio1"></div>		 
    
    
    
      <div id="agenda">
    	<ul>
    		<li><a href="#tabs-4"><img src="/images/nuestra_agenda.png" alt="Nuestra Agenda" /></a></li>
    		<li><a href="#tabs-5"><img src="/images/cartelera.png" alt="Cartelera" /></a></li>
    		<li><a href="#tabs-6"><img src="/images/concursos.png" alt="Concursos" /></a></li>
    	</ul>
    
    	<div id="tabs-4">   
    	 
    
    
    <?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=2&cat=1511');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    
    		 
    		 <div class="sub-destacado">
    			<div class="foto-sub-destacado"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div>
    			<div class="txt-sub-destacado">
    				<p class="metadata"><?php the_time('d.m.y') ?> | <?php comments_popup_link('<img src="/images/icon-comm.png" alt="Comentarios" /> 0', '<img src="/images/icon-comm.png" alt="Comentarios" /> 1', '<img src="/images/icon-comm.png" alt="Comentarios" /> %'); ?></p>
    				<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    				
    			</div>
    		 </div>
    	     <div class="clear-destacado"></div>
    		 
    					<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    		 
    		 
    
    	</div>
    
    	<div id="tabs-5">
    
    
    
    <?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=1&cat=35');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    
    		 <div class="sub-destacado">
    			<div class="foto-sub-destacado"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div>
    			<div class="txt-sub-destacado">
    				<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    				<p class="metadata"><?php the_time('d.m.y') ?> | <?php comments_popup_link('<img src="/images/icon-comm.png" alt="Comentarios" /> 0', '<img src="/images/icon-comm.png" alt="Comentarios" /> 1', '<img src="/images/icon-comm.png" alt="Comentarios" /> %'); ?></p>
    			</div>
    		 </div>
    	     <div class="clear-destacado25"></div>
    			<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    		 
    		 
    		 
    
    	</div>
    	
    	<div id="tabs-6">   
    
    <?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=1&cat=66');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    
    		 <div class="sub-destacado">
    			<div class="foto-sub-destacado"><?php get_the_image('custom_key=foto-home&default_size=thumbnail&default_image=/images/thumb.png'); ?></div>
    			<div class="txt-sub-destacado">
    				<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    				<p class="metadata"><?php the_time('d.m.y') ?> | <?php comments_popup_link('<img src="/images/icon-comm.png" alt="Comentarios" /> 0', '<img src="/images/icon-comm.png" alt="Comentarios" /> 1', '<img src="/images/icon-comm.png" alt="Comentarios" /> %'); ?></p>
    			</div>
    		 </div>
    	     <div class="clear-destacado2"></div>
    			<?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    
    
    
    <?php if (have_posts()) : ?>
    <?php //query_posts('paged='.$paged);
    $temp = $wp_query;
    $wp_query= null;
       $wp_query = new WP_Query();
       $wp_query->query('showposts=2&offset=1&cat=66');
    ?>
    		<?php while (have_posts()) : the_post(); ?>
    
    		 
    		 <div class="sub-concurso">
    			<div class="txt-sub-concurso">
    				<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    				<p class="metadata"><?php the_time('d.m.y') ?> | <?php comments_popup_link('<img src="/images/icon-comm.png" alt="Comentarios" /> 0', '<img src="/images/icon-comm.png" alt="Comentarios" /> 1', '<img src="/images/icon-comm.png" alt="Comentarios" /> %'); ?></p>
    			</div>
    		 </div>
    	     <div class="clear-destacado"></div>
    <?php endwhile; ?>
    	<?php else : ?>
    	<?php endif; ?>
    
    
    		 
    
    		 
    
    		 
    
    	</div>
    
    	
      </div><!-- end of agenda div -->
    
    
    
      
      
      	<div id="ad-radio2"><a href="http://sonik.cl"><img src="/images/300x100-Sonik-S45.gif" alt="Sonik" /></a></div>		 
    
    
    
      	<div id="ad-radio3">
    
    <script type='text/javascript'><!--//<![CDATA[
       var m3_u = (location.protocol=='https:'?'https://open.estupendos.net/www/delivery/ajs.php':'http://open.estupendos.net/www/delivery/ajs.php');
       var m3_r = Math.floor(Math.random()*99999999999);
       if (!document.MAX_used) document.MAX_used = ',';
       document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
       document.write ("?zoneid=5");
       document.write ('&amp;cb=' + m3_r);
       if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
       document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
       document.write ("&amp;loc=" + escape(window.location));
       if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
       if (document.context) document.write ("&context=" + escape(document.context));
       if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
       document.write ("'><\/scr"+"ipt>");
    //]]>--></script><noscript><a href='http://open.estupendos.net/www/delivery/ck.php?n=a5a9a894&amp;cb=5467546' target='_blank'><img src='http://open.estupendos.net/www/delivery/avw.php?zoneid=5&amp;cb=5467546&amp;n=a5a9a894' border='0' alt='' /></a></noscript>
    
    
    </div>		 
    
    	
    
    
    <div id="tla"><?php tla_ads(); ?><br/><?php if (is_callable(array("LinkLiftPlugin", "execute"))) LinkLiftPlugin::execute(); ?></div>
    	
    	
      
      </div><!-- end of radio div -->
     </div><!-- end of row2 div -->
     <div id="row3">
       	     <h2>Comunidad Super 45</h2>
      <div id="eventos">
        	<h3><a href="http://vimeo.com/super45">Noa Noa</a></h3>
    		<div class="videos-oficiales">
    			<!-- START Vimeo Badge ... info at http://vimeo.com/widget -->
    			<div class="vimeoBadge">
    				<script type="text/javascript" src="http://vimeo.com/super45/badgeo/?stream=uploaded&amp;stream_id=&amp;count=4&amp;thumbnail_width=100&amp;show_titles=no"></script>
    			</div>
    			<!--END Vimeo Badge-->
    
    		</div>
    		
    		
      </div><!-- end of eventos div -->
      <div id="vimeo">
    		<h3><a href="http://vimeo.com/channels/super45">Canal Vimeo</a></h3>
    		
    		
    		<!-- START Vimeo Badge ... info at http://vimeo.com/widget -->
    <div class="vimeoBadge">
    		<script type="text/javascript" src="http://vimeo.com/super45/badgeo/?stream=channel&amp;stream_id=34616&amp;count=6&amp;thumbnail_width=100&amp;show_titles=no"></script>
    	</div>
    <!--END Vimeo Badge-->
    
    
    
    
    
    
      </div><!-- end of vimeo div -->
      <div id="flickr">
    	<h3><a href="http://www.flickr.com/super45/">Super 45 en Flickr</a></h3>
    	<div id="contenedor-flickr">
    <!-- Start of Flickr Badge -->
    <script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?count=5&amp;display=latest&amp;size=s&amp;layout=x&amp;source=user&amp;user=39096086%40N04"></script>
    <!-- End of Flickr Badge -->
    
    	</div>
      </div><!-- end of flickr div -->
      <div id="sociales">
    	<ul>
    		<li><a class="facebook" href="http://facebook.com/group.php?gid=13967200331">Grupo Facebook</a></li>
    		<li><a class="facebook" href="http://facebook.com/pages/Santiago-Chile/Super-45/14050945943">P&aacute;gina Facebook</a></li>
    		<li><a class="twitter" href="http://twitter.com/super45">Twitter</a></li>
    		<li><a class="lastfm" href="http://last.fm/group/Super+45">Grupo Last.fm</a></li>
    	</ul>
      </div><!-- end of sociales div -->
     </div><!-- end of row3 div -->
     
     
     <?php get_footer(); ?>
    

    copy | embed

    0 comments - tagged in  posted by estupendos on Jan 28, 2010 at 2:19 p.m. EST
  • Respaldo de template de area comercial de Horizonte.cl
    <?php
    /*
    Template Name: Area Comercial
    */
    ?>
    
    
    <?php get_header(); ?>
    
    <?php get_sidebar(); ?>
    
    
    
    
    
    
    <div id="columna_izquierda" class="ancho_contacto">
    
    
    
    
    
    
    
    			<div id="contacto">
    	<div class="titulo">
    		<h1>Perfil de la radio</h1>
    	</div>
    
    	<div class="contenedor">
    	<p>Horizonte es una radio donde se le da &eacute;nfasis a las tendencias musicales nacionales e internacionales. Donde comparten espacio los cl&aacute;sicos y la vanguardia. Un medio pluralista y abierto a respetar las distintas opciones de la actualidad, difundir la cultura y generar comunidades activas.</p>
    	<p>Nuestro p&uacute;blico objetivo est&aacute; definido como hombres y mujeres entre los 20 y 34 a&ntilde;os pertenecientes a los grupos socio econ&oacute;mico ABC1 y C2.</p>
    	<p>Además de la música, tenemos programas descritos a continuación:</p>
    
    	</div>
    
    
    
    
    	<br />
    	<div class="titulo">
    		<h1>Guia de Avisadores</h1>
    	</div>
    	<div class="contenedor">
    
    		<p><b>TARIFAS AUSPICIOS RADIO HORIZONTE </b></p>
    		<p><b>RADIO HORIZONTE RED SATELITAL</b> transmite en Santiago 103.3 y Vi&ntilde;a del Mar 101.1.</p>
    		<p><b>En Radio Horizonte tenemos para nuestros clientes espacios publicitarios en forma de frases (repartidas y/o determinadas), auspicios y espacios noticiosos.</b></p>
    		<table>
    		<tr> 
    			<th>Tipo de Frases en Horizonte Stgo. + Regiones</th>
    
    			<th>Valor Mensual</th>
    		</tr>
    		<tr>
    			<td>Frase mes horario Repartido de hasta 30".</td>
    			<td>$1.100.000 + iva.</td>
    		</tr>
    		<tr> 
    			<td>Frase mes horario Determinado de hasta 30". </td>
    
    			<td>$1.320.000 + iva.</td>
    		</tr>
    		<tr> 
    			<td>Frase mes Pol&iacute;tica de hasta 30". </td>
    			<td>$1.380.000 + iva.</td>
    		</tr>
    		</table>
    
    		<p><b>CONDICIONES GENERALES:</b></p>
    		<ol>
    			<li>Segundaje: Las tarifas consideradas comprenden frases de hasta 30 segundos. Si el segundaje contratado fuera inferior a dicho tiempo, la radio no retribuir&aacute; con una mayor frecuencia la diferencia existente. Si por el contrario el segundaje supera los 30", la Radio disminuir&aacute; proporcionalmente la frecuencia contratada.</li>
    			<li>Los valores incluyen Comisi&oacute;n de Agencia.</li>
    			<li>Los valores no incluyen IVA.</li>
    
    			<li>Los valores son considerados con pago a 30 d&iacute;as del inicio de la Publicidad.</li>
    			<li>Se considera un descuento por pago contado.</li>
    			<li>Los avisos solicitados en cabeza o cierre de tanda tienen un recargo del 25%.</li>
    		</ol>
    	</div>
    
    
    
    	<br />
    	<div class="titulo">
    		<h1> Nuestros Programas </h1>
    	</div>
    	<div class="contenedor">
    		<p>		<h4>CONDICIONES GENERALES</h4>
    
    		<ol>
    			<li>Segundaje: Las tarifas consideradas comprenden frases de hasta 30 seg. Si el segundaje contratado fuera inferior a dicho tiempo, la radio no retribuir&aacute; con una mayor frecuencia la diferencia existente. Si por el contrario el segundaje supera los 30", la Radio disminuir&aacute; proporcionalmente la frecuencia contratada.</li>
    			<li>Los valores incluyen Comisi&oacute;n de Agencia.</li>
    			<li>Los valores no incluyen IVA.</li>
    			<li>Los valores son considerados con pago a 30 d&iacute;as del inicio de la Publicidad.</li>
    
    			<li>Se considera un descuento por pago contado.</li>
    			<li>Los avisos solicitados en cabeza o cierre de tanda tienen un recargo del 25%.</li>
    		</ol>
    
    		<hr size="1"/>
    
    
    		<table id="fina">
    		<tr> 
    		  <th>Programa</th>
    
    		  <th>Fina 	Seleccion</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n 
    			y cierre con menci&oacute;n.<br/>
    			2 Frases diarias de hasta 30".<br/>
    
    			1 Menci&oacute;n Conductor</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>De Lunes a Viernes y Domingos de 22:00 a 23:00 hrs.</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>VALOR MENSUAL</strong></td>
    
    		  <td> $ 3.000.000 + iva mensual.</td>
    		</tr>
    		</table>
    
    
    
    
    		<br />
    		
    		
    				<table id="destacados">
    		<tr> 
    		  <th>Programa</th>
    
    		  <th>5 Destacados</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n 
    			y cierre con menci&oacute;n.<br/>
    			5 Frases diarias de hasta 30".</td>
    
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>Lunes a Domingos a las:<br />
     		  8.30, 11.30, 13.30, 16.30 y 19.30 hrs.</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>VALOR MENSUAL</strong></td>
    
    		  <td> $ 4.620.000 + iva mensual.</td>
    		</tr>
    		</table>
    
    
    
    
    		<br />
    		<table id="retro">
    		<tr> 
    		  <th>Programa</th>
    
    		  <th>Retro</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n y cierre con menci&oacute;n de marca en 4 emisiones diarias<br />
    		  1 Frase diaria despues de cada micro (4 diarias)<br />
    
    		  1 Menci&oacute;n Conductor</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>Lunes a Domingo a las:<br/>
    		   10.00, 13.00, 15.00, 19.00 hrs.</td>
    		</tr>
    
    		<tr> 
    		  <td width="150"><strong>VALOR MENSUAL</strong></td>
    		  <td> $ 4.000.000 + iva mensual.</td>
    		</tr>
    		</table>
    
    	<br />
    
                   <table id="loop">
    		<tr> 
    		  <th>Programa</th>
    
    		  <th>Loop</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n y cierre con menci&oacute;<br />
    		  3 Frases diaria de hasta 30"<br />
    
    		  2 Menci&oacute;nes</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>Sabado a las:<br/>
    		   00.00 hrs.</td>
    		</tr>
    
    		<tr> 
    		  <td width="150"><strong>VALOR MENSUAL</strong></td>
    		  <td> $ 2.500.000 + iva mensual.</td>
    		</tr>
    		</table>
    
    
    
    
    		<br />
    
    
    
    
    
    
    
    		<table id="agenda">
    		<tr> 
    		  <th>Programa</th>
    		  <th>Agenda Horizonte</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n y cierre con menci&oacute;n.<br/>
    
    			5 Frases diarias de hasta 30".</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>De Lunes a Domingo:<br /> 
    			8.15, 10.15, 13.15, 16.15 y 19.15 hrs.</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>VALOR MENSUAL</strong></td>
    
    		  <td> $ 5.335.000 + iva mensual.</td>
    		</tr>
    		</table>
    
    
    
    
    		<br />
    		<table id="tele">
    		<tr> 
    		  <th>Programa</th>
    
    		  <th>Tele</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n y cierre con menci&oacute;n.<br/>
    			1 frase después de cada micro (5 diarias)<br />
    
    			3 frases diarias de hasta 30".</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>De Lunes a Domingo a las:<br /> 
    			9.15, 12.15, 15.15, 18.15 y 21.15 hrs.</td>
    		</tr>
    		<tr> 
    		  <td width="150"><b>VALOR MENSUAL </th>
    
    		  <td> $ 5.335.000 + iva mensual.</td>
    		</tr>
    		</table>
    		
    		
    		
    		<br />
    
    
    
    
    
    
    		<table id="ticket">
    
    		<tr> 
    		  <th>Programa</th>
    		  <th>Ticket</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n y cierre con menci&oacute;n.<br/>
    
    			1 frase después de cada micro (5 diarias)<br />
    			3 frases diarias de hasta 30".</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>De Lunes a Domingo a las:<br />
    9.15, 12.15, 15.15, 18.15 y 21.15 hrs.</td>
    
    		</tr>
    		<tr> 
    		  <td width="150"><b>VALOR MENSUAL </th>
    		  <td> $ 5.335.000 + iva mensual.</td>
    		</tr>
    		</table>
    		
    		
    		
    		<br />
    
    
    <table id="version">
    		<tr> 
    		  <th>Programa</th>
    
    		  <th>Versi&oacute;n Oficial</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n y cierre con menci&oacute;<br />
    		  1 Frase diaria de hasta 30"<br />
    
    		  1 Menci&oacute;n Conductor</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>Lunes a Domingo a las:<br/>
    		   8.00, 11.00, 14.00, 17.00 y 20.00 hrs. Resumen especial domingo a las 17.00 hrs.</td>
    		</tr>
    
    		<tr> 
    		  <td width="150"><strong>VALOR MENSUAL</strong></td>
    		  <td> $ 4.620.000 + iva mensual.</td>
    		</tr>
    		</table>
    
    
    
    
    		<br />
    
    		<table id="agenda">
    		<tr> 
    		  <th>Programa</th>
    		  <th>Agenda Horizonte</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n y cierre con menci&oacute;n.<br/>
    
    			5 Frases diarias de hasta 30".</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>De Lunes a Domingo:<br /> 
    			8.15, 10.15, 13.15, 16.15 y 19.15 hrs.</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>VALOR MENSUAL</strong></td>
    
    		  <td> $ 5.335.000 + iva mensual.</td>
    		</tr>
    		</table>
    
    
    
    
    		<br />
    		<table id="tele">
    		<tr> 
    		  <th>Programa</th>
    
    		  <th>Tele</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n y cierre con menci&oacute;n.<br/>
    			1 frase después de cada micro (5 diarias)<br />
    
    			3 frases diarias de hasta 30".</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>De Lunes a Domingo a las:<br /> 
    			9.15, 12.15, 15.15, 18.15 y 21.15 hrs.</td>
    		</tr>
    		<tr> 
    		  <td width="150"><b>VALOR MENSUAL </th>
    
    		  <td> $ 5.335.000 + iva mensual.</td>
    		</tr>
    		</table>
    		
    		
    		
    		<br />
    
    
    
    
    
    
    		<table id="ticket">
    
    		<tr> 
    		  <th>Programa</th>
    		  <th>Ticket</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n y cierre con menci&oacute;n.<br/>
    
    			1 frase después de cada micro (5 diarias)<br />
    			3 frases diarias de hasta 30".</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>De Lunes a Domingo a las:<br />
    9.15, 12.15, 15.15, 18.15 y 21.15 hrs.</td>
    
    		</tr>
    		<tr> 
    		  <td width="150"><b>VALOR MENSUAL </th>
    		  <td> $ 5.335.000 + iva mensual.</td>
    		</tr>
    		</table>
    		
    		
    		
    		<br />
    
    
    
    
    
    
    		<table id="horarias">
    		<tr> 
    		  <th>Programa</th>
    		  <th>Se&ntilde;ales Horarias</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    
    		  <td>Presentaci&oacute;n (9 diarias)<br/>
    			9 frases diarias de hasta 30".</td>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>De Lunes a Domingo.</td>
    		</tr>
    
    		<tr> 
    		  <td width="150"><b>VALOR MENSUAL </th>
    		  <td> $ 5.335.000 + iva mensual.</td>
    		</tr>
    		</table>
    		
    		
    		
    		
    		<br />
    		<table id="temperatura">
    		<tr> 
    		  <th>Programa</th>
    
    		  <th>Se&ntilde;ales de Temperatura</th>
    		</tr>
    		<tr> 
    		  <td width="150"><strong>DERECHOS</strong></td>
    		  <td>Presentaci&oacute;n (9 diarias)<br/>
    			9 frases diarias de hasta 30".</td>
    
    		</tr>
    		<tr> 
    		  <td width="150"><strong>FRECUENCIA</strong></td>
    		  <td>De Lunes a Domingo.</td>
    		</tr>
    		<tr> 
    		  <td width="150"><b>VALOR MENSUAL </th>
    		  <td> $ 5.335.000 + iva mensual.</td>
    
    		</tr>
    		</table>
    	</div>
    
    
    
    
    
    	<br />
    	<div class="titulo">
    		<h1>Contacto Comercial</h1>
    
    	</div>
    	<div class="contenedor">
    		<p>El Departamento Comercial de Radio Horizonte, opera en: <br/>
    		Av. Pocuro 2151 comuna de Providencia - Santiago.</p>
    
    				
    		<p>
    			<strong>EJECUTIVO COMERCIAL<br />SERGIO HERNANDEZ</strong><br />
    			Tel&eacute;fono: 4105431<br/>
    
    			E-Mail: <a href="mailto:shernandez@horizonte.cl">shernandez@horizonte.cl</a>
    		</p>
    		
    		<p>Para cualquier consulta, duda o informaci&oacute;n respecto de la disponibilidad de espacios y/o programaci&oacute;n en la Radio, nuestro Departamento Comercial atender&aacute; oportunamente tales inquietudes.</p>
    	</div>
    </div>		
    	
    							
    
    			</div>
    
    
    
    <?php get_footer(); ?>
    

    copy | embed

    0 comments - tagged in  posted by estupendos on Jan 18, 2010 at 4:36 p.m. EST
  • Respaldo de templates de programas de Horizonte.cl
    <?php get_header(); ?>
    
    <?php get_sidebar(); ?>
    
    
    
    
    			
    
    			<div id="columna_izquierda">
    
    
    
    <div id="programas">
    
    
    
    						<div class="programa">
    			<img src="/images/finaseleccion.jpg" alt="Fina Seleccion" />
    			<h3>Fina <span>Selecci&oacute;n</span></h3>
    
    			<h4>De lunes a viernes a las 22.00 hrs. Repetici&oacute;n el d&iacute;a domingo.</h4>
    			<p>Los archivos favoritos de nuestro cat&aacute;logo musical. Un programa donde podr&aacute;s escuchar discos nuevos, cl&aacute;sicos y compilados de colecci&oacute;n.</p>
    			<a class="btn_plomo" href="http://www.horizonte.cl/categoria/programas/fina-seleccion/"><span>Ir al Programa</span></a>
    			<div class="clear_fix"></div>
    		</div>
    
    		
    		<div class="programa">
    			<img src="/images/5destacados.jpg" alt="5 Destacados" />
    			<h3>5 <span>Destacados</span></h3>
    			<h4>De lunes a domingo a las 8.30, 11.30, 13.30, 16.30 y 19.30 hrs.</h4>
    			<p>Entre millones de descargas anuales, miles de discos mensuales y cientos de canciones Radio Horizonte elige sólo 5 destacados.</p>
    			<a class="btn_plomo" href="http://www.horizonte.cl/categoria/programas/los-5-destacados/"><span>Ir al Programa</span></a>
    
    			<div class="clear_fix"></div>
    		</div>
    
    		<div class="programa">
    			<img src="/images/versionoficial.jpg" alt="Version Oficial" />
    			<h3><span>Versi&oacute;n</span> Oficial</h3>
    			<h4>De lunes a domingo a las 8.00, 11.00, 14.00, 17.00 y 20.00 hrs. Especial de una hora domingo a las 17.00 hrs.</h4>
    
    			<p>El especialista en covers de Radio Horizonte.</p>
    			<a class="btn_plomo" href="http://www.horizonte.cl/categoria/programas/version-oficial/"><span>Ir al Programa</span></a>
    			<div class="clear_fix"></div>
    		</div>
    
    
    
    		<div class="programa">
    			<img src="/images/agendahorizonte.jpg" alt="Agenda Horizonte" />
    
    			<h3><span>Agenda</span> Horizonte</h3>
    			<h4>De lunes a domingo a las 8.15, 10.15, 13.15, 16.15 y 19.15 hrs.</h4>
    			<p>La ciudad abre sus secretos en el 103.3 todo lo que necesitas saber para que tu vida sea más entretenida: música, conciertos, datos, actualidad, tecnología, cine, fiestas y lo mejor de la cartelera cultural.</p>
    			<a class="btn_plomo" href="http://www.horizonte.cl/categoria/agenda-horizonte/"><span>Ir al Programa</span></a>
    			<div class="clear_fix"></div>
    		</div>
    
    
    
    
    		<div class="programa">
    			<img src="/images/tele.jpg" alt="Tele" />
    			<h3><span>Tele</span></h3>
    			<h4>De lunes a domingo a las 9.15, 12.15, 15.15, 18.15 y 21.15 hrs.</h4>
    			<p>Si vas a ver televisión, déjate guiar por la radio. El mapa audiovisual de Radio Horizonte: programas, series, películas, documentales y más.</p>
    
    			<a class="btn_plomo" href="http://www.horizonte.cl/categoria/programas/tele/"><span>Ir al Programa</span></a>
    			<div class="clear_fix"></div>
    		</div>
    
    
    
    
    
    
    		<div class="programa">
    			<img src="/images/retro.jpg" alt="Retro" />
    			<h3><span>Retro</span></h3>
    			<h4>De lunes a domingo a las 10.00, 13.00, 15.00 y 19.00 hrs.</h4>
    			<p>Un flashback a los tiempos del cassette y el vinilo que revisa los hitos más importantes del mundo del cine, la ciencia, la televisión, el arte y la música; una mirada retroactiva a la cultura pop de los  50 en adelante, con sus respectivas bandas sonoras. Conducido por Carolina Pulido.</p>
    
    			<a class="btn_plomo" href="http://www.horizonte.cl/categoria/programas/retro/"><span>Ir al Programa</span></a>
    			<div class="clear_fix"></div>
    		</div>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    		<div class="programa">
    			<img src="/images/catedralencoma.jpg" alt="Catedral en Coma" />
    			<h3>Catedral en <span>coma</span></h3>
    			<h4>Miércoles, en vivo y en directo desde el Bar Catedral desde las 23.00 hrs.</h4>
    
    			<p>Bandas chilenas y extranjeras agitan las noches santiaguinas en un solo escenario. Con Vicente García-Huidobro.</p>
    			<a class="btn_plomo" href="http://www.horizonte.cl/categoria/programas/catedral-en-coma/"><span>Ir al Programa</span></a>
    			<div class="clear_fix"></div>
    		</div>
    
    
    
    		<div class="programa">
    			<img src="/images/ticket.jpg" alt="Ticket" />
    
    			<h3><span>Ticket</span></h3>
    			<h4>De lunes a domingo a las 9.30, 12.30, 15.30, 18.30 y 21.30 hrs. Especial de una hora domingo a las 19.00 hrs.</h4>
    			<p>Una invitación a (re)conocer y (re)descubrir el mundo a través del 103.3. Un viaje sin escalas al lugar donde vive la música. Conduce: Carolina Pulido</p>
    			<a class="btn_plomo" href="http://www.horizonte.cl/categoria/programas/ticket/"><span>Ir al Programa</span></a>
    			<div class="clear_fix"></div>
    		</div>
    
    		<div class="programa">
    			<img src="/images/loop.jpg" alt="Loop" />
    			<h3><span>Loop</span></h3>
    			
    			<p>Cuando el sol se esconde, la música fluorece en Radio Horizonte. No te pierdas la selección musical más bailable de la radiofonía nacional todos los sábados en la noche.</p>
    			<a class="btn_plomo" href="http://www.horizonte.cl/categoria/programas/loop/"><span>Ir al Programa</span></a>
    			<div class="clear_fix"></div>
    		</div>
    
    	</div>
    							
    
    			</div>
    
    				<?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
    
    <?php get_footer(); ?>
    

    copy | embed

    0 comments - tagged in  posted by estupendos on Jan 18, 2010 at 3:54 p.m. EST
  • Cambiar un valor por otro en una base de datos MySQL
    UPDATE wp_postmeta SET meta_value=(REPLACE (meta_value, '/home/.filofax/super45/super45.cl/images/', ''));
    

    copy | embed

    0 comments - tagged in  posted by estupendos on Jan 15, 2010 at 11:13 a.m. EST
  • Como hacer un listado de categorías en Wordpress, excluyendo algunas
    <?php
    foreach((get_the_category()) as $cat) {
    if ($cat->cat_ID != "60" )
    if ($cat->cat_ID != "70" )
    if ($cat->cat_ID != "71" )
    if ($cat->cat_ID != "72" ) {
    echo '<a href="/?cat=' . $cat->cat_ID . '"> ' .
    $cat->cat_name . '</a> ';
    }
    }
    ?>
    

    copy | embed

    0 comments - tagged in  posted by estupendos on Jan 15, 2010 at 11:10 a.m. EST
  • Loop para listar hijos de un page de Wordpress
    <?php $paginas = get_pages('child_of=1'); ?>
    <?php foreach($paginas as $pagina): ?>
      <?php if (have_posts()) : ?>
        <?php query_posts("page_id=$pagina->ID"); ?>
        <?php while (have_posts()) : the_post(); ?>
          <?php the_content('Read the rest of this entry &raquo;'); ?>
        <?php endwhile; ?>
      <?php else : ?>
      <?php endif; ?>
      <?php wp_reset_query(); ?>
    <?php endforeach; ?>
    

    copy | embed

    3 comments - tagged in  posted by estupendos on Jan 15, 2010 at 11:08 a.m. EST
  • como crear un loop
    <?php query_posts(array('category_name' => 'qwerty', 'posts_per_page' => 5));
    if (have_posts()): while(have_posts()): the_post(): ?>
    
    // el contenido 
    
    <?php else: ?>
    no existe nada
    <?php endif; endwhile; ?>
    

    copy | embed

    0 comments - tagged in  posted by estupendos on Jan 15, 2010 at 11:08 a.m. EST
Sign up to create your own snipts, or login.