My Template (so far)

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Post Reply

What do you think of my template

Excelent
1
100%
OK
0
No votes
It Sux
0
No votes
 
Total votes: 1

Twink
Posts: 92
Joined: 2002-08-01 01:40:12

My Template (so far)

Post by Twink »

Just downloaded this awesome program yesterday and am loving it. thought I'd start giving back straight away. I based the template on the default one so it looks basically the same, however I made the pictures stay the same size (90x140) the pictures are the link to the website (imdb in my case). if you click the title the table expands to reveal actors, director and producer (easily changed). If there is no picture or link then it's not displayed (nopic.gif displayed instead). and at the start of each letter (ie first movie that starts with letter) a alphabet and 0-9 are printed with links to the first movie of that letter/number. I'm still working on it, but I thought I might see what you guys think. It seems a little slow at the moment due to the amount of scripts it has to run but I'm working on that too.

Code: Select all


<html>
	<title>Twink's Movie List</title>
 
	<script language="javascript">
		function dToggle(x){
			if (x.style.display==""){
				x.style.display="none";
			}
			else{
				x.style.display="";
			}
		}
  
    var lastm = " "
    function lastmovie(x){
      var oldlastm = lastm;
      lastm = x;
      return oldlastm;
    }
    
    function newletter(x){
      var last = lastmovie(x);
      if(x.charAt(0)!=last.charAt(0)){
        document.write("<a name='",x.charAt(0),"'>");
        writeletters();
      }
    }
    
    function writeletters(){
      var alphabet = new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z");
      document.write("<td colspan='7'><center>");
          for(var a=0;a<36;a++){
            document.write("<a href ='#",alphabet[a],"'>",alphabet[a],"</a>  ");
          }
      document.write("</center></td><tr>");
    }
  
	</script>
<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>
<p>Last updated on $$DATE<BR>
Total: $$TOTALMOVIES movies<br>
</p>


<div id="list" >
<table class="blk" border="1" cellspacing="0" cellpadding="5"><tr>
<thead>
  <td class="blk" nowrap>Number</td>
  <td class="blk" nowrap>Title</td>
  <td class="blk" nowrap>Lent To</td>
  <td class="blk" nowrap>Length</td>
  <td class="blk" nowrap>Source</td>
  <td class="blk" nowrap>Format</td>
</thead>
<tbody>
</tr>$$ITEM_BEGIN<tr>
  <script>
      newletter("$$ITEM_ORIGINALTITLE")
  </script>
  <td rowspan="2" class="lgt"><strong>$$ITEM_NUMBER</strong> $$ITEM_APPRECIATION<br>
     <script>
        if("$$ITEM_URL"!="")document.write("<a href = $$ITEM_URL>");
        if("$$ITEM_PICTUREFILENAME"!=""){
          document.write("<img src='$$ITEM_PICTUREFILENAME' width='98' height='140'>");
        }else{
          document.write("<img src='nopic.gif' width='98' height='140'>");
        }
        if("$$ITEM_URL"!="")document.write("</a>");
      </script>
  </td>
  <td class="lgt" style="cursor:hand;"  onclick="dToggle(List0_Detail[$$ITEM_NUMBER-1]);">
    <strong>$$ITEM_ORIGINALTITLE </strong>
  </td>
  <td class="lgt">$$ITEM_BORROWER </td>
  <td class="lgt">$$ITEM_LENGTH Minutes</td>
  <td class="lgt">$$ITEM_SOURCE </td>
  <td class="lgt">$$ITEM_VIDEOFORMAT </td>
</tr>
<tr>
  <td colspan="6" class="lgt">$$ITEM_DESCRIPTION </td>
</tr>

<tr id="List0_Detail" style="display:'none';">
  <td rowspan="1" class="lgt">
    <strong>
      Director:<br>Producer:<br>Actors:
    </strong>
  </td>
  <td colspan="6" class="lgt">
    $$ITEM_DIRECTOR <br>
    $$ITEM_PRODUCER <br>
    $$ITEM_ACTORS <br>
  </td>
</tr>


