You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

857 regels
55 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE xsl:stylesheet [
  3. <!ENTITY nbsp "&#160;">
  4. <!ENTITY br "&#10;">
  5. <!ENTITY amp "&#38;#38;">
  6. <!ENTITY lt "&#38;#60;">
  7. <!ENTITY gt "&#62;">
  8. <!ENTITY Auml "&#196;">
  9. <!ENTITY Ouml "&#214;">
  10. <!ENTITY Uuml "&#220;">
  11. <!ENTITY auml "&#228;">
  12. <!ENTITY ouml "&#246;">
  13. <!ENTITY uuml "&#252;">
  14. <!ENTITY bull "&#8226;">
  15. ]>
  16. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  17. <xsl:output method="html" encoding="UTF-8"/>
  18. <xsl:template match="ihknewsletter">
  19. <html class="pl" lang="de-DE">
  20. <head>
  21. <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
  22. <meta http-equiv="Content-Style-Type" content="text/css;charset=UTF-8" />
  23. <title></title>
  24. <style type="text/css">
  25. /*<![CDATA[*/
  26. span{font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:12px;font-weight:normal;text-decoration:none;color:#767676;}a{font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:17px;font-weight:normal;text-decoration:underline;color:#3399CC;}ul{margin-top:0;margin-bottom:0;}ol{margin-top:0;margin-bottom:0;}li{margin:0;}
  27. /*]]>*/
  28. </style>
  29. <style media="only screen and (max-width:479px), only screen and (max-width:479px) and (-webkit-min-device-pixel-ratio: 1.5)"
  30. type="text/css">
  31. /*<![CDATA[*/
  32. body[inx] .d{display:none!important;}body[inx] .triple span{word-break:break-all!important;}body[inx] img[width="600"]{width:300px;height:auto}body[inx] img[width="300"]{width:150px;height:auto}body[inx] img[width="200"]{width:100px;height:auto}body[inx] img[width="180"]{width:94px;height:auto}body[inx] img[width="280"]{width:135px;height:auto}body[inx] img[width="170"]{width:90px;height:auto}body[inx] table[width="820"],body[inx] td[width="820"]{width:300px;overflow:visible}body[inx] table[width="640"],body[inx] td[width="640"]{width:300px;overflow:visible}body[inx] table[width="600"],body[inx] td[width="600"]{width:300px;overflow:visible}body[inx] table[width="580"],body[inx] td[width="580"]{width:290px;overflow:visible}body[inx] table[width="568"],body[inx] td[width="568"]{width:288px;overflow:visible}body[inx] table[width="578"],body[inx] td[width="578"]{width:288px;overflow:visible}body[inx] table[width="20"],body[inx] td[width="20"]{width:10px;overflow:visible}body[inx] table[width="17"],body[inx] td[width="17"]{width:3px;overflow:visible}body[inx] table[width="16"],body[inx] td[width="16"]{width:5px;overflow:visible}body[inx] table[width="10"],body[inx] td[width="10"]{width:5px;overflow:visible}body[inx] table[width="368"],body[inx] td[width="368"]{width:188px;overflow:visible}body[inx] table[width="380"],body[inx] td[width="380"]{width:280px;overflow:visible}body[inx] table[width="280"],body[inx] td[width="280"]{width:145px;overflow:visible}body[inx] table[width="270"],body[inx] td[width="270"]{width:135px;overflow:visible}body[inx] table[width="180"],body[inx] td[width="180"]{width:93px;overflow:visible}body[inx] table[width="300"],body[inx] td[width="300"]{width:150px;overflow:visible}body[inx] table[width="200"],body[inx] td[width="200"]{width:100px;overflow:visible}
  33. /*]]>*/
  34. </style>
  35. <style media="only screen and (min-width:480px) and (max-width:639px) and (-webkit-min-device-pixel-ratio: 1.5)" type="text/css">
  36. /*<![CDATA[*/
  37. body[inx] .d{display:none!important;}body[inx] .triple span{word-break:break-all!important;}body[inx] img[width="600"]{width:320px;height:auto}body[inx] img[width="300"]{width:160px;height:auto}body[inx] img[width="200"]{width:106px;height:auto}body[inx] img[width="180"]{width:101px;height:auto}body[inx] img[width="280"]{width:145px;height:auto}body[inx] img[width="170"]{width:96px;height:auto}body[inx] table[width="820"],body[inx] td[width="820"]{width:320px;overflow:visible}body[inx] table[width="640"],body[inx] td[width="640"]{width:320px;overflow:visible}body[inx] table[width="600"],body[inx] td[width="600"]{width:320px;overflow:visible}body[inx] table[width="580"],body[inx] td[width="580"]{width:310px;overflow:visible}body[inx] table[width="568"],body[inx] td[width="568"]{width:308px;overflow:visible}body[inx] table[width="578"],body[inx] td[width="578"]{width:308px;overflow:visible}body[inx] table[width="20"],body[inx] td[width="20"]{width:10px;overflow:visible}body[inx] table[width="17"],body[inx] td[width="17"]{width:3px;overflow:visible}body[inx] table[width="16"],body[inx] td[width="16"]{width:5px;overflow:visible}body[inx] table[width="10"],body[inx] td[width="10"]{width:5px;overflow:visible}body[inx] table[width="368"],body[inx] td[width="368"]{width:202px;overflow:visible}body[inx] table[width="380"],body[inx] td[width="380"]{width:300px;overflow:visible}body[inx] table[width="280"],body[inx] td[width="280"]{width:155px;overflow:visible}body[inx] table[width="270"],body[inx] td[width="270"]{width:145px;overflow:visible}body[inx] table[width="180"],body[inx] td[width="180"]{width:99px;overflow:visible}body[inx] table[width="300"],body[inx] td[width="300"]{width:160px;overflow:visible}body[inx] table[width="200"],body[inx] td[width="200"]{width:106px;overflow:visible}
  38. /*]]>*/
  39. </style>
  40. <style media=
  41. "only screen and (min-width:640px) and (max-width:719px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-width:480px) and (max-width:599px)"
  42. type="text/css">
  43. /*<![CDATA[*/
  44. body[inx] .d{display:none!important;}body[inx] .triple span{word-break:break-all!important;}body[inx] img[width="600"]{width:480px;height:auto}body[inx] img[width="300"]{width:240px;height:auto}body[inx] img[width="200"]{width:160px;height:auto}body[inx] img[width="180"]{width:154px;height:auto}body[inx] img[width="280"]{width:225px;height:auto}body[inx] img[width="170"]{width:150px;height:auto}body[inx] table[width="820"],body[inx] td[width="820"]{width:480px;overflow:visible}body[inx] table[width="640"],body[inx] td[width="640"]{width:480px;overflow:visible}body[inx] table[width="600"],body[inx] td[width="600"]{width:480px;overflow:visible}body[inx] table[width="580"],body[inx] td[width="580"]{width:470px;overflow:visible}body[inx] table[width="568"],body[inx] td[width="568"]{width:468px;overflow:visible}body[inx] table[width="578"],body[inx] td[width="578"]{width:468px;overflow:visible}body[inx] table[width="20"],body[inx] td[width="20"]{width:10px;overflow:visible}body[inx] table[width="17"],body[inx] td[width="17"]{width:3px;overflow:visible}body[inx] table[width="16"],body[inx] td[width="16"]{width:5px;overflow:visible}body[inx] table[width="10"],body[inx] td[width="10"]{width:5px;overflow:visible}body[inx] table[width="368"],body[inx] td[width="368"]{width:308px;overflow:visible}body[inx] table[width="380"],body[inx] td[width="380"]{width:460px;overflow:visible}body[inx] table[width="280"],body[inx] td[width="280"]{width:235px;overflow:visible}body[inx] table[width="270"],body[inx] td[width="270"]{width:225px;overflow:visible}body[inx] table[width="180"],body[inx] td[width="180"]{width:153px;overflow:visible}body[inx] table[width="300"],body[inx] td[width="300"]{width:240px;overflow:visible}body[inx] table[width="200"],body[inx] td[width="200"]{width:160px;overflow:visible}
  45. /*]]>*/
  46. </style>
  47. <style media="only screen and (min-width: 2px) and (max-width:1px)" type="text/css">
  48. /*<![CDATA[*/
  49. body[inx] .d{display:none!important;}body[inx] .triple span{word-break:break-all!important;}body[inx] img[width="600"]{width:600px;height:auto}body[inx] img[width="300"]{width:300px;height:auto}body[inx] img[width="200"]{width:200px;height:auto}body[inx] img[width="180"]{width:180px;height:auto}body[inx] img[width="280"]{width:280px;height:auto}body[inx] img[width="170"]{width:170px;height:auto}body[inx] table[width="820"],body[inx] td[width="820"]{width:820px;overflow:visible}body[inx] table[width="640"],body[inx] td[width="640"]{width:640px;overflow:visible}body[inx] table[width="600"],body[inx] td[width="600"]{width:600px;overflow:visible}body[inx] table[width="580"],body[inx] td[width="580"]{width:580px;overflow:visible}body[inx] table[width="568"],body[inx] td[width="568"]{width:568px;overflow:visible}body[inx] table[width="578"],body[inx] td[width="578"]{width:578px;overflow:visible}body[inx] table[width="20"],body[inx] td[width="20"]{width:20px;overflow:visible}body[inx] table[width="17"],body[inx] td[width="17"]{width:17px;overflow:visible}body[inx] table[width="16"],body[inx] td[width="16"]{width:16px;overflow:visible}body[inx] table[width="10"],body[inx] td[width="10"]{width:10px;overflow:visible}body[inx] table[width="368"],body[inx] td[width="368"]{width:368px;overflow:visible}body[inx] table[width="380"],body[inx] td[width="380"]{width:380px;overflow:visible}body[inx] table[width="280"],body[inx] td[width="280"]{width:280px;overflow:visible}body[inx] table[width="270"],body[inx] td[width="270"]{width:270px;overflow:visible}body[inx] table[width="180"],body[inx] td[width="180"]{width:180px;overflow:visible}body[inx] table[width="300"],body[inx] td[width="300"]{width:300px;overflow:visible}body[inx] table[width="200"],body[inx] td[width="200"]{width:200px;overflow:visible}
  50. /*]]>*/
  51. </style>
  52. <style media=
  53. "only screen and (device-width:320px) and (device-height:480px) and (orientation:portrait) and (-webkit-device-pixel-ratio: 1), only screen and (device-width:320px) and (device-height:480px) and (orientation:portrait) and (-webkit-device-pixel-ratio: 2), only screen and (device-aspect-ratio:40/71) and (orientation:portrait) and (-webkit-device-pixel-ratio: 2)"
  54. type="text/css">
  55. /*<![CDATA[*/
  56. body[inx] .d{display:none!important;}body[inx] .triple span{word-break:break-all!important;}body[inx] td:not(:first-child):not(:last-child)[width="20"]{display:block;min-height:20px}body[inx] td:not(:first-child):not(:last-child)[width="16"]{display:block;min-height:20px}body[inx] td:not(:first-child):not(:last-child)[width="17"]{display:block;min-height:20px}body[inx] td:not(:first-child):not(:last-child)[width="28"]{display:block;min-height:20px}body[inx] td[width="180"]{display:block}body[inx] td[width="380"]{display:block}body[inx] td[width="368"]{display:block}body[inx] td[width="280"]{display:block}body[inx] td[width="180"]{display:block}body[inx] td[width="270"]{display:block}body[inx] img[width="600"]{width:320px;height:auto}body[inx] img[width="300"]{width:160px;height:auto}body[inx] img[width="200"]{width:106px;height:auto}body[inx] img[width="180"]{width:310px;height:auto}body[inx] img[width="280"]{width:308px;height:auto}body[inx] img[width="170"]{width:308px;height:auto}body[inx] table[width="820"],body[inx] td[width="820"]{width:320px;overflow:visible}body[inx] table[width="640"],body[inx] td[width="640"]{width:320px;overflow:visible}body[inx] table[width="600"],body[inx] td[width="600"]{width:320px;overflow:visible}body[inx] table[width="580"],body[inx] td[width="580"]{width:310px;overflow:visible}body[inx] table[width="568"],body[inx] td[width="568"]{width:308px;overflow:visible}body[inx] table[width="578"],body[inx] td[width="578"]{width:308px;overflow:visible}body[inx] table[width="20"],body[inx] td[width="20"]{width:10px;overflow:visible}body[inx] table[width="17"],body[inx] td[width="17"]{width:3px;overflow:visible}body[inx] table[width="16"],body[inx] td[width="16"]{width:5px;overflow:visible}body[inx] table[width="10"],body[inx] td[width="10"]{width:5px;overflow:visible}body[inx] table[width="368"],body[inx] td[width="368"]{width:308px;overflow:visible}body[inx] table[width="380"],body[inx] td[width="380"]{width:308px;overflow:visible}body[inx] table[width="280"],body[inx] td[width="280"]{width:308px;overflow:visible}body[inx] table[width="270"],body[inx] td[width="270"]{width:308px;overflow:visible}body[inx] table[width="180"],body[inx] td[width="180"]{width:308px;overflow:visible}
  57. /*]]>*/
  58. </style>
  59. <style media=
  60. "only screen and (device-width:320px) and (device-height:480px) and (orientation:landscape) and (-webkit-device-pixel-ratio: 1), only screen and (device-width:320px) and (device-height:480px) and (orientation:landscape) and (-webkit-device-pixel-ratio: 2)"
  61. type="text/css">
  62. /*<![CDATA[*/
  63. body[inx] .d{display:none!important;}body[inx] .triple span{word-break:break-all!important;}body[inx] td:not(:first-child):not(:last-child)[width="20"]{display:block;min-height:20px}body[inx] td:not(:first-child):not(:last-child)[width="16"]{display:block;min-height:20px}body[inx] td:not(:first-child):not(:last-child)[width="17"]{display:block;min-height:20px}body[inx] td:not(:first-child):not(:last-child)[width="28"]{display:block;min-height:20px}body[inx] td[width="180"]{display:block}body[inx] td[width="380"]{display:block}body[inx] td[width="368"]{display:block}body[inx] td[width="280"]{display:block}body[inx] td[width="180"]{display:block}body[inx] td[width="270"]{display:block}body[inx] img[width="600"]{width:480px;height:auto}body[inx] img[width="300"]{width:240px;height:auto}body[inx] img[width="200"]{width:160px;height:auto}body[inx] img[width="180"]{width:470px;height:auto}body[inx] img[width="280"]{width:468px;height:auto}body[inx] img[width="170"]{width:468px;height:auto}body[inx] table[width="820"],body[inx] td[width="820"]{width:480px;overflow:visible}body[inx] table[width="640"],body[inx] td[width="640"]{width:480px;overflow:visible}body[inx] table[width="600"],body[inx] td[width="600"]{width:480px;overflow:visible}body[inx] table[width="580"],body[inx] td[width="580"]{width:470px;overflow:visible}body[inx] table[width="568"],body[inx] td[width="568"]{width:468px;overflow:visible}body[inx] table[width="578"],body[inx] td[width="578"]{width:468px;overflow:visible}body[inx] table[width="20"],body[inx] td[width="20"]{width:10px;overflow:visible}body[inx] table[width="17"],body[inx] td[width="17"]{width:3px;overflow:visible}body[inx] table[width="16"],body[inx] td[width="16"]{width:5px;overflow:visible}body[inx] table[width="10"],body[inx] td[width="10"]{width:5px;overflow:visible}body[inx] table[width="368"],body[inx] td[width="368"]{width:468px;overflow:visible}body[inx] table[width="380"],body[inx] td[width="380"]{width:468px;overflow:visible}body[inx] table[width="280"],body[inx] td[width="280"]{width:468px;overflow:visible}body[inx] table[width="270"],body[inx] td[width="270"]{width:468px;overflow:visible}body[inx] table[width="180"],body[inx] td[width="180"]{width:468px;overflow:visible}
  64. /*]]>*/
  65. </style>
  66. <style media="only screen and (device-aspect-ratio:40/71) and (orientation:landscape) and (-webkit-device-pixel-ratio: 2)" type=
  67. "text/css">
  68. /*<![CDATA[*/
  69. body[inx] .d{display:none!important;}body[inx] .triple span{word-break:break-all!important;}body[inx] td:not(:first-child):not(:last-child)[width="20"]{display:block;min-height:20px}body[inx] td:not(:first-child):not(:last-child)[width="16"]{display:block;min-height:20px}body[inx] td:not(:first-child):not(:last-child)[width="17"]{display:block;min-height:20px}body[inx] td:not(:first-child):not(:last-child)[width="28"]{display:block;min-height:20px}body[inx] td[width="180"]{display:block}body[inx] td[width="380"]{display:block}body[inx] td[width="368"]{display:block}body[inx] td[width="280"]{display:block}body[inx] td[width="180"]{display:block}body[inx] td[width="270"]{display:block}body[inx] img[width="600"]{width:568px;height:auto}body[inx] img[width="300"]{width:284px;height:auto}body[inx] img[width="200"]{width:189px;height:auto}body[inx] img[width="180"]{width:558px;height:auto}body[inx] img[width="280"]{width:556px;height:auto}body[inx] img[width="170"]{width:556px;height:auto}body[inx] table[width="820"],body[inx] td[width="820"]{width:568px;overflow:visible}body[inx] table[width="640"],body[inx] td[width="640"]{width:568px;overflow:visible}body[inx] table[width="600"],body[inx] td[width="600"]{width:568px;overflow:visible}body[inx] table[width="580"],body[inx] td[width="580"]{width:558px;overflow:visible}body[inx] table[width="568"],body[inx] td[width="568"]{width:556px;overflow:visible}body[inx] table[width="578"],body[inx] td[width="578"]{width:556px;overflow:visible}body[inx] table[width="20"],body[inx] td[width="20"]{width:10px;overflow:visible}body[inx] table[width="17"],body[inx] td[width="17"]{width:3px;overflow:visible}body[inx] table[width="16"],body[inx] td[width="16"]{width:5px;overflow:visible}body[inx] table[width="10"],body[inx] td[width="10"]{width:5px;overflow:visible}body[inx] table[width="368"],body[inx] td[width="368"]{width:556px;overflow:visible}body[inx] table[width="380"],body[inx] td[width="380"]{width:556px;overflow:visible}body[inx] table[width="280"],body[inx] td[width="280"]{width:556px;overflow:visible}body[inx] table[width="270"],body[inx] td[width="270"]{width:556px;overflow:visible}body[inx] table[width="180"],body[inx] td[width="180"]{width:556px;overflow:visible}
  70. /*]]>*/
  71. </style>
  72. <style media="only screen and (min-width: 2px) and (max-width:1px)" type="text/css">
  73. /*<![CDATA[*/
  74. body[inx] .d{display:none!important;}body[inx] .triple span{word-break:break-all!important;}body[inx] td:not(:first-child):not(:last-child)[width="20"]{display:run-in;min-height:auto}body[inx] td:not(:first-child):not(:last-child)[width="16"]{display:run-in;min-height:auto}body[inx] td:not(:first-child):not(:last-child)[width="17"]{display:run-in;min-height:auto}body[inx] td:not(:first-child):not(:last-child)[width="28"]{display:run-in;min-height:auto}body[inx] td[width="180"]{display:inline}body[inx] td[width="380"]{display:inline}body[inx] td[width="368"]{display:inline}body[inx] td[width="280"]{display:inline}body[inx] td[width="180"]{display:inline}body[inx] td[width="270"]{display:inline}body[inx] img[width="600"]{width:600px;height:auto}body[inx] img[width="300"]{width:300px;height:auto}body[inx] img[width="200"]{width:200px;height:auto}body[inx] img[width="180"]{width:180px;height:auto}body[inx] img[width="280"]{width:280px;height:auto}body[inx] img[width="170"]{width:170px;height:auto}body[inx] table[width="820"],body[inx] td[width="820"]{width:820px;overflow:visible}body[inx] table[width="640"],body[inx] td[width="640"]{width:640px;overflow:visible}body[inx] table[width="600"],body[inx] td[width="600"]{width:600px;overflow:visible}body[inx] table[width="580"],body[inx] td[width="580"]{width:580px;overflow:visible}body[inx] table[width="568"],body[inx] td[width="568"]{width:568px;overflow:visible}body[inx] table[width="578"],body[inx] td[width="578"]{width:578px;overflow:visible}body[inx] table[width="20"],body[inx] td[width="20"]{width:20px;overflow:visible}body[inx] table[width="17"],body[inx] td[width="17"]{width:17px;overflow:visible}body[inx] table[width="16"],body[inx] td[width="16"]{width:16px;overflow:visible}body[inx] table[width="10"],body[inx] td[width="10"]{width:10px;overflow:visible}body[inx] table[width="368"],body[inx] td[width="368"]{width:368px;overflow:visible}body[inx] table[width="380"],body[inx] td[width="380"]{width:380px;overflow:visible}body[inx] table[width="280"],body[inx] td[width="280"]{width:280px;overflow:visible}body[inx] table[width="270"],body[inx] td[width="270"]{width:270px;overflow:visible}body[inx] table[width="180"],body[inx] td[width="180"]{width:180px;overflow:visible}body[inx] table[width="300"],body[inx] td[width="300"]{width:300px;overflow:visible}body[inx] table[width="200"],body[inx] td[width="200"]{width:200px;overflow:visible}
  75. /*]]>*/
  76. </style>
  77. <style>
  78. <![CDATA[
  79. table {border-collapse:separate;}
  80. table td {border-collapse:collapse;}
  81. table td img {vertical-align: middle;}
  82. a, a:link, a:visited {text-decoration: none; color: #00788a}
  83. a:hover {text-decoration: underline;}
  84. h2,h2 a,h2 a:visited,h3,h3 a,h3 a:visited,h4,h5,h6,.t_cht {color:#000 !important; color: black; line-height: 100%; }
  85. p {margin:0; padding:0; margin-bottom:0;}
  86. .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td {line-height: 100%}
  87. .ExternalClass {width: 100%;}
  88. body {margin: 0; padding: 0; min-width: 100%!important;}
  89. .content {width: 100%; max-width: 600px;}
  90. a[x-apple-data-detectors] {
  91. color: inherit !important;
  92. text-decoration: none !important;
  93. font-family: inherit !important;
  94. font-weight: inherit !important;
  95. line-height: inherit !important;
  96. ]]>
  97. </style>
  98. </head>
  99. <body inx="inx" bgcolor="#FFFFFF" text="#000000" link="#337ab7" alink="#337ab7" vlink="#337ab7" style="background-color:#FFFFFF;color:#000000;font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:12px;font-weight:normal;text-decoration:none;">
  100. <xsl:if test="news">
  101. <xsl:call-template name="targets"/>
  102. </xsl:if>
  103. <a name="top" id="top"></a>
  104. <!-- fuer die HTML-Version--><center><p style="font-size:12px; color:#333333; margin:0 0 8px 0; padding:0; font-family:Arial, Helvetica, sans-serif;">Wenn dieser Newsletter nicht richtig angezeigt wird, klicken Sie bitte <a style="color:#003366; text-decoration:underline;" href="[%application-url]/html_mail.jsp?params=[%online_params]" target="_blank">hier.</a></p></center>
  105. <table align="center" cellspacing="0" cellpadding="0" border="0" width="100%" bgcolor="#4f6987" style="table-layout:fixed;text-align:center;">
  106. <tr>
  107. <td style="vertical-align:top;" valign="top" align="left">
  108. <div align="center">
  109. <table align="center" cellspacing="0" cellpadding="0" border="0" width="640" bgcolor="#4f6987" style="text-align:center;">
  110. <tr>
  111. <td style="vertical-align:top;" valign="top" align="left" width="640">
  112. <table cellspacing="0" cellpadding="0" border="0" width="640">
  113. <tr>
  114. <td style="vertical-align:top;" width="20"></td>
  115. <td style="vertical-align:top;" valign="top" align="right" width="600">
  116. <table cellspacing="0" cellpadding="0" border="0" width="600" bgcolor="#4f6987" id="header">
  117. <tr>
  118. <td style="vertical-align:top;" height="10" width="600"></td>
  119. </tr>
  120. <tr>
  121. <td valign="top" width="600" align="right" bgcolor="#4f6987" style="vertical-align:top;">
  122. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:16px;font-weight:normal;text-decoration:none;color:#FFFFFF;">
  123. <xsl:if test="string-length(salutation/issue) > 0">
  124. <xsl:value-of select="salutation/issue"/>
  125. </xsl:if>
  126. </span>
  127. </td>
  128. </tr>
  129. <tr>
  130. <td valign="top" width="600" align="left" bgcolor="#4f6987" style="vertical-align:top;">
  131. <table>
  132. <tr>
  133. <td valign="top" align="left" bgcolor="#4f6987" style="vertical-align:top;">
  134. <xsl:call-template name="logo"/>
  135. </td>
  136. <td valign="top" width="600" align="left" bgcolor="#4f6987" style="vertical-align:top;">
  137. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:24px;line-height:1.4;font-weight:normal;text-decoration:none;color:#FFFFFF;">
  138. <xsl:value-of select="imprint/logoname"/>
  139. </span>
  140. </td>
  141. </tr>
  142. </table>
  143. </td>
  144. </tr>
  145. <tr>
  146. <td style="vertical-align:top;" height="20" width="600"></td>
  147. </tr>
  148. </table>
  149. </td>
  150. <td style="vertical-align:top;" width="20"></td>
  151. </tr>
  152. </table>
  153. </td>
  154. </tr>
  155. </table>
  156. </div>
  157. </td>
  158. </tr>
  159. </table>
  160. <xsl:call-template name="salutation"/>
  161. <table align="center" cellspacing="0" cellpadding="0" border="0" width="100%" bgcolor="#ffffff" style="table-layout:fixed;text-align:center;">
  162. <tr>
  163. <td style="vertical-align:top;" valign="top" align="left">
  164. <div align="center">
  165. <table align="center" cellspacing="0" cellpadding="0" border="0" width="640" bgcolor="#ffffff" style="text-align:center;">
  166. <tr>
  167. <td style="vertical-align:top;" valign="top" align="left" width="640">
  168. <table cellspacing="0" cellpadding="0" border="0" width="640">
  169. <tr>
  170. <td style="vertical-align:top;" width="20"></td>
  171. <td style="vertical-align:top;" valign="top" align="left" width="600">
  172. <table cellspacing="0" cellpadding="0" border="0" width="600" bgcolor="#ffffff" id="news">
  173. <tr>
  174. <td style="vertical-align:top;" height="57" width="600"></td>
  175. </tr>
  176. <tr>
  177. <td valign="top" width="600" align="left" bgcolor="#ffffff" style="vertical-align:top;">
  178. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:42px;font-weight:normal;text-decoration:none;color:#2f3133;">
  179. Newsletter
  180. </span>
  181. </td>
  182. </tr>
  183. <tr>
  184. <td style="vertical-align:top;" height="76" width="600"></td>
  185. </tr>
  186. <xsl:if test="allg_Infos/index_show = 'ja'">
  187. <xsl:call-template name="index"/>
  188. </xsl:if>
  189. <!-- falls erster Artikel nicht angezeigt wird... -->
  190. <xsl:text disable-output-escaping="yes">&lt;tr&gt;</xsl:text>
  191. <xsl:text disable-output-escaping="yes">&lt;td style="vertical-align:top;" valign="top" align="left" width="600"&gt;</xsl:text>
  192. <xsl:text disable-output-escaping="yes">&lt;table cellspacing="0" cellpadding="0" border="0" width="600"&gt;</xsl:text>
  193. <xsl:text disable-output-escaping="yes">&lt;tr&gt;</xsl:text>
  194. <xsl:text disable-output-escaping="yes">&lt;td style="vertical-align:top;" valign="top" align="left" width="600"&gt;</xsl:text>
  195. <xsl:for-each select="news">
  196. <xsl:call-template name="news"/>
  197. </xsl:for-each>
  198. <tr>
  199. <td style="vertical-align:top;" height="60" width="600"></td>
  200. </tr>
  201. <xsl:call-template name="trenner">
  202. <xsl:with-param name="height">15</xsl:with-param>
  203. </xsl:call-template>
  204. <tr>
  205. <td valign="top" width="600" align="right" bgcolor="#ffffff" style="vertical-align:top;">
  206. <a href="[%application-url]/benutzerprofil.jsp?email=[email]&amp;id=[%id]">
  207. <span style="font-size:17px;color:#4a90ca;">Abonnement ändern</span>
  208. </a> | <xsl:value-of disable-output-escaping="yes" select="footer/unsubscribe"/>
  209. </td>
  210. </tr>
  211. <xsl:call-template name="trenner">
  212. <xsl:with-param name="height">15</xsl:with-param>
  213. </xsl:call-template>
  214. <tr>
  215. <td valign="top" width="600" align="right" bgcolor="#ffffff" style="vertical-align:top;">
  216. Besuchen Sie uns bei:&nbsp;
  217. <a href="https://www.facebook.com/ihkaachen" class="fb" target="_blank" title="Facebook">
  218. <img src="[%embedded-image(3544);facebook.png]" alt="Facebook" width="32" height="32" border="0" />
  219. </a>&nbsp;
  220. <a href="https://www.youtube.com/user/ihkacvidpub" class="yt" target="_blank" title="Youtube">
  221. <img src="[%embedded-image(3546);youtube.png]" alt="Youtube" width="32" height="32" border="0" />
  222. </a>&nbsp;
  223. <a href="https://twitter.com/ihkaachen" class="tw" target="_blank" title="Twitter">
  224. <img src="[%embedded-image(3545);twitter.png]" alt="Twitter" width="32" height="32" border="0" />
  225. </a>
  226. </td>
  227. </tr>
  228. <tr>
  229. <td style="vertical-align:top;" height="30" width="600"></td>
  230. </tr>
  231. <tr>
  232. <td valign="top" width="600" align="left" bgcolor="#ffffff" style="vertical-align:top;">
  233. <xsl:apply-templates select="imprint"/>
  234. <xsl:apply-templates select="footer"/>
  235. </td>
  236. </tr>
  237. </table>
  238. </td>
  239. <td style="vertical-align:top;" width="20"></td>
  240. </tr>
  241. </table>
  242. </td>
  243. </tr>
  244. </table>
  245. </div>
  246. </td>
  247. </tr>
  248. </table>
  249. <xsl:if test="settings/openingrate='ja'">
  250. <xsl:text>&lt;img src="[%url:unique-count;"http://news.inxmail.de/open.gif"; ; ; "Opening rate"]" width="1" height="1" style="border:0" /&gt;</xsl:text>
  251. </xsl:if>
  252. </body>
  253. </html>
  254. </xsl:template>
  255. <xsl:template name="targets">
  256. <xsl:text>[%if </xsl:text>
  257. <xsl:for-each select="news">
  258. <xsl:if test="position()!=1">
  259. <xsl:text> AND </xsl:text>
  260. </xsl:if>
  261. <xsl:choose>
  262. <xsl:when test="target">
  263. <xsl:for-each select="target">
  264. <xsl:if test="position()!=1">
  265. <xsl:text> AND </xsl:text>
  266. </xsl:if>
  267. <xsl:choose>
  268. <xsl:when test="string-length(.) > 0">
  269. <xsl:text>BelongsNotToGroup("</xsl:text><xsl:value-of disable-output-escaping="yes" select="."/><xsl:text>")</xsl:text>
  270. </xsl:when>
  271. <xsl:otherwise>
  272. <xsl:text> FALSE </xsl:text>
  273. </xsl:otherwise>
  274. </xsl:choose>
  275. </xsl:for-each>
  276. </xsl:when>
  277. <xsl:otherwise>
  278. <xsl:text> FALSE </xsl:text>
  279. </xsl:otherwise>
  280. </xsl:choose>
  281. </xsl:for-each>
  282. <xsl:text>] [%no-mail] </xsl:text>
  283. <xsl:text> [%endif] </xsl:text>
  284. </xsl:template>
  285. <xsl:template name="logo">
  286. <xsl:if test="string-length(header/logo) > 0">
  287. <xsl:choose>
  288. <xsl:when test="string-length(//ihknewsletter/imprint/website) > 0">
  289. <a>
  290. <xsl:attribute name="href">http://<xsl:value-of select="//ihknewsletter/imprint/website"/></xsl:attribute>
  291. <img alt="Logo" class="logo" width="108" height="54" border="0">
  292. <xsl:attribute name="src"><xsl:value-of select="header/logo"/></xsl:attribute>
  293. </img>
  294. </a>
  295. </xsl:when>
  296. <xsl:otherwise>
  297. <img alt="Logo" calss="logo" width="108" height="54" border="0">
  298. <xsl:attribute name="src"><xsl:value-of select="header/logo"/></xsl:attribute>
  299. </img>
  300. </xsl:otherwise>
  301. </xsl:choose>
  302. </xsl:if>
  303. </xsl:template>
  304. <xsl:template name="salutation">
  305. <table align="center" cellspacing="0" cellpadding="0" border="0" width="100%" bgcolor="#dfe4ea" style="table-layout:fixed;text-align:center;" id="salutation">
  306. <tr>
  307. <td style="vertical-align:top;" valign="top" align="left">
  308. <div align="center">
  309. <table align="center" cellspacing="0" cellpadding="0" border="0" width="640" bgcolor="#dfe4ea" style="text-align:center;">
  310. <tr>
  311. <td style="vertical-align:top;" valign="top" align="left" width="640">
  312. <table cellspacing="0" cellpadding="0" border="0" width="640">
  313. <tr>
  314. <td style="vertical-align:top;" width="20"></td>
  315. <td style="vertical-align:top;" valign="top" align="right" width="600">
  316. <table cellspacing="0" cellpadding="0" border="0" width="600" bgcolor="#dfe4ea">
  317. <tr>
  318. <td style="vertical-align:top;" height="30" width="600"></td>
  319. </tr>
  320. <tr>
  321. <td valign="top" width="600" align="left" bgcolor="#dfe4ea" style="vertical-align:top;">
  322. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:17px;font-weight:normal;text-decoration:none;color:#000000;">
  323. <xsl:value-of select="salutation/address"/><br /><br />
  324. <xsl:if test="string-length(salutation/paragraph) > 0">
  325. <xsl:for-each select="salutation/paragraph">
  326. <xsl:call-template name="insert_break">
  327. <xsl:with-param name="text" select="."/>
  328. </xsl:call-template>
  329. <br /><br />
  330. </xsl:for-each>
  331. </xsl:if>
  332. <xsl:if test="string-length(salutation/greeting) > 0">
  333. <xsl:value-of select="salutation/greeting"/><br /><br />
  334. </xsl:if>
  335. <xsl:if test="string-length(salutation/sig_name) > 0">
  336. <xsl:value-of select="salutation/sig_name"/>
  337. </xsl:if>
  338. </span>
  339. </td>
  340. </tr>
  341. <tr>
  342. <td style="vertical-align:top;" height="30" width="600"></td>
  343. </tr>
  344. </table>
  345. </td>
  346. <td style="vertical-align:top;" width="20"></td>
  347. </tr>
  348. </table>
  349. </td>
  350. </tr>
  351. </table>
  352. </div>
  353. </td>
  354. </tr>
  355. </table>
  356. </xsl:template>
  357. <xsl:template name="index">
  358. <xsl:for-each select="news">
  359. <xsl:variable name="feld">
  360. <xsl:choose>
  361. <xsl:when test="string-length(//ihknewsletter/all_gesch_feld/gesch_feld) > 0">
  362. <xsl:value-of select="//ihknewsletter/all_gesch_feld/gesch_feld"/>
  363. </xsl:when>
  364. <xsl:otherwise>
  365. <xsl:value-of select="news_gesch_feld"/>
  366. </xsl:otherwise>
  367. </xsl:choose>
  368. </xsl:variable>
  369. <xsl:if test="target">
  370. <xsl:call-template name="start_target"/>
  371. </xsl:if>
  372. <xsl:choose>
  373. <xsl:when test="//ihknewsletter/allg_Infos/index_only_themes = 'ja'">
  374. <xsl:if test="title_show = 'ja'">
  375. <xsl:if test="string-length($feld) > 0">
  376. <tr>
  377. <td valign="top" width="600" align="left" bgcolor="#ffffff" style="vertical-align:top;">
  378. <table cellspacing="0" cellpadding="0">
  379. <tr>
  380. <td width="30" align="center" valign="top">&bull;</td>
  381. <td width="570" align="left" valign="top">
  382. <a>
  383. <xsl:attribute name="href">#anchor<xsl:value-of select="position()"/></xsl:attribute>
  384. <xsl:attribute name="title"><xsl:value-of select='normalize-space($feld)'/></xsl:attribute>
  385. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:17px;font-weight:normal;text-decoration:none;color:#4a90ca;">
  386. <xsl:value-of select='normalize-space($feld)'/>
  387. </span>
  388. </a>
  389. </td>
  390. </tr>
  391. </table>
  392. </td>
  393. </tr>
  394. <xsl:call-template name="trenner" />
  395. </xsl:if>
  396. </xsl:if>
  397. </xsl:when>
  398. <xsl:otherwise>
  399. <tr>
  400. <td valign="top" width="600" align="left" bgcolor="#ffffff" style="vertical-align:top;">
  401. <table cellspacing="0" cellpadding="0">
  402. <tr>
  403. <td width="30" align="center" valign="top">&bull;</td>
  404. <td width="570" align="left" valign="top">
  405. <a>
  406. <xsl:attribute name="href">#anchor<xsl:value-of select="position()"/></xsl:attribute>
  407. <xsl:attribute name="title"><xsl:value-of select='normalize-space(title)'/></xsl:attribute>
  408. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:17px;font-weight:normal;text-decoration:none;color:#4a90ca;">
  409. <xsl:value-of select='normalize-space(title)'/>
  410. </span>
  411. </a>
  412. </td>
  413. </tr>
  414. </table>
  415. </td>
  416. </tr>
  417. <xsl:call-template name="trenner" />
  418. </xsl:otherwise>
  419. </xsl:choose>
  420. <xsl:if test="target">
  421. <xsl:call-template name="end_target"/>
  422. </xsl:if>
  423. </xsl:for-each>
  424. </xsl:template>
  425. <xsl:template name="trenner">
  426. <xsl:param name="height">10</xsl:param>
  427. <xsl:param name="width">600</xsl:param>
  428. <tr>
  429. <td valign="top" width="{$width}" height="{$height}" align="left" bgcolor="#ffffff" style="vertical-align:top;"></td>
  430. </tr>
  431. <tr>
  432. <td valign="top" width="{$width}" height="1" align="left" bgcolor="#ffffff" style="vertical-align:top;">
  433. <img width="{$width}" height="1" alt="Trennlinie">
  434. <xsl:attribute name="src"><xsl:value-of select="//ihknewsletter/header/trenner"/></xsl:attribute>
  435. </img>
  436. </td>
  437. </tr>
  438. <tr>
  439. <td valign="top" width="{$width}" height="{$height}" align="left" bgcolor="#ffffff" style="vertical-align:top;"></td>
  440. </tr>
  441. </xsl:template>
  442. <xsl:template name="news">
  443. <xsl:variable name="feld">
  444. <xsl:choose>
  445. <xsl:when test="string-length(//ihknewsletter/all_gesch_feld/gesch_feld) > 0">
  446. <xsl:value-of select="//ihknewsletter/all_gesch_feld/gesch_feld"/>
  447. </xsl:when>
  448. <xsl:otherwise>
  449. <xsl:value-of select="news_gesch_feld"/>
  450. </xsl:otherwise>
  451. </xsl:choose>
  452. </xsl:variable>
  453. <xsl:variable name="oneRow">
  454. <xsl:choose>
  455. <xsl:when test="string-length(//ihknewsletter/allg_Infos/one_row) > 0">
  456. <xsl:value-of select="//ihknewsletter/allg_Infos/one_row"/>
  457. </xsl:when>
  458. <xsl:otherwise>
  459. <xsl:value-of select="one_row_article"/>
  460. </xsl:otherwise>
  461. </xsl:choose>
  462. </xsl:variable>
  463. <xsl:variable name="colWidth">
  464. <xsl:choose>
  465. <xsl:when test="$oneRow = 'ja'">600</xsl:when>
  466. <xsl:otherwise>290</xsl:otherwise>
  467. </xsl:choose>
  468. </xsl:variable>
  469. <xsl:variable name="picHeight">
  470. <xsl:choose>
  471. <xsl:when test="$colWidth = '600'">400</xsl:when>
  472. <xsl:otherwise>192</xsl:otherwise>
  473. </xsl:choose>
  474. </xsl:variable>
  475. <xsl:variable name="nextNews" select="following-sibling::*[1]" />
  476. <xsl:variable name="titleShowCount" select="count(//ihknewsletter/news[title_show = 'ja'])" />
  477. <xsl:variable name="countPrevTitle" select="position() - count(preceding-sibling::news[title_show = 'ja'][1]/preceding-sibling::news) - 1" />
  478. <xsl:variable name="countPrevBig" select="position() - count(preceding-sibling::news[one_row_article = 'ja'][1]/preceding-sibling::news) - 1" />
  479. <xsl:variable name="countNews" select="count(preceding-sibling::news[one_row_article = 'ja' or title_show = 'ja'][1]/preceding-sibling::news)" />
  480. <xsl:variable name="countBig" select="count(preceding-sibling::news[one_row_article = 'ja'])" />
  481. <xsl:variable name="lastRow">
  482. <xsl:choose>
  483. <xsl:when test="$countNews = 0 and $countBig = 0">
  484. <xsl:value-of select="position()"/>
  485. </xsl:when>
  486. <xsl:when test="$countPrevBig > $countPrevTitle">
  487. <xsl:value-of select="$countPrevTitle - 1"/>
  488. </xsl:when>
  489. <xsl:otherwise>
  490. <xsl:value-of select="$countPrevBig"/>
  491. </xsl:otherwise>
  492. </xsl:choose>
  493. </xsl:variable>
  494. <xsl:if test="title_show = 'ja'">
  495. <xsl:if test="string-length($feld) > 0">
  496. <xsl:text disable-output-escaping="yes">&lt;/td&gt;</xsl:text>
  497. <xsl:text disable-output-escaping="yes">&lt;/tr&gt;</xsl:text>
  498. <xsl:text disable-output-escaping="yes">&lt;/table&gt;</xsl:text>
  499. <xsl:text disable-output-escaping="yes">&lt;/td&gt;</xsl:text>
  500. <xsl:text disable-output-escaping="yes">&lt;/tr&gt;</xsl:text>
  501. <xsl:if test="target">
  502. <xsl:call-template name="start_target"/>
  503. </xsl:if>
  504. <tr>
  505. <td style="vertical-align:top;" width="600" height="123"></td>
  506. </tr>
  507. <tr>
  508. <td valign="top" width="600" align="left" bgcolor="#ffffff" style="vertical-align:top;">
  509. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:28px;font-weight:normal;text-decoration:none;color:#2f3133;">
  510. <xsl:value-of select="$feld"/>
  511. </span>
  512. </td>
  513. </tr>
  514. <xsl:if test="target">
  515. <xsl:call-template name="end_target"/>
  516. </xsl:if>
  517. <xsl:text disable-output-escaping="yes">&lt;tr&gt;</xsl:text>
  518. <xsl:text disable-output-escaping="yes">&lt;td style="vertical-align:top;" valign="top" align="left" width="600"&gt;</xsl:text>
  519. <xsl:text disable-output-escaping="yes">&lt;table cellspacing="0" cellpadding="0" border="0" width="600"&gt;</xsl:text>
  520. <xsl:text disable-output-escaping="yes">&lt;tr&gt;</xsl:text>
  521. <xsl:text disable-output-escaping="yes">&lt;td style="vertical-align:top;" valign="top" align="left" width="</xsl:text><xsl:value-of select="$colWidth"/><xsl:text disable-output-escaping="yes">"&gt;</xsl:text>
  522. <xsl:if test="target">
  523. <xsl:call-template name="start_target"/>
  524. </xsl:if>
  525. <table>
  526. <xsl:call-template name="trenner">
  527. <xsl:with-param name="height">20</xsl:with-param>
  528. <xsl:with-param name="width" select="$colWidth - 6"/>
  529. </xsl:call-template>
  530. </table>
  531. <xsl:if test="target">
  532. <xsl:call-template name="end_target"/>
  533. </xsl:if>
  534. </xsl:if>
  535. </xsl:if>
  536. <xsl:if test="not(title_show) or title_show = 'nein'">
  537. <xsl:choose>
  538. <xsl:when test="($lastRow mod 2 = 1) or ($titleShowCount = 0 and position() = 1) or $oneRow = 'ja'">
  539. <xsl:if test="position() > 1 or $oneRow = 'nein'">
  540. <xsl:text disable-output-escaping="yes">&lt;/td&gt;</xsl:text>
  541. <xsl:text disable-output-escaping="yes">&lt;/tr&gt;</xsl:text>
  542. <xsl:text disable-output-escaping="yes">&lt;/table&gt;</xsl:text>
  543. <xsl:text disable-output-escaping="yes">&lt;/td&gt;</xsl:text>
  544. <xsl:text disable-output-escaping="yes">&lt;/tr&gt;</xsl:text>
  545. <xsl:text disable-output-escaping="yes">&lt;tr&gt;</xsl:text>
  546. <xsl:if test="target">
  547. <xsl:call-template name="start_target"/>
  548. </xsl:if>
  549. <xsl:text disable-output-escaping="yes">&lt;td style="vertical-align:top;" valign="top" width="600" height="54"&gt;</xsl:text>
  550. <xsl:text disable-output-escaping="yes">&lt;/td&gt;</xsl:text>
  551. <xsl:if test="target">
  552. <xsl:call-template name="end_target"/>
  553. </xsl:if>
  554. <xsl:text disable-output-escaping="yes">&lt;/tr&gt;</xsl:text>
  555. </xsl:if>
  556. <xsl:text disable-output-escaping="yes">&lt;tr&gt;</xsl:text>
  557. <xsl:text disable-output-escaping="yes">&lt;td style="vertical-align:top;" valign="top" align="left" width="600"&gt;</xsl:text>
  558. <xsl:text disable-output-escaping="yes">&lt;table cellspacing="0" cellpadding="0" border="0" width="600"&gt;</xsl:text>
  559. <xsl:text disable-output-escaping="yes">&lt;tr&gt;</xsl:text>
  560. <xsl:text disable-output-escaping="yes">&lt;td style="vertical-align:top;" valign="top" align="left" width="</xsl:text><xsl:value-of select="$colWidth"/><xsl:text disable-output-escaping="yes">"&gt;</xsl:text>
  561. <xsl:if test="target">
  562. <xsl:call-template name="start_target"/>
  563. </xsl:if>
  564. <table>
  565. <xsl:call-template name="trenner">
  566. <xsl:with-param name="height">20</xsl:with-param>
  567. <xsl:with-param name="width" select="$colWidth - 6"/>
  568. </xsl:call-template>
  569. </table>
  570. <xsl:if test="target">
  571. <xsl:call-template name="end_target"/>
  572. </xsl:if>
  573. </xsl:when>
  574. <xsl:otherwise>
  575. <xsl:text disable-output-escaping="yes">&lt;/td&gt;</xsl:text>
  576. <td style="vertical-align:top;" width="20"></td>
  577. <xsl:text disable-output-escaping="yes">&lt;td style="vertical-align:top;" valign="top" align="left" width="</xsl:text><xsl:value-of select="$colWidth"/><xsl:text disable-output-escaping="yes">"&gt;</xsl:text>
  578. <xsl:if test="target">
  579. <xsl:call-template name="start_target"/>
  580. </xsl:if>
  581. <table>
  582. <xsl:call-template name="trenner">
  583. <xsl:with-param name="height">20</xsl:with-param>
  584. <xsl:with-param name="width" select="$colWidth - 6"/>
  585. </xsl:call-template>
  586. </table>
  587. <xsl:if test="target">
  588. <xsl:call-template name="end_target"/>
  589. </xsl:if>
  590. </xsl:otherwise>
  591. </xsl:choose>
  592. </xsl:if>
  593. <xsl:if test="target">
  594. <xsl:call-template name="start_target"/>
  595. </xsl:if>
  596. <a>
  597. <xsl:attribute name="id">anchor<xsl:value-of select="position()"/></xsl:attribute>
  598. <xsl:attribute name="name">anchor<xsl:value-of select="position()"/></xsl:attribute>
  599. </a>
  600. <xsl:if test="group_picture">
  601. <xsl:call-template name="picture">
  602. <xsl:with-param name="source" select="group_picture/picture"/>
  603. <xsl:with-param name="alt" select="group_picture/picture_alt"/>
  604. <xsl:with-param name="copyright" select="group_picture/picture_copyright"/>
  605. <xsl:with-param name="width"><xsl:value-of select="$colWidth"/></xsl:with-param>
  606. <xsl:with-param name="height"><xsl:value-of select="$picHeight"/></xsl:with-param>
  607. </xsl:call-template>
  608. <br style="font-size:10px;" />
  609. </xsl:if>
  610. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:15px;font-weight:normal;text-decoration:none;color:#5f6266;line-height:1.5;">
  611. <xsl:value-of select="headline"/>
  612. </span>
  613. <br style="font-size:15px;" />
  614. <br style="font-size:7px;" />
  615. <xsl:if test="link">
  616. <xsl:if test="string-length(link) > 0">
  617. <xsl:text disable-output-escaping="yes">&lt;a href="</xsl:text>
  618. <xsl:call-template name="tracklinktitle">
  619. <xsl:with-param name="url" select="link" />
  620. </xsl:call-template>
  621. <xsl:text disable-output-escaping="yes">"&gt;</xsl:text>
  622. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:22px;font-weight:normal;text-decoration:none;color:#2d76b2;">
  623. <xsl:value-of select="title" />
  624. </span>
  625. <xsl:text disable-output-escaping="yes">&lt;/a&gt;</xsl:text>
  626. </xsl:if>
  627. </xsl:if>
  628. <xsl:if test="not(link)">
  629. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:22px;font-weight:normal;text-decoration:none;color:#2d76b2;">
  630. <xsl:value-of select="title" />
  631. </span>
  632. </xsl:if>
  633. <br style="font-size:22px;" />
  634. <br style="font-size:10px;" />
  635. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:16px;font-weight:normal;text-decoration:none;color:#5f6266;line-height:1.4;">
  636. <xsl:for-each select="paragraph">
  637. <xsl:call-template name="insert_break">
  638. <xsl:with-param name="text" select="."/>
  639. </xsl:call-template>
  640. </xsl:for-each>
  641. </span>
  642. <xsl:if test="target">
  643. <xsl:call-template name="end_target"/>
  644. </xsl:if>
  645. <xsl:choose>
  646. <xsl:when test="(title_show = 'ja' and (position() = last() or $nextNews/one_row_article = 'ja' or $nextNews/title_show = 'ja')) or (position() = 1 and position() = last()) and ($oneRow = 'nein' or $oneRow = '')">
  647. <xsl:text disable-output-escaping="yes">&lt;/td&gt;</xsl:text>
  648. <td style="vertical-align:top;" width="20"></td>
  649. <xsl:text disable-output-escaping="yes">&lt;td style="vertical-align:top;" valign="top" align="left" width="</xsl:text><xsl:value-of select="$colWidth"/><xsl:text disable-output-escaping="yes">"&gt;</xsl:text>
  650. </xsl:when>
  651. <xsl:when test="$lastRow mod 2 = 0 or ($titleShowCount = 0 and position() = 1) or $oneRow = 'ja'">
  652. </xsl:when>
  653. <xsl:otherwise>
  654. <xsl:if test="$nextNews/title_show = 'ja' or $nextNews/one_row_article = 'ja' or position() = last()">
  655. <xsl:text disable-output-escaping="yes">&lt;/td&gt;</xsl:text>
  656. <td style="vertical-align:top;" width="20"></td>
  657. <xsl:text disable-output-escaping="yes">&lt;td style="vertical-align:top;" valign="top" align="left" width="</xsl:text><xsl:value-of select="$colWidth"/><xsl:text disable-output-escaping="yes">"&gt;</xsl:text>
  658. </xsl:if>
  659. </xsl:otherwise>
  660. </xsl:choose>
  661. <xsl:if test="position() = last()">
  662. <xsl:text disable-output-escaping="yes">&lt;/td&gt;</xsl:text>
  663. <xsl:text disable-output-escaping="yes">&lt;/tr&gt;</xsl:text>
  664. <xsl:text disable-output-escaping="yes">&lt;/table&gt;</xsl:text>
  665. <xsl:text disable-output-escaping="yes">&lt;/td&gt;</xsl:text>
  666. <xsl:text disable-output-escaping="yes">&lt;/tr&gt;</xsl:text>
  667. </xsl:if>
  668. </xsl:template>
  669. <xsl:template match="imprint">
  670. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:22px;font-weight:normal;text-decoration:none;color:#2f3133;">
  671. <b>Ihr Kontakt zu uns:</b>
  672. </span>
  673. <table cellspacing="0" cellpadding="0" border="0" width="600" bgcolor="#ffffff" id="imprint">
  674. <tr>
  675. <td style="vertical-align:top;" valign="top" width="400" height="20"></td>
  676. <td style="vertical-align:top;" valign="top" width="200" height="20"></td>
  677. </tr>
  678. <tr>
  679. <td valign="top" width="400" align="left" bgcolor="#ffffff" style="vertical-align:top;">
  680. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:17px;font-weight:normal;text-decoration:none;color:#5f6266;">
  681. <xsl:value-of select="name"/><br />
  682. <xsl:value-of select="street"/><br />
  683. <xsl:value-of select="city"/><br />
  684. </span>
  685. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:17px;font-weight:normal;text-decoration:none;color:#5f6266;">
  686. <xsl:if test="phone and string-length(phone) > 0">
  687. <xsl:value-of select="phone"/><br />
  688. </xsl:if>
  689. <xsl:if test="fax and string-length(fax) > 0">
  690. <xsl:value-of select="fax"/><br />
  691. </xsl:if>
  692. <a href="mailto:{email}">
  693. <span style="font-size:17px;">
  694. E-Mail: <xsl:value-of select="email"/>
  695. </span>
  696. </a>
  697. </span>
  698. </td>
  699. <td valign="top" width="200" align="left" bgcolor="#ffffff" style="vertical-align:top;">
  700. </td>
  701. </tr>
  702. <tr>
  703. <td style="vertical-align:top;" valign="top" width="200" height="20"></td>
  704. <td style="vertical-align:top;" valign="top" width="400" height="20"></td>
  705. </tr>
  706. <tr>
  707. <td valign="top" width="200" align="left" bgcolor="#ffffff" style="vertical-align:top;">
  708. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:17px;font-weight:normal;text-decoration:none;color:#5f6266;">
  709. </span>
  710. </td>
  711. <td valign="top" width="400" align="left" bgcolor="#ffffff" style="vertical-align:top;">
  712. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:17px;font-weight:normal;text-decoration:none;color:#5f6266;">
  713. </span>
  714. </td>
  715. </tr>
  716. <tr>
  717. <td style="vertical-align:top;" valign="top" width="200" height="20"></td>
  718. <td style="vertical-align:top;" valign="top" width="400" height="20"></td>
  719. </tr>
  720. </table>
  721. </xsl:template>
  722. <xsl:template match="footer">
  723. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:17px;font-weight:normal;text-decoration:none;color:#5f6266;" id="footer">
  724. <xsl:for-each select="paragraph">
  725. <xsl:call-template name="insert_break">
  726. <xsl:with-param name="text" select="."/>
  727. </xsl:call-template>
  728. <br /><br />
  729. </xsl:for-each>
  730. <xsl:call-template name="insert_break">
  731. <xsl:with-param name="text" select="copyright"/>
  732. </xsl:call-template>
  733. </span>
  734. </xsl:template>
  735. <xsl:template name="picture">
  736. <xsl:param name="source"></xsl:param>
  737. <xsl:param name="alt"></xsl:param>
  738. <xsl:param name="copyright"><xsl:text></xsl:text></xsl:param>
  739. <xsl:param name="width">280</xsl:param>
  740. <xsl:param name="height">186</xsl:param>
  741. <xsl:text disable-output-escaping="yes">&lt;img src="</xsl:text>
  742. <xsl:if test="not(contains($source, '[%embedded-image'))">
  743. <xsl:value-of disable-output-escaping="yes" select="$source"/>
  744. </xsl:if>
  745. <xsl:if test="contains($source, '[%embedded-image')">
  746. <xsl:variable name="embed_part" select="substring-after($source, 'src=')"/>
  747. <xsl:variable name="embed" select="substring-before($embed_part, 'alt=')"/>
  748. <xsl:value-of select="$embed"/>
  749. </xsl:if>
  750. " border="0" width="<xsl:value-of select="$width"/>" height="<xsl:value-of select="$height"/>" alt="<xsl:value-of select="$alt"/>"<xsl:text disable-output-escaping="yes">/&gt;</xsl:text>
  751. <xsl:if test="string-length($copyright) > 0">
  752. <br style="font-size:10px;"/>
  753. <span style="font-family:Arial,Helvetica,sans-serif;font-style:normal;font-size:12px;font-weight:normal;text-decoration:none;color:#5f6266;text-align:right;display:block;">
  754. <xsl:value-of select="$copyright" />
  755. </span>
  756. </xsl:if>
  757. <br style="font-size:10px;"/>
  758. </xsl:template>
  759. <xsl:template name="insert_break">
  760. <xsl:param name="text"/>
  761. <xsl:choose>
  762. <xsl:when test="contains($text,'&#10;')">
  763. <xsl:value-of select="substring-before($text,'&#10;')"/>
  764. <xsl:text>&lt;br&gt;</xsl:text>
  765. <xsl:call-template name="insert_break">
  766. <xsl:with-param name="text" select="substring-after($text,'&#10;')"/>
  767. </xsl:call-template>
  768. </xsl:when>
  769. <xsl:otherwise>
  770. <xsl:value-of select="$text"/>
  771. </xsl:otherwise>
  772. </xsl:choose>
  773. </xsl:template>
  774. <xsl:template name="tracklinktitle">
  775. <xsl:param name="url" />
  776. <xsl:param name="title">
  777. </xsl:param>
  778. <xsl:value-of select="substring-before($url,']')" /><xsl:text>; "</xsl:text>
  779. <xsl:value-of select="$title"/>
  780. <xsl:text>"]</xsl:text>
  781. </xsl:template>
  782. <xsl:template name="start_target">
  783. <xsl:variable name="ending">
  784. <xsl:for-each select="target">
  785. <xsl:sort select="." data-type="text" order="descending" />
  786. <xsl:if test="position()=1">
  787. <xsl:if test="string-length(.) > 0">]
  788. </xsl:if>
  789. </xsl:if>
  790. </xsl:for-each>
  791. </xsl:variable>
  792. <xsl:for-each select="target">
  793. <xsl:sort select="." data-type="text" order="descending" />
  794. <xsl:if test="string-length(.) > 0">
  795. <xsl:if test="position() = 1">
  796. <xsl:text>
  797. [%if </xsl:text>
  798. </xsl:if>
  799. <xsl:if test="position() != 1">
  800. <xsl:text> OR </xsl:text>
  801. </xsl:if>
  802. <xsl:text>BelongsToGroup("</xsl:text><xsl:value-of disable-output-escaping="yes" select="."/><xsl:text>")</xsl:text>
  803. </xsl:if>
  804. <xsl:if test="position()=last()">
  805. <xsl:value-of select="$ending"/>
  806. </xsl:if>
  807. </xsl:for-each>
  808. </xsl:template>
  809. <xsl:template name="end_target">
  810. <xsl:for-each select="target">
  811. <xsl:sort select="." data-type="text" order="descending" />
  812. <xsl:if test="string-length(.) > 0">
  813. <xsl:if test="position() = 1">
  814. <xsl:text>
  815. [%endif]
  816. </xsl:text>
  817. </xsl:if>
  818. </xsl:if>
  819. </xsl:for-each>
  820. </xsl:template>
  821. </xsl:stylesheet>