Пример #1
0
        $feedbackController = new FeedbackController();
        $feedback = $feedbackController->find($postId);
        ?>

    <div class="content-wrapper">

        <section class="content-header">
            <h1>
                Read Feedback
            </h1>
        </section>

        <?php 
        if ($feedback) {
            $feedback->setStatus("R");
            $feedbackController->update($feedback);
            ?>
        <section class="content">
            <div class="row">
                <div class="col-md-9">
                    <div class="box box-primary">
                        <div class="box-header with-border">
                            <h3 class="box-title">Read Feedback</h3>

                            <div class="box-tools pull-right">
                                <a href="#" class="btn btn-box-tool" data-toggle="tooltip" title="Previous"><i
                                        class="fa fa-chevron-left"></i></a>
                                <a href="#" class="btn btn-box-tool" data-toggle="tooltip" title="Next"><i
                                        class="fa fa-chevron-right"></i></a>
                            </div>
                        </div>