<tr><td colspan="7" class="blk"></td>
</tr>$$ITEM_END
</tbody>

</table>
</div>
</body></html>


antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

It is very nice, but seems to work in IE only :p

I tried it in IE 6, but when I click on a title nothing happens :??:

When you have finished it I can include it with the setup package of the program if you want.
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

it relies on them being sorted by number which might be why you didn't see anything. I needed a way to reference fields in java and could only think of $$ITEM_NUMBER if there was a numbering system that numbered from 0-X in order of what was outputted first (ie not part of database just replaced as the file is made) would work slightly better.

I guess I'll look at the fact it only works in ie, I use ie6 works for me (just as long as the sorting is done right. it's not finished as i said. I've used java alot before but not javascript so it's a learning experience for me :hihi:
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

If you want I can add a tag replaced by "output number" in the next version.
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

not actually needed anymore I found a way around it. It would be nice to have some scripting abilities in it thou, would speed it up alot. instead of having to run a script comparing $ITEM_PICTUREFILENAME to "", maybe you could have that variable set to a predefined image if it is null when creating the document. same with url.
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Actually I planned to add scripting for that ;)
It will probably be with the "Tools" -> "Scripting" function since it will only require minor changes to be usable for custom import/export.
griffy
Posts: 1
Joined: 2002-08-10 16:11:51

Post by griffy »

Hi Twink

I like your template, works quite well.

I have modified it for my collection, and it works fine when sorted by number, but when sorted by name the Director and Actor information doesn't work correctly.

For the first 5 or 6 movies when yo click the movie name it open the details for the movie before it. After the first few it they randomly open throughout the list.

You mentioned in a post you had got around not being sorted by numbers.
Could you have a look at my modified template and let me know if I have to change anything to get it working right. I'm a complete NOOB with scripts and HTML :)

Code: Select all

<html>
   <title>Griff's DIVX Movie List</title>

   <script language="javascript">
      function dToggle(x){
         if (x.style.display==""){
            x.style.display="none";
         }
         else{
            x.style.display="";
         }
      }

    var lastm = " "
    function lastmovie(x){
      var oldlastm = lastm;
      lastm = x;
      return oldlastm;
    }

    function newletter(x){
      var last = lastmovie(x);
      if(x.charAt(0)!=last.charAt(0)){
        document.write("<a name='",x.charAt(0),"'>");
        writeletters();
      }
    }

    function writeletters(){
      var alphabet = new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z");
      document.write("<td colspan='10'><center>");
          for(var a=0;a<36;a++){
            document.write("<a href ='#",alphabet[a],"'>",alphabet[a],"</a>  ");
          }
      document.write("</center></td><tr>");
    }

   </script>
<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>
<p>Last updated on $$DATE<BR>
Total: $$TOTALMOVIES movies<br>
</p>


<div id="list" >
<table class="blk" border="1" cellspacing="0" cellpadding="5"><tr>
<thead>
<td class="blk" nowrap>Number</td>
<td class="blk" nowrap>Movie Title</td>
<td class="blk" nowrap>Media Type</td>
<td class="blk" nowrap>Video Codec</td>
<td class="blk" >Video Bitrate</td>
<td class="blk" nowrap>Audio Codec</td>
<td class="blk" >Audio Bitrate</td>
<td class="blk" nowrap>Resolution</td>
<td class="blk" nowrap>Discs</td>
<td class="blk" nowrap>Loaned</td>
</thead>
<tbody>
</tr>$$ITEM_BEGIN<tr>
  <script>
      newletter("$$ITEM_ORIGINALTITLE")
  </script>
  <td rowspan="2" class="lgt"><strong>$$ITEM_NUMBER</strong> $$ITEM_APPRECIATION<br>
     <script>
        if("$$ITEM_URL"!="")document.write("<a href = $$ITEM_URL>");
        if("$$ITEM_PICTUREFILENAME"!=""){
          document.write("<img src='$$ITEM_PICTUREFILENAME' width='98' height='140'>");
        }else{
          document.write("<img src='nopic.gif' width='98' height='140'>");
        }
        if("$$ITEM_URL"!="")document.write("</a>");
      </script>
  </td>
  <td class="lgt" style="cursor:hand;"  onclick="dToggle(List0_Detail[$$ITEM_NUMBER-1]);">
    <strong>$$ITEM_ORIGINALTITLE </strong>
  </td>
