

<div class="row">
    <div class="container">

        
        <ol class="breadcrumb">
            <li><a href="#">المشروعات </a></li>
            <li><a href="projectdailyreportController.php?do=show">    التقرير اليومى للمشروع</a></li>
            <li class="active">تفاصيل  </li>
        </ol>


        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                <h3 class="panel-title"> تفاصيل  </h3>
            </div>
            <div class="panel-body">


                {literal}
                <form class="form-horizontal"  action="projectdailyreportController.php"  id="studentformajax" method="post"  enctype="multipart/form-data" data-dosave="?do=savedata">
                    {/literal}


                    <div class="form-group"  style="text-align: center;">
                        <label  class="control-label">المشروع </label> : 
                           <h3>{$project->name}</h3>
                    </div>


                    <table class="table table-bordered text-center">
                        <thead style="    background: #ccc;">
                            <tr class="text-center"> 
                                <th  class="text-center" style="width:50px;">م</th>
                                <th  class="text-center" width="15%">تاريخ</th>
                                <th  class="text-center">عنوان التقرير</th>
                                <th class="text-center">وصف</th>
                                <th class="text-center">صور</th>
                                <th class="text-center">ملفات</th>


                              
                            </tr>
                        </thead>
                        <tbody>



                        {assign var=it1r value=1}
                        {foreach $projectdailyreports as $projectdailyreport}

                        <tr >

                            <td>{$it1r}</td>
                            <td>{$projectdailyreport->datechosse}</td>
                            <td>{$projectdailyreport->title}</td>
                            <td>{$projectdailyreport->descripe}</td>
                            <td> 
                              {foreach $projectdailyreport->allimages as $image}
                              <img src="../upload/project/{$image}" style=" width: 100px;height: 100px;">
                              {/foreach}
                            </td>
                            <td>
                              {foreach $projectdailyreport->allfiles as $file}
                              <a href="../upload/project/{$file.file}"  target="_blank" download="" style=" width: 30px;height: 30px;">{$file.name}</a><br>
                              {/foreach}
                            </td>
                           



                        </tr>
                        {capture assign=it1r}{$it1r+1}{/capture}
                        {/foreach}


                        </tbody>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>








