Beispiel #1
0
<?
# Nutus [©2007 - Nutus, Todos los derechos reservados]
/*
 * Created on 22/06/2007
 * @author Flavio Robles (flavio.robles@nutus.com.ar)
 */

global $ari;
$plantilla = $ari->newTemplate();
$plantilla->caching = 0; 
$modulo = new oob_module ('seguridad');
$plantilla->assign("userID", $ari->get("user")->id());
$plantilla->display($modulo->usertpldir(). "/bl_user_delete.tpl");
?>
Beispiel #2
0
<?php

global $ari;
$plantilla = $ari->newTemplate();
$plantilla->caching = 0;
$plantilla->force_compile = true;
$modulo = new oob_module('perfil');
$limit = 4 * 8 - 1;
// dejamos un lugar para el link.
// check user permissions
if (is_a($ari->user, 'oob_user')) {
    $usuario = $ari->user;
    // asignamos datos del usuario
    if ($perfil_existente = perfil_perfil::existe_usuario($ari->user)) {
        $perfil = $perfil_existente[0];
        $plantilla->assign("amigos", perfil_amigo::get_mis_amigos_bloque($limit));
        $plantilla->display($modulo->usertpldir() . DIRECTORY_SEPARATOR . "bl_amigos.tpl");
    }
}
Beispiel #3
0
<?
/**
########################################
#OOB/N1 Framework [©2004,2006]
#
#  @copyright Pablo Micolini
#  @license BSD
######################################## 
*/

// LOGIN BLOCK

global $ari;
$plantilla = $ari->newTemplate();
$plantilla->caching = 0; 

$modulo = new oob_module ('seguridad');

if ($ari->user)
{	
	$plantilla->assign ("logued", true);
	$plantilla->assign ("uname", $ari->user->get('uname'));

}
else
	$plantilla->assign ("logued", false);
	
$plantilla->display($modulo->usertpldir(). "/bl_login.tpl");
?>