<td class="lgt">$$ITEM_TYPE </td>
<td class="lgt">$$ITEM_VIDEOFORMAT </td>
<td class="lgt">$$ITEM_VIDEOBITRATE </td>
<td class="lgt">$$ITEM_AUDIOFORMAT </td>
<td class="lgt">$$ITEM_AUDIOBITRATE </td>
<td class="lgt">$$ITEM_RESOLUTION </td>
<td class="lgt">$$ITEM_DISKS </td>
<td class="lgt">$$ITEM_BORROWER </td>
</tr>
<tr>
  <td colspan="9" class="lgt">$$ITEM_DESCRIPTION </td>
</tr>

<tr id="List0_Detail" style="display:'none';">
  <td rowspan="1" class="lgt">
    <strong>
      Director:<br>Producer:<br>Actors:
    </strong>
  </td>
  <td colspan="9" class="lgt">
    $$ITEM_DIRECTOR <br>
    $$ITEM_PRODUCER <br>
    $$ITEM_ACTORS <br>
  </td>
</tr>


<tr><td colspan="9" class="blk"></td>
</tr>$$ITEM_END
</tbody>

</table>
</div>
</body></html>
Regards

Griff
Twink.

Post by Twink. »

Hey, Took my half an hour to get on this page (server/page not found or something) so lets hope this post works. Here is my latest script not alot has changed, I will see if I can highlight some of the changes for those who have used my script

Code: Select all

<!-- Ant Movie Catalogue Template - Created By Twink - TwinkMan666@hotmail.com -->
<html>
	[color=green]<title>$$OWNER_NAME's Movie List</title>[/color] 
	<script language="javascript">
  <!--
    //Toggles a Named Control Visible or Hidden
		function dToggle(x){
			if (x.style.display==""){
				x.style.display="none";
			}
			else{
				x.style.display="";
			}
		}

    //Remembers Name of Previous Movie
    var lastm = " "
    function lastmovie(x){
      var oldlastm = lastm;
      lastm = x;
      return oldlastm;
    }

    //Checks Letter of Current Movie Again that of Previous One
    function newletter(x){
      var last = lastmovie(x);
      if(x.charAt(0)!=last.charAt(0)){
        document.write("<a name='",x.charAt(0),"'>");     //Insert link for first item of each letter
        writeletters();
      }  else {
        document.write("<tr><td colspan='7' class='blk'></td></tr>");
      }
    }

    //Output 0-9 A-Z Links
    function writeletters(){
      var alphabet = new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z");
      document.write("<td colspan='1' class='blk'><b><head2>",lastm.charAt(0),"</head2></b></td>");
      document.write("<td colspan='6' class='blk'><center><b>");
        for(var a=0;a<36;a++){
          document.write("<a href ='#",alphabet[a],"'>",alphabet[a],"</a>  ");
        }
      document.write("</b></center></td></tr>");
    }
  -->
	</script>
 
