<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><?php echo e($titre); ?></title>
    <style type="text/css" media="screen,print">
        .new-page {
            display: block;
            clear: both;
            page-break-before: always;
        }
    </style>

    <style type="text/css">
        table {
            page-break-inside: auto
        }

        tr {
            page-break-inside: avoid;
            page-break-after: auto
        }

        thead {
            display: table-header-group
        }

        tfoot {
            display: table-footer-group
        }
    </style>
</head>

<body>
    <br>
    <table cellspacing="0" cellpadding="0" style="width:100%;">
        <tr>
            <td style="width:10%;vertical-align:top;">
                <img src="<?php echo e(config('app.aws_url') . $universite->nameimguni); ?>" alt=""
                    style="width:100px;height:100px;" />
            </td>
            <td style="width:75%;text-align:center;font-family:Comic;font-size:20px;">
                <h2 style="margin:0; font-size:20px;"><?php echo e($universite->descruni); ?></h2>
                <span>****************</span>
                <h3 style="margin:0;padding:0; font-size:16px;"><?php echo e($etablissement->descreta); ?></h3>
            </td>
            <td align="right">
                <img src="<?php echo e(config('app.aws_url') . $etablissement->nameimgeta); ?>" alt=""
                    style="width:120px;height:120px; align:right;" />
            </td>
        </tr>
    </table>
    <table border="1" cellpadding="2" cellspacing="4" style="font-family:Helvetica;font-size:20px;width:100%;">
        <tr style="background-color:#ffffee;color:#0000FF;">
            <td style="width:10%;margin:0;">
                <img style="width:100px;height:100px;" src="<?php echo e(config('app.aws_url') . $enseignant->cheminPhoto); ?>"
                    alt="" />
            </td>
            <td style="text-align:center;width:80%;" class="second">
                <table width="100%">
                    <tr>
                        <td style="text-align:center;">
                            <b>FICHE DE NOTES :
                                <i><?php echo e($UE->intituleUnite . ' : ' . $UE->code_unite . ' : ' . $UE->credit); ?>Cr </i>
                            </b>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:center;"><?php echo e($session); ?></td>
                    </tr>
                </table>
            </td>
            <td style="width:10%;margin:0;">
                <img style="width:100px;height:100px;"
                    src="'<?php echo e(config('app.aws_url') . $etablissement->idEtablissement . '/' . $qrCodeEta->codeQrEtablis . '.png'); ?>"
                    alt="" />
            </td>
        </tr>
    </table>

    <div style="font-family:Impact;"></div>
    <table id="identity" style="font-family:Helvetica;font-size:13px;width:100%;" cellpadding="15" cellspacing="0">
        <table width="100%">
            <tr>
                <td width="70%">
                    <table width="100%">
                        <tr>
                            <td width="10%"><u><i>Domaine</i></u></td>
                            <td> : </td>
                            <td><b><?php echo e($resultatDomaine->sigleDomaine); ?></b></td>
                        </tr>
                        <tr>
                            <td><u><i>Mention</i></u></td>
                            <td> : </td>
                            <td><b><?php echo e($resultatMention->sigleMention); ?></td>
                        </tr>
                        <tr>
                            <td><u><i>Spécialité</i></u></td>
                            <td> : </td>
                            <td><b><?php echo e($filiere->intituleFilieres); ?></b></td>
                        </tr>
                        <tr>
                            <td><u><i>Enseignant</i></u></td>
                            <td> : </td>
                            <td><b><?php echo e($enseignant->nom); ?> <?php echo e($enseignant->prenom); ?> (Tel :
                                    <?php echo e($enseignant->phone); ?>)</b></td>
                        </tr>
                    </table>
                </td>

                <td width="30%">
                    <table width="100%">
                        <tr>
                            <td><u><i>Diplôme préparé</i></u></td>
                            <td> : </td>
                            <td><b><?php echo e($diplome); ?></b></td>
                        </tr>
                        <tr>
                            <td><u><i>Année académique</i></u></td>
                            <td> : </td>
                            <td><b><?php echo e($periode); ?></b></td>
                        </tr>
                        <tr>
                            <td><u><i>Semestre</i></u></td>
                            <td> : </td>
                            <td><b><?php echo e($semestre); ?></b></td>
                        </tr>
                    </table>
                </td>

            </tr>
        </table>
    </table>
    <table border="1" cellpadding="6" cellspacing="0">
        <tr>
            <td width="62%" bgcolor="#d7e4db" colspan="2" align="center"> INTITULE ELEMENT CONSTITUTIF</td>
        </tr>
        <?php echo $tr; ?>

    </table>
    <table border="1" width="100%" cellpadding="6" cellspacing="0">
        <thead>
            <tr>
                <th width="5%" align="center">#</th>
                <th width="10%" align="center"><b>Matricule</b></th>
                <th width="<?php echo e($p2); ?>%"><b>Noms & Prénoms</b></th>
                <th width="6%" align="center"><b>Sexe</b></th>
                <?php echo $td; ?>

                <th width="<?php echo e($p); ?>%" align="center"><b> Moy/20 </b></th>
                <th width="<?php echo e($p); ?>%" align="center"><b> Moy/100</b></th>
            </tr>
        </thead>
        <tbody>
            <?php
                $number = 0;
                $compteur = 0;
            ?>
            <?php $__currentLoopData = $students; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $student): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php
                    $number++;
                    $compteur++;
                ?>
                <tr>
                    <td width="5%" align="center"><?php echo e($number); ?></td>
                    <td width="10%" align="center"><?php echo e($student->matricule); ?></td>
                    <td width="<?php echo e($p2); ?>%"><?php echo e($student->nom . ' ' . $student->prenom); ?></td>
                    <td width="6%" align="center"><?php echo e($student->sexe); ?></td>
                    <?php echo $td2; ?>

                    <td width="<?php echo e($p); ?>%" align="center"></td>
                    <td width="<?php echo e($p); ?>%" align="center"></td>
                </tr>
                <?php
                    if ($line != 0) {
                        if ($compteur > $line) {
                            $line = $line * 2 + 11;
                        }

                        if ($compteur % $line == 0) {
                            echo '</tbody>';
                            echo '</table>';
                            echo '<div class="new-page"></div>';
                            echo '
                                <table border = "1" width="100%"  cellpadding="10" cellspacing="0" >
                                <thead>
                                <tr>
                                        <th  width="5%" align = "center">#</th>
                                        <th  width="10%" align = "center"><b>Matricule</b></th>
                                        <th  width="' .
                                $p2 .
                                '%" ><b>Noms & Prénoms</b></th>
                                        <th  width="6%" align = "center"><b>Sexe</b></th>
                                        ' .
                                $td .
                                '
                                        <th  width="' .
                                $p .
                                '%" align = "center"><b> Moy/20 </b></th>
                                        <th  width="' .
                                $p .
                                '%" align = "center"><b> Moy/100 </b></th>
                                </tr>
                                </thead>
                                <tbody>';

                            $compteur = 0;
                        }
                    }
                ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
    </table>
    <table border="0" cellpadding="10" cellspacing="0" width="100%">
        <tr>
            <td width="40%" align="left"> Date et Signature de l'Enseignant,</td>
            <td width="20%" align="center"></td>
            <td width="40%" align="left">Le Chef de Département,</td>
        </tr>
    </table>
</body>

</html>
<?php /**PATH /home/africawebstudent/public_html/aws/results/resources/views/pdf/fiche-ue1.blade.php ENDPATH**/ ?>