Instantly share code, notes, and snippets.

Embed
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">
{if isset($post)}
<h2 class="sub-header">Titulo</h2>
<!-- Post Principal -->
<div class="media">
<div class="media-left" style="text-align: center;">
<a href="?view=perfil&user=ID">
<img class="media-object" src="uploads/avatar/default.png" width="80" height="80" />
</a>
<small><strong>Usuario</strong> <br /> <span style="color: #FF0000">Offline</span></small>
</div>
<div class="media-body principal-post">
Este es el post principal
</div>
</div>
<!-- Post Principal -->
<!-- Comentario -->
<div class="media">
<div class="media-body comun-post">
Esto es un comentario
</div>
<div class="media-right" style="text-align: center;">
<a href="?view=perfil&user=ID">
<img class="media-object" src="uploads/avatar/default.png" width="80" height="80" />
</a>
<small><strong>Usuario</strong> <br /> <span style="color: #FF0000">Offline</span></small>
</div>
</div>
<!-- Comentario -->
<!-- AJAX de comentarios -->
<div id="_COMMENTS_">
<!--<div class="alert alert-warning" style="margin: 15px 0px -10px 0px;background:#d6b62d;" role="alert">Haciendo espacio para tu comentario...</div>-->
</div>
<!-- condición de inciio de sesión -->
<div id="_POINTS_">
<nav>
<center>
<ul class="pagination">
{for $x=1 to 10}
<li><a href="#" onclick="AddPoints({$x});">{$x}</a></li>
{/for}
</ul>
</center>
</nav>
<!--<nav>
<center>
<div class="puntos-agregados">Puntos agregados correctamente</div>
</center>
</nav>
<nav>
<center>
<div class="puntos-no-agregados">Ya has puntuado antes este post</div>
</center>
</nav>-->
</div>
<!-- condición de inciio de sesión -->
<div class="media">
<div class="media-body">
<textarea class="form-control" id="comentario" placeholder="Hacer un comentario..."></textarea>
<center>
<a style="margin-top: 7px;" href="#" id="send_request" class="btn btn-primary btn-sm">Comentar</a>
</center>
</div>
<div class="media-right" style="text-align: center;">
<img class="media-object" src="uploads/avatar/default.png" width="80" height="80" />
</div>
</div>
{else}
<div class="media">
<div class="alert alert-danger" role="alert">
<strong>ERROR:</strong> El post solicitado no existe o ha sido borrado.
</div>
</div>
{/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