<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: #FFFFFF; background: black; }
  A:visited { COLOR: #FFFFFF; background: black; }
  A:hover { COLOR: #CC0000; background: black; }
  A:active { COLOR: #CC0000; background: black; }
  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>
<p>Last updated on $$DATE<BR>
Total: $$TOTALMOVIES movies<br>
</p>


[color=indigo]<script>
  <!--  Waiting Picture/Message In here
  document.write("<table id = 'wait' class='blk' border='1' cellspacing='0' cellpadding='5'>");
  document.write("<tr><td>Please wait while list loads...</td></tr>");
  document.write("</table>");
  -->
</script>[/color]


<div id="list" >
<table class="blk" border='1' cellspacing='0' cellpadding='5'><tr>
<thead>
  <td class="blk" nowrap></td>
  <td class="blk" nowrap>Title</td>
  <td class="blk" nowrap>Lent To</td>
  <td class="blk" nowrap>Genre</td>
  <td class="blk" nowrap>Length</td>
  <td class="blk" nowrap>Source</td>
  <td class="blk" nowrap>Format</td>
</thead>
<tbody>
<div id = 'letter_null'>
</tr>$$ITEM_BEGIN<tr>

  <script>
    <!-- Insert 0-9 A-Z Links When new letter is detected
      newletter("$$ITEM_ORIGINALTITLE")
    -->
  </script>
  
  <td rowspan="2" class="lgt">
     <script>
       <!-- Insert Picture and Link if Item exists
        if("$$ITEM_URL"!="")document.write("<a href = $$ITEM_URL>");
        if("$$ITEM_PICTUREFILENAME"!=""){
          document.write("<img src='$$ITEM_PICTUREFILENAME' width='98' height='140'>");
        }else{
          document.write("<img src='nopic.gif' width='98' height='140'>");
        }
        if("$$ITEM_URL"!="")document.write("</a>");
        -->
      </script>
      <center>$$ITEM_APPRECIATION</center>
  </td>
 [color=green] <td class="lgt" style="cursor:hand;" onclick="dToggle(Detail_$$ITEM_NUMBER);">[/color]

    <strong>$$ITEM_ORIGINALTITLE </strong>
  </td>
  <td class="lgt">$$ITEM_BORROWER </td>
  <td class="lgt">$$ITEM_CATEGORY </td>
  <td class="lgt">$$ITEM_LENGTH Minutes</td>
  <td class="lgt">$$ITEM_SOURCE </td>
  <td class="lgt">$$ITEM_VIDEOFORMAT </td>
</tr>
<tr>
  <td colspan="6" class="lgt">$$ITEM_DESCRIPTION </td>
</tr>

[color=darkred]<tr id="Detail_$$ITEM_NUMBER" style="display:'none';" VALIGN=top>[/color] <td rowspan="1" class="lgt">
    <strong>
      Director:<br>Producer:<br>Actors:
    </strong>
  </td>
  <td colspan="6" class="lgt">
    $$ITEM_DIRECTOR <br>
    $$ITEM_PRODUCER <br>
    $$ITEM_ACTORS <br>
  </td>
</tr>

$$ITEM_END
</tbody>

</table>
</div>


[color=red]<script>
  <!-- Hide Wait Message When Finished Loading
  dToggle(wait);
  -->
</script>[/color]


</body></html>


Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

well obviously color codes don't work inside code codes
so here it is again without layout (if you use the one in the message before this remove the and stuff



<!-- Ant Movie Catalogue Template - Created By Twink - TwinkMan666@hotmail.com -->
<html>
<title>$$OWNER_NAME's Movie List</title>
<script language="javascript">
<!--
//Toggles a Named Control Visible or Hidden
function dToggle(x){
if (x.style.display==""){
x.style.display="none";
}
else{
x.style.display="";
}
}

//Remembers Name of Previous Movie
var lastm = " "
function lastmovie(x){
var oldlastm = lastm;
lastm = x;
return oldlastm;
}

//Checks Letter of Current Movie Again that of Previous One
function newletter(x){
var last = lastmovie(x);
if(x.charAt(0)!=last.charAt(0)){
document.write("<a name='",x.charAt(0),"'>"); //Insert link for first item of each letter
writeletters();
} else {
document.write("<tr><td colspan='7' class='blk'></td></tr>");
}
}

//Output 0-9 A-Z Links
function writeletters(){
var alphabet = new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z");
document.write("<td colspan='1' class='blk'><b><head2>",lastm.charAt(0),"</head2></b></td>");
document.write("<td colspan='6' class='blk'><center><b>");
for(var a=0;a<36;a++){
document.write("<a href ='#",alphabet[a],"'>",alphabet[a],"</a>  ");
}
document.write("</b></center></td></tr>");
}
-->
</script>

<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: #FFFFFF; background: black; }
A:visited { COLOR: #FFFFFF; background: black; }
A:hover { COLOR: #CC0000; background: black; }
A:active { COLOR: #CC0000; background: black; }
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>
<p>Last updated on $$DATE<BR>
Total: $$TOTALMOVIES movies<br>
</p>


<script>
<!-- Waiting Picture/Message In here
document.write("<table id = 'wait' class='blk' border='1' cellspacing='0' cellpadding='5'>");
document.write("<tr><td>Please wait while list loads...</td></tr>");
document.write("</table>");
-->
</script>



<div id="list" >
<table class="blk" border='1' cellspacing='0' cellpadding='5'><tr>
<thead>
<td class="blk" nowrap></td>
<td class="blk" nowrap>Title</td>
<td class="blk" nowrap>Lent To</td>
<td class="blk" nowrap>Genre</td>
<td class="blk" nowrap>Length</td>
<td class="blk" nowrap>Source</td>
<td class="blk" nowrap>Format</td>
</thead>
<tbody>
<div id = 'letter_null'>
</tr>$$ITEM_BEGIN<tr>

<script>
<!-- Insert 0-9 A-Z Links When new letter is detected
newletter("$$ITEM_ORIGINALTITLE")
-->
</script>

<td rowspan="2" class="lgt">
<script>
<!-- Insert Picture and Link if Item exists
if("$$ITEM_URL"!="")document.write("<a href = $$ITEM_URL>");
if("$$ITEM_PICTUREFILENAME"!=""){
document.write("<img src='$$ITEM_PICTUREFILENAME' width='98' height='140'>");
}else{
document.write("<img src='nopic.gif' width='98' height='140'>");
}
if("$$ITEM_URL"!="")document.write("</a>");
-->
</script>
<center>$$ITEM_APPRECIATION</center>
</td>
<td class="lgt" style="cursor:hand;" onclick="dToggle(Detail_$$ITEM_NUMBER);">

<strong>$$ITEM_ORIGINALTITLE </strong>
</td>
<td class="lgt">$$ITEM_BORROWER </td>
<td class="lgt">$$ITEM_CATEGORY </td>
<td class="lgt">$$ITEM_LENGTH Minutes</td>
<td class="lgt">$$ITEM_SOURCE </td>
<td class="lgt">$$ITEM_VIDEOFORMAT </td>
</tr>
<tr>
<td colspan="6" class="lgt">$$ITEM_DESCRIPTION </td>
</tr>

<tr id="Detail_$$ITEM_NUMBER" style="display:'none';" VALIGN=top> <td rowspan="1" class="lgt">
<strong>
Director:<br>Producer:<br>Actors:
</strong>
</td>
<td colspan="6" class="lgt">
$$ITEM_DIRECTOR <br>
$$ITEM_PRODUCER <br>
$$ITEM_ACTORS <br>
</td>
</tr>

$$ITEM_END
</tbody>

</table>
</div>


<script>
<!-- Hide Wait Message When Finished Loading
dToggle(wait);
-->
</script>



</body></html>
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Twink. wrote:Hey, Took my half an hour to get on this page (server/page not found or something)
This host is quite unreliable :(
But it is free :/
I should that a paid hosting for the site and the forum...

Is your template finished now ? Shall I include it with the program ?
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

I'm not currently working on it, so feel free to add it. Although I may want to update it a bit in the future
Twink
Posts: 92
Joined: 2002-08-01 01:40:12

Post by Twink »

Well after downloading Ants Last update I noticed that I had updated this template alittle, not sure how much thou.

Code: Select all

<!-- Ant Movie Catalogue Template - Created By Twink - TwinkMan666@hotmail.com -->
<html>
<title>$$OWNER_NAME's Movie List</title>
<script language="javascript">
<!--
//Toggles a Named Control Visible or Hidden
function dToggle(x){
if (x.style.display==""){
x.style.display="none";
}
else{
x.style.display="";
}
}

//Remembers Name of Previous Movie
var lastm = " "
function lastmovie(x){
var oldlastm = lastm;
lastm = x;
return oldlastm;
}

//Checks Letter of Current Movie Again that of Previous One
function newletter(x){
var last = lastmovie(x);
if(x.charAt(0)!=last.charAt(0)){
document.write("<a name='",x.charAt(0),"'>"); //Insert link for first item of each letter
writeletters();
} else {
document.write("<tr><td colspan='7' class='blk'></td></tr>");
}
}

//Output 0-9 A-Z Links
function writeletters(){
var alphabet = new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z");
document.write("<td colspan='1' class='blk'><b><head2>",lastm.charAt(0),"</head2></b></td>");
document.write("<td colspan='6' class='blk'><center><b>");
for(var a=0;a<36;a++){
document.write("<a href ='#",alphabet[a],"'>",alphabet[a],"</a>  ");
}
document.write("</b></center></td></tr>");
}
-->
</script>

<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: #FFFFFF; background: black; }
A:visited { COLOR: #FFFFFF; background: black; }
A:hover { COLOR: #CC0000; background: black; }
A:active { COLOR: #CC0000; background: black; }
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>
<p>Last updated on $$DATE<BR>
Total: $$TOTALMOVIES movies<br>
</p>


<script>
<!-- Waiting Picture/Message In here
document.write("<table id = 'wait' class='blk' border='1' cellspacing='0' cellpadding='5'>");
document.write("<tr><td>Please wait while list loads...</td></tr>");
document.write("</table>");
-->
</script>


<div id="list" >
<table class="blk" border='1' cellspacing='0' cellpadding='1'><tr>
<thead>
<td class="blk" nowrap></td>
<td class="blk" nowrap>Title</td>
<td class="blk" nowrap>Lent To</td>
<td class="blk" nowrap>Genre</td>
<td class="blk" nowrap>Length</td>
<td class="blk" nowrap>Source</td>
<td class="blk" nowrap>Format</td>
</thead>
<tbody>
<div id = 'letter_null'>
</tr>$$ITEM_BEGIN<tr>

<script>
<!-- Insert 0-9 A-Z Links When new letter is detected
newletter("$$ITEM_ORIGINALTITLE")
-->
</script>

<td rowspan="2" class="lgt">
<script>
<!-- Insert Picture and Link if Item exists
if("$$ITEM_URL"!="")document.write("<a href = $$ITEM_URL>");
if("$$ITEM_PICTUREFILENAME"!=""){
document.write("<img src='$$ITEM_PICTUREFILENAME' width='98' height='140'>");
}else{
document.write("<img src='nopic.gif' width='98' height='140'>");
}
if("$$ITEM_URL"!="")document.write("</a>");
-->
</script>
<center>$$ITEM_APPRECIATION</center>
</td>
<td class="lgt" style="cursor:hand;" onclick="dToggle(Detail_$$ITEM_NUMBER);">

<strong>$$ITEM_ORIGINALTITLE </strong>
</td>
<td class="lgt"style="cursor:hand;" onclick="dToggle(Detail_$$ITEM_NUMBER);">$$ITEM_BORROWER </td>
<td class="lgt"style="cursor:hand;" onclick="dToggle(Detail_$$ITEM_NUMBER);">$$ITEM_CATEGORY </td>
<td class="lgt"style="cursor:hand;" onclick="dToggle(Detail_$$ITEM_NUMBER);">$$ITEM_LENGTH Minutes</td>
<td class="lgt"style="cursor:hand;" onclick="dToggle(Detail_$$ITEM_NUMBER);">$$ITEM_SOURCE </td>
<td class="lgt"style="cursor:hand;" onclick="dToggle(Detail_$$ITEM_NUMBER);">$$ITEM_VIDEOFORMAT </td>
</tr>
<tr>
<td colspan="6" class="lgt">$$ITEM_DESCRIPTION </td>
</tr>

<tr id="Detail_$$ITEM_NUMBER" style="display:'none';" VALIGN=top> <td rowspan="1" class="lgt">
<strong>
Year:<br>Director:<br>Actors:
</strong>
</td>
<td colspan="6" class="lgt">
$$ITEM_YEAR <br>
$$ITEM_DIRECTOR <br>
$$ITEM_ACTORS <br>
</td>
</tr>

$$ITEM_END
</tbody>

</table>
</div>


<script>
<!-- Hide Wait Message When Finished Loading
dToggle(wait);
-->
</script>


</body></html>

Post Reply