Example #1
0
         // CSRF Token
         echo "<input type='hidden' name='csrf_token' value='" . $data['csrf_token'] . "' />";
         // Display Submit Button
         echo "<button class='btn btn-xs btn-success' name='submit' type='submit'>Update Reply</button>";
         echo Form::close();
     } else {
         // Display Topic Reply Content
         echo "{$rf_p_content_bb}";
         // Get user's Signature
         $user_signature = CurrentUserData::getUserSignature($rf_p_user_id);
         if (!empty($user_signature)) {
             echo "<hr style='margin-bottom: 0px'><font size='1'><i>Signature</i></font><hr style='margin-top: 0px'> {$user_signature}";
         }
     }
     // Check to see if there are any images attaced to this post
     $check_for_image = Images::getForumImagesTopicReply($rf_p_id, $rf_p_main_id);
     if (isset($check_for_image)) {
         echo "<hr style='margin-bottom: 0px'><font size='1'><i>Image Attachments</i></font>";
         echo "<hr style='margin-top: 0px'>";
         echo "<div align='center' style='margin-bottom: 8px'><a href='" . DIR . "{$check_for_image}' target='_blank'><img src='" . DIR . "{$check_for_image}' height='100px'></a></div>";
     }
 } else {
     // Mod/Admin has disallowed this reply.  Show message
     echo " <strong><font color='red'>This Reply Has Been Disabled By Mod/Admin.  Contact Mod/Admin for more information.</font></strong> ";
     echo "<hr>";
     echo "<b>Reply Hidden By</b>: {$rf_p_user_name} <b>@</b> {$rf_p_hide_timestamp}";
 }
 echo "</div>";
 echo "</div>";
 echo "<div class='panel-footer' style='text-align:right'>";
 echo "<div class='row'>";