<?php
header("Content-type: application/vnd-ms-excel");
header("Content-Disposition: attachment; filename=$nama_file.xls");

?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Data Pendaftar</title>
	
	<style type="text/css">
	body{ background-color: #FFF; }
		.num {
          mso-number-format:"\@";
         }
        .title-sm{
          /*font-family: 'myriadproregular'; */
          font-size: 15pt; font-weight: bold;
         } 
         .title-lg{
          /*font-family: 'myriadproregular';  */
          font-size: 24pt; font-weight: bold;
         }          
          body{ font-size: 11pt;
            /*font-family: 'myriadproregular'; */
          }
          .title-jurusan{
             /*font-family: 'myriadproregular';  */
             font-size: 20pt; font-weight: bold;
          }

          #head-title{
             /*font-family: MyriadPro-Regular; */
             src: url("{{ asset('assets/font/MyriadPro-Regular.otf') }}");
             font-family:MyriadPro-Regular;
             font-weight:bold;
          }
          
          #head-big{
             /*font-family:MyriadPro-Cond; */
             font-weight:bold;
             font-size:22pt;
          }
          
          #container td{
             /*font-family:MyriadPro-Regular;*/
          }

          .page-break {
              page-break-after: always;
          }

          div.ui-menu li {
			    list-style:none;
			    background-image:none;
			    background-repeat:none;
			    background-position:0; 
			}
			ul
			{
			    list-style-type:none;
			    padding:0px;
			    margin:0px;
			}
			li
			{
			    background-image:url(sqpurple.gif);
			    background-repeat:no-repeat;
			    background-position:0px 5px; 
			    padding-left:14px;
			}
            
            .responsive {
                width: 100%;
                height: auto;
                }


        .kotak {
            border: 1px solid #000; 
            width: 15px;
            height: 15px;  
            font-weight: bold;   
            font-size:9pt
          
            } 
             
            
	</style>
     <style> .str{ mso-number-format:\@; } </style>
    <center>
        <h3>Data Reviewer SIPEKA @php echo date('d-m-Y'); @endphp</h3>
    </center>
        <table>
            <tbody>
            <tr style="font-size:10pt;" align="center">
                <td>No.</td>
                <td>Nama Penelaah</td>
                <td>NIP</td>
                <td>Unit Kerja</td>
                <td>Jumlah Protokol yang Ditelaah</td>
            </tr>
            </tbody>                         
            <tbody>
            @php $no=1;@endphp
            @foreach($rs as $data)             
                <tr style="font-size:10pt;">
                    <td align="center">{{$no++}}</td>        
                    <td>{{$data->nama}}</td>
                    <td class="str">{{$data->nip}}</td>
                    <td>{{$data->unit}}</td>
                    <td>{{$data->jumlah}}</td>
                </tr>          
            @endforeach    
            </tbody>
        </table>





        


          







  
