{strip}
<div class="gallary_list">
	<h3 class="p-b5" {if $upload_type eq 'f'}style="margin: 10px 0 0;"{/if}>
		{$lang.gallary.last_uploads}
		<div class="float_right" style="font-size: 14px;">
		<!-- AddThis Button BEGIN -->
			<div class="addthis_toolbox addthis_default_style">
			<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=xa-4b69d5eb1f2c8cb0" class="addthis_button_compact">Share</a>
				<span class="addthis_separator">|</span>
				<a class="addthis_button_facebook"></a>
				<a class="addthis_button_myspace"></a>
				<a class="addthis_button_google"></a>
				<a class="addthis_button_twitter"></a>
			</div>
			<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4b69d5eb1f2c8cb0"></script>
		<!-- AddThis Button END -->
		</div>
	</h3>
	{if $upload_type eq 'f'}
		<div id="gallery_ajax" class="photo_gallery_cont"></div>
	{else}
		<div>
			{foreach item=item from=$last_uploads name=uploads}
			<div class="item gallery_video_item{if $smarty.foreach.uploads.last} last{/if}" align="center" valign="top" >
				<a class="imgcanvas_container" {if $item.is_adult}href="javascript:void(0);" onclick="launchWindow('{$item.view_link}','',800,580); "{else}href="{$item.view_link}"{/if} >
					{if $item.upload_path eq 'default'} 
						<div class="one_video_icon"></div>
					{else}
						<img class="imgcanvas" src="{$item.upload_path}" border="0" class="icon" alt="" />
					{/if}
				</a>
				<div class="video_descr">
					{if $item.upload_title}<div class="text-overflow">{$item.upload_title}</div>{/if}
					<div class="text-overflow">
						{$lang.gallary.category}:&nbsp;
						<a href="{$site_root}/{$seo.gallery}?sel=category&id_category={$item.category_id}&upload_type={$form.upload_type}">{$item.category_name}</a>
					</div>
					<div class="text-overflow">
						{$lang.gallary.author}:&nbsp;
						<a href="{$item.profile_link}" target="_blank">{$item.author_name}</a>
					</div>
				</div>
			</div>
			{/foreach}
		</div>
	{/if}
</div>
{/strip}

{if $upload_type != 'f'}
	{include file="$gentemplates/pager.tpl" links=$links_lu update_div='last_uploads' ajax=1}	
{/if}