<?php /** * Created by PhpStorm. * User: dan * Date: 7/13/15 * Time: 11:23 AM */ include 'config/config.php'; include 'classes/Comments.php'; include 'classes/Replies.php'; $obj1 = new Comments(); $obj2 = new Replies(); $data1 = $obj1->getComments(); $data2 = $obj2->getReplies(); ?> <div class="post-comments"> <h1>Comments</h1> <div class="comments-listing"> <ul> <?php if (isset($data1) && !empty($data1)) { foreach ($data1 as $comm) { ?> <li id=""> <div class="comment hidden-wrap"> <div class="avatar-container"> <div class="bordered-image"> <a href=""> <img alt="aaa" src="<?php
<?php include_once 'config/config.php'; include_once 'classes/comments.php'; include_once 'classes/replies.php'; $title = 'Comments'; $comm = new Comments(); $q = $comm->getComments(); $reply = new Replies(); $s = $reply->getReplies(); ?> <!DOCTYPE html> <html> <head> <?php include 'includes/head.php'; ?> </head> <body> <?php include 'includes/header.php'; include 'includes/sub_header.php'; ?> <div class="site-wrap"> <div class="main-content"> <?php include 'includes/comm_page.php'; ?> </div> <?php include 'includes/footer.php';