<h1 class="myuploaderHeader1"><{if $category_id}><{$smarty.const._MD_MYUPLOADER_LANG_CATEGORY_OF|replace:"%s":$category->getShow('cat_name')}><{/if}><{$smarty.const._MD_MYUPLOADER_LANG_LATEST_IMAGES}></h1>
<form action="<{$moduleUrl}>/index.php?op=ImageList" method="get" id="categoryBox">
<select name="category_id">
<option value="0"><{$smarty.const._MD_MYUPLOADER_LANG_ALL_CATEGORIES}></option>
<{html_options options=$categories selected=$category_id}>
</select>
<input type="submit" class="formButton" value="<{$smarty.const._MD_MYUPLOADER_LANG_CHOOSE_CATEGORY}>"/>
</form>
<{if $uploadable}>
<ul id="toptab">
  <li><a href="index.php?op=ImageEdit&amp;category_id=<{$category_id}>"><{$smarty.const._MD_MYUPLOADER_LANG_ADD_A_NEW_IMAGE}></a></li>
</ul>
<{/if}>
<{if $moduleConfig.list_style == 'list'}>
  <{foreach item=obj from=$objects}>
<div id="imageList" class="clearfix">
  <div class="figure figleft">
    <{if $moduleConfig.highslide}>
    <a href="<{$uploadDir|escape}>/<{$obj->getShow('image_filename')}>" rel="nofollow" id="thumb<{$obj->getShow('image_id')}>" class="highslide" onclick="return hs.expand(this)">
    <{else}>
    <a href="index.php?op=ImageView&amp;image_id=<{$obj->getShow('image_id')}><{if $category_id}>&amp;category_id=<{$category_id}><{/if}>">
    <{/if}>
    <img src="<{$uploadDir|escape}>/<{$obj->getShow('image_bodyname')}>_thumb.<{$obj->getShow('image_extension')}>" title="<{$obj->getShow('image_title')}>" alt="<{$obj->getShow('image_title')}>" width="<{$obj->getShow('image_thumbwidth')}>" height="<{$obj->getShow('image_thumbheight')}>" /></a></div>
  <div class="imageinfo">
  	<h2 class="imagetitle"><a href="index.php?op=ImageView&amp;image_id=<{$obj->getShow('image_id')}><{if $category_id}>&amp;category_id=<{$category_id}><{/if}>"><{$obj->getShow('image_title')}></a></h2>
    <ul class="imagefooter">
      <li class="first"><{$smarty.const._MD_MYUPLOADER_LANG_CATEGORY}>: <a href="<{$moduleUrl}>/index.php?op=ImageList&amp;category_id=<{$obj->getShow('category_id')}>" title=""><{$obj->mCatName}></a></li>
	  <{if $multiSubscriber}><li><{$smarty.const._MD_MYUPLOADER_LANG_PHOTO_BY}>: <{$obj->mSubscriber->getShow('uname')}></li><{/if}>
      <li><{$obj->getShow('image_created')|formatTimestamp:"m"}></li>
    <{if $obj->mUploadable}>
      <{if !$obj->getShow('image_active')}><li><{$smarty.const._MD_MYUPLOADER_LANG_INACTIVE}></li><{/if}>
      <li><a href="<{$moduleUrl}>/index.php?op=ImageEdit&amp;image_id=<{$obj->getShow('image_id')}>" title=""><{$smarty.const._EDIT}></a></li>
      <li><a href="<{$moduleUrl}>/index.php?op=ImageDelete&amp;image_id=<{$obj->getShow('image_id')}>" title=""><{$smarty.const._DELETE}></a></li>
    <{/if}>
    </ul>
    <div class="description">
      <{$textFilter->toShowTarea($obj->get('image_description'), $obj->get('dohtml'), 1, $obj->get('doxcode'), $obj->get('doimage'), $obj->get('dobr'))}>
    </div>
  </div>
</div>
  <{/foreach}>
<{else}>
<div id="photoAlbum" class="clearfix">
  <div class="albumOuter">
    <div class="albumInner">
	  <ul class="album">
  <{foreach item=obj from=$objects}>
	    <li><a href="<{$uploadDir|escape}>/<{$obj->getShow('image_filename')}>"<{if $moduleConfig.highslide}> id="thumb<{$obj->getShow('image_id')}>" class="highslide" onclick="return hs.expand(this)"<{/if}>>
		  <img src="<{$uploadDir|escape}>/<{$obj->getShow('image_bodyname')}>_thumb.<{$obj->getShow('image_extension')}>" alt="<{$obj->getShow('image_title')}>" title="<{$obj->getShow('image_title')}>" width="<{$obj->getShow('image_thumbwidth')}>" height="<{$obj->getShow('image_thumbheight')}>" /></a>
		  <ul>
		    <li class="first"><a href="<{$moduleUrl}>/index.php?op=ImageView&amp;image_id=<{$obj->getShow('image_id')}><{if $category_id}>&amp;category_id=<{$category_id}><{/if}>"><{*<img src="<{$moduleUrl}>/images/photo.gif" alt="<{$smarty.const._MD_MYUPLOADER_LANG_DETAILS}>" title="<{$smarty.const._MD_MYUPLOADER_LANG_DETAILS}>" />*}><{$smarty.const._MD_MYUPLOADER_LANG_DETAILS}></a></li>
    <{if $obj->mUploadable}>
		    <li><a href="<{$moduleUrl}>/index.php?op=ImageEdit&amp;image_id=<{$obj->getShow('image_id')}>"><{*<img src="<{$moduleUrl}>/images/photo_edit.gif" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" />*}><{$smarty.const._EDIT}></a></li>
			<li><a href="<{$moduleUrl}>/index.php?op=ImageDelete&amp;image_id=<{$obj->getShow('image_id')}>"><{*<img src="<{$moduleUrl}>/images/photo_remove.gif" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>"  />*}><{$smarty.const._DELETE}></a></li>
    <{/if}>
    	  </ul>
      <{cycle values=$cycle}>
  <{/foreach}>
      </ul>
    </div>
  </div>
  <{if $moduleConfig.highslide}>
<{* This is the markup for the controlbar. The conrolbar is tied to the expander
	in the script tag at the top of the file.*}>
  <div id="controlbar" class="highslide-overlay controlbar">
	<a href="#" class="previous" onclick="return hs.previous(this)" title="Previous (left arrow key)"></a>
	<a href="#" class="next" onclick="return hs.next(this)" title="Next (right arrow key)"></a>
    <a href="#" class="highslide-move" onclick="return false" title="Click and drag to move"></a>
    <a href="#" class="close" onclick="return hs.close(this)" title="Close"></a>
  </div>
  <{/if}>
</div>
<{/if}>
<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>