Beispiel #1
0
    foreach ($readArtGb as $gb) {
        $gbnum++;
        echo '<li';
        if ($gbnum % 5 == 0) {
            echo ' class="last" ';
        }
        echo '>';
        getThumb($gb['img'], $art['titulo'] . '( imagem' . $gbnum . ')', $art['titulo'], '100', '65', $art['id'], '', '', '#');
        echo '</li>';
    }
    echo '</ul><!-- //gallery -->';
}
?>
        <div class="metadata">
            <?php 
$autor = getAutor($art['autor']);
$avatar = $autor['avatar'] != '' ? BASE . '/tim.php?src=' . BASE . '/uploads/avatars' . $autor['avatar'] . '&w=50&h=50&zc=1&q=100&a=t' : $autor['foto'];
?>
        	<img src="<?php 
echo $avatar;
?>
" width="50" height="50" title="<?php 
echo $autor['nome'];
?>
" alt="Avatar de <?php 
echo $autor['nome'];
?>
">
            <span class="autor">Por: <strong><?php 
echo $autor['nome'];
?>
Beispiel #2
0
setArq('tpl/header');
?>

<div id="content">

<div class="form">
	<h1 class="pgtitulo">Bem vindo(a) <?php 
echo $user['nome'];
?>
 ao seu perfil.</h1>
    
    <div class="left" style="float:right;">
    	<h2>Confira e atualize seu avatar:</h2>
        <p>Sua cara em nosso site atualmente é:</p>
        <?php 
$autor = getAutor($user['id']);
$avatar = $autor['avatar'] != '' ? BASE . '/tim.php?src=' . BASE . '/uploads/avatars/' . $autor['avatar'] . '&w=80&h=80&zc=1&q=100&a=t' : $autor['foto'];
?>
        <img src="<?php 
echo $avatar;
?>
" width="80" height="80" title="<?php 
echo $autor['nome'];
?>
" alt="Avatar de <?php 
echo $autor['nome'];
?>
">
        <p>Deseja alterar este avatar?</p>
        <?php 
if (isset($_POST['sendAvatar'])) {