index.php 441 B

12345678910111213141516171819202122232425
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * Show specified user certificate
  5. * @package chamilo.certificate
  6. */
  7. /**
  8. * Initialization
  9. */
  10. $language_file= array('admin', 'gradebook', 'document');
  11. require_once '../main/inc/global.inc.php';
  12. require_once api_get_path(LIBRARY_PATH).'certificate.lib.php';
  13. /**
  14. * Retrieve certificate
  15. */
  16. $certificate = new Certificate($_GET['id']);
  17. /**
  18. * Show results
  19. */
  20. $certificate->show();