Ejemplo n.º 1
0
            <div class="medium-4 columns">Title</div>
            <div class="medium-2 columns">Created by</div>
            <div class="medium-2 columns">Created on</div>
            <div class="medium-1 columns">Post ID</div>
            <div class="medium-1 columns"></div>
            <div class="medium-1 columns" id="space">&nbsp;</div>
        </div>

        <div class="row" id="forum">
            <div class="medium-1 columns" id="space">&nbsp;</div>
            <div class="medium-4 columns"><?php 
    echo 'Reply on ' . displayTitle($thispost->title);
    ?>
</div>
            <div class="medium-2 columns"><?php 
    echo displayCreator($user->_userIdtoUsername($reply['user_id']));
    ?>
</div>
            <div class="medium-2 columns"><?php 
    echo stampToText($reply['date_created']);
    ?>
</div>
            <div class="medium-1 columns"><?php 
    echo $reply['id'];
    ?>
</div>
            <div class="medium-1 columns"><a href="<?php 
    echo BASE_URL . 'index.php?c=post&a=deletepost&id=' . $reply['id'];
    ?>
"><img src=" <?php 
    echo BASE_URL . 'img/delete.png';
Ejemplo n.º 2
0
        <div class="medium-1 columns"></div>
        <div class="medium-1 columns" id="space">&nbsp;</div>
    </div>

    <div class="row" id="forum">
        <div class="medium-1 columns" id="space">&nbsp;</div>
        <div class="medium-3 columns"><?php 
echo displayTitle($thispost->title);
?>
</div>
        <div class="medium-1 columns"><?php 
echo Post::viewCountViews($thispost->id);
?>
</div>
        <div class="medium-2 columns"><?php 
echo displayCreator($this->_userIdtoUsername($thispost->user_id));
?>
</div>
        <div class="medium-2 columns"><?php 
echo stampToText($thispost->date_created);
?>
</div>
        <div class="medium-1 columns"><?php 
echo $thispost->id;
?>
</div>
        <div class="medium-1 columns"><a href="<?php 
echo BASE_URL . 'index.php?c=post&a=deletetoppost&id=' . $thispost->id;
?>
"><img src="<?php 
echo BASE_URL . 'img/delete.png';