minmod
This commit is contained in:
parent
6c764edddb
commit
67ed2c12de
|
@ -120,63 +120,12 @@
|
||||||
<article class='relation-panel'></article>
|
<article class='relation-panel'></article>
|
||||||
<span data-space></span>
|
<span data-space></span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- MATRICE RELATIONNELLE DES 2 TOP 10 -->
|
<!-- MATRICE RELATIONNELLE DES 2 TOP 10 -->
|
||||||
<h3 data-n='5' class='color4'>Saisir les matrices des relations entre les contacts les plus contactés</h3>
|
<h3 data-n='5' class='color4'>Saisir les matrices des relations entre les contacts les plus contactés</h3>
|
||||||
<!-- NAVIGATION ENTRE LES FICHES -->
|
<!-- NAVIGATION ENTRE LES FICHES -->
|
||||||
<article class='matrice-panel'>
|
<article class='matrice-panel'></article>
|
||||||
<table class='line'>
|
|
||||||
<?php
|
|
||||||
$contacts = array(
|
|
||||||
array(1, 'Sujet', 'Un' ),
|
|
||||||
array(2, 'Sujet', 'Deux' ),
|
|
||||||
array(3, 'Sujet', 'Trois' ),
|
|
||||||
array(4, 'Sujet', 'Quatre' ),
|
|
||||||
array(5, 'Sujet', 'Cinq' ),
|
|
||||||
array(6, 'Sujet', 'Six' ),
|
|
||||||
array(7, 'Sujet', 'Sept' ),
|
|
||||||
array(8, 'Sujet', 'Huit' ),
|
|
||||||
array(9, 'Sujet', 'Neuf' ),
|
|
||||||
array(10, 'Sujet', 'Dix' ),
|
|
||||||
array(11, 'Sujet', 'Onze' ),
|
|
||||||
array(12, 'Sujet', 'Douze' ),
|
|
||||||
array(13, 'Sujet', 'Treize' ),
|
|
||||||
array(14, 'Sujet', 'Quatorze'),
|
|
||||||
array(15, 'Sujet', 'Quinze' ),
|
|
||||||
array(16, 'Sujet', 'Seize' ),
|
|
||||||
array(17, 'Sujet', 'Dix-sept'),
|
|
||||||
array(18, 'Sujet', 'Dix-huit'),
|
|
||||||
array(19, 'Sujet', 'Dix-neuf'),
|
|
||||||
array(20, 'Sujet', 'Vingt' )
|
|
||||||
);
|
|
||||||
|
|
||||||
foreach($contacts as $A=>$contactA){
|
|
||||||
echo '<tr>';
|
|
||||||
|
|
||||||
if( $A > 0 )
|
|
||||||
echo '<td style="text-align: right;">'.$contactA[1].' '.$contactA[2].'</td>';
|
|
||||||
else
|
|
||||||
echo '<td></td>';
|
|
||||||
|
|
||||||
foreach($contacts as $B=>$contactB){ if( $B < count($contacts)-1 ){
|
|
||||||
if( $A == 0 )
|
|
||||||
echo '<td><span style="writing-mode: vertical-lr; text-align: right;">'.$contactB[1].' '.$contactB[2].'</span>';
|
|
||||||
else if( $B < $A )
|
|
||||||
echo "<td><input type='checkbox' name='matrice_$A"."_$B' data-name='$A' value='$B' id='matrice_$A"."_$B'><label for='matrice_$A"."_$B' title='matrice_$A"."_$B'></label>";
|
|
||||||
else
|
|
||||||
echo "<td class='hidden'>";
|
|
||||||
|
|
||||||
echo '</td>';
|
|
||||||
}}
|
|
||||||
|
|
||||||
echo '</tr>';
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
</table>
|
|
||||||
<h4 class='self color2' data-icon=''>
|
|
||||||
<input type='submit' class='primary' id='store-matrice' value='Enregistrer les relations'>
|
|
||||||
</h4>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- BOUTON D'ENVOI DU FORMULAIRE -->
|
<!-- BOUTON D'ENVOI DU FORMULAIRE -->
|
||||||
|
|
Loading…
Reference in New Issue