Ejemplo n.º 1
0
						    <th class="titol">Data Resolució</TH>
                      	  </TR>';
        foreach ($INCIDENCIES->getResults() as $I) {
            $PAR = ParImpar($i++);
            echo '<TR>
                      	          	<TD class="' . $PAR . '">' . link_to($I->getTitol(), 'gestio/gIncidencies' . getParam('E', $I->getIdincidencia(), $PAGINA)) . '</TD>
         							<TD class="' . $PAR . '">' . $I->getEstatText() . '</TD>                      				                      				             	          	
						    	  	<TD class="' . $PAR . '">' . $I->getDataalta('d/m/Y') . '</TD>                      				                      				
						    	  	<TD class="' . $PAR . '">' . $I->getDataresolucio('d/m/Y') . '</TD>
                      	     </TR>';
        }
    }
    ?>
      
              <TR><TD colspan="4" class="TITOL"><?php 
    echo gestorPagines($INCIDENCIES);
    ?>
</TD></TR>    	
      	</TABLE>      
      </DIV>
  

  <?php 
}
?>
  
    
      <DIV STYLE="height:40px;"></DIV>
                
    </TD>    
    
Ejemplo n.º 2
0
            $PAR = ParImpar($i++);
            echo '<TR>
								<TD ' . $ple . ' class="' . $PAR . '">' . checkbox_tag('curs_sel[]', $C->getIdcursos()) . '</TD>						
								<TD ' . $ple . ' class="' . $PAR . '">' . link_to($C->getCodi() . $SPAN, "gestio/gCursos?accio=EC&IDC=" . $C->getIdcursos(), array('class' => 'tt2')) . '</TD>
								<TD ' . $ple . ' class="' . $PAR . '">' . $C->getTitolcurs() . ' (' . $C->getHoraris() . ')</TD>
								<TD ' . $ple . ' class="' . $PAR . '">' . $C->getPreu() . '€ </TD>
								<TD ' . $ple . ' class="' . $PAR . '">' . $PLACES['OCUPADES'] . '/' . $PLACES['TOTAL'] . '</TD>							
								<TD ' . $ple . ' width="70px" class="' . $PAR . '">' . $C->getDatainici('d-m-Y') . '</TD>
								<TD ' . $ple . ' class="' . $PAR . '">' . link_to(image_tag('template/user.png') . '<span>Llistat d\'alumnes matriculats.</span>', 'gestio/gCursos?accio=L&IDC=' . $C->getIdcursos(), array('class' => 'tt2')) . '</TD>
						</TR>';
        }
    }
    ?>
      
              <tr><td colspan="6" class="TITOL"><?php 
    echo gestorPagines($CURSOS, $MODE);
    ?>
</td></tr>    	
      	</table>      
      </div>
</form>      

  <?php 
}
?>
  
      <div style="height:40px;"></div>
                
    </td>    

<?php 
Ejemplo n.º 3
0
        echo '<TR><TD class="LINIA" colspan="3">No s\'ha trobat cap reserva amb aquestes dades.</TD></TR>';
    } else {
        $i = 0;
        echo '<TR><TD class="titol" colspan="5">EN ESPERA</TD></TR>';
        echo IteratorReserves($RESERVES->getResults(), ReservaespaisPeer::EN_ESPERA);
        echo '<TR><TD class="titol" colspan="5">PENDENT CONFIRMACIÓ</TD></TR>';
        echo IteratorReserves($RESERVES->getResults(), ReservaespaisPeer::PENDENT_CONFIRMACIO);
        echo '<TR><TD class="titol" colspan="5">ANUL·LAT</TD></TR>';
        echo IteratorReserves($RESERVES->getResults(), ReservaespaisPeer::ANULADA);
        echo '<TR><TD class="titol" colspan="5">ACCEPTAT</TD></TR>';
        echo IteratorReserves($RESERVES->getResults(), ReservaespaisPeer::ACCEPTADA);
    }
    ?>
              
              <?php 
    echo gestorPagines($RESERVES);
    ?>
                                	
      	</TABLE>      
      </DIV>

    
  <?php 
}
?>
  
      <DIV STYLE="height:40px;"></DIV>
                
    </TD>        
    
<?php 
Ejemplo n.º 4
0
    } else {
        echo '<tr><td class="TITOL">DNI</td><td class="TITOL">Nom</td></tr>';
        $i = 0;
        $ant = "";
        foreach ($ALUMNES->getresults() as $A) {
            $PAR = ParImpar($i++);
            echo '<tr>							
									<td class="LINIA">' . link_to($A->getdni(), 'gestio/gMatricules?accio=LMA&IDA=' . $A->getUsuariid()) . '</td>
								    <td class="LINIA">' . $A->getNomComplet() . '</td>
							      </tr>';
        }
    }
    ?>
      
	              <tr><td colspan="3" class="TITOL"><?php 
    echo gestorPagines($ALUMNES);
    ?>
