div con imagen
public php v1 · immutable <? $url_user=$datos['spa']['subdominio'].".boxnuvo.com"; if($datos['posts']['imagen']!="") {?> <div class="img" align="center" style="background: url(/img/images_news/tn_<?php echo $datos['posts']['imagen']; ?>) centerno-repeat"> <a href="/posts/view/<?php echo $datos['posts']['id']?>"> <img src="/img/thumb.png" /> </a> </div><? }else{?> <div class="imh" align="center" style="background: url(/path/de/la/imagen) center no-repeat"><?php }?>