Advertisement
moonchild_it

TMM Flat HTML Telmplate

Oct 27th, 2016
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <!--
  4. Template made by Yanbab for GCStar. Flat and compact list.
  5. Ported to Tiny Multimedia Manager by Marco Diletti.
  6. -->
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  9. <title>Movie List</title>
  10. <style type="text/css">
  11.  
  12. body {
  13. color:black;
  14. background-color : white;
  15. font-family : arial, sans-serif;
  16. font-size : 12px;
  17. margin : 10px;
  18. }
  19.  
  20. tr {
  21. page-break-inside: avoid;
  22. }
  23.  
  24. td {
  25. font-family : arial, sans-serif;
  26. font-size : 12px;
  27. }
  28.  
  29. h1 {
  30. font-size:130%;
  31. font-weight:bold;
  32. border-bottom : solid black 1px;
  33. margin:0px;
  34. }
  35.  
  36. #footer {
  37. border-top : solid black 1px;
  38. font-size:small;
  39. color : #666;
  40. }
  41. a {
  42. color : #666;
  43. text-decoration : none;
  44.  
  45. }
  46. a:hover {
  47. text-decoration : underline;
  48. }
  49. #total {
  50. float: right;
  51. font-weight: bold;
  52. }
  53. .title {
  54. font-size : 110%;
  55. font-weight : bold;
  56. color: blue;
  57. }
  58.  
  59. .synopsis {
  60. margin-top : .6em;
  61. margin-bottom : 1.5em;
  62. text-align : justify;
  63. color : #333;
  64. }
  65.  
  66. .image {
  67. margin-bottom : 1.5em;
  68. }
  69.  
  70. .detail {
  71. float : right;
  72. text-align : right;
  73. color : #888;
  74. }
  75. }
  76. </style>
  77. </head>
  78. <body>
  79. <h1>Movie List</h1>
  80.  
  81.  
  82. <table cellpadding="8" cellspacing="0">
  83. ${foreach movies movie}
  84. <tr>
  85. <td valign="top" align="center" bgcolor="#ddd" width="80" >
  86. <img align="top" src="images/${movie(../nopicture.gif);copyArtwork(type=POSTER, thumb=true, width=160)}" width="160" border="0" class="image">
  87. </td>
  88. <td valign="top">
  89. <div class="detail">${foreach movie.genres genre , }${genre}${end} - ${movie.runtime}'<br>
  90. ${movie.year}</div>
  91.  
  92. <div class="title"><font color="blue">${movie.title}</font></div><br>
  93. <strong>Director:</strong> ${movie.director} <br>
  94. <strong>Cast:</strong> ${foreach movie.actors actor , }${actor.name}${end}<br>
  95. <div class="synopsis">
  96. <strong>${movie.tagline}</strong><br>
  97. ${movie.plot}
  98. </div>
  99. <strong>Source:</strong>
  100. ${if movie.mediaSource="Unknown"}
  101.  
  102. ${foreach movie.mediaFiles file}
  103.  
  104. ${if file.type="VIDEO"} ${file.containerFormat} ${file.exactVideoFormat}
  105. <br><strong>Audio Tracks:</strong>
  106. ${foreach file.audioStreams audio , } ${audio.language} (${audio.codec} ${audio.channels}${end}
  107. ${end}
  108.  
  109. ${end}
  110.  
  111. ${else}${movie.mediaSource}${end}
  112. </td>
  113. </tr>
  114. ${end}
  115. </table>
  116.  
  117. </body>
  118. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement