\r\n
\r\n\r\n REX_VALUE[2]\';\r\n }\r\n\r\n if (\"REX_VALUE[1]\" == \'tt\') { // Text-Tabs\r\n echo \'\r\n
\';\r\n\r\n } elseif (\"REX_VALUE[1]\" == \'vt\') { // Vertikale Tabs\r\n echo \'\r\n
\';\r\n\r\n } elseif (\"REX_VALUE[1]\" == \'bt\') { // Button-Tabs\r\n echo \'\r\n
\';\r\n }\r\n\r\n if (\"REX_VALUE[1]\" == \'ta\') { // Text-Accordions\r\n\r\n echo \'\r\n
\';\r\n\r\n } elseif (\"REX_VALUE[1]\" == \'ba\') { // Button-Accordions\r\n\r\n echo \'\r\n
\';\r\n\r\n } else {\r\n\r\n echo \'\r\n
\';\r\n\r\n }\r\n\r\n if (\"REX_VALUE[1]\" == \'tt\' || \"REX_VALUE[1]\" == \'vt\' || \"REX_VALUE[1]\" == \'bt\') {\r\n echo \'\r\n
\';\r\n }\r\n ?>\r\n\r\n
\r\n
\r\n \r\n\r\n\r\n Output only in frontend\';\r\n}\r\n?>\r\n','\r\n\r\n
\r\n \r\n\r\n \r\n\r\n \r\n \r\n','2015-12-01 10:24:18','admin','2016-10-18 15:50:15','decaf','',0),
(9,NULL,'09 . Downloads','\r\n
getTemplateId() == 1) {\r\n echo \' container\';\r\n }\r\n if (\"REX_VALUE[19]\" != \'\') {\r\n echo \' REX_VALUE[19]\';\r\n }\r\n echo \'\">\';\r\n\r\n if (\"REX_VALUE[17]\" == \'vd\') {\r\n echo \'\r\n
\r\n
\';\r\n }\r\n\r\n if (\"REX_VALUE[2]\" != \'\') {\r\n echo \'\r\n
REX_VALUE[2] \';\r\n }\r\n\r\n if (\"REX_MEDIALIST[1]\" != \'\') {\r\n\r\n // Find out file size\r\n if (!function_exists(\'datei_groesse\')) {\r\n function datei_groesse($URL) {\r\n\r\n $groesse = filesize($URL);\r\n if($groesse<1000) {\r\n return number_format($groesse, 0, \",\", \".\").\" Bytes\";\r\n }\r\n elseif($groesse<1000000) {\r\n return number_format($groesse/1024, 0, \",\", \".\").\" kB\";\r\n } else {\r\n return number_format($groesse/1048576, 0, \",\", \".\").\" MB\";\r\n }\r\n }\r\n }\r\n\r\n // Find out icon\r\n if (!function_exists(\'parse_icon\')) {\r\n function parse_icon($ext) {\r\n switch (strtolower($ext)) {\r\n case \'doc\': return \'
\';\r\n case \'pdf\': return \'
\';\r\n case \'zip\': return \'
\';\r\n // please add your own settings, e.g. with icons of Font-Awesome\r\n default:\r\n return \'\';\r\n }\r\n }\r\n }\r\n\r\n\r\n $languageSuffix = \'\';\r\n if (rex_clang::getCurrentId() == 2) {\r\n $languageSuffix = \'_en\';\r\n }\r\n\r\n $arr = explode(\",\",\"REX_MEDIALIST[1]\");\r\n foreach ($arr as $value) {\r\n\r\n $extension = substr(strrchr($value, \'.\'), 1);\r\n $parsed_icon = parse_icon($extension);\r\n $media = rex_media::get($value);\r\n $file_desc = $media->getValue(\'med_description\' . $languageSuffix);\r\n\r\n echo \'\r\n
clang, array (\'file\' => $value) ).\'\">\'.$parsed_icon;\r\n\r\n // Description as linktext, if there is one. Otherwise filename\r\n if ($file_desc != \"\") {\r\n echo $file_desc;\r\n } else {\r\n echo $value;\r\n }\r\n\r\n echo \' (\'.datei_groesse(rex_path::media($value)).\')
\';\r\n\r\n }\r\n }\r\n\r\n if (\"REX_VALUE[18]\"== \'true\'){\r\n echo \'\r\n
\';\r\n }\r\n\r\n if (\"REX_VALUE[17]\" == \'vd\') {\r\n echo \'\r\n
\r\n
\';\r\n }\r\n echo \'\r\n
\r\n
\';\r\n?>','\r\n\r\n
\r\n Downloads \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n ','2015-12-01 10:24:45','admin','2017-09-20 12:07:46','admin','',0),
(10,NULL,'11 . Code','\r\n
getTemplateId() == 1) echo \'container clearfix \'; ?>full\">\r\n
\r\nREX_VALUE[1]\r\n \r\n
\r\n','\r\n\r\n
\r\n Code \r\n\r\n \r\n\r\n \r\n\r\n \r\n','2015-12-01 10:25:30','admin','2016-03-19 12:40:37','admin','',0),
(11,NULL,'12 . Text Seitenspalte','
\">\r\n\r\n REX_VALUE[1]\';\r\n }\r\n\r\n if (\'REX_VALUE[id=3 isset=1]\') {\r\n $textile = markitup::parseOutput(\'textile\', \'REX_VALUE[id=3 output=\"html\"]\');\r\n echo str_replace(array(\'
\', \' \'), array(\'
\', \' \'), $textile);\r\n }\r\n\r\n if (\"REX_VALUE[18]\"== \'true\'){\r\n echo \'\r\n
\';\r\n }\r\n\r\n ?>\r\n
\r\n\r\n
\r\n','\r\n\r\n
\r\n Text \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n','2015-12-01 10:26:10','admin','2016-10-18 15:50:15','decaf','',0),
- (12,NULL,'30 . PHP','REX_VALUE[output=php]','\r\n\r\n
\r\n PHP \r\n\r\n \r\n\r\n ','2015-12-01 10:26:37','admin','2017-09-20 10:59:04','admin','',0),
+ (12,NULL,'30 . PHP','REX_VALUE[id=1 output=php]','\r\n\r\n
\r\n PHP \r\n\r\n \r\n\r\n ','2015-12-01 10:26:37','admin','2017-09-20 10:59:04','admin','',0),
(13,NULL,'15 . Footer Text','
\r\n REX_VALUE[1]\r\n
\';\r\n }\r\n\r\n if (\'REX_VALUE[id=2 isset=1]\') {\r\n echo markitup::parseOutput(\'textile\', \'REX_VALUE[id=2 output=\"html\"]\');\r\n }\r\n ?>\r\n
\r\n','\r\n\r\n
\r\n Text \r\n\r\n \r\n\r\n \r\n\r\n \r\n','2015-12-14 10:15:16','admin','2016-10-18 15:50:15','decaf','',0),
(14,NULL,'16 . Footer Social Links','
\r\n REX_VALUE[1]\r\n
\';\r\n }\r\n\r\n echo \'\r\n
\';\r\n\r\n if (\'REX_VALUE[id=2 isset=1]\') {\r\n echo \'\r\n
\r\n Facebook \r\n
\';\r\n }\r\n\r\n if (\'REX_VALUE[id=3 isset=1]\') {\r\n echo \'\r\n
\r\n Twitter \r\n
\';\r\n }\r\n\r\n if (\'REX_VALUE[id=4 isset=1]\') {\r\n echo \'\r\n
\r\n GitHub \r\n
\';\r\n }\r\n\r\n echo \'\r\n \';\r\n ?>\r\n
\r\n','\r\n\r\n
\r\n Text \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n','2015-12-14 10:15:33','admin','2017-08-17 17:20:02','admin','',0),
(15,NULL,'17 . Footer Links','
\r\n REX_VALUE[1]\r\n
\';\r\n }\r\n\r\n if (\'REX_LINKLIST[1]\' != \'\') {\r\n echo \'
\';\r\n $linklist = explode(\',\',\'REX_LINKLIST[1]\');\r\n foreach ($linklist as $link) {\r\n $art = rex_article::get($link);\r\n if ($art instanceof rex_article) {\r\n\r\n $class = \"\";\r\n if(rex_article::getCurrentId() == $art->getId())\r\n $class = \' class=\"active\"\';\r\n\r\n $art_name = $art->getValue(\'name\');\r\n echo \'\r\n \'.$art_name.\' \';\r\n }\r\n }\r\n echo \' \';\r\n }\r\n ?>\r\n
\r\n','\r\n\r\n
\r\n Text \r\n\r\n \r\n\r\n \r\n\r\n \r\n','2015-12-14 10:15:46','admin','2017-08-18 11:25:49','admin','',0),