<{* $Id: webphoto_inc_photo_in_table.html,v 1.13 2010/10/10 11:21:38 ohwada Exp $ *}>

<div class="webphoto_photo_div"><{* marine add *}>

<{* IMAGE PART *}>
<div class="webphoto_table_image rotate_<{cycle values="1,2,3,4,5,6,7"}>">

<{* NORMAL IMAGES with popbox  *}>
<{if ( $photo.onclick == 2 ) && $cfg_use_popbox }>
  <{if $photo.img_thumb_width && $photo.img_thumb_height }>
    <img src="<{$photo.img_thumb_src_s}>" alt="<{$photo.title_s}>" title="<{$photo.title_s}>" width="<{$photo.img_thumb_width}>" height="<{$photo.img_thumb_height}>" class="PopBoxImageSmall" onclick="Pop(this,100,'PopBoxImageLarge');" pbSrcNL="<{$photo.img_large_src_s}>" />
  <{else}>
    <img src="<{$photo.img_thumb_src_s}>" alt="<{$photo.title_s}>" title="<{$photo.title_s}>" width="<{$cfg_thumb_width}>" class="PopBoxImageSmall" onclick="Pop(this,100,'PopBoxImageLarge');" pbSrcNL="<{$photo.img_large_src_s}>" />
  <{/if}>

<{* DIRECT LINK *}>
<{elseif $photo.onclick == 1 }>
  <{if $photo.media_url_s }>
    <a href="<{$photo.img_large_src_s}>" target="_blank" class="pretty">
  <{elseif $cfg_use_pathinfo }>
    <a href="<{$photo.img_large_src_s}>" class="pretty">
  <{else}>
    <a href="<{$photo.img_large_src_s}>" class="pretty">
  <{/if}>

  <{if $photo.img_thumb_width && $photo.img_thumb_height }>
    <img src="<{$photo.img_thumb_src_s}>" alt="<{$photo.title_s}>" title="<{$photo.title_s}>" width="<{$photo.img_thumb_width}>" height="<{$photo.img_thumb_height}>" />
  <{else}>
    <img src="<{$photo.img_thumb_src_s}>" alt="<{$photo.title_s}>" title="<{$photo.title_s}>" width="<{$cfg_thumb_width}>" />
  <{/if}>
  </a>

<{* PHOTO PAGE *}>
<{else}>
  <{if $cfg_use_pathinfo }>
    <a href="<{$photo.img_large_src_s}>" class="pretty" rel="prettyPhoto[pp_gal]" >
  <{else}>
    <a href="<{$photo.img_large_src_s}>" class="pretty" rel="prettyPhoto[pp_gal]" >
  <{/if}>
  <{if $photo.img_thumb_width && $photo.img_thumb_height }>
    <img src="<{$photo.img_thumb_src_s}>" alt="<{$photo.title_s}>" title="<{$photo.title_s}>" width="<{$photo.img_thumb_width}>" height="<{$photo.img_thumb_height}>" />
  <{else}>
    <img src="<{$photo.img_thumb_src_s}>" alt="<{$photo.title_s}>" title="<{$photo.title_s}>" width="<{$cfg_thumb_width}>" />
  <{/if}>
  </a>
<{/if}>


<div class="webphoto_table_sub"><{* marine add *}>

<{* PHOTO"S SUBJECT *}>
<a name="<{$photo.photo_id}>"></a>

<{if $cfg_use_pathinfo }>
  <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php/photo/<{$photo.photo_id}>/">
<{else}>
  <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php?fct=photo&amp;p=<{$photo.photo_id}>">
<{/if}>

<span class="webphoto_table_title"><{$photo.title_s}></span>
</a><br />

</div><{* marine add *}>

</div>

</div>

