<{* $Id: webphoto_inc_photo_info.html,v 1.6 2009/01/24 07:56:03 ohwada Exp $ *}>

<{* 1ST LINE OF INFORMATION *}>

<{* EDIT ICON *}>
<{if $photo.can_edit}>
  <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php?fct=edit&amp;photo_id=<{$photo.photo_id}>">
  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/edit.png" border="0" alt="<{$lang_title_edit}>" title="<{$lang_title_edit}>" /></a>
<{/if}>

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

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

<b><{$photo.title_s}></b></a>

<{* NEW ICON *}>
<{if $photo.is_newphoto}>
  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/new.png" border="0" alt="<{$lang_icon_new}>" title="<{$lang_icon_new}>" />
<{/if}>

<{* UPDATE ICON *}>
<{if $photo.is_updatedphoto}>
  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/update.png" border="0" alt="<{$lang_icon_update}>" title="<{$lang_icon_update}>" />
<{/if}>

<{* POPULAR ICON *}>
<{if $photo.is_popularphoto}>
  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/popular.png" border="0" alt="<{$lang_icon_popular}>" title="<{$lang_icon_popular}>" />
<{/if}>

<br />

<{* 2ND LINE OF INFORMATION *}>

<{* SUBMITTER *}>
<{* user *}>
<{if $photo.uid > 0}>
  <a href="<{$xoops_url}>/userinfo.php?uid=<{$photo.uid}>">
  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/submitter.png" width="16" height="16" alt="<{$lang_submitter}>" title="<{$lang_submitter}>" border="0" />
  </a>

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

  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/myphotos.png" width="16" height="16" alt="<{$photo.info_morephotos}>" title="<{$photo.info_morephotos}>" border="0" /> 
  <{$photo.uname_s}></a>

<{* guest *}>
<{else}>
  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/submitter.png" width="16" height="16" alt="<{$lang_submitter}>" title="<{$lang_submitter}>" /> 
  <{$photo.uname_s}>
<{/if}>
&nbsp; &nbsp; 

<{* DATE *}>
<{if $photo.datetime_disp != '' }>
  <{if $use_pathinfo }>
    <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php/date/<{$photo.datetime_urlencode}>/">
  <{else}>
    <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php?fct=date&amp;p=<{$photo.datetime_urlencode}>">
  <{/if}>

  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/datetime.png" width="16" height="16" alt="<{$lang_photo_datetime}>" title="<{$lang_photo_datetime}>" />
  <{$photo.datetime_disp}>
  </a> 
<{/if}>

<{* PLACE *}>
<{if $photo.place_s != '' }>
  <{if $use_pathinfo }>
    <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php/place/<{$photo.place_urlencode}>/">
  <{else}>
    <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php?fct=place&amp;p=<{$photo.place_urlencode}>">
  <{/if}>

  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/place.png" width="16" height="16" alt="<{$lang_photo_place}>" title="<{$lang_photo_place}>" />
  <{$photo.place_s}>
  </a>
<{/if}>

<{* EQUIPMENT *}>
<{if $photo.equipment_s != '' }>
  <{if $use_pathinfo }>
    <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php/search/<{$photo.equipment_urlencode}>/">
  <{else}>
    <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php?fct=search&amp;p=<{$photo.equipment_urlencode}>">
  <{/if}>

  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/equipment.png" width="16" height="16" alt="<{$lang_photo_equipment}>" title="<{$lang_photo_equipment}>" />
  <{$photo.equipment_s}>
  </a> 
<{/if}>

<{* VIDEO *}>
<{if $photo.is_video }>
  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/video.png" width="16" height="16" alt="<{$lang_icon_video}>" title="<{$lang_icon_video}>" /> 
<{/if}>

<{* DURATION *}>
<{if $photo.duration_disp != '' }>
  <{$photo.duration_disp}>
<{/if}>

<br />

<{* 3RD LINE OF INFORMATION *}>

<{* TAG *}>
<img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/tags.png" width="16" height="16" alt="<{$lang_tags}>" title="<{$lang_tags}>" border="0" /> 
<{foreach name=webphoto_tags item=tag from=$photo.tags}>
  <{if $use_pathinfo }>
    <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php/tag/<{$tag.urlencoded}>/">
  <{else}>
    <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php?fct=tag&amp;p=<{$tag.urlencoded}>">
  <{/if}>

  <{$tag.tag_name_s}></a>
  <{if ! $smarty.foreach.webphoto_tags.last }>
      , 
  <{/if}>
<{/foreach}>

