Skip to content

Commit c65b119

Browse files
committed
added two companies to /companies and /news
1 parent eb0380a commit c65b119

File tree

6 files changed

+210
-0
lines changed

6 files changed

+210
-0
lines changed

companies/basf/index.php

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<?php
2+
3+
// provides small functions
4+
include('php/general.php');
5+
6+
7+
// controls cookie, sets $eng as boolean depending on language choice and provides 'en' or 'de' in $language
8+
include('php/language_cookie.php');
9+
10+
11+
12+
// creates $lang array and provides translation text for common elements (navigation and footer)
13+
include('includes/language.php');
14+
15+
// include all translations from local file
16+
include('../data.php');
17+
include('../lang.php');
18+
19+
20+
// GENERAL
21+
22+
$active_nav = 'companies';
23+
24+
// $fb = array(
25+
// "title" => "",
26+
// "desc" => "",
27+
// "url" => $awss3."/opengraph/",
28+
// "image_url" => "",
29+
// "image_width" => "",
30+
// "image_height" => ""
31+
// );
32+
33+
34+
$template['company_name'] = 'BASF';
35+
$template['company_name_short'] = 'basf';
36+
$template['logo_url'] = set_source($awss3.'/companies/basf/logo_svg','svg', FALSE);
37+
$template['package'] = 'gold';
38+
$template['day'] = 1;
39+
40+
$lang['general']['page_title'] = array('Chemtogether 2018 - Firmen: '.$template['company_name'], 'Chemtogether 2018 - Companies:'.$template['company_name']);
41+
$lang['navigation']['title'] = array($template['company_name'], $template['company_name']);
42+
$lang['navigation']['topnav_title']= array($template['company_name'], $template['company_name']);
43+
44+
$template['homepage'] = array('https://www.basf.com','basf.com');
45+
$template['facebook'] = array('https://facebook.com/basf/', 'BASF');
46+
$template['linkedin'] = array('https://www.linkedin.com/company/basf/','BASF');
47+
// $template['mail'] = array('','');
48+
$template['archive'] = '/archive/basf';
49+
50+
$template['we_are'] = array(
51+
'In Kürze.',
52+
'Coming soon.');
53+
$template['we_offer'] = array(
54+
'In Kürze.',
55+
'Coming soon.');
56+
$template['we_look'] = array(
57+
'In Kürze.',
58+
'Coming soon.');
59+
60+
61+
62+
$template['interview_print_until'] = 0;
63+
64+
65+
66+
include('../0_template/template.php');
67+
68+
69+
70+
?>

companies/data.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
$i = 0;
44

5+
$data['day1'][$i++] = array(
6+
"link_url" => '/companies/basf/index.php#info',
7+
"logo_url" => set_source($awss3.'/companies/basf/logo_svg','svg', FALSE),
8+
"name" => "BASF",
9+
"name_short" => "basf",
10+
"package" => 'gold',
11+
);
12+
513
$data['day1'][$i++] = array(
614
"link_url" => '/companies/carbogenamcis/index.php#info',
715
"logo_url" => set_source($awss3.'/companies/carbogenamcis/logo','png', FALSE),
@@ -102,6 +110,14 @@
102110
"package" => 'silver',
103111
);
104112

