statusbericht_template.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
  5. <style>
  6. body, td {
  7. font-family: Arial, sans-serif;
  8. font-size: 11pt;
  9. }
  10. table {
  11. border: 1px solid #888;
  12. layout: fixed;
  13. }
  14. td, th {
  15. padding: 3px 5px;
  16. margin: 2px;
  17. background-color: #ddd;
  18. }
  19. th {
  20. background-color: #bbb;
  21. }
  22. h1 {
  23. font-size: 16pt;
  24. margin: 10px 5px 0 5px;
  25. }
  26. h2 {
  27. font-size: 12pt;
  28. margin: 30px 0 8px 0;
  29. }
  30. .logdatei {
  31. margin: 10px 5px 20px 5px;
  32. padding: 0 20px 10px 20px;
  33. background-color: #eee;
  34. border: 1px solid #888;
  35. }
  36. .modell {
  37. font-weight: bold;
  38. background-color: #ccc;
  39. padding: 10px;
  40. margin: 0 -20px;
  41. }
  42. .number {
  43. font-weight: bold;
  44. background-color: #ccc;
  45. }
  46. a {
  47. color: #00a;
  48. text-decoration: none;
  49. }
  50. a:hover {
  51. text-decoration: underline;
  52. }
  53. .bisher {
  54. text-decoration: line-through;
  55. color: #b00;
  56. }
  57. </style>
  58. </head>
  59. <body id="fehlermeldung">
  60. <h1>
  61. Aktualisierung am <?php echo $today; ?>
  62. </h1>
  63. <?php foreach ($logs as $logfile) { ?>
  64. <div class="logdatei">
  65. <p class="modell"><?php echo $logfile->datei; ?></p>
  66. <?php $list = array("neu" => "Neue Konten","akt" => "Aktualisierte Konten","entf" => "Gel&ouml;schte Konten"); ?>
  67. <?php foreach ($list as $topic => $title) { ?>
  68. <?php if (isset($logfile->$topic) && count($logfile->$topic) > 0) { ?>
  69. <h2><?php echo $title; ?></h2>
  70. <table>
  71. <tr>
  72. <th style="width: 110px;">Kontonummer</th>
  73. <th style="width: 330px;">Bezeichnung</th>
  74. <th style="width: 80px;">Kontoart</th>
  75. <th style="width: 100px;">Datenquelle</th>
  76. </tr>
  77. <?php foreach ($logfile->$topic as $konto) { ?>
  78. <tr>
  79. <td><?php echo $konto->Konto_Nr; ?></td>
  80. <td><?php echo utf8_decode($konto->Konto_Bezeichnung); ?><br/><span class="bisher"><?php echo utf8_decode($konto->Konto_Bezeichnung_bisher); ?></span></td>
  81. <td><?php echo ($konto->Konto_Art == "1") ? "Bilanz" : "GuV"; ?></td>
  82. <td><?php echo $konto->Quelle; ?></td>
  83. </tr>
  84. <?php } ?>
  85. </table>
  86. <?php } ?>
  87. <?php } ?>
  88. </div>
  89. <?php } ?>
  90. </body>
  91. </html>