Location: PHPKode > projects > PowerMovieList > powermovielist-0_14_beta/templates/index/graphic.tpl
<html>
<head>
  <link REL="shortcut icon" HREF="image/divx.ico">
  <title>PowerMovieList - {$ActiveList.title}</title>
  <meta http-equiv="Content-Type" content="text/html; charset={$lang.LngCharSet}">
  <link rel="stylesheet" href="css/style.css"> 
</head>
<body>
<table width="100%" border="0">
  <tr> 
    <td width="90%" height="211" align="center">{if $ActiveList.image}<img src="image/logos/{$ActiveList.image}"><br>{/if}
        <h3><font color="#FFFFF"><b>{$ActiveList.title}</b></font><br>
        <a href="{$ActiveList.url}">{$ActiveList.urlname}</a></h3>
    </td>
    <td align="right"> 
      <table border="0" cellpadding="5" cellspacing="1" class="tblback">
        <tr class="row1"> 
          {if $CFG.LinkListType > 0 && $CFG.ListType < 2}
          <td align="center" bgcolor="#31659C"><div align="center">{$lang.strAvLists}:</div></td>
	  {/if}
          <td align="center" bgcolor="#31659C"><div align="center">{$lang.strMenu}:</div></td>
	  {if $ActiveList.showcounter}
          <td bgcolor="#31659C"><div align="center">{$lang.strCounterTitle}:</div></td>
	  {/if}
          <td align="center" bgcolor="#31659C"><div align="center">{$lang.strStatistics}:</div></td>
        </tr>
        <tr class="row1"> 
{* LINKLIST *}
	  {if $CFG.LinkListType > 0 && $CFG.ListType < 2}
          <td valign="top">	    	    
          {include file="linklist.tpl"}
	      </td>
	  {/if}
          <td valign="top" bgcolor="#31659C">
	    {cycle values="row1,row2" print=false advance=true}
	    <table width="100%" border="0" cellpadding="3">
              <tr class="{cycle}"> 
                <td align="right" width="50%">{$lang.strLoggedIn}:</td>
                <td width="50%">{insert name="ActiveUserName"}</td>
              </tr>
              <tr class="{cycle}"> 
                <td align="left" nowrap><div align="right">{$lang.strRights}:</div></td>
                <td align="left" nowrap>{insert name="ActiveUserRights"}</td>
              </tr>
	      {insert name="UserMenu" design="<tr class='_row'><td colspan='2' align='left' nowrap>[<a href='_Url'>_Text</a>]</td></tr>"}
            </table></td>
{if $ActiveList.showcounter}
          <td valign="top" bgcolor="#31659C">
	    {cycle values="row1,row2" print=false advance=false}
	    <table width="100%" border="0" cellpadding="3">
              <tr class="{cycle}"> 
                <td align="right" width="50%">{$lang.strCounterTitle}:</td>
                <td width="50%">{insert name="CounterTotal"}</td>
              </tr>
              <tr class="{cycle}"> 
                <td align="right">{$lang.strOnline}:</td>
                <td>{insert name="CounterOnline"}</td>
              </tr>
              <tr class="{cycle}"> 
                <td align="right">{$lang.strCounterRekord}:</td>
                <td>{insert name="CounterMaxOnline"}</td>
              </tr>
              <tr class="{cycle}"> 
                <td align="center" colspan="2" nowrap><b>{$lang.strCounterOnlineNow}:</b></td>
              </tr>
							<tr class="row1">
							  <td align="center" colspan="2">{insert name="OnlineUsers" design="<a href='_Url'>_Text</a>, "}{insert name="CounterGuestsOnline"} {$lang.strGuests}</td>
							</tr>
            </table>
{/if}
	  </td>
          <td valign="top" bgcolor="#31659C">
	    {cycle values="row1,row2" print=false advance=false}
	    <table width="100%" border="0" cellpadding="3">
              <tr class="{cycle}"> 
                <td align="right" width="50%">{$lang.strEntriesInAllLists}:</td>
                <td width="50%">{$Statistics.entries}</td>
              </tr>
              <tr class="{cycle}"> 
                <td align="right">{$lang.strAddedToday}:</td>
                <td>{$Statistics.addedtoday}</td>
              </tr>
              <tr class="{cycle}"> 
                <td align="right">{$lang.strAddedYesterday}:</td>
                <td>{$Statistics.addedyesterday}</td>
              </tr>
	      {if $Statistics.linksize}
              <tr class="{cycle}"> 
                <td align="right">{$lang.strSizeOfAllLinks}:</td>
                <td nowrap>{$Statistics.linksize}</td>
              </tr>
	      {/if}
	      {if $Statistics.downloaded}
              <tr class="{cycle}"> 
                <td align="right">{$lang.strDownloaded}:</td>
                <td nowrap>{$Statistics.downloaded}</td>
              </tr>
	      {/if}
              <tr class="{cycle}"> 
                <td align="right">{$lang.strUsers}:</td>
                <td>{$Statistics.users}</td>
              </tr>
              <tr class="{cycle}"> 
                <td align="right">{$lang.strLists}:</td>
                <td>{$Statistics.lists}</td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
{if $Announcments}
<br>
<table width="100%" border="0" cellpadding="5" cellspacing="1" class="tblback">
{cycle values="row1,row2" print=false advance=false}
{foreach from=$Announcments item=Announcment key=k}
  <tr class={cycle}> 
    <td width="100%">{$Announcment}</td>
  </tr>
{/foreach}
</table>
{/if}
<br>
{cycle values="row1,row2" print=false advance=false}
<table width="100%" border="0" cellspacing="1" cellpadding="10">
  <tr class="top"> 
    <td colspan="4" align="center">
    - {$lang.strNewEntries} -
    </td>
  </tr>
{* the movie-data is printed out here - you can do almost anything with it :D just look at the
avaliable variables in $MovieData and at the smarty-syntax :D
write somewhere the line {debug output="html"} to get a list of all avaliable MovieData properties *}
{foreach from=$MovieData item=Movie}  
<TABLE borderColor=#000000 cellSpacing=0 cellPadding=0 width="72%" align=center
border=0>
  <TBODY>
  <TR>
    <TD class=pic vAlign=top align=right>
      <TABLE borderColor=#000000 cellSpacing=0 cellPadding=5 border=0>
        <TBODY>
        <TR>
          <TD class=b_left_tb bgColor=#ffffff>
          <a href='popup.php{$CFG.GlobalArgWOActive}Active={$Movie.ListName}&ID={$Movie.ID}' onClick="var popup=window.open(this.href,'infopopup','scrollbars=yes,resizable=yes,width=400,height=500'); popup.focus(); return false;">
	  <img src='{if $Movie.Poster}{$Movie.Poster}{else}image/na.gif{/if}' width=94 height=140 border=0></a>
          </TD></TR></TBODY></TABLE>
          <TABLE borderColor=#000000 height='100%' cellSpacing=1 cellPadding=0
      border=0>
        <TBODY>
        <TR>
          <TD class=b_right>&nbsp;</TD></TR></TBODY></TABLE></TD>
    <TD class=b_right_tb align=top bgColor=#ffffff>
      <TABLE cellSpacing=1 cellPadding=0 width=100% align=center border=0>
        <TBODY>
        <TR>
          <TD vAlign=center align=middle colSpan=3 height=28><FONT
            size=2><B>{$Movie.Title}</B></FONT></TD></TR>
            <TR>
                <TD width=300 rowSpan=2 vAlign=top nowrap> 
                  <TABLE borderColor=#000000 cellSpacing=0 cellPadding=0 border=0>
              <TBODY>
              <TR>
                <TD class=header width=300>&nbsp;MOVIE INFO </TD></TR>
              <TR>
                <TD class=content vAlign=center colSpan=2 height=95>
                  <TABLE borderColor=#000000 cellSpacing=0 cellPadding=0 
                  border=0>
                            <TBODY>
                    <TR>
                                <TD width=125 vAlign=center nowrap>&nbsp;ACTUAL TITLE:</TD>
                                <TD width=300 vAlign=center nowrap><B>{$Movie.Originaltitle}</b> ({$Movie.Year})
