<body>
    <ul class="breadcrumb">
      <li>
        <a href="/">Home</a>
      </li>
      <li>
        <a href="/article/list">Articles</a>
      </li>
      <li class="active">
        <?php echo $this->title; ?>
      </li>
    </ul>

    <div style="min-height:30em">
    
      <span class="badge">Information Technology</span>
      <span class="badge">Farming</span>
      <span class="badge">Investing</span>
      <h5><a href="/article/<?php echo $this->articleid ?>/edit">Edit this article</a> | <a id="deletearticle" href="/article/<?php echo $this->articleid ?>/delete">Delete this article</a></h5>
      <h3>
        <?php echo $this->title; ?>
      </h3>
      <div>
        Published by <?php echo $this->pseudonym; ?>
      </div>
      <p>
      <div class="col-xs-6 col-md-2" style="padding:0.5em">
            <img class="img-thumbnail" src="<?php echo $this->image; ?>">
      </div>
  
        
        <?php echo $this->BbCode($this->content); ?>
      </p>
    </div>
  

</body>

<script>
$(document).ready(function() {
    $('#deletearticle').click(function() {
        return confirm('Do you want to delete this article?');
    });
});
</script>



<body>
    <ul class="breadcrumb">
      <li>
        <a href="/">Home</a>
      </li>
      <li>
        <a href="/article/list">Articles</a>
      </li>
      <li class="active">
        <?php echo $this->title; ?>
      </li>
    </ul>

    <div style="min-height:30em">
    
      <span class="badge">Information Technology</span>
      <span class="badge">Farming</span>
      <span class="badge">Investing</span>
      <h5>
        <a href="/article/<?php echo $this->articleid ?>/edit">Edit this article</a> | 
        <a id="deletearticle" href="/article/<?php echo $this->articleid ?>/delete">Delete this article</a> |
        <a href="#" id="sendmessagedialog" data-id="<?php echo $this->userid; ?>">Reply to author</a>
      </h5>

      <?php echo $this->partial('messaging/dialog.phtml'); ?>

      <h3>
        <?php echo $this->title; ?>
      </h3>
      <div>
        Published by <?php echo $this->pseudonym; ?>
      </div>
      <p>
      <div class="col-xs-6 col-md-2" style="padding:0.5em">
            <img class="img-thumbnail" src="<?php echo $this->image; ?>">
      </div>
  
        
        <?php echo $this->BbCode($this->content); ?>
      </p>
    </div>
  

</body>

<script>
$(document).ready(function() {
    $('#deletearticle').click(function() {
        return confirm('Do you want to delete this article?');
    });
});
</script>



Allow responses to article authors
Allow responses to article authors
