Jump to main content
University Computer Centre
Extension Modules for websites
<h1>Doctorates in Computer Science 2010 2012supervised by ProfHardt</h1>
<?php
 include('php/promo.inc');
 echo promotionen(array('jahr' => array(2010,2011,2012), # Year? omitted = all
                        'fakult' => 'Informatik',        # Faculty? omitted = all
                        'betreuer' => 'Hardt'            # Advisor? omitted = all
                       ),
                  array('reverse' => '1',                # newest first?
                        'betreuer' => '1',               # output with advisor?
                        'imgpfad' => 'images/promo'      # with image(s) from path
                       )
                    );
/* Regarding image(s):
 * if 'imgpfad' is given - must be a folder name in the current directory
 * images must have matching names:
   * id.jpg    id is the database id (number) of the doctorate -
               this can be found as HTML comment in the output - view source code
   * id-1.jpg etc. other images
   * if there is 0.jpg, it will be used as default image (if no id.jpg exists)

  In the example above: folder images/promo/ contains:
    0.jpg = default image
    1559.jpg = 1 image for doctorate with ID 1559
    1529.jpg = 1st image for doctorate with ID 1529
    1529-1.jpg, 1529-2.jpg = further pictures for doctorate with ID 1529
*/

?>

Show output with this program code