</td></tr>
<TR>
<TD vAlign=center nowrap>&nbsp;ANZ.&nbsp;<font color="#FF0000"><b>{$Movie.Format}</b></font>:</TD>
<TD vAlign=center nowrap>{$Movie.CDs}{$Movie.DVDs}{$Movie.Disks}<IMG src="./image/cds/{$Movie.CDs}{$Movie.DVDs}{$Movie.Disks}.gif" border=0></TD>
</TR>
<TR>
<TD vAlign=center nowrap>&nbsp;DIRECTOR:</TD>
<TD vAlign=center nowrap>{$Movie.Director}</TD>
</TR>
<TR>
<TD vAlign=center nowrap>&nbsp;GENRE:</TD>
<TD vAlign=center nowrap>{$Movie.Genre}</TD>
</TR>
<TR>
<TD vAlign=center nowrap>&nbsp;BESETZUNG:</TD>
<TD vAlign=center nowrap>{$Movie.Starring}</TD>
</TR>
<TR>
<TD vAlign=center nowrap>&nbsp;BITRATE:</TD>
<TD vAlign=center nowrap><IMG src="./image/sound.gif"><IMG src="./image/video.gif">{$Movie.Sound}</TD>
</TR>
{if $Movie.FSK}
<TR>
<TD vAlign=center nowrap>&nbsp;FSK:</TD>
<TD vAlign=center nowrap>{$Movie.FSK}</TD>
</TR>
{/if}
<TR>
<TD vAlign=center nowrap>&nbsp;RUNTIME:</TD>
<TD vAlign=center nowrap>{$Movie.Laenge} min <TR>
<TD vAlign=center nowrap>&nbsp;IMDB RATING:</TD>
<TD height=13 vAlign=center nowrap>{$Movie.Rating}/10 </TD>
                              </TR></TBODY></TABLE></TD></TR></TBODY></TABLE><P></P></TD>
<TD width=2 rowSpan=2 nowrap>&nbsp;</TD>
<TD with=0% vAlign=topw nowrap> 
<TABLE borderColor=#000000 cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD class=header width=100%>&nbsp;PLOT</TD></TR>
<TR>
<TD class=content colSpan=2>
<TABLE borderColor=#000000 cellSpacing=1 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top height=95>&nbsp;<TEXTAREA name=textarea rows=8 cols=64>{$Movie.Plot}
</TEXTAREA></TD></TR>
<TBODY></TBODY></TABLE></TD></TR>
              <TR></TR></TBODY></TABLE></TR></TBODY></TABLE></TR></TBODY>                       
{/foreach}
</table><br>
Return current item: PowerMovieList