<!--- Get the actor information from the database --->
<CFQUERY NAME="Actor" DATASOURCE="OWS">
SELECT NameLast,NameFirst,ActorId from Actors
 where ActorID=#URL.ActorId#
</CFQUERY>
<cfdirectory action="LIST"
             directory="#GetDirectoryFromPath(GetbaseTemplatePath())#FILES\"
             name="PHOTOS"
             filter="actor_#url.actorid#.*"
             sort="name asc">

<HTML>
<TITLE>OWS Actor Photo Scren</TITLE>
<BODY>
<HR>
<CFOUTPUT>
<TABLE BORDER WIDTH="100%">
<CAPTION><B>Photo Information</B></CAPTION>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">Actor 
Id:</TH><TD>#NumberFormat(Actor.ActorId,'0000')#</TD>
</TR>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">Actor Name:</TH>
<TD><CFIF Len(Trim(Actor.NameLast))>#Actor.NameLast#,</CFIF>#Actor.NameFirst#</TD>
</TR>
<TR>
<TD COLSPAN="2"><DIV ALIGN="CENTER"><IMG SRC="files/#photos.name#"><DIV></TD>
</TR>
</TABLE>
</CFOUTPUT>
</BODY>
</HTML>


