{if $form.page eq '4'}
	{if $org_home[8] == 'true'}
	<div class="pr_text">
		<div class="albums_wrapper">
			<!--a href="#" name="link"></a-->
			<div class="albums_menu">
				<a href="#" id="sub_link8" onclick="javascript: ShowTab(8,'{$menu.4}', 1); return false;" class="photo-icon" title="{$lang.section.photos}">&nbsp;</a>
				<a href="#" id="sub_link9" onclick="javascript: ShowTab(9,'{$menu.4}', 1); return false;" class="audio-icon" title="{$lang.section.audio}">&nbsp;</a>
				<a href="#" id="sub_link10" onclick="javascript: ShowTab(10,'{$menu.4}', 1); return false;" class="video-icon" title="{$lang.section.video}">&nbsp;</a>
			</div>
			<div class="albums_content" style="width:100%; display:table;">
				<!-- begin upload section -->
					<!-- begin my personal info -->
					{if $data_9.form_sub_page eq 8 || $data_9.form_sub_page eq 9 || $data_9.form_sub_page eq 10}
					{if $data_9.id_album ne 0}
						{if ($data_9.photo || $data_9.audio || $data_9.video) || ($photo)}
						<h3 class="p-b5">
							{if $album_page.arr_name eq 'photo'}
								{$lang.section.photos}
							{elseif $album_page.arr_name eq 'audio'}
								{$lang.section.audio}
							{elseif $album_page.arr_name eq 'video'}
								{$lang.section.video}
							{/if}
							<ins onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=get_item_form&type={$album_page.upload_type}&id_item={$data_9.id_album}&form_sub_page={$data_9.form_sub_page}', 500, 275, true); return false;" class="add-icon sub_icon" title="{if $album_page.arr_name eq 'photo'}{$lang.users.add_photo}{elseif $album_page.arr_name eq 'audio'}{$lang.users.add_audio}{elseif $album_page.arr_name eq 'video'}{$lang.users.add_video}{/if}">&nbsp;</ins>
						</h3>
						{/if}
						{if $items_links_top}
							<div style="padding: 15px 0; display:table; width:100%;">
								<div style="float:right;">
								<div class="b-page-n">
								{foreach item=item from=$items_links_top name=links}
									{if $smarty.foreach.links.first}
										{$lang.general.showing}&nbsp;{$current_page}&nbsp;{$lang.general.of}&nbsp;{$num_page}&nbsp;
									{/if}
									{if $item.previous_page eq 1}
										<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="back-page-act" id="back-page-act_top" alt="{$lang.general.prev}" title="{$lang.general.prev}">&nbsp;</a>
									{elseif $item.previous_page eq 2}
										<a href="javascript: void(0);" class="back">&nbsp;</a>
									{/if}
									{if $item.next_page eq 1}
										<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="next-page-act" id="next-page-act_top" alt="{$lang.general.next}" title="{$lang.general.next}">&nbsp;</a>
									{elseif $item.next_page eq 2}
										<a href="javascript: void(0);" class="next">&nbsp;</a>
									{/if}
								{/foreach}
								</div>
								</div>
							</div>
						{/if}
						<div>
						{if $data_9.photo}						
							{foreach key=key item=item from=$data_9.photo name=foo}
							<div class="mma_item" style="position:relative" id="item_{$smarty.foreach.foo.iteration}">
								<a class="imgcanvas_container" href ="#" onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=start_slide&id_item={$data_9.id_album}&type={$album_page.upload_type}&id_subitem={$item.id}',800,550); return false;">
									<img src="{$item.thumb_file}?rand={math equation='rand()'}" alt="" class="imgcanvas" {$item.sizes}/>
								</a>
								{if $item.status eq '0'}<a title="{$lang.gallary.status}" class="wating-for-aprove" style="bottom: 55px; {if $default_ltr eq ltr}left:5px;{else}left:32px;{/if} position:absolute;">&nbsp;</a>{/if}
								<p>{$lang.gallary.rating}:&nbsp;{$item.gallery_rate}&nbsp;{$lang.gallary.points}</p>
								<p>{$lang.gallary.views}:&nbsp;{$item.views}</p>
								<div class="mma_item_buttons" style="line-height:1;">
									<a href="#" onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=start_slide&id_item={$data_9.id_album}&type={$album_page.upload_type}&id_subitem={$item.id}',800,550); return false;" class="small-view-icon float_left">&nbsp;</a>
									<a href="#" onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=edit_item_form&id_item={$data_9.id_album}&type={$album_page.upload_type}&id_subitem={$item.id}',400,300); return false;" class="small-edit-icon float_left">&nbsp;</a>
									<!--a onclick="javascript: if(window.confirm('{$lang.confirm.delete_photo|escape:javascript}'))location.href='{$item.del_link}'; else return false;" class="small-del-icon float_left">&nbsp;</a-->
									<a onclick="javascript: if(window.confirm('{$lang.confirm.delete_photo|escape:javascript}')) DeleteUpload('{$item.del_link}', 'item_{$smarty.foreach.foo.iteration}'); else return false;" class="small-del-icon float_left">&nbsp;</a>
								</div>
							</div>
							{/foreach}
							<div class="clear"></div>
						{elseif $data_9.audio}
							{foreach key=key item=item from=$data_9.audio name=foo}
							<div class="audio_item" style="overflow: hidden;" id="item_{$smarty.foreach.foo.iteration}">
								<div style="float: left;">
									{if !$item.status}<img src="{$site_root}{$template_root}{$template_images_root}/icon_waiting.png" alt="" title="{$lang.alt.approve}" />{/if}
									<span>
										{*<a href="#" onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=start_play&id_item={$data_9.id_album}&type={$album_page.upload_type}&id_subitem={$item.id}',560,150); return false;"><img src="{$site_root}{$template_root}{$template_images_root}/albums_listen_audio.gif" alt=""/></a>*}
										<a class="play_audio_btn" href="javascript:void(0);" onclick="playAudio('{$item.file_path}', '{$item.song_author|escape:javascript} - {$item.song_name|escape:javascript}', this)"><img src="{$site_root}{$template_root}{$template_images_root}/albums_listen_audio.gif" alt=""/></a>
									</span>
									<span class="song_author">{$item.song_author}</span> - {$item.song_name}&nbsp;&nbsp;&nbsp;<b>{$item.song_length}</b>
								</div>
								<div style="float: right; padding-top: 2px;">
									<a href="#" onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=edit_item_form&id_item={$data_9.id_album}&type={$album_page.upload_type}&id_subitem={$item.id}',400,300); return false;" class="small-edit-icon">&nbsp;</a>
									<!--a onclick="javascript: if(window.confirm('{$lang.confirm.delete_music|escape:javascript}'))location.href='{$item.del_link}'; else return false;" class="small-del-icon">&nbsp;</a-->
									<a onclick="javascript: if(window.confirm('{$lang.confirm.delete_music|escape:javascript}')) DeleteUpload('{$item.del_link}', 'item_{$smarty.foreach.foo.iteration}'); else return false;" class="small-del-icon">&nbsp;</a>
								</div>
							</div>
							{/foreach}
							<div class="clear"></div>
						{elseif $data_9.video}
							{foreach key=key item=item from=$data_9.video name=foo}
							<div class="mma_item" id="item_{$smarty.foreach.foo.iteration}">
								<a class="imgcanvas_container" href="#" onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=start_video&id_item={$data_9.id_album}&type={$album_page.upload_type}&id_subitem={$item.id}',600,400); return false;">
								{if !$item.status}
									<div style="z-index:8888; position: absolute; float: left;"><img src="{$site_root}{$template_root}{$template_images_root}/icon_waiting.png" alt="{$lang.alt.approve}" title="{$lang.alt.approve}" /></div>
								{/if}
									{if $item.thumb_file eq 'default'} 
										<div class="one_video_icon"></div>
									{else}
										<img src="{$item.thumb_file}" alt="" {$item.sizes} class="video_item imgcanvas"/>
									{/if}
								</a>
								<div class="mma_item_buttons" style="line-height:1;">
									<a href="#" onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=start_video&id_item={$data_9.id_album}&type={$album_page.upload_type}&id_subitem={$item.id}',600,300); return false;" class="small-view-icon float_left">&nbsp;</a>
									<a href="#" onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=edit_item_form&id_item={$data_9.id_album}&type={$album_page.upload_type}&id_subitem={$item.id}',400,300); return false;" class="small-edit-icon float_left">&nbsp;</a>
									<!--a onclick="javascript: if (window.confirm('{$lang.confirm.delete_video|escape:javascript}')) location.href='{$item.del_link}'; else return false;" class="small-del-icon float_left">&nbsp;</a-->
									<a onclick="javascript: if (window.confirm('{$lang.confirm.delete_video|escape:javascript}'))  DeleteUpload('{$item.del_link}', 'item_{$smarty.foreach.foo.iteration}'); else return false;" class="small-del-icon float_left">&nbsp;</a>
									<div class="clear"></div>
								</div>
							</div>
							{/foreach}
							<div class="clear"></div>
						{/if}
						</div>
						{if $items_links_page}
						<div class="links_div">
							{foreach item=item from=$items_links_page}
								<div class="page_div{if $item.selected eq '1'}_active{/if}">
									<div style="margin: 5px"><a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="page_link{if $item.selected eq '1'}_active{/if}">{$item.name}</a></div>
								</div>
							{/foreach}
							<div class="clear"></div>
						</div>
						{/if}
						{if $items_links_bottom}
							<div style="padding: 15px 0;display:table;width:100%;">
								<div class="search_link">
									<div class="sorting-long">
										<div class="b-page-n">	
											{foreach item=item from=$items_links_bottom}
												{if $item.first_page eq 1}
													<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="first-page-act" title="{$lang.general.first}">&nbsp;</a>
												{elseif $item.first_page eq 2}
													<a href="javascript: void(0);" class="first-page">&nbsp;</a>
												{/if}
												
												{if $item.previous_page eq 1}
													<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="back-page-act" id="back-page-act_bottom" alt="{$lang.general.prev}" title="{$lang.general.prev}">&nbsp;</a>
												{elseif $item.previous_page eq 2}
													<a href="javascript: void(0);" class="back">&nbsp;</a>
												{/if}
												
												{if $item.selected}
													<a href="javascript: void(0);" class="act-page">{$item.name}</a>
												{else}
													<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;">{$item.name}</a>
												{/if}
												
												{if $item.delimiter}
													{$item.delimiter}
												{/if}
												
												{if $item.next_page eq 1}
													<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="next-page-act" id="next-page-act_bottom" alt="{$lang.general.next}" title="{$lang.general.next}">&nbsp;</a>
												{elseif $item.next_page eq 2}
													<a href="javascript: void(0);" class="next">&nbsp;</a>
												{/if}
													
												{if $item.last_page eq 1}
													<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="last-page-act" title="{$lang.general.last}">&nbsp;</a>
												{elseif $item.last_page eq 2}
													<a href="javascript: void(0);" class="last-page">&nbsp;</a>
												{/if}	
											{/foreach}
										</div>
									</div>
								</div>
							</div>
						{/if}		
					{/if}			
			{if $_album && $data_9.id_album == 0}
				<div class="albums" style="width:100%; display: table;">			
					<h3 class="p-b5" style="position: relative;" name="crop">{$lang.section.albums}
					<ins onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=get_album_form&type={$album_page.upload_type}',500,300, true); return false;" class="add-icon sub_icon" title="{$lang.users.create_album}">&nbsp;</ins>
					</h3>
					{if $album_links_top}
					<div style="padding: 15px 0; display:table; width:100%;">
						<div style="float:right;">
						<div class="b-page-n">
						{foreach item=item from=$album_links_top name=links}
							{if $smarty.foreach.links.first}
								{$lang.general.showing}&nbsp;{$current_page}&nbsp;{$lang.general.of}&nbsp;{$num_page}&nbsp;
							{/if}
							{if $item.previous_page eq 1}
								<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="back-page-act" id="back-page-act_top" alt="{$lang.general.prev}" title="{$lang.general.prev}">&nbsp;</a>
							{elseif $item.previous_page eq 2}
								<a href="javascript: void(0);" class="back">&nbsp;</a>
							{/if}
							{if $item.next_page eq 1}
								<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="next-page-act" id="next-page-act_top" alt="{$lang.general.next}" title="{$lang.general.next}">&nbsp;</a>
							{elseif $item.next_page eq 2}
								<a href="javascript: void(0);" class="next">&nbsp;</a>
							{/if}
						{/foreach}
						</div>
						</div>
					</div>
				{/if}				
						{foreach item=item from=$_album name=k}
						<div class="albums_item">					
							<div class="album_icon {if $album_page.upload_type eq 'f'}photo{elseif $album_page.upload_type eq 'a'}audio{elseif $album_page.upload_type eq 'v'}video{/if}" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}&id_album={$item.id}', 4); return false;">
								{if $item.first_photo}
									<img src="{$item.first_photo}"/>
								{/if}
							</div>
							<div class="albums_descr">						
								<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}&id_album={$item.id}', 4); return false;">{$item.title|truncate:30:"...":true}</a><br/>
								{$lang.users.created}:&nbsp;{$item.creation_date}<br/>
								{if $album_page.upload_type eq 'f'}{$lang.users.photos_count}{elseif $album_page.upload_type eq 'a'}{$lang.users.audio_count}{elseif $album_page.upload_type eq 'v'}{$lang.users.video_count}{/if}:&nbsp;{$item.items_count}<br/>
								<div class="mma_item_buttons mma_item_buttons_gr mma_item_buttons_gr1" style="line-height:1;">
									<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}&id_album={$item.id}', 4); return false;" class="small-view-icon float_left">&nbsp;</a>
									<a href="#" onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=edit_album_form&type={$album_page.upload_type}&id_item={$item.id}',500,275); return false;" class="small-edit-icon float_left">&nbsp;</a>
									{if !$no_del}
										<a onclick="javascript: if(window.confirm('{$lang.confirm.delete_album|escape:javascript}'))location.href='{$site_root}/{$seo.myprofile}?sel=del_album&id_album={$item.id}&sub={$data_9.form_sub_page}'; else return false;" class="small-del-icon float_left">&nbsp;</a>
									{/if}
									<div class="clear"></div>
								</div>
								
							</div>
						</div>
						{/foreach}
						<div class="clear"></div>
						{if $links_page}
						<div style="height: 1px; margin: 5px 0px" class="delimiter"></div>
						<div class="links_div">
						{foreach item=item from=$links_page}
							<div class="page_div{if $item.selected eq '1'}_active{/if}">
								<div style="margin: 5px"><a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="page_link{if $item.selected eq '1'}_active{/if}">{$item.name}</a></div>
							</div>
						{/foreach}
						<div class="clear"></div>
						</div>
						{/if}
				</div>
				{if $album_links_bottom}
					<div style="padding: 15px 0;display:table;width:100%;">
						<div class="search_link">
							<div class="sorting-long">
								<div class="b-page-n">	
									{foreach item=item from=$album_links_bottom}
										{if $item.first_page eq 1}
											<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="first-page-act" title="{$lang.general.first}">&nbsp;</a>
										{elseif $item.first_page eq 2}
											<a href="javascript: void(0);" class="first-page">&nbsp;</a>
										{/if}
										
										{if $item.previous_page eq 1}
											<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="back-page-act" id="back-page-act_bottom" alt="{$lang.general.prev}" title="{$lang.general.prev}">&nbsp;</a>
										{elseif $item.previous_page eq 2}
											<a href="javascript: void(0);" class="back">&nbsp;</a>
										{/if}
										
										{if $item.selected}
											<a href="javascript: void(0);" class="act-page">{$item.name}</a>
										{else}
											<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;">{$item.name}</a>
										{/if}
										
										{if $item.delimiter}
											{$item.delimiter}
										{/if}
										
										{if $item.next_page eq 1}
											<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="next-page-act" id="next-page-act_bottom" alt="{$lang.general.next}" title="{$lang.general.next}">&nbsp;</a>
										{elseif $item.next_page eq 2}
											<a href="javascript: void(0);" class="next">&nbsp;</a>
										{/if}
											
										{if $item.last_page eq 1}
											<a href="#" onclick="javascript: ShowTab({$data_9.form_sub_page},'{$menu.4}{$item.link}', {$data_9.form_act}); return false;" class="last-page-act" title="{$lang.general.last}">&nbsp;</a>
										{elseif $item.last_page eq 2}
											<a href="javascript: void(0);" class="last-page">&nbsp;</a>
										{/if}	
									{/foreach}
								</div>
							</div>
						</div>
					</div>
				{/if}		
				
			{/if}	
			<!-- photos -->
			<table cellpadding="0" cellspacing="0" width="100%" border="0">
				<tr>
					<td valign="top" align="{$default_left}">
						{if $album_page.show_album_items eq 1}
						
						{elseif $album_page.show_create_link eq 1}
						<h3 class="p-b5" style="position: relative;">{$lang.section.albums}
							<ins onclick="launchWindow('{$site_root}/{$seo.myprofile}','sel=get_album_form&type={$album_page.upload_type}',500,300, true); return false;" class="add-icon sub_icon" title="{$lang.users.create_album}">&nbsp;</ins>
						</h3>
						
						{elseif $album_page.show_create_form eq 1}
						<script type="text/javascript">
						{literal}
						$(document).ready(function() {
						{/literal}
							launchWindow('{$site_root}/{$seo.myprofile}','sel={if $data_9.edit eq 1}edit{else}get{/if}_album_form&type={$album_page.upload_type}&it_item={if $data_9.id_album>0}{$data_9.id_album}{/if}&err={$form.err}',500,300);
						{literal}
						});
						{/literal}
						</script>
						{/if}
					</td>
				</tr>
			</table>
			<!-- /photos -->
		{/if}
			<!-- photos -->
	</div>
	{/if}
{/if}
{if $form.page eq '5'}
	<div class="rating_cont">
		{*<h3 class="p-b5" style="overflow:hidden;"><span class="float_left">{$lang.subsection.rating}:&nbsp;</span> <a class="float_left" href="{$site_root}/{$seo.top_users}">{if $data.place}{$data.place} {$lang.general.place}{else}{$lang.general.not_top_rating}{/if}</a></h3>*}
		<div class="rating my_rating">
			<div class="rating_left">
					<div class="rating_bar float_left">
						<span class="float_left">{$lang.rating.not}</span>
						{$data_10.current_rating_bar}
						<span class="float_left">{$lang.rating.hot}</span>
					</div>
			</div>
			<div class="rating_right">
				<span class="">{$lang.subsection.rating}:&nbsp;{$data_10.current_rating}</span>
				&nbsp;&nbsp;|&nbsp;&nbsp;
				<span class="">{$lang.profile.votes}:&nbsp;{$data_10.all_vote}</span>
				&nbsp;&nbsp;|&nbsp;&nbsp;
				<span class="text_red"><a href="{$site_root}/{$seo.top_users}">{$lang.profile.place}:&nbsp;{if $data_10.place}{$data_10.place}{else}{*$lang.general.not_top_rating*}-{/if}</a></span>
			</div>
		</div>
	</div>
	
	<h3 class="p-b5" style="margin-bottom:0;">{$lang.wall_events.header}</h3>
	<div id="wall_events" class="wall_events">
		{include file="$gentemplates/wall_events.tpl"}
	</div>
	{literal}
	<script>
		window.wall_events = new WallEvents().init({
			type: 'my_wall',
			all_loaded: parseInt('{/literal}{$events.all_loaded}{literal}'),
			min_id: {/literal}{if $events.min_id}{$events.min_id}{else}0{/if}{literal},
			max_id: {/literal}{if $events.max_id}{$events.max_id}{else}0{/if}{literal},
			id: 'wall_events',
			url: '{/literal}{$server}/ajax_backend.php{literal}',
			view_button_title: '{/literal}{$lang.button.view_more|escape:javascript}{literal}',
			send_button_title: '{/literal}{$lang.button.send|escape:javascript}{literal}',
			placeholder: '{/literal}{$lang.wall_events.placeholder_home|escape:javascript}{literal}',
			onInit: function(){$('#wall_events_wrapper').find('input, textarea').placeholder();}
		});
	</script>
	{/literal}
	
	{*if $org_home[6] == 'true'}
		<div>
			<!-- begin rating -->
			<h3 class="p-b5" style="overflow:hidden;"><span class="float_left">{$lang.subsection.rating}:&nbsp;</span> <a class="float_left" href="{$site_root}/{$seo.top_users}">{if $data.place}{$data.place} {$lang.general.place}{else}{$lang.general.not_top_rating}{/if}</a></h3>
			<div class="rating">
				<div class="rating_left">
						<div class="rating_bar float_left">
							<span class="float_left">{$lang.rating.not}</span>
							{$data_10.current_rating_bar}
							<span class="float_left">{$lang.rating.hot}</span>
						</div>
						<span style="margin-left: 10px" class="float_left">{$data_10.current_rating}&nbsp;{$lang.rating.of}&nbsp;10</span>
				</div>
				<div class="rating_right">
					<span style="margin-right:3px;" class="text_red">{$lang.profile.all_vote}: {$data_10.all_vote}</span>
				</div>
			</div>
			<!-- end rating -->
			<!-- begin comment -->
			<h3 class="p-b5">{$lang.subsection.comments}</h3>		
			<div class="comments_cont">
				<div class="comments">
					
						{if $links_top}
							{if $data_10.comments}{include file="$gentemplates/pagination_top.tpl"}{/if}
						{/if}
						
						<div id="comments_area" style="margin-right:3px;">
							{if $data_10.comments}{include file="$site_path/$template_root/myprofile_comment.tpl"}{/if}
						</div>
						
						{if $links_bottom}
							{if $data_10.comments}{include file="$gentemplates/pagination_bottom.tpl"}{/if}
						{/if}
					
					{$lang.profile.add_comment}
					<div class="content_alloc classfields">
					<div>
						<textarea style="resize: none;" name="message" id="message" cols=90 rows=4 onkeypress="" onkeyup="BadWords('message'); textchange_2()" ></textarea>	
						<div id="bad_div_message" class="bad_div"></div>
						<div style="margin: 10px 2px; text-align: right; display: table; width: 100%;">
						<div class="float_right" style="margin-top:9px;margin-right:7px;" id="count_sym2">256</div>
						
						<div style="height: 16px; width: 10px;" class="icon_smail_for_comment float_left" onclick="return displaySmileLayer('smiles');"></div>
						
						<div id="smiles" class="smiles" style="display:none; left: 264px; width: 255px;">                                   
							<ul>
							{section name=sm loop=$smiles}
							{if $use_default_smiles eq '1'}
							<li><a style="cursor:pointer;" onclick="document.getElementById('message').value=document.getElementById('message').value+'{$smiles[sm].value}'; document.getElementById('smiles').style.display = 'none';"><img src="{$site_root}{$template_root}/emoticons/{$smiles[sm].file}" class="smile_icon" alt=""></a></li>
							{else}
							<li><a style="cursor:pointer;" onclick="document.getElementById('message').value=document.getElementById('message').value+'{$smiles[sm].value}'; document.getElementById('smiles').style.display = 'none';"><img src="{$site_root}/uploades/smiles/{$smiles[sm].file}" class="smile_icon" alt=""></a></li>
							{/if}
							{/section}
							</ul>
						</div>
					</div>
					</div>
					</div>
					<input type="button" onclick="SubmitComment(this);" value="{$lang.button.add}">
				</div>
			</div>
			<!-- end comment -->
				
			{if $data_10.user_tags && $use_tags}
			<!-- begin tags list -->
			<h3 class="p-b5">{$lang.subsection.users_tag_myprofile}</h3>	
			<div id="user_tags">
				<div>
					{section name=s loop=$data_10.user_tags}
							 <a href="{$data_10.user_tags[s].searchlink}" style="font-size: {$data_10.user_tags[s].size}px; vertical-align: baseline;" title="{$data_10.user_tags[s].count}">{$data_10.user_tags[s].tag}</a>
							 &nbsp;<a href="{$data_10.user_tags[s].dellink}"><b>x</b></a>&nbsp;&nbsp;
					{/section}
				</div>
			</div>
			{/if}
			<!-- end tags list -->
		</div>
	{/if*}
{/if}
