View the code of index.php

located at /home/koeppel/public_html/index.php

<?php
# New koeppel@ITP website as of April 2015

require_once 'src/template.php';
PublicCode::add(__FILE__PublicCode::MAIN);

# dynamical content
include_once 'talks/talks.class.php';
include_once 
'office/status/status.lib.php';

$data = array();

$factory = new TalkFactory();

// display selected talks
$data['talks'] =  $factory->grepTalks(array(
    
'exahype-jan2018',
    
'durham-nov17',
    
'prace17',
    
'rsm-exahype-apr16',
    
'figss16',
    
'uni-palaver16',
    
'uni-hamburg16',
#    'uni-bukarest-gup2015',
    
'gup-ksm2015',
    
'retreat2015',
));

// old list:
/*array(
    $factory->grepTalk('gup-ksm2015'),
) + $factory->grepTalks(array(
#    'gup-ksm2015',
    'jchep-jun2015',
    'jcnr-May2015',
    'berlin15talk',
    'astrocoffee2014',
    'retreat2015',
));*/

// posters
$data['posters'] = $factory->grepTalks(array(
    
'astronum17',
    
'berlin15poster',
    
'gr99',
));

// non-scientific talks
$data['pokal_talks'] = array(
    
$factory->grepTalk('po1052'),
    
$factory->grepTalk('po920')->set('title''Die Mathematik-Cloud POKAL'),
    
$factory->grepTalk('po751'),
//    'po549', // sorry, 3 columns
);

/*
#$factory->setTalkValue('view_as_title', 'title_inevent');
# this modifies all the talk objects above.

$data['conference_talks'] = $factory->grepTalks(array(
    'po1149',
    'po639',
    'use2014talk'
));
*/

# use this instead
$data['conference_talks'] = array(
    
$factory->grepTalk('po1149')->set('title''Festvortrag zum 10-jährigen Jubiläum von StudiumDigitale'),
    
$factory->grepTalk('po639')->set('title''GMW 2013-Konferenz: Kollaborative Mathematik'),
    
$factory->grepTalk('use2014talk')->set('title''USE 2014-Konferenz: Soziales Netzwerk Wissenschaft'),
);

$data['status'] = get_status();
$data['handlername'] = 'homepage ~/index.php';

render('index.tpl'$data);