PHP Classes

File: app/views/index/index.volt

Recommend this page to a friend!
  Classes of Stefan Ninic   PHP Twitter Clone   app/views/index/index.volt   Download  
File: app/views/index/index.volt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Twitter Clone
Social network application similar to Twitter
Author: By
Last change:
Date: 10 months ago
Size: 532 bytes


Class file image Download
{% if posts %} {% for post in posts %} <div class="panel panel-default" data-id={{ post.getId() }}> <div class="panel-body"> {{ post.getPost() }} {% if post.getEmail() == session.get('email') or session.get('role') == 'admin' %} <div class="text-center"> <a class="btn btn-danger" href="#" role="button">Delete</a> </div> {% endif %} </div> </div> {% endfor %} {% endif %}