<?php
$nA = 0;
$nB = 0;
$nC = 0;
$nD = 0;
$nE = 0;
if ( $_POST["a1"] == '1' ) : $nA = $nA + 1;
endif;
if ( $_POST["a1"] == '2' ) : $nA = $nA + 2;
endif;
if ( $_POST["a1"] == '3' ) : $nA = $nA + 3;
endif;
if ( $_POST["a1"] == '4' ) : $nA = $nA + 4;
endif;
if ( $_POST["a1"] == '5' ) : $nA = $nA + 5;
endif;
if ( $_POST["a1"] == '6' ) : $nA = $nA + 6;
endif;
if ( $_POST["a1"] == '7' ) : $nA = $nA + 7;
endif;
if ( $_POST["a1"] == '8' ) : $nA = $nA + 8;
endif;
if ( $_POST["a1"] == '9' ) : $nA = $nA + 9;
endif;
if ( $_POST["a2"] == '1' ) : $nA = $nA + 1;
endif;
if ( $_POST["a2"] == '2' ) : $nA = $nA + 2;
endif;
if ( $_POST["a2"] == '3' ) : $nA = $nA + 3;
endif;
if ( $_POST["a2"] == '4' ) : $nA = $nA + 4;
endif;
if ( $_POST["a2"] == '5' ) : $nA = $nA + 5;
endif;
if ( $_POST["a2"] == '6' ) : $nA = $nA + 6;
endif;
if ( $_POST["a2"] == '7' ) : $nA = $nA + 7;
endif;
if ( $_POST["a2"] == '8' ) : $nA = $nA + 8;
endif;
if ( $_POST["a2"] == '9' ) : $nA = $nA + 9;
endif;
if ( $_POST["a3"] == '1' ) : $nA = $nA + 1;
endif;
if ( $_POST["a3"] == '2' ) : $nA = $nA + 2;
endif;
if ( $_POST["a3"] == '3' ) : $nA = $nA + 3;
endif;
if ( $_POST["a3"] == '4' ) : $nA = $nA + 4;
endif;
if ( $_POST["a3"] == '5' ) : $nA = $nA + 5;
endif;
if ( $_POST["a3"] == '6' ) : $nA = $nA + 6;
endif;
if ( $_POST["a3"] == '7' ) : $nA = $nA + 7;
endif;
if ( $_POST["a3"] == '8' ) : $nA = $nA + 8;
endif;
if ( $_POST["a3"] == '9' ) : $nA = $nA + 9;
endif;
if ( $_POST["a4"] == '1' ) : $nA = $nA + 1;
endif;
if ( $_POST["a4"] == '2' ) : $nA = $nA + 2;
endif;
if ( $_POST["a4"] == '3' ) : $nA = $nA + 3;
endif;
if ( $_POST["a4"] == '4' ) : $nA = $nA + 4;
endif;
if ( $_POST["a4"] == '5' ) : $nA = $nA + 5;
endif;
if ( $_POST["a4"] == '6' ) : $nA = $nA + 6;
endif;
if ( $_POST["a4"] == '7' ) : $nA = $nA + 7;
endif;
if ( $_POST["a4"] == '8' ) : $nA = $nA + 8;
endif;
if ( $_POST["a4"] == '9' ) : $nA = $nA + 9;
endif;
if ( $_POST["b1"] == '1' ) : $nB = $nB + 1;
endif;
if ( $_POST["b1"] == '2' ) : $nB = $nB + 2;
endif;
if ( $_POST["b1"] == '3' ) : $nB = $nB + 3;
endif;
if ( $_POST["b1"] == '4' ) : $nB = $nB + 4;
endif;
if ( $_POST["b1"] == '5' ) : $nB = $nB + 5;
endif;
if ( $_POST["b1"] == '6' ) : $nB = $nB + 6;
endif;
if ( $_POST["b1"] == '7' ) : $nB = $nB + 7;
endif;
if ( $_POST["b1"] == '8' ) : $nB = $nB + 8;
endif;
if ( $_POST["b1"] == '9' ) : $nB = $nB + 9;
endif;
if ( $_POST["b2"] == '1' ) : $nB = $nB + 1;
endif;
if ( $_POST["b2"] == '2' ) : $nB = $nB + 2;
endif;
if ( $_POST["b2"] == '3' ) : $nB = $nB + 3;
endif;
if ( $_POST["b2"] == '4' ) : $nB = $nB + 4;
endif;
if ( $_POST["b2"] == '5' ) : $nB = $nB + 5;
endif;
if ( $_POST["b2"] == '6' ) : $nB = $nB + 6;
endif;
if ( $_POST["b2"] == '7' ) : $nB = $nB + 7;
endif;
if ( $_POST["b2"] == '8' ) : $nB = $nB + 8;
endif;
if ( $_POST["b2"] == '9' ) : $nB = $nB + 9;
endif;
if ( $_POST["b3"] == '1' ) : $nB = $nB + 1;
endif;
if ( $_POST["b3"] == '2' ) : $nB = $nB + 2;
endif;
if ( $_POST["b3"] == '3' ) : $nB = $nB + 3;
endif;
if ( $_POST["b3"] == '4' ) : $nB = $nB + 4;
endif;
if ( $_POST["b3"] == '5' ) : $nB = $nB + 5;
endif;
if ( $_POST["b3"] == '6' ) : $nB = $nB + 6;
endif;
if ( $_POST["b3"] == '7' ) : $nB = $nB + 7;
endif;
if ( $_POST["b3"] == '8' ) : $nB = $nB + 8;
endif;
if ( $_POST["b3"] == '9' ) : $nB = $nB + 9;
endif;
if ( $_POST["b4"] == '1' ) : $nB = $nB + 1;
endif;
if ( $_POST["b4"] == '2' ) : $nB = $nB + 2;
endif;
if ( $_POST["b4"] == '3' ) : $nB = $nB + 3;
endif;
if ( $_POST["b4"] == '4' ) : $nB = $nB + 4;
endif;
if ( $_POST["b4"] == '5' ) : $nB = $nB + 5;
endif;
if ( $_POST["b4"] == '6' ) : $nB = $nB + 6;
endif;
if ( $_POST["b4"] == '7' ) : $nB = $nB + 7;
endif;
if ( $_POST["b4"] == '8' ) : $nB = $nB + 8;
endif;
if ( $_POST["b4"] == '9' ) : $nB = $nB + 9;
endif;
if ( $_POST["c1"] == '1' ) : $nC = $nC + 1;
endif;
if ( $_POST["c1"] == '2' ) : $nC = $nC + 2;
endif;
if ( $_POST["c1"] == '3' ) : $nC = $nC + 3;
endif;
if ( $_POST["c1"] == '4' ) : $nC = $nC + 4;
endif;
if ( $_POST["c1"] == '5' ) : $nC = $nC + 5;
endif;
if ( $_POST["c1"] == '6' ) : $nC = $nC + 6;
endif;
if ( $_POST["c1"] == '7' ) : $nC = $nC + 7;
endif;
if ( $_POST["c1"] == '8' ) : $nC = $nC + 8;
endif;
if ( $_POST["c1"] == '9' ) : $nC = $nC + 9;
endif;
if ( $_POST["c2"] == '1' ) : $nC = $nC + 1;
endif;
if ( $_POST["c2"] == '2' ) : $nC = $nC + 2;
endif;
if ( $_POST["c2"] == '3' ) : $nC = $nC + 3;
endif;
if ( $_POST["c2"] == '4' ) : $nC = $nC + 4;
endif;
if ( $_POST["c2"] == '5' ) : $nC = $nC + 5;
endif;
if ( $_POST["c2"] == '6' ) : $nC = $nC + 6;
endif;
if ( $_POST["c2"] == '7' ) : $nC = $nC + 7;
endif;
if ( $_POST["c2"] == '8' ) : $nC = $nC + 8;
endif;
if ( $_POST["c2"] == '9' ) : $nC = $nC + 9;
endif;
if ( $_POST["c3"] == '1' ) : $nC = $nC + 1;
endif;
if ( $_POST["c3"] == '2' ) : $nC = $nC + 2;
endif;
if ( $_POST["c3"] == '3' ) : $nC = $nC + 3;
endif;
if ( $_POST["c3"] == '4' ) : $nC = $nC + 4;
endif;
if ( $_POST["c3"] == '5' ) : $nC = $nC + 5;
endif;
if ( $_POST["c3"] == '6' ) : $nC = $nC + 6;
endif;
if ( $_POST["c3"] == '7' ) : $nC = $nC + 7;
endif;
if ( $_POST["c3"] == '8' ) : $nC = $nC + 8;
endif;
if ( $_POST["c3"] == '9' ) : $nC = $nC + 9;
endif;
if ( $_POST["c4"] == '1' ) : $nC = $nC + 1;
endif;
if ( $_POST["c4"] == '2' ) : $nC = $nC + 2;
endif;
if ( $_POST["c4"] == '3' ) : $nC = $nC + 3;
endif;
if ( $_POST["c4"] == '4' ) : $nC = $nC + 4;
endif;
if ( $_POST["c4"] == '5' ) : $nC = $nC + 5;
endif;
if ( $_POST["c4"] == '6' ) : $nC = $nC + 6;
endif;
if ( $_POST["c4"] == '7' ) : $nC = $nC + 7;
endif;
if ( $_POST["c4"] == '8' ) : $nC = $nC + 8;
endif;
if ( $_POST["c4"] == '9' ) : $nC = $nC + 9;
endif;
if ( $_POST["d1"] == '1' ) : $nD = $nD + 1;
endif;
if ( $_POST["d1"] == '2' ) : $nD = $nD + 2;
endif;
if ( $_POST["d1"] == '3' ) : $nD = $nD + 3;
endif;
if ( $_POST["d1"] == '4' ) : $nD = $nD + 4;
endif;
if ( $_POST["d1"] == '5' ) : $nD = $nD + 5;
endif;
if ( $_POST["d1"] == '6' ) : $nD = $nD + 6;
endif;
if ( $_POST["d1"] == '7' ) : $nD = $nD + 7;
endif;
if ( $_POST["d1"] == '8' ) : $nD = $nD + 8;
endif;
if ( $_POST["d1"] == '9' ) : $nD = $nD + 9;
endif;
if ( $_POST["d2"] == '1' ) : $nD = $nD + 1;
endif;
if ( $_POST["d2"] == '2' ) : $nD = $nD + 2;
endif;
if ( $_POST["d2"] == '3' ) : $nD = $nD + 3;
endif;
if ( $_POST["d2"] == '4' ) : $nD = $nD + 4;
endif;
if ( $_POST["d2"] == '5' ) : $nD = $nD + 5;
endif;
if ( $_POST["d2"] == '6' ) : $nD = $nD + 6;
endif;
if ( $_POST["d2"] == '7' ) : $nD = $nD + 7;
endif;
if ( $_POST["d2"] == '8' ) : $nD = $nD + 8;
endif;
if ( $_POST["d2"] == '9' ) : $nD = $nD + 9;
endif;
if ( $_POST["d3"] == '1' ) : $nD = $nD + 1;
endif;
if ( $_POST["d3"] == '2' ) : $nD = $nD + 2;
endif;
if ( $_POST["d3"] == '3' ) : $nD = $nD + 3;
endif;
if ( $_POST["d3"] == '4' ) : $nD = $nD + 4;
endif;
if ( $_POST["d3"] == '5' ) : $nD = $nD + 5;
endif;
if ( $_POST["d3"] == '6' ) : $nD = $nD + 6;
endif;
if ( $_POST["d3"] == '7' ) : $nD = $nD + 7;
endif;
if ( $_POST["d3"] == '8' ) : $nD = $nD + 8;
endif;
if ( $_POST["d3"] == '9' ) : $nD = $nD + 9;
endif;
if ( $_POST["d4"] == '1' ) : $nD = $nD + 1;
endif;
if ( $_POST["d4"] == '2' ) : $nD = $nD + 2;
endif;
if ( $_POST["d4"] == '3' ) : $nD = $nD + 3;
endif;
if ( $_POST["d4"] == '4' ) : $nD = $nD + 4;
endif;
if ( $_POST["d4"] == '5' ) : $nD = $nD + 5;
endif;
if ( $_POST["d4"] == '6' ) : $nD = $nD + 6;
endif;
if ( $_POST["d4"] == '7' ) : $nD = $nD + 7;
endif;
if ( $_POST["d4"] == '8' ) : $nD = $nD + 8;
endif;
if ( $_POST["d4"] == '9' ) : $nD = $nD + 9;
endif;
if ( $_POST["e1"] == '1' ) : $nE = $nE + 1;
endif;
if ( $_POST["e1"] == '2' ) : $nE = $nE + 2;
endif;
if ( $_POST["e1"] == '3' ) : $nE = $nE + 3;
endif;
if ( $_POST["e1"] == '4' ) : $nE = $nE + 4;
endif;
if ( $_POST["e1"] == '5' ) : $nE = $nE + 5;
endif;
if ( $_POST["e1"] == '6' ) : $nE = $nE + 6;
endif;
if ( $_POST["e1"] == '7' ) : $nE = $nE + 7;
endif;
if ( $_POST["e1"] == '8' ) : $nE = $nE + 8;
endif;
if ( $_POST["e1"] == '9' ) : $nE = $nE + 9;
endif;
if ( $_POST["e2"] == '1' ) : $nE = $nE + 1;
endif;
if ( $_POST["e2"] == '2' ) : $nE = $nE + 2;
endif;
if ( $_POST["e2"] == '3' ) : $nE = $nE + 3;
endif;
if ( $_POST["e2"] == '4' ) : $nE = $nE + 4;
endif;
if ( $_POST["e2"] == '5' ) : $nE = $nE + 5;
endif;
if ( $_POST["e2"] == '6' ) : $nE = $nE + 6;
endif;
if ( $_POST["e2"] == '7' ) : $nE = $nE + 7;
endif;
if ( $_POST["e2"] == '8' ) : $nE = $nE + 8;
endif;
if ( $_POST["e2"] == '9' ) : $nE = $nE + 9;
endif;
if ( $_POST["e3"] == '1' ) : $nE = $nE + 1;
endif;
if ( $_POST["e3"] == '2' ) : $nE = $nE + 2;
endif;
if ( $_POST["e3"] == '3' ) : $nE = $nE + 3;
endif;
if ( $_POST["e3"] == '4' ) : $nE = $nE + 4;
endif;
if ( $_POST["e3"] == '5' ) : $nE = $nE + 5;
endif;
if ( $_POST["e3"] == '6' ) : $nE = $nE + 6;
endif;
if ( $_POST["e3"] == '7' ) : $nE = $nE + 7;
endif;
if ( $_POST["e3"] == '8' ) : $nE = $nE + 8;
endif;
if ( $_POST["e3"] == '9' ) : $nE = $nE + 9;
endif;
if ( $_POST["e4"] == '1' ) : $nE = $nE + 1;
endif;
if ( $_POST["e4"] == '2' ) : $nE = $nE + 2;
endif;
if ( $_POST["e4"] == '3' ) : $nE = $nE + 3;
endif;
if ( $_POST["e4"] == '4' ) : $nE = $nE + 4;
endif;
if ( $_POST["e4"] == '5' ) : $nE = $nE + 5;
endif;
if ( $_POST["e4"] == '6' ) : $nE = $nE + 6;
endif;
if ( $_POST["e4"] == '7' ) : $nE = $nE + 7;
endif;
if ( $_POST["e4"] == '8' ) : $nE = $nE + 8;
endif;
if ( $_POST["e4"] == '9' ) : $nE = $nE + 9;
endif;
$nA = $nA /4;
$nB = $nB /4;
$nC = $nC /4;
$nD = $nD /4;
$nE = $nE /4;
echo "Hierna de resultaten van de zelftest voor leiderschap. Uw cijfers:";
echo '<br>';
echo '<br>';
echo "Materiedeskundigheid: ";
echo round( $nA, 1 ). '<br>';
echo "Analytisch vermogen: ";
echo round( $nB, 1 ). '<br>';
echo "Overtuigingskracht: ";
echo round( $nC, 1 ). '<br>';
echo "Sociale vaardigheden: ";
echo round( $nD, 1 ). '<br>';
echo "Enthousiasmerend vermogen: ";
echo round( $nE, 1 ). '<br>';
echo '<br>';
$nG = $nA + $nB + $nC + $nD + $nE;
$nG = $nG / 5;
echo "Gemiddelde score: ";
echo round( $nG, 1 ). '<br>';
?>
Nadere informatie over de leiderschapseigenschappen vindt u in het artikel "De legitimiteit van leiderschap ontrafeld"