{* $Id: inc_photo_view.html,v 1.4 2010/02/07 12:20:02 ohwada Exp $ *}>
<{* === IMAGE === *}>
<{if $photo.displaytype == $smarty.const._C_WEBPHOTO_DISPLAYTYPE_IMAGE }>
<{* --- LIGHTBOX --- *}>
<{if $photo.detail_onclick == $smarty.const._C_WEBPHOTO_DETAIL_ONCLICK_LIGHTBOX }>
<{* --- GENERAL --- *}>
<{elseif $photo.detail_onclick == $smarty.const._C_WEBPHOTO_DETAIL_ONCLICK_DEFAULT }>
<{* --- POPUP (default of image) --- *}>
<{else}>
<{if $photo.window_x && $photo.window_y }>
<{else}>
<{/if}>
<{/if}>
<{if $photo.img_middle_width && $photo.img_middle_height }>
<{else}>
<{/if}>
<{$photo.title_s}>
<{if $photo.cont_size_disp}>
( <{$photo.cont_size_disp}> )
<{/if}>
<{* === ENBED === *}>
<{elseif $photo.displaytype == $smarty.const._C_WEBPHOTO_DISPLAYTYPE_EMBED }>
<{$photo.embed_embed}>
<{if $photo.embed_link != '' }>
<{$photo.title_s}>
<{else}>
<{$photo.title_s}>
<{/if}>
<{if $photo.cont_size_disp}>
( <{$photo.cont_size_disp}> )
<{/if}>
<{* === FALSH PLAYER === *}>
<{elseif $photo.displaytype >= $smarty.const._C_WEBPHOTO_DISPLAYTYPE_SWFOBJECT }>
<{$photo.flash_player}>
<{$photo.title_s}>
<{if $photo.cont_size_disp}>
( <{$photo.cont_size_disp}> )
<{/if}>
<{* === GENERAL ==== *}>
<{elseif $photo.media_url_s }>
<{if ( $photo.detail_onclick == $smarty.const._C_WEBPHOTO_FILE_KIND_PDF ) && $photo.pdf_url_s }>
<{else}>
<{/if}>
<{if $photo.img_middle_src_s && $photo.img_middle_width && $photo.img_middle_height }>
<{elseif $photo.img_middle_src_s }>
<{elseif $photo.thumb_width && $photo.thumb_height }>
<{else}>
<{/if}>
<{$photo.title_s}>
<{if $photo.is_video && $photo.cont_duration_disp }>
( <{$photo.cont_duration_disp}> )
<{/if}>
<{if $photo.cont_size_disp}>
( <{$photo.cont_size_disp}> )
<{/if}>
<{* === NO FILE TYPE === *}>
<{else}>
<{$photo.title_s}>
<{/if}>