<?php require_once('Connections/cn.php'); ?>
<?php
//header("Content-Type:text/html; charset=UTF-8");
header("Content-Type:text/html; charset=utf-8");
$Area= $_REQUEST["id"];

if($Area=='CUALITATIVA'){
   $array_select1[0] = '0';		
   $array_select2[0]=  'Seleccione..';
   $array_select1[1] = 'APROBADA';		
   $array_select2[1]=  'APROBADA';
   $array_select1[2] = 'REPROBADA';		
   $array_select2[2]=  'REPROBADA';
   $n=3;
}

if($Area=='CUANTITATIVA'){
   $array_select1[0] = '0';		
   $array_select2[0]=  'Seleccione';
   $array_select1[1] = '1';		
   $array_select2[1]=  '1';
   $array_select1[2] = '2';		
   $array_select2[2]=  '2';
   $array_select1[3] = '3';		
   $array_select2[3]=  '3';
   $array_select1[4] = '4';		
   $array_select2[4]=  '4';
   $array_select1[5] = '5';		
   $array_select2[5]=  '5';
   $array_select1[6] = '6';		
   $array_select2[6]=  '6';
   $array_select1[7] = '7';		
   $array_select2[7]=  '7';
   $array_select1[8] = '8';		
   $array_select2[8]=  '8';
   $array_select1[9] = '9';		
   $array_select2[9]=  '9';
   $array_select1[10] = '10';		
   $array_select2[10]=  '10';
   $array_select1[11] = '11';		
   $array_select2[11]=  '11';
   $array_select1[12] = '12';		
   $array_select2[12]=  '12';
   $array_select1[13] = '13';		
   $array_select2[13]=  '13';
   $array_select1[14] = '14';		
   $array_select2[14]=  '14';
   $array_select1[15] = '15';		
   $array_select2[15]=  '15';
   $array_select1[16] = '16';		
   $array_select2[16]=  '16';
   $array_select1[17] = '17';		
   $array_select2[17]=  '17';
   $array_select1[18] = '18';		
   $array_select2[18]=  '18';
   $array_select1[19] = '19';		
   $array_select2[19]=  '19';
   $array_select1[20] = '20';		
   $array_select2[20]=  '20';
   $n=21;
}

// Bucle para cargar las maetrias en el combo (materias)
for ($i=0; $i<$n;$i++){
	echo "<option value=".$array_select1[$i].">".$array_select2[$i]."</option>";
}

?>