</td></tr>    	
	      	</table>      
	      </div>

  <?php 
} elseif ($MODE == 'MAT_USUARI') {
    ?>

 	<form action="<?php 
    echo url_for('gestio/gMatricules');
    ?>
" method="POST" id="form_new_matricula">
	    <div class="REQUADRE">
            <div style="width: 650px;" class="FORMULARI">
Ejemplo n.º 5
0
    if (empty($CESSIONS)) {
        echo '<TR><TD class="LINIA" colspan="6">No s\'ha trobat material disponible.</TD></TR>';
    } else {
        $i = 0;
        echo "<TR>                      \t\t\t                      \t\t\t\r\n                      \t\t\t<TD class=\"TITOL\">CEDIT A</TD>\r\n                      \t\t\t<TD class=\"TITOL\">DATA CESSIÓ</TD>\r\n                      \t\t\t<TD class=\"TITOL\">DATA PREVISTA RETORN</TD>\t\t\t\t\t\t\t\t                      \t\t\t\r\n                      \t\t\t<TD class=\"TITOL\">DATA DE RETORN</TD>\r\n                      \t\t\t<TD class=\"TITOL\"></TD>\r\n                      \t\t  </TR>";
        foreach ($CESSIONS->getResults() as $C) {
            $PAR = ParImpar($i++);
            $DRet = $C->getDataretornat('d/m/Y');
            $DRetT = is_null($DRet) ? "No s'ha retornat." : $DRet;
            echo "<TR>                      \t\t\t                      \t\t\t\r\n                      \t\t\t<TD class=\"{$PAR}\">" . $C->getNomUsuari() . "</TD>\r\n                      \t\t\t<TD class=\"dreta {$PAR}\">" . $C->getDataCessio('d/m/Y') . "</TD>\r\n                      \t\t\t<TD class=\"dreta {$PAR}\">" . $C->getDataRetorn('d/m/Y') . "</TD>\t\t\t\t\t\t\t\t                      \t\t\t\r\n                      \t\t\t<TD class=\"dreta {$PAR}\">" . $DRetT . "</TD>\r\n                      \t\t\t<TD class=\"{$PAR}\">" . creaOpcions($C->getCessioId()) . "</TD>\r\n                      \t\t  </TR>";
        }
    }
    ?>
      
              <TR><TD colspan="6" class="TITOL"><?php 
    echo gestorPagines($CESSIONS);
    ?>
</TD></TR>    	
      	</TABLE>      
      </DIV>

  <?php 
}
?>
  
    
      <DIV STYLE="height:40px;"></DIV>
                
    </TD>    
    
Ejemplo n.º 6
0
 			<?php 
    if (empty($MATERIALS)) {
        echo '<tr><td class="LINIA" colspan="3">No s\'ha trobat material disponible.</td></tr>';
    } else {
        $i = 0;
        echo "<tr><td class=\"titol\">Id</td><td class=\"titol\">Nom</td><td class=\"titol\">Unit.</td></tr>";
        foreach ($MATERIALS->getResults() as $M) {
            $PAR = ParImpar($i++);
            $extres = !$M->getDisponible() ? 'style="text-decoration: line-through;"' : "";
            echo "<tr>                            \r\n                      \t\t\t<td class=\"{$PAR}\" {$extres}>" . link_to($M->getIdentificador(), 'gestio/gMaterial' . getParam('E', $M->getIdmaterial(), $TIPUS, $PAGINA)) . "</td>\r\n                      \t\t\t<td class=\"{$PAR}\" {$extres}>{$M->getNom()}</td>\r\n                                <td class=\"{$PAR}\" {$extres}>{$M->getUnitats()}</td>                      \t\t\t\r\n                      \t\t  </tr>";
        }
    }
    ?>
      
              <TR><TD colspan="3" class="TITOL"><?php 
    echo gestorPagines($TIPUS, $MATERIALS);
    ?>
</TD></TR>    	
      	</TABLE>      
      </DIV>

<?php 
}
?>
    
      <DIV STYLE="height:40px;"></DIV>
                
    </TD>    
    

  <?php 
Ejemplo n.º 7
0
            echo '<tr><td class="TITOL">CODI</td><td class="TITOL">NOM</td><td class="TITOL">DATA INICI</td><td class="TITOL">PLACES</td></tr>';
            $i = 0;
            foreach ($CURSOS->getresults() as $C) {
                $PAR = ParImpar($i++);
                echo '<tr>							
									<td class="LINIA">' . link_to($C->getCodi(), 'gestio/gMatricules?accio=LMC&IDC=' . $C->getIdcursos()) . '</td>
									<td class="LINIA">' . $C->getTitolcurs() . '</td>
									<td class="LINIA">' . $C->getdatainici('d/m/Y') . '</td>
									<td class="LINIA">' . $C->countMatriculats($IDS) . '/' . $C->getPlaces() . '</td>
								  </tr>';
            }
        }
        ?>
      
	              <tr><td colspan="4" class="TITOL"><?php 
        echo gestorPagines($CURSOS);
        ?>
</td></tr>    	
	      	</table>      
	      </div>

	     <?php 
    }
    ?>

  <?php 
} elseif ($MODE == 'MAT_USUARI') {
    ?>

 	<form action="<?php 
    echo url_for('gestio/gMatricules');
Ejemplo n.º 8
0
            echo link_to($T->getTitol() . $SPAN, "gestio/gTasques" . getParam('E', $T->getTasquesid(), $CERCA), array('class' => 'tt2'));
            ?>
</TD>
                		<TD width="20%"><?php 
            echo $U;
            ?>
</TD></TR>
				<?php 
        }
        ?>
                	 											
				<?php 
    }
    ?>
                <TR><TD colspan="3" class="TITOL"><?php 
    echo gestorPagines($CERCA, $TASQUES_PERFER);
    ?>
</TD></TR>
		</table>
  	</DIV>     
     
           
  <?php 
} else {
    ?>
      
 	<form action="<?php 
    echo url_for('gestio/gTasques');
    ?>
" method="POST">