GilgaMesh Posted May 17, 2010 Share Posted May 17, 2010 Could Anyone tell me what I should change to this template to make it show the newest entries at the top instead of the bottom. Thank You. <html><head> <style TYPE="text/css"> text,body,p,div,span,th,td,ul,li { FONT-SIZE: 10pt; FONT-FAMILY: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif; color: black; background: white; } HR { color: black; } A:link { COLOR: #003399; background: white; } A:visited { COLOR: #003399; background: white; } A:hover { COLOR: #CC0000; background: white; } A:active { COLOR: #CC0000; background: white; } td.blk { color: white; background: black; border: solid; border-color: black; } table.blk { color: white; background: black; border: solid; border-color: black; border-width: thin; } table.lgt { color: black; background: white; border: solid; border-width: thin; border-color: #F5F5F5; } td.lgt { color: black; background: white; border: solid; border-width: thin; border-color: #F5F5F5; } p.title { font-size: 18pt; font-weight: bold; } </style></head><body> <table class="blk" border="1" cellspacing="0" cellpadding="5"><tr> <td class="blk" nowrap>Image</td> <td class="blk" nowrap>Original Title</td> <td class="blk" nowrap>Added</td> <td class="blk" nowrap>Rating</td> <td class="blk" nowrap>Resolution</td> <td class="blk" nowrap>Link</td> </tr>$$ITEM_BEGIN<tr> <td rowspan="2" class="lgt"><strong>$$ITEM_PICTURE</strong></td> <td class="lgt"><strong>$$ITEM_ORIGINALTITLE </strong></td> <td class="lgt">$$ITEM_DATEADD </td> <td class="lgt">$$ITEM_RATING </td> <td class="lgt">$$ITEM_RESOLUTION </td> <td class="lgt"><a href="$$ITEM_URL" target="_blank">$$ITEM_URL </td> </tr><tr><td colspan="6" class="lgt">$$ITEM_DESCRIPTION </td></tr><tr><td colspan="7" class="blk"></td> </tr>$$ITEM_END</table><p><strong>Total: $$TOTALMOVIES movies</strong></p></body></html> Link to comment Share on other sites More sharing options...
0 Kudos Veteran Posted May 17, 2010 Veteran Share Posted May 17, 2010 This isn't an issue with the template, it's whatever code is populating it needs to do the sorting first. Link to comment Share on other sites More sharing options...
0 GilgaMesh Posted May 17, 2010 Author Share Posted May 17, 2010 Ok thanks for the info Link to comment Share on other sites More sharing options...
0 Colin-uk Veteran Posted May 17, 2010 Veteran Share Posted May 17, 2010 moved here Cupcakes 1 Share Link to comment Share on other sites More sharing options...
Question
GilgaMesh
Could Anyone tell me what I should change to this template to make it show the newest entries at the top instead of the bottom.
Thank You.
<html><head> <style TYPE="text/css"> text,body,p,div,span,th,td,ul,li { FONT-SIZE: 10pt; FONT-FAMILY: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif; color: black; background: white; } HR { color: black; } A:link { COLOR: #003399; background: white; } A:visited { COLOR: #003399; background: white; } A:hover { COLOR: #CC0000; background: white; } A:active { COLOR: #CC0000; background: white; } td.blk { color: white; background: black; border: solid; border-color: black; } table.blk { color: white; background: black; border: solid; border-color: black; border-width: thin; } table.lgt { color: black; background: white; border: solid; border-width: thin; border-color: #F5F5F5; } td.lgt { color: black; background: white; border: solid; border-width: thin; border-color: #F5F5F5; } p.title { font-size: 18pt; font-weight: bold; } </style></head><body> <table class="blk" border="1" cellspacing="0" cellpadding="5"><tr> <td class="blk" nowrap>Image</td> <td class="blk" nowrap>Original Title</td> <td class="blk" nowrap>Added</td> <td class="blk" nowrap>Rating</td> <td class="blk" nowrap>Resolution</td> <td class="blk" nowrap>Link</td> </tr>$$ITEM_BEGIN<tr> <td rowspan="2" class="lgt"><strong>$$ITEM_PICTURE</strong></td> <td class="lgt"><strong>$$ITEM_ORIGINALTITLE </strong></td> <td class="lgt">$$ITEM_DATEADD </td> <td class="lgt">$$ITEM_RATING </td> <td class="lgt">$$ITEM_RESOLUTION </td> <td class="lgt"><a href="$$ITEM_URL" target="_blank">$$ITEM_URL </td> </tr><tr><td colspan="6" class="lgt">$$ITEM_DESCRIPTION </td></tr><tr><td colspan="7" class="blk"></td> </tr>$$ITEM_END</table><p><strong>Total: $$TOTALMOVIES movies</strong></p></body></html>Link to comment
Share on other sites
3 answers to this question
Recommended Posts