<div id="request_model_archive" class="modal fade" tabindex="-1" data-width="1000">
                                  
                                            
                                        
                                        <div class="modal-body">
                                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                                            <div id="details">
                                               <input type="hidden" id="requestId" name="requestId" value="{$request->id}">
                                            <h2 class="modal-title">{$request->title}</h2>
                                            
                                            <div class="sessionbo">
                                                                        <div class="col-md-4 bold">
                                                                            Details
                                                                        </div>

                                                                        <div class="col-md-8">
                                                                            {$request->details}
                                                                        </div>
                                                                        <div class="clearfix"></div>
                                                                    </div>
                                            <div class="sessionbo">
                                                                        <div class="col-md-4 bold">
                                                                            Decision
                                                                        </div>

                                                                        <div class="col-md-8">
                                                                            {$request->decision}
                                                                        </div>
                                                                        <div class="clearfix"></div>
                                                                    </div>

<div class="row pdng15px">
 <h2 class="modal-title">Members opinion</h2>

    <div class="cococmmo">
         <!--Members openion --------------------------------------------------->
         <table class="table table-striped table-bordered table-hover" id="sample_2">
                                                                <thead>
                                                                    <tr>
                                                                        <th class="table-checkbox">
                                                                           Name
                                                                        </th>
                                                                        <th>
                                                                            Opinion
                                                                        </th>
                                                                    </tr>
                                                                </thead>
                                                                <tbody>
                                                                    {foreach $members as $member}
                                                                    <tr class="odd gradeX">
                                                                        <td>
                                                                            {$member->memberName}
                                                                        </td>
                                                                        <td>
                                                                            {if $member->openion == 1}Accept{else if $member->openion == 2}Refused{/if}
                                                                        </td>
                                                                        
                                                                    </tr>
                                                                    {/foreach}
                                                                </tbody>
                                                            </table>
    </div> 
</div>
                                             <hr>   
                                                
                                                <h2>Comments
                                                     
                                                </h2>

          <div>
                                                    
              


{foreach $comments as $comment}
    <div class="media">
        <a href="javascript:;" class="pull-left blogpapa"></a>
        <div class="media-body">
            <h4 class="media-heading bold"> {$comment->memberName}
                
            </h4>
            <p>{$comment->comment}</p>
            <hr>
            <div id="relatedComments{$comment->id}">
                {foreach $comment->childs as $relatedComment}  
                <!-- Nested media object -->
                   <div class="media">
                       <a href="javascript:;" class="pull-left blogpapa"></a>
                       <div class="media-body">
                           <h4 class="media-heading bold">{$relatedComment->memberName}

                           </h4>
                           <p>{$relatedComment->comment}</p>
                       </div>
                   </div>
                   <!--end media-->
                   <hr>
                {/foreach}
            </div>
          
        </div>
    </div>
{/foreach}


                                                    

                                                    <div class="modal-footer">
                                            <button type="button" data-dismiss="modal" class="btn btn-default">Close</button>
                                        </div>


                                               

</div>

                                            </div>
                                       
                                                                                </div>
</div>