

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

        <ol class="breadcrumb">
            <li><a href="#">المشروعات </a></li>
            <li><a href="projectstagesdataController.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="projectstagesdataController.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> : 
                           <h4>{$project->name}</h4>
                    </div>


                    <table class="table table-black">
                        <thead>
                            <tr>
                                <th style="width:50px;">م</th>
                                <th>المرحلة</th>
                                <th>عنوان</th>
                                <th>وصف</th>
                                <th>صور</th>
                                <th>ملفات</th>


                              
                            </tr>
                        </thead>
                        <tbody>



                            {assign var=it1r value=1}
                            {foreach $projectstagechosse as $projectstagecho}

                            <tr >

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



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


                        </tbody>
                    </table>

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








