Files
FHC-Core/system/dbupdate_3.4/25999_C4_Menu.php
T
2024-11-04 12:09:26 +01:00

803 lines
41 KiB
PHP

<?php
// this file can be efficiently searched by searching for the symbol '~' which is attached to each heading of (content, contentsprache, contentchilds)
$TLC_content_latest_version = '<content><titel><![CDATA[Das Teaching & Learning Center - Viele Aufgaben, viele Köpfe, viel Expertise]]></titel><inhalt><![CDATA[<table style="width: 80%;" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td class="cmscontent " rowspan="3" valign="top"><table id="t1" style="width: 100%;" border="0" align="left"><tbody><tr><td><h2><strong style="font-size: small;">Erreichbarkeit Student-Support:&nbsp;</strong></h2><p><span style="font-size: small;">F&uuml;r Studierende:&nbsp;</span><br /><span style="font-size: small;">E:&nbsp;<a href="mailto:studentsupport@technikum-wien.at">studentsupport@technikum-wien.at<br /></a></span><span style="font-size: small;">WhatsApp: <a href="https://wa.me/message/5MDJTULYMUU7G1" target="_blank">+43 664 889 60 947</a></span><br /><span style="font-size: small;">R: B2.07<br /><br />F&uuml;r Lehrende:<br /><span>E:&nbsp;</span><a href="mailto:teachingsupport@technikum-wien.at">teachingsupport@technikum-wien.at<br /></a><span>R: A0.05<br /><br />Pre-Student:<br />E:&nbsp;</span><a href="mailto:prestudent@technikum-wien.at" rel="noopener noreferrer" class="op-uc-link">prestudent@technikum-wien.at<br /></a>R: B1.14</span></p></td><td><p><strong><span style="font-size: small;">Erreichbarkeit Moodle-Support:&nbsp; &nbsp;&nbsp;</span></strong></p><p><span style="font-size: small;"><strong>Di - Mi&nbsp; &nbsp; &nbsp; &nbsp;10:00 - 15:00&nbsp; &nbsp;<br />Do&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;12:00 - 16:00<br /></strong><br /></span></p><p style="text-align: left;"><span style="font-size: small; text-align: center;"><br />T:&nbsp;+43 1 333 40 77 - 233<br />E:&nbsp;<a href="mailto:moodle@technikum-wien.at">moodle@technikum-wien.at<br /></a>R: A0.05<br /><br /><br /><a href="https://moodle.technikum-wien.at/course/view.php?id=13353">Moodlekurs Study@FHTW&nbsp;</a><br /><a href="https://moodle.technikum-wien.at/course/view.php?id=16619&amp;section=3">Moodlekurs FHTW-Infobase Lehrende</a></span></p></td><td><p><img src="dms.php?id=247112" width="250" height="295" /></p></td></tr><tr><td><br /><br /></td><td align="left" valign="top"><span style="font-size: small;"><br /></span></td><td align="left" valign="top"><strong><span style="font-size: small;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;E:&nbsp;</span></strong><a href="mailto:tlc@technikum-wien.at"><strong><span style="font-size: small;">tlc@technikum-wien.at</span></strong><br /></a></td></tr></tbody></table><br /><br /><table class="tablesorter tablesorter_col_0 tablesorter_sort_0" id="t1" style="width: 100%;" border="0" align="left"><thead><tr><th>Leitung</th><th>Arbeitsbereich</th><th>Kontakt</th></tr></thead><tbody><tr><td style="width: 180px;">Lingo, Sylvia</td><td style="width: 320px;">Leitung.</td><td>T. +43 1 3334077 - 4752<br />M. <a href="mailto:sylvia.lingo@technikum-wien.at">sylvia.lingo@technikum-wien.at</a><br />R. B1.13</td></tr></tbody></table><br /><br /><table class="tablesorter tablesorter_col_0 tablesorter_sort_0" id="t1" style="width: 100%;" border="0" align="left"><thead><tr><th><b>Student Support<br /></b><b><a href="mailto:studentsupport@technikum-wien.at" title="mailto:studentsupport@technikum-wien.at">studentsupport@technikum-wien.at</a><a href="mailto:tereza.obrucova@technikum-wien.at">&nbsp;</a></b></th><th>Arbeitsbereich</th><th>Kontakt</th></tr></thead><tbody><tr><td style="width: 180px;"><span>Czedron, Nina</span></td><td style="width: 320px;"><span>Administration, interne Kommunikation, Personal, Bestellwesen.</span></td><td><span>T. +43 1 333 40 77 - 4137</span><br /><span>M.&nbsp;</span><a href="mailto:nina.czedron@technikum-wien.at">nina.czedron@technikum-wien.at</a><br /><span>R. B1.13</span></td></tr><tr><td style="width: 180px;"><span>Lang, Julia Maria</span></td><td style="width: 320px;">Pre-Student-Support (<a href="mailto:prestudent@technikum-wien.at" rel="noopener noreferrer" class="op-uc-link">prestudent@technikum-wien.at</a>):<span><br />Qualifikationskurse, Warm- Up Kurse, FiT- Vorqualifizierungen, Erg&auml;nzungspr&uuml;fungen.</span></td><td>T.&nbsp;+43 1 333 40 77 - 5532<br />M.&nbsp;<span><a href="mailto:julia_maria.lang@technikum-wien.at" title="mailto:julia_maria.lang@technikum-wien.at">julia_maria.lang@technikum-wien.at<br /></a></span>R.&nbsp;B1.14</td></tr><tr><td style="width: 180px;"></td><td style="width: 320px;"><p class="op-uc-p"><span>Schreibwerkstatt</span></p></td><td><span>T.&nbsp;</span><br /><span>M.</span><a href="mailto:nefise.top@technikum-wien.at"><br /></a><span>R.</span></td></tr><tr><td style="width: 180px;"><span><span>M&uuml;hlbacher, Stefan<br /></span></span></td><td style="width: 320px;">Pre-Student-Support (<a href="mailto:prestudent@technikum-wien.at" rel="noopener noreferrer" class="op-uc-link">prestudent@technikum-wien.at</a>):<span><br />Qualifikationskurse, Warm-Up Kurse, FiT-Vorqualifizierungen, Erg&auml;nzungspr&uuml;fungen.</span></td><td><span>T.&nbsp;+43 1 333 40 77 - 3610</span><br /><span>M.&nbsp;</span><a href="mailto:stefan.muehlbacher@technikum-wien.at">stefan.muehlbacher@technikum-wien.at</a><a href="mailto:nefise.top@technikum-wien.at"><br /></a><span>R. B1.14</span></td></tr><tr><td style="width: 180px;"><span><span><span><span><span><span>Obručov&aacute;, Tereza</span></span><br /></span></span></span></span></td><td style="width: 320px;">Lernberatung, Short Tracks,&nbsp;Planung Welcome Days.</td><td><span><span>T.&nbsp;0664-8205594</span><br /><span>M.&nbsp;</span><a href="mailto:tereza.obrucova@technikum-wien.at">tereza.obrucova@technikum-wien.at<br /></a><span>R. B2.07</span></span></td></tr><tr><td style="width: 180px;">Wicker, Larissa</td><td style="width: 320px;">Studierenden-Support,&nbsp;Pre-Student-Support, Betreuung der Jahrgangsvertreter*innen.</td><td>T. 0664-88348182<br />M. <a href="mailto:larissa.wicker@technikum-wien.at">larissa.wicker@technikum-wien.at</a><br />R. B2.07</td></tr></tbody></table><br /><br /><table class="tablesorter tablesorter_col_0 tablesorter_sort_0" id="t1" style="width: 100%;" border="0" align="left"><thead><tr><th><b>Teaching support<br /></b><b><span><a href="mailto:teachingsupport@technikum-wien.at" title="mailto:teachingsupport@technikum-wien.at">teachingsupport@technikum-wien.at</a></span></b><span>&nbsp;</span></th><th>Arbeitsbereich</th><th>Kontakt</th></tr></thead><tbody><tr><td style="width: 180px;"><span>Kert&eacute;sz, D&oacute;ra</span></td><td style="width: 320px;">Medien- und hochschuldidaktische Beratung Ansprechpartnerin:&nbsp;Internes Weiterbildungsangebot f&uuml;r Lehrende&nbsp;(Didaktik).</td><td>T. +43 1 333 40 77 - <span>6715</span><br />M. <a class="Item" href="mailto:dora.kertesz@technikum-wien.at">dora.kertesz@technikum-wien.at</a><a href="mailto:ingrid.preusche@technikum-wien.at"></a><br />R. A0.05</td></tr><tr><td style="width: 180px;">Lanickova, Katerina<br /><em>In Karenz</em></td><td style="width: 320px;">Medien- und hochschuldidaktische Beratung Ansprechpartnerin:&nbsp;Beratungsangebot f&uuml;r Lehrende&nbsp;(Didaktik).</td><td>T. 43 1 333 40 77 - 5406<br />M. <a href="mailto:katerina.lanickova@technikum-wien.at">katerina.lanickova@technikum-wien.at</a><br />R. A0.05</td></tr><tr><td style="width: 180px;">L&uuml;nenborg, Yasmin Ruth<br /><em>In Karenz</em></td><td style="width: 320px;">Medien- und hochschuldidaktische Beratung Ansprechpartnerin:&nbsp;LV-Entwicklung&nbsp;(kollegiale Reflexionsgespr&auml;che).</td><td>T. +43 1 3334077 - 8394<br />M.&nbsp;<a class="Item" href="mailto:yasmin_ruth.luenenborg@technikum-wien.at">yasmin_ruth.luenenborg@technikum-wien.at</a><br />R. A0.05</td></tr><tr><td style="width: 180px;"><span>Schnabel,&nbsp;<span>Lukas</span></span></td><td style="width: 320px;">Medien- und hochschuldidaktische Beratung Ansprechpartnerin:&nbsp;LV-Entwicklung&nbsp;(kollegiale Reflexionsgespr&auml;che).</td><td>T. <span>+43 664 820 54 76</span><br />M.&nbsp;<a href="mailto:lukas.schnabel@technikum-wien.at">lukas.schnabel@technikum-wien.at</a><a class="Item" href="mailto:lukas.schnabel@technikum-wien.at"></a><br />R. A0.05</td></tr><tr><td style="width: 180px;"><span>Grabher, Linus</span></td><td style="width: 320px;"><span>Teaching Support,&nbsp;Pre-Student-Support.</span></td><td>M. <a href="mailto:linus.grabher@technikum-wien.at">linus.grabher@technikum-wien.at<br /></a>R. A0.05</td></tr></tbody></table><br /><br /><table class="tablesorter tablesorter_col_0 tablesorter_sort_0" id="t1" style="width: 100%;" border="0" align="left"><thead><tr><th>eLearning Tools | Moodle<br /><b><a href="mailto:moodle@technikum-wien.at">moodle@technikum-wien.at</a></b></th><th>Arbeitsbereich</th><th>Kontakt</th></tr></thead><tbody><tr><td style="width: 180px;">Perkovic, Patrick</td><td style="width: 320px;">Lehrenden- und Studierenden-Support eLearning Tools | Moodle.</td><td>T.&nbsp;+43 1 333 40 77 - 2209<br />M.&nbsp;<a href="mailto:patrick.perkovic@technikum-wien.at">patrick.perkovic@technikum-wien.at</a><br />R<a class="Item" href="mailto:patrick.perkovic@technikum-wien.at"></a>. A0.05</td></tr><tr><td style="width: 180px;">Kovacevic, Selma</td><td style="width: 320px;">Lehrenden- und Studierenden-Support eLearning Tools | Moodle.</td><td>T. +43 1 333 40 77 - 7236<br />M. <a href="mailto:selma.kovacevic@technikum-wien.at">selma.kovacevic@technikum-wien.at</a><br />R. A0.05</td></tr><tr><td style="width: 180px;"><span>Bogosavljevic,&nbsp;<span>Nikola</span></span></td><td style="width: 320px;"><span>Leitung.<br /><br /></span>Lehrenden- und Studierenden-Support eLearning Tools | Moodle.</td><td>T.&nbsp;+43 1 333 40 77 - 3443<br />M.&nbsp;<a class="Item" href="mailto:nikola.bogosavljevic@technikum-wien.at">nikola.bogosavljevic@technikum-wien.at</a><br />R. A0.05</td></tr></tbody></table><br /><br /><table class="tablesorter tablesorter_col_0 tablesorter_sort_0" id="t1" style="width: 100%;" border="0" align="left"><thead><tr><th><b>Bibliothek<br /></b><b><a href="mailto:bibliothek@technikum-wien.at">bibliothek@technikum-wien.at</a></b>&nbsp;</th><th>Arbeitsbereich</th><th>Kontakt</th></tr></thead><tbody><tr><td style="width: 180px;"><span>Astf&auml;ller, Alexia</span></td><td style="width: 320px;"><p class="op-uc-p"><span>Bestellung Print- und e-Medien, Info-Theke, Medien-Erschlie&szlig;ung, Publikationsdatenbank, Projekte.</span></p></td><td>T: +43 1 333 40 77-5428<br />E:<span>&nbsp;</span><span><a href="mailto:alexia.astfaeller@technikum-wien.at">alexia.astfaeller@technikum-wien.at<br /></a></span>R: A4.09</td></tr><tr><td style="width: 180px;"><span>Baier, Margit</span></td><td style="width: 320px;"><p>Leitung.</p><p>e-Ressourcen-Pakete, Open Access, Projekte, Planung und Koordination.</p></td><td>T: +43 1 333 40 77-3390<br />E:&nbsp;<span><a href="mailto:margit.baier@technikum-wien.at">margit.baier@technikum-wien.at</a><br /></span>R: A4.09</td></tr><tr><td style="width: 180px;"><span>Metz, Sonja<br /><br /></span></td><td style="width: 320px;"><p>Bestellung Print- und e-Medien, Info-Theke, Medien-Erschlie&szlig;ung, Hochschulschriften-Datenbank.</p></td><td>T: <span>+43 1 333 40 77 - 4365</span><br />E:&nbsp;<a class="Item" href="mailto:sonja.metz@technikum-wien.at">sonja.metz@technikum-wien.at</a><a href="mailto:alexia.astfaeller@technikum-wien.at"><br /></a>R: A4.09</td></tr><tr><td style="width: 180px;"><span>Deimbacher-Sand, Maya</span></td><td style="width: 320px;">Bestellung Print- und e-Medien, Info-Theke, Medien-Erschlie&szlig;ung / Field of work: Ordering Print and e-Media, Information Desk, Media Indexing.<p></p></td><td>T: +43 1 333 40 77-4088 <br />E: <a href="mailto:maya.deimbacher-sand@technikum-wien.at">maya.deimbacher-sand@technikum-wien.at</a> <br />R: A4.09</td></tr></tbody></table></td></tr></tbody></table><p></p><h2 style="text-align: left;"><strong>Erreichbarkeit Bibliothek:&nbsp;</strong></h2><p style="text-align: left;"><span style="font-size: small;">E:&nbsp;<a href="mailto:bibliothek@technikum-wien.at">bibliothek@technikum-wien.at</a>&nbsp; &nbsp;<span style="white-space: pre;"> </span></span></p><p style="text-align: left;"><span style="font-size: small;">R: A4.09</span></p><h2 style="text-align: left;">&Ouml;ffnungszeiten:</h2><table rules="rows" cellspacing="0" cellpadding="2" border="0" align="center" style="float: left;"><tbody><tr><td><span style="font-size: small;">Montag:</span></td><td><span style="font-size: small;">13:00 Uhr - 18:00 Uhr</span></td></tr><tr><td><span style="font-size: small;">Dienstag:</span></td><td><span style="font-size: small;">10:00 Uhr - 19:00 Uhr</span></td></tr><tr><td><span style="font-size: small;">Mittwoch:</span></td><td><span style="font-size: small;">10:00 Uhr - 18:00 Uhr</span></td></tr><tr><td><span style="font-size: small;">Donnerstag:</span></td><td><span style="font-size: small;">10:00 Uhr - 18:00 Uhr</span></td></tr><tr><td><span style="font-size: small;">Freitag:</span></td><td><span style="font-size: small;">13:00 Uhr - 18:00 Uhr</span></td></tr></tbody></table><br /><br /><br /><br /><br /><br /><br /><br /><span style="font-size: small;"><br />Mehr Informationen zur Bibliothek unter:&nbsp;<a href="content.php?content_id=6794">https://cis.technikum-wien.at/cms/content.php?content_id=6794</a> und im Moodle-Kurs&nbsp;<a href="https://moodle.technikum-wien.at/course/view.php?id=20218">https://moodle.technikum-wien.at/course/view.php?id=20218</a></span><br /><div><span style="box-sizing: border-box; font-weight: bolder;"><br /></span></div><div><span style="box-sizing: border-box; font-weight: bolder;"><br /></span></div>]]></inhalt></content>';
if ($result = @$db->db_query("SELECT * FROM campus.tbl_content WHERE beschreibung='CIS4_ROOT'")) {
if ($db->db_num_rows($result) == 0) {
if (!$db->db_query("BEGIN;"))
{
echo '<strong>wasnt able to start transaction for CIS4_ROOT_MENU: ' . $db->db_last_error() . '</strong><br>';
}
else
{
$qry =
"
-- ~##################################### CONTENT
-- CIS4_ROOT
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'contentmittitel','etw',NOW(),null,null,null,TRUE,FALSE,'CIS4_ROOT'
);
-- MEIN_STUDIUM
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'redirect','etw',NOW(),null,null,null,TRUE,FALSE,'MEIN_STUDIUM'
);
-- VPN_STUDIERENDE
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'redirect','etw',NOW(),null,null,null,TRUE,FALSE,'VPN_STUDIERENDE'
);
-- PROFIL
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'redirect','etw',NOW(),null,null,null,TRUE,FALSE,'PROFIL'
);
-- NEWS
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'redirect','etw',NOW(),null,null,null,TRUE,FALSE,'NEWS'
);
-- DOKUMENTE
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'redirect','etw',NOW(),null,null,null,TRUE,FALSE,'DOKUMENTE'
);
-- STUDIENBETRIEB
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'redirect','etw',NOW(),null,null,null,TRUE,FALSE,'STUDIENBETRIEB'
);
-- VORLAGEN
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'redirect','Unternehmenskommunikation',NOW(),null,null,null,TRUE,FALSE,'VORLAGEN'
);
-- TLC
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'contentmittitel','tlc',NOW(),null,null,null,TRUE,FALSE,'TLC'
);
-- STUNDENPLAN
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'redirect','etw',NOW(),null,null,null,TRUE,FALSE,'STUNDENPLAN'
);
-- MYLV
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'redirect','etw',NOW(),null,null,null,TRUE,FALSE,'MYLV'
);
-- DASHBOARD
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'redirect','etw',NOW(),null,null,null,TRUE,FALSE,'DASHBOARD'
);
-- BESTÄTIGUNGEN_ZEUGNISSE
INSERT INTO campus.tbl_content
(template_kurzbz, oe_kurzbz, insertamum, insertvon, updateamum, updatevon, aktiv, menu_open, beschreibung)
VALUES
(
'redirect','etw',NOW(),null,null,null,TRUE,FALSE,'BESTÄTIGUNGEN_ZEUGNISSE'
);
-- ~##################################### CONTENTSPRACHE
-- CIS4_ROOT
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the CIS4_ROOT
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'CIS4_ROOT'),
1,TRUE,'<content></content>',null,null,null,null,NOW(),null,'Cis40',null
);
-- MEIN_STUDIUM
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the MEIN_STUDIUM
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'MEIN_STUDIUM'),
1,TRUE,
'<content><url><![CDATA[#Mein Studium]]></url><target><![CDATA[_self]]></target></content>',
null,null,null,null,NOW(),null,'Mein Studium',null
);
-- VPN_STUDIERENDE
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the VPN_STUDIERENDE
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'VPN_STUDIERENDE'),
1,TRUE,
'<content><url><![CDATA[#VPN]]></url><target><![CDATA[_self]]></target></content>',
null,null,null,null,NOW(),null,'VPN Neu - Zugang für Student*innen',null
);
-- PROFIL
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the PROFIL
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'PROFIL'),
1,TRUE,
'<content><url><![CDATA[../cis.php/Cis/Profil]]></url><target><![CDATA[]]></target></content>',
null,null,null,null,NOW(),null,'Profil',null
);
-- NEWS
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the NEWS
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'NEWS'),
1,TRUE,
'<content><url><![CDATA[../cms/news.php]]></url><target><![CDATA[content]]></target></content>',
null,null,null,null,NOW(),null,'News',null
);
-- DOKUMENTE
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the DOKUMENTE
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'DOKUMENTE'),
1,TRUE,
'<content><url><![CDATA[#Dokumente]]></url><target><![CDATA[_self]]></target></content>',
null,null,null,null,NOW(),null,'Dokumente',null
);
-- STUDIENBETRIEB
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
1,TRUE,
'<content><url><![CDATA[#Studienbetrieb]]></url><target><![CDATA[_self]]></target></content>',
null,null,null,null,NOW(),null,'Studienbetrieb',null
);
-- VORLAGEN
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the VORLAGEN
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'VORLAGEN'),
1,TRUE,
'<content><url><![CDATA[#Vorlagen]]></url><target><![CDATA[_self]]></target></content>',
null,null,null,null,NOW(),null,'Vorlagen',null
);
-- TLC
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the TLC
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'TLC'),
1,TRUE,
-- queries the content of the latest german TLC version
(SELECT content FROM campus.tbl_contentsprache WHERE sprache ='German' AND titel='TLC' AND version = ( SELECT MAX(version) FROM campus.tbl_contentsprache WHERE sprache ='German' AND titel='TLC') ),
null,null,null,null,NOW(),null,'TLC',null
);
-- STUNDENPLAN
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the STUNDENPLAN
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUNDENPLAN'),
1,TRUE,
'<content><url><![CDATA[../cis.php/Cis/Stundenplan]]></url><target><![CDATA[]]></target></content>',
null,null,null,null,NOW(),null,'Stundenplan',null
);
-- MYLV
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the MYLV
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'MYLV'),
1,TRUE,
'<content><url><![CDATA[../cis.php/Cis/MyLv]]></url><target><![CDATA[]]></target></content>',
null,null,null,null,NOW(),null,'MyLv',null
);
-- DASHBOARD
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the DASHBOARD
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'DASHBOARD'),
1,TRUE,
'<content><url><![CDATA[../cis.php/Cis4]]></url><target><![CDATA[]]></target></content>',
null,null,null,null,NOW(),null,'Dashboard',null
);
-- BESTÄTIGUNGEN_ZEUGNISSE
INSERT INTO campus.tbl_contentsprache
(sprache, content_id, version, sichtbar, content, reviewvon, reviewamum, updateamum, updatevon, insertamum, insertvon, titel, gesperrt_uid)
VALUES
(
'German',
-- queries the content_id for the BESTÄTIGUNGEN_ZEUGNISSE
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'BESTÄTIGUNGEN_ZEUGNISSE'),
1,TRUE,
'<content><url><![CDATA[../cis.php/Cis/Documents]]></url><target><![CDATA[]]></target></content>',
null,null,null,null,NOW(),null,'Bestätigungen / Zeugnisse',null
);
-- ~##################################### CONTENTCHILD
###### CIS4_ROOT childs
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the CIS4_ROOT
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'CIS4_ROOT'),
-- queries the content_id for the DASHBOARD
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'DASHBOARD'),
NOW(), null, null, null, 1
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the CIS4_ROOT
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'CIS4_ROOT'),
-- queries the content_id for the MEIN_STUDIUM
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'MEIN_STUDIUM'),
NOW(), null, null, null, 2
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the CIS4_ROOT
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'CIS4_ROOT'),
-- queries the content_id for the VPN_STUDIERENDE
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'VPN_STUDIERENDE'),
NOW(), null, null, null, 3
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the CIS4_ROOT
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'CIS4_ROOT'),
-- queries the content_id for the NEWS
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'NEWS'),
NOW(), null, null, null, 4
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the CIS4_ROOT
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'CIS4_ROOT'),
-- 6791 is the content_id for Bibliothek
6791, NOW(), null, null, null, 5
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the CIS4_ROOT
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'CIS4_ROOT'),
-- queries the content_id for the DOKUMENTE
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'DOKUMENTE'),
NOW(), null, null, null, 6
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the CIS4_ROOT
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'CIS4_ROOT'),
-- queries the content_id for the TLC
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'TLC'),
NOW(), null, null, null, 7
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the CIS4_ROOT
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'CIS4_ROOT'),
-- 10487 is the content_id for Modul International Skills
10487, NOW(), null, null, null, 8
);
###### Mein Studium childs
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the MEIN_STUDIUM
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'MEIN_STUDIUM'),
-- queries the content_id for the STUNDENPLAN
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUNDENPLAN'),
NOW(), null, null, null, 1
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the MEIN_STUDIUM
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'MEIN_STUDIUM'),
-- queries the content_id for the MYLV
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'MYLV'),
NOW(), null, null, null, 2
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the MEIN_STUDIUM
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'MEIN_STUDIUM'),
-- queries the content_id for the PROFIL
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'PROFIL'),
NOW(), null, null, null, 3
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the MEIN_STUDIUM
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'MEIN_STUDIUM'),
-- queries the content_id for the BESTÄTIGUNGEN_ZEUGNISSE
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'BESTÄTIGUNGEN_ZEUGNISSE'),
NOW(), null, null, null, 4
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the MEIN_STUDIUM
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'MEIN_STUDIUM'),
-- 10568 is the content_id for Zahlungen
10568, NOW(), null, null, null, 5
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the MEIN_STUDIUM
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'MEIN_STUDIUM'),
-- 10795 is the content_id for Studierendenstatus
10795, NOW(), null, null, null, 6
);
###### VPN_STUDIERENDE childs
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the MEIN_STUDIUM
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'VPN_STUDIERENDE'),
-- 10883 is the content_id for VPN Windows für Student*innen
10883, NOW(), null, null, null, 1
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the MEIN_STUDIUM
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'VPN_STUDIERENDE'),
-- 10884 is the content_id for VPN Linux für Student*innen
10884, NOW(), null, null, null, 2
);
###### Profil childs
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the PROFIL
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'PROFIL'),
-- 7358 is the content_id for password_aendern
7358, NOW(), null, null, null, 1
);
###### News childs
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the NEWS
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'NEWS'),
-- 6748 is the content_id for Newsletter FHTW
6748, NOW(), null, null, null, 1
);
###### Dokumente childs
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the DOKUMENTE
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'DOKUMENTE'),
-- 10246 is the content_id for Allg. FHTW-Glossar
10246, NOW(), null, null, null, 1
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the DOKUMENTE
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'DOKUMENTE'),
-- 10339 is the content_id for Hausordnung
10339, NOW(), null, null, null, 2
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the DOKUMENTE
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'DOKUMENTE'),
-- 6830 is the content_id for Satzung
6830, NOW(), null, null, null, 3
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the DOKUMENTE
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'DOKUMENTE'),
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
NOW(), null, null, null, 4
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the DOKUMENTE
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'DOKUMENTE'),
-- queries the content_id for the VORLAGEN
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'VORLAGEN'),
NOW(), null, null, null, 5
);
###### Studienbetrieb childs
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 7251 is the content_id for Administration
7251, NOW(), null, null, null, 1
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 7252 is the content_id for Außerordentliche Studierende
7252, NOW(), null, null, null, 2
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 7253 is the content_id for Berufspraktikum
7253, NOW(), null, null, null, 3
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 7254 is the content_id for CRM @ FHTW
7254, NOW(), null, null, null, 4
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 9328 is the content_id for Datenschutz
9328, NOW(), null, null, null, 5
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 10139 is the content_id for Einteilung Studienjahr
10139, NOW(), null, null, null, 6
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 7255 is the content_id for Formulare
7255, NOW(), null, null, null, 7
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 10841 is the content_id for Formulare
10841, NOW(), null, null, null, 8
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 7256 is the content_id for Internationale BewerberInnen
7256, NOW(), null, null, null, 9
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 7257 is the content_id for Leistungsstipendium
7257, NOW(), null, null, null, 10
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 7258 is the content_id for ÖH-Studierendenvertretung
7258, NOW(), null, null, null, 11
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 8416 is the content_id for ÖH-Studierendenvertretung
8416, NOW(), null, null, null, 12
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 7259 is the content_id for Prüfungen/Lehre
7259, NOW(), null, null, null, 13
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 10748 is the content_id for Studienbeitrag & ÖH-Beitrag
10748, NOW(), null, null, null, 14
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 7260 is the content_id for Studieren, Wohnen & Finanzen
7260, NOW(), null, null, null, 15
);
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the STUDIENBETRIEB
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'STUDIENBETRIEB'),
-- 7261 is the content_id for Wissenschaftliches Arbeiten
7261, NOW(), null, null, null, 16
);
###### Vorlagen childs
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the VORLAGEN
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'VORLAGEN'),
-- 7243 is the content_id for FHTW Corporate Identity & Design
7243, NOW(), null, null, null, 1
);
###### TLC childs
INSERT INTO campus.tbl_contentchild
(content_id, child_content_id, insertamum, insertvon, updateamum, updatevon, sort)
VALUES
(
-- queries the content_id for the TLC
(SELECT content_id from campus.tbl_content WHERE beschreibung = 'TLC'),
-- 9248 is the content_id for Service für Studierende
9248, NOW(), null, null, null, 1
);
";
// Execute query, COMMIT on success and ROLLBACK on error
if (!$db->db_query($qry))
{
echo '<strong>Menu content: ' . $db->db_last_error() . '</strong><br>';
// Rollback
if (!$db->db_query("ROLLBACK;"))
{
echo '<strong>wasnt able to rollback: ' . $db->db_last_error() . '</strong><br>';
}
else
{
echo '<strong>ROLLED BACK CIS4_ROOT_MENU</strong><br>';
}
}
else
{
// Commit
if (!$db->db_query("COMMIT;"))
{
echo '<strong>wasnt able to commit: ' . $db->db_last_error() . '</strong><br>';
}
else
{
echo '<strong>COMMITED CIS4_ROOT_MENU</strong><br>';
}
echo '<br>Menu content created';
}
}
}
}