Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
{include 'overall/header.tpl'}
<body>
{include 'overall/nav.tpl'}
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
{include 'overall/menu.tpl'}
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<h2 class="sub-header">Pefil de USER</h2>
<div class="media">
<div class="media-left">
<img class="media-object" src="uploads/avatar/default.png" width="110" height="110" />
</div>
<div class="media-body">
<ul style="list-style: none; padding-left: 8px;">
<li style="margin-bottom: 2px;"><i class="fa fa-user"></i> <strong>Usuario:</strong> user</li>
<li style="margin-bottom: 2px;"><i class="fa fa-user-secret"></i> <strong>Nombre Real:</strong> name lastname </li>
<li style="margin-bottom: 2px;"><i class="fa fa-birthday-cake"></i> <strong>Nacimiento:</strong> dd-mm-yyyy </li>
<li style="margin-bottom: 2px;"><i class="fa fa-book"></i> <strong>Posts:</strong> 0</li>
<li style="margin-bottom: 2px;color:#FF0000;"><i class="fa fa-bolt"></i> <strong>Estado:</strong> Offline</li>
</ul>
</div>
</div>
<table class="table table-striped table-hover ">
<thead>
<tr>
<th style="width: 80%;">Posts</th>
<th style="width: 10%;">Puntos</th>
<th style="width: 10%;">Comentarios</th>
</tr>
</thead>
<tbody>
{if 1==1}
<tr>
<td><a href="?view=posts&id=ID">El post</a></td>
<td>0</td>
<td>0</td>
</tr>
<tr class="active">
<td><a href="?view=posts&id=ID">El post</a></td>
<td>0</td>
<td>0</td>
</tr>
{else}
<tr class="info">
<td colspan="3" style="text-align: center;">Este usuario no ha creado ningun post.</td>
</tr>
{/if}
</tbody>
</table>
{if 1==1}
<nav>
<ul class="pager">
{if !isset($smarty.get.pag)}
<li class="disabled"><a href="#">Anterior</a></li>
<li><a href="?view=perfil&user=ID&pag=2">Siguiente</a></li>
{else}
<li><a href="?view=perfil&user=ID&pag=ANTERIOR">Anterior</a></li>
<li><a href="?view=perfil&user=ID&pag=SIGUIENTE">Siguiente</a></li>
{/if}
</ul>
</nav>
{/if}
</div>
</div>
</div>
{include 'overall/footer.tpl'}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment