<?php lliure::inicia('aplimo'); lliure::inicia('navigi'); lliure::loadcss($_ll['app']['pasta'] . 'padroes.css'); //lliure::loadcss($_ll['app']['pasta'].'estilo.css'); $_ll['titulo'] = 'Hub'; require_once $_ll['app']['pasta'] . 'sys/funcoes.php'; require_once 'app/intext/sys/integracao.php'; intext::idioma_set('pt_br'); intext::set(37, 10); class lliurehub extends aplimo { function monta() { global $_ll; if (!isset($this->class_li)) { echo 'Método header() não foi instanciado!'; die; } $total_reg = 30; $tr = 10; ?> <div class="container cabecalho ll_background"> <div class="menu"> <h1><a href="<?php echo $_ll['url']['endereco']; ?> "><img src="<?php echo $_ll['app']['pasta'] . 'img/logo-top.png'; ?>
<?php lliure::loadcss($_ll['app']['pasta'] . 'projeto/estilo.css');
<?php /** * * Fianaise | lliure 7.x * * @Versão 1.0 * @Desenvolvedor Jeison Frasson <*****@*****.**> * @Entre em contato com o desenvolvedor <*****@*****.**> http://www.newsmade.com.br/ * @Licença http://opensource.org/licenses/gpl-license.php GNU Public License * */ lliure::iniciaApi('navigi');
if (str_replace('/', DS, trim($_SERVER['DOCUMENT_ROOT'], DS) . $_SERVER['SCRIPT_NAME']) !== trim(str_replace('/', DS, __FILE__), DS)) { return $_ll; } $_ll['operation_types'] = array('opt', 'api', 'app'); $_ll['operation_mode'] = 'start'; $_ll['operation_type'] = false; $_ll['enter_mode'] = 'start'; $_ll['terminal'] = false; $arrURL = $_ll['url']['get']; /** Verifica se a requsição é para o terminal; */ if (($chave = array_search('terminal', $arrURL)) !== false) { $_ll['terminal'] = true; unset($arrURL[$chave]); } /** Verifica se a pessoa esta logada; */ if (($chave = array_search('nli', $arrURL)) !== false || !lliure::get_login()) { $_ll['enter_mode'] = 'nli'; if ($chave != false) { unset($arrURL[$chave]); } } /** Verifica se é para o terminal */ if ($_ll['terminal']) { /** Se existri um comando */ if (!empty($_GET)) { /** Executa o terminal */ Terminal::start(isset($_GET['cmd']) ? $_GET['cmd'] : $_GET); die; /** se nao existir um comando */ } else { /** Seta a parte visial do terminal */
<?php lliure::loadcss($_ll['app']['pasta'] . 'social/estilo.css');
<?php lliure::inicia('parsedown'); intext::set(92); lliure::loadjs($_ll['app']['pasta'] . 'js/jquery.validate.min.js');
$query = mysql_query('select * from ' . PREFIXO . 'usuario_comunidade where comunidade = "' . $cmdd['id'] . '" and usuario = "' . $_ll['user']['id'] . '" '); $cmdd['adm'] = false; $cmdd['membro'] = false; if (mysql_num_rows($query) != 0) { $cmdd['membro'] = true; $dados = mysql_fetch_assoc($query); if ($dados['status'] == 'A') { $cmdd['adm'] = true; } } $this->cmdd = $cmdd; $_ll['titulo'] .= ' | ' . $this->cmdd['nome']; } /* //coloque neste array as paginas que não serão bloqueadas $paguinasLivre = array( 'home' ); if(isset($_GET[2]) and !in_array($_GET[2], $paguinasLivre) and $cmdd['membro'] == false){ $sh_pagina = $sh_boqueio; }else{ $sh_onserver = $sh_pagina.'comunidade/'.$subPagina.'.php'; $sh_pagina = 'comunidade/'.$subPagina.'.php'; } */ intext::set(31); lliure::loadcss($_ll['app']['pasta'] . 'comunidade/comunidade.css');
<?php intext::set(24); lliure::loadcss($_ll['app']['pasta'] . 'home/estilo.css');
<?php lliure::inicia('parsedown');
<?php lliure::loadcss($_ll['app']['pasta'] . 'perfil/estilo.css'); $this->usuario = mysql_fetch_assoc(mysql_query('select a.*, b.nome as estado, b.sigla from ' . PREFIXO . 'usuario_conta a left join br_estado b on b.sigla = a.estado where a.id = "' . $_GET['user'] . '" limit 1')); $_ll['titulo'] .= ' - ' . $this->usuario['nome'] . ' ' . $this->usuario['sobrenome']; $sql = 'select b.id, b.nome, b.img from ' . PREFIXO . 'usuario_comunidade a left join ' . PREFIXO . 'comunidade b on b.id = a.comunidade where a.usuario = "' . $this->usuario['id'] . '" '; $this->comunidades = mysql_query($sql); $sql = 'select a.id, a.img, a.nome, a.sobrenome from ' . PREFIXO . 'usuario_conta a where id in (select a.contato from ' . PREFIXO . 'usuario_contato a where a.usuario = "' . $this->usuario['id'] . '" and a.contato != "' . $this->user['id'] . '" ) order by rand() limit 16'; $this->contatos = mysql_query($sql); $meuContato = @mysql_result(mysql_query('select id from ' . PREFIXO . 'usuario_contato where usuario = "' . $this->user['id'] . '" and contato = "' . $this->usuario['id'] . '" '), 0); intext::set(193, 234);