Ver Mensaje Individual
  #15 (permalink)  
Antiguo 09/04/2015, 00:04
Avatar de el_tigre
el_tigre
 
Fecha de Ingreso: febrero-2006
Ubicación: Perú
Mensajes: 1.044
Antigüedad: 20 años, 9 meses
Puntos: 8
Respuesta: imagen diagonal (solucionado)

Amigos ya quedó con este código

Código PHP:
<?php
    $post_date 
= strtotime( $post->post_date );
    
$limit_time = time() - ( 7 * DAY_IN_SECONDS );
?>
<?php 
if ($post_date > $limit_time):?>
    <div class="nuevo"></div>
<?php endif ?>
Muchas gracias por todo.