<{* CATEGORY *}>
<{if $photo.cat_title_s}>

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

  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/category.png" width="16" height="16" alt="<{$lang_category}>" title="<{$lang_category}>" border="0" />
  <{$photo.cat_title_s}></a> &nbsp; &nbsp;
<{/if}>

<{* LAST UPDATED *}>
<img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/lastupdate.png" width="16" height="16" alt="<{$lang_icon_lastupdate}>" title="<{$lang_icon_lastupdate}>" />:
<{$photo.time_update_m}> &nbsp; &nbsp;

<{* SIZE *}>
<{if $photo.cont_size_disp != '' }>
  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/size.png" width="16" height="16" alt="<{$lang_photo_cont_size}>" title="<{$lang_photo_cont_size}>" />
  <{$photo.cont_size_disp}> 
<{/if}>

<br />

<{* 4TH LINE OF INFORMATION *}>

<{* HIT COUNTS *}>
<img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/hits.png" width="16" height="16" alt="<{$lang_icon_hits}>" title="<{$lang_icon_hits}>" />
<{$photo.hits}> &nbsp; 

<{* COMMENT COUNTS *}>
<img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/comments.png" width="16" height="16" alt="<{$lang_icon_comments}>" title="<{$lang_icon_comments}>" />
<{$photo.comments}> &nbsp; &nbsp;

<{* RANK & RATING *}>
<{if $has_rateview}>
  <{if $photo.rating > 0}>
    <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/rank<{$photo.rank}>.png" alt="<{$photo.rating}>" title="<{$photo.rating}>" border="0" />
    <{$photo.info_votes}>
  <{else}>
    <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/rank_none.png" alt="<{$photo.info_votes}>" title="<{$photo.info_votes}>" border="0" />
    <{$photo.info_votes}>
  <{/if}>
<{/if}>

<{* VOTE BUTTON *}>
<{if $has_ratevote && $photo.can_rate }>
  <a href="<{$xoops_url}>/modules/<{$xoops_dirname}>/index.php?fct=rate&amp;photo_id=<{$photo.photo_id}>">
  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/vote.png" alt="<{$lang_votethis}>" title="<{$lang_votethis}>" border="0" />
  <{$lang_votethis}></a>
<{/if}>

<{* TELL A FRIEND *}>
<{if $has_tellafriend}>
  <{if $is_taf_module }>
    <a href="<{$xoops_url}>/modules/tellafriend/index.php?target_uri=<{$photo.taf_target_uri}>" >
  <{else}>
    <a target="_top" href="mailto:?<{$photo.taf_mailto}>">
  <{/if}>
  
  <img src="<{$xoops_url}>/modules/<{$xoops_dirname}>/images/icons/tellafriend.png" width="24" height="16" alt="<{$lang_tellafriend}>" title="<{$lang_tellafriend}>" />
  <{$lang_tellafriend}></a>
<{/if}>

<br />

<{* 5TH LINE OF INFORMATION *}>

<{if $show_photo_desc && $photo.show_desc }>
  <div class="webphoto_description">

<{* DESCRIPTION *}>
  <{$photo.description_disp}> <br />

  <{if $photo.siteurl_s != '' }>
    <{$lang_item_siteurl}>: <a href="<{$photo.siteurl_s}>" target="_blank"><{$photo.siteurl_s}></a> <br /> 
  <{/if}>

  <{if $photo.artist_s != '' }>
    <{$lang_item_artist}>: <{$photo.artist_s}> <br /> 
  <{/if}>

  <{if $photo.album_s != '' }>
    <{$lang_item_album}>: <{$photo.album_s}> <br /> 
  <{/if}>

  <{if $photo.label_s != '' }>
    <{$lang_item_label}>: <{$photo.label_s}> <br /> 
  <{/if}>

<{* TEXT 1 - 10 *}>
  <{foreach item=photo_text from=$photo.texts}>
    <{if $photo_text.text_s != '' }>
      <{$photo_text.lang}>: <{$photo_text.text_s}> <br /> 
    <{/if}>
  <{/foreach}>

  </div>
<{/if}>

<{* 6TH LINE OF INFORMATION *}>

<{* CONTENT *}>
<{if $show_photo_desc && ($photo.content_disp != '')}>
  <div class="webphoto_description">
  <{$photo.content_disp}> <br />
  </div>
<{/if}>

<{* 7TH LINE OF INFORMATION *}>

<{* EXIF *}>
<{if $show_photo_exif && $photo.is_owner && ($photo.exif_disp != '') }>
  <div class="webphoto_description">
  <{$photo.exif_disp}> <br />
  </div>
<{/if}>

<br />
