{% extends "t_article.twig" %}

{% block header_css %}


{% endblock %}

{% block header_js %}

	
   
{% endblock %}

{% block right_side %}
    
    {% set contenu = data.contenu %}
    
    {% set contenuIndex=data.count  %}
    {% set type=data.type  %}
     {% set path=data.path  %}
	 
    <div class="col-sm-8">


        <div style="" class="row col-sm-12">


            <ul class="breadcrumb "  style="font-family: 'Droid Arabic Kufi',serif;font-size:12px;font-weight:bold;" class="head_idhaa">
                <li> <a href="?action=index">الرّئيسية</a></li>
                {% if type  %}
                <li><a href="?snhtl=wrap&page=sawtiyat">الصّوتيات</a></li>
                {% else   %}
                  <li>الصّوتيات</li>
                    {% endif   %}
                
                 {% if type  %}
                     {% if type.type==1  %}
                     {% set titre='خطب منبرية'  %}
                      {% elseif type.type==2  %}
                          {% set titre='دروس و محاضرات'  %}
                           {% elseif type.type==3  %}
                          {% set titre='دورات علمية'  %}
                          {% endif   %}
                     
                <li><a href="?snhtl=wrap&page=Listsawtiyat&type={{type.type}}">{{titre}}</a></li>
                 {% endif   %}
                {{rawing(path.path)|raw}}
            </ul>   

            <div style="margin: 0;" class="row ">

            
                <table style="font-family: 'Lotus Linotype',serif;font-size: 15px;" class="table table-hover table-bordered">
                    <thead style="background-color: #D65454;">
                        <tr style="color:#FFFFFF;text-align: center;">
                            <th style="text-align: center;">المجموعة</th>
                            <th style="text-align: center;" >عدد الصوتيات</th>
                            
                        </tr>
                    </thead>
                    <tbody style="text-decoration: none;color: #006b67">
                        
                        
                      
                          {% for  info in contenu %}
                           
                               
                               
                           
                               {% if loop.index is divisible by(2) %}
                         <tr class="success">
						  {% else %} 
						   <tr >
						   {% endif %}
                            <td><a href="?snhtl=wrap&page=Listsawtiyat&list={{info.ID_LIST}}&type={{info.ID_TYPE}}">{{info.TITLE|raw}}</a></td>
                           
                            <td>   {% if(info.COUNT>0) %}{{info.COUNT}}  {% else %} غير محدد  {% endif %} </td>
                        </tr>
                       
               {% endfor %}
                




                    </tbody>
                </table>

             

             
            </div>





        </div>











    </div>
{% endblock %}
