/*
getLastComentarios()
: PARA EL PORTAL
*/
//TIPO DE USUARIOS(rangos)
function getRangosHome(){
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT DISTINCT r.rango_id, r.r_name, r.r_image, r.r_color, r.r_type FROM u_rangos AS r ORDER BY r.r_type LIMIT 10');
$data = result_array($query);
return $data;
}
// ULTIMOS COMENTARIOS
$smarty->assign("tsComments",$tsPosts->getLastComentarios());
//Tipos de usuario
$smarty->assign("tsRangosHome",$tsPosts->getRangosHome());
/*Rangos en la home*/
#webAffs .wMod-huser {
background: url(images/icons/user.png) left center no-repeat!important;
}
.wMod-data ul li{
padding: 6px 0px!important;
position: relative;
display: block;
float: left;
border-bottom: dashed 1px #ddd;
width: 100%;
}
.wMod-data ul li a{
width: 85%;
POSITION: RELATIVE;
display: block;
float: left;
}
.wMod-data ul li a:hover{
text-decoration:none;
}
.wMod-data ul li span{
display: block;
width: 15%;
position: RELATIVE;
float: left;
}
{include file='modules/m.home_afiliados.tpl'}
{include file='modules/m.home_tipodeusuarios.tpl}