113+
$data['day2'][$i++] = array(
114+
"link_url" => '/companies/msd/index.php#info',
115+
"logo_url" => set_source($awss3.'/companies/msd/logo_svg','svg', FALSE),
116+
"name" => "Merck Sharp & Dohme",
117+
"name_short" => "msd",
118+
"package" => 'silver',
119+
);
120+
105121
$data['day2'][$i++] = array(
106122
"link_url" => '/companies/avantama/index.php#info',
107123
"logo_url" => set_source($awss3.'/companies/avantama/logo','png', FALSE),

companies/msd/index.php

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<?php
2+
3+
// provides small functions
4+
include('php/general.php');
5+
6+
7+
// controls cookie, sets $eng as boolean depending on language choice and provides 'en' or 'de' in $language
8+
include('php/language_cookie.php');
9+
10+
11+
12+
// creates $lang array and provides translation text for common elements (navigation and footer)
13+
include('includes/language.php');
14+
15+
// include all translations from local file
16+
include('../data.php');
17+
include('../lang.php');
18+
19+
20+
// GENERAL
21+
22+
$active_nav = 'companies';
23+
24+
// $fb = array(
25+
// "title" => "",
26+
// "desc" => "",
27+
// "url" => $awss3."/opengraph/",
28+
// "image_url" => "",
29+
// "image_width" => "",
30+
// "image_height" => ""
31+
// );
32+
33+
34+
$template['company_name'] = 'Merck Sharp & Dohme';
35+
$template['company_name_short'] = 'msd';
36+
$template['logo_url'] = set_source($awss3.'/companies/msd/logo_svg','svg', FALSE);
37+
$template['package'] = 'silver';
38+
$template['day'] = 2;
39+
40+
$lang['general']['page_title'] = array('Chemtogether 2018 - Firmen: '.$template['company_name'], 'Chemtogether 2018 - Companies:'.$template['company_name']);
41+
$lang['navigation']['title'] = array($template['company_name'], $template['company_name']);
42+
$lang['navigation']['topnav_title']= array($template['company_name'], $template['company_name']);
43+
44+
$template['homepage'] = array('http://www.msd.com','msd.com');
45+
// $template['facebook'] = array('', '');
46+
$template['linkedin'] = array('https://www.linkedin.com/company/msd-global/','MSD Global');
47+
// $template['mail'] = array('','');
48+
$template['archive'] = '/archive/msd';
49+
50+
$template['we_are'] = array(
51+
'In Kürze.',
52+
'Coming soon.');
53+
$template['we_offer'] = array(
54+
'In Kürze.',
55+
'Coming soon.');
56+
$template['we_look'] = array(
57+
'In Kürze.',
58+
'Coming soon.');
59+
60+
61+
62+
$template['interview_print_until'] = 0;
63+
64+
65+
66+
include('../0_template/template.php');
67+
68+
69+
70+
?>

news/data/20180611_1.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
$date = array('11. Juni 2018','11th June 2018');
4+
$title = array('BASF - Goldpartner','BASF - Gold Partner');
5+
6+
$text = array('BASF ist einer unserer Goldpartner an der Chemtogether 2018 geworden! BASF wird am Dienstag 6. November 2018 an der Chemtogether sein, also komm vorbei!<br>Mehr über BASF <a href="/companies/basf/index.php#info">hier.</a>','BASF has become on of our gold partners for Chemtogether 2018! BASF will be present on Tuesday, 6th November 2018, so see what they have to offer!<br>Learn more about BASF <a href="/companies/basf/index.php#info">here.</a>');
7+
8+
$logo = set_source($awss3.'/companies/basf/logo_svg','svg', FALSE);
9+
$content = <<<END
10+
11+
<div class="text l-12 m-12 s-12">
12+
$text[$eng]
13+
</div>
14+
15+
END;
16+
17+
?>

news/data/20180611_2.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
$date = array('11. Juni 2018','11th June 2018');
4+
$title = array('Merck Sharp & Dohme - Silberpartner','Merck Sharp & Dohme - Silver Partner');
5+
6+
$text = array('Merck Sharp & Dohme nimmt an der Chemtogether 2018 als Silberpartner teil! Merck Sharp & Dohme wird am Mittwoch 7. November 2018 an der Chemtogether sein, also komm vorbei!<br>Mehr über Merck Sharp & Dohme <a href="/companies/msd/index.php#info">hier.</a>','Merck Sharp & Dohme will participate in Chemtogether 2018 as a silver partner! Merck Sharp & Dohme will be present on Wednesday, 7th November 2018, so see what they have to offer!<br>Learn more about Merck Sharp & Dohme <a href="/companies/msd/index.php#info">here.</a>');
7+
8+
$logo = set_source($awss3.'/companies/msd/logo_svg','svg', FALSE);
9+
$content = <<<END
10+
11+
<div class="text l-12 m-12 s-12">
12+
$text[$eng]
13+
</div>
14+
15+
END;
16+
17+
?>

news/data/20180612.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
$date = array('12. Juni 2018','12. Juni 2018');
4+
$title = array('Chemtogether 2018 ist ausgebucht','Chemtogether 2018 is booked out');
5+
6+
$text = array(
7+
'Alle 18 Firmen der Chemtogether 2018 stehen fest! Wir danken DOW und BASF für ihre Unterstützung als Goldpartner, sowie Carbogen Amcis, Gurit, Lonza, Metrohm, Ivoclar Vivadent und Merck Sharp & Dohme für ihre Teilnahme als Silberpartner. <a href="/companies/">Siehe dir die vollständige Liste der teilnehmenden Firmen hier an.</a>',
8+
'All 18 companies attending Chemtogether 2018 have confirmed their attendence! We would like to thank DOW and BASF for their support as gold partners, as well as Carbogen Amcis, Gurit, Lonza, Metrohm, Ivoclar Vivadent and Merck Sharp & Dohme for their particitpation as silver partners. <a href="/companies/">Take a look at the complete list of attending companies here.</a>'
9+
);
10+
11+
$logo = set_source($awss3.'/logo/chemtogether','png', FALSE);
12+
$content = <<<END
13+
14+
<div class="text l-12 m-12 s-12">
15+
$text[$eng]
16+
</div>
17+
18+
END;
19+
20+
?>

0 commit comments

Comments
 (0)