Jump to main content
University Computer Centre
Extension Modules for websites
<h1>Habilitations in Mechanical Engineering 2012 2013</h1>
<?php
 include('php/promo.inc');
 echo habilitationen(array('jahr' => array(2012,2013), # Year? omitted = all
                         'fakult' => 'Maschinenbau',   # Faculty? omitted = all
                         # 'betreuer' => 'Wielage'     # Advisor? omitted = all
                       ),
                  array('reverse' => '1',              # newest first?
                       # 'imgpfad' => 'img'            # 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 habilitation -
               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 img contains:
    0.jpg = default image
    1559.jpg = 1 image for habilitation with ID 1559
    1529.jpg = 1st image for habilitation with ID 1529
    1529-1.jpg, 1529-2.jpg = further pictures for habilitation with ID 1529
*/

?>

Show output with this program code