<: 
#c// ####################################################################
#c// Image theme created by Lucian Precup (lucian_precup@yahoo.com).
#c// ####################################################################
#c// 

$THEME_CREDIT = "";
$PATH = Theme_URL();
:>
<html>
  <head>
    <title>Image: <:=Name($img) :></title>
    <: Meta() :>
    <LINK REL='stylesheet' HREF='<:=$PATH:>/kde_style.css' TYPE='text/css'>
  </head>
<body>
#c// #########################
#c// Header/parents
#c// #########################
  <table border='0' width='95%' cellspacing='0' cellpadding='0' align='center'>
    <TR>
      <td colspan='3' align='left' class='color1'>
        <b><:=Parent_Albums(" &gt; "):></b>
      </td>
      <td align='right' class='color1'>
        <a href=<:=Back():>><img src='<:=$PATH:>/icons/folder_blue_open.png' alt='up' border='0'>&nbsp;up</a>
      </td>
    </TR>

#c// #########################
#c// Prev/next links
#c// #########################
    <TR>
      <td align='left' class='color3'>
      	<: $prev=Prev($img); :>
        <: if ($prev) { :>
          <:=Get($prev, 'href', 'image_page', 'image_page') :>
            <img src='<:=$PATH:>/icons/back.png' alt='previous' border='0'>&nbsp;<:=Name($prev):></a>
        <: } :>
      </td>
      <td colspan='2' align='center' class='color3'>
        <font size='+1'><:=Name($img) :></font> 
	      (<:=num(This_Image):> of <:=num('pics'):>)
      </td>
      <td align='right' class='color3'>
      	<: $next=Next($img); :>
        <: if ($next) { :>
          <:=Get($next, 'href', 'image_page', 'image_page') :><img src='<:=$PATH:>/icons/forward.png' alt='next' border='0'>&nbsp;<:=Name($next):></a>
        <: } :>
      </td>
    </TR>
    <TR>
      <TD colspan='4'> &nbsp; </TD>
    </TR>

#c// ##########################################################
#c// The image and caption + the previous and next thumbnails
#c// ##########################################################
    <TR>
      <td align='center' valign='middle' class='color2' width='20%'>
      	<: $prev=Prev($img); :>
        <: if ($prev) { :>
          <:=Get($prev, 'href', 'image_page', 'image_page') :><:=Image($prev,'thumb'):><br/><:=Name($prev):></a>
        <: } else { :>&nbsp;<: } :>
      </td>

      <td colspan='2' align='center' valign='middle' class='color2' width='50%'>
        <:=Get($img,'href','image_page','image'):><:=Image($img,'full'):></a>
      </td>

      <td align='center' valign='middle' class='color2' width='20%'>
        <: if ($next=Next($img)) { :>
          <:=Get($next, 'href', 'image_page', 'image_page') :><:=Image($next,'thumb'):><br/><:=Name($next):></a>
        <: } else { :>&nbsp;<: } :>
      </td>
    </TR>
    <TR>
      <td align='center' valign='middle' class='color2'>&nbsp;</td>
      <td colspan='2' align='center' class='color2'>
         <i><:=Get($img,'Caption'):></i>
      </td>
      <td align='center' valign='middle' class='color2'>&nbsp;</td>
    </TR>
  </table>

#c// #########################
#c// Footer
#c// #########################
<hr>
    <font size='-2'>
      <: Credit() :>. <:=$THEME_CREDIT:> Last updated: <:=scalar localtime:>
    </font>
  </body>
</html>
