Jump to content

шаблон Loffeatured и Lofnewproduct


Recommended Posts

Здравствуйте.

 

Помогите, пожалуйста, установила два бесплатных модуля у себя Loffeatured и Lofnewproduct.

Начала проверять валидатором и на них ругается валидатор: end tag for "ul" which is not finished

 

Вот шаблон Lofnewproduct

<div class="clearfix clear clr"></div>
<div class="lof-newproduct {$theme}">
	<div class="newproduct-widget block">
		<div class="header">
			<h4 class="newproduct-title title_block">{l s='New product' mod='lofnewproduct'}</h4>
		</div>
		<div class="list-newproduct responsive">
			<ul id="lofnewproduct-{$moduleId}" class="newproduct-news clearfix">
				{foreach from=$listNews item=item}    
				<li>
					<div class="article lof-content">
						<div class="newproduct-item box-hover clearfix">
							<div class="video-thumb lof-product">
							<a href="{$item.link}" title="{$item.name|escape:html:'UTF-8'}" class="product_image">
								<img class="responsive-img" src="{$item.mainImge}" alt="{$item.name}"/>
							</a>
														{if $show_title eq '1'}
							<h5 class="entry-title">
								<a href="{$item.link}">{$item.name}</a>
							</h5>
							{/if}
							</div>
							{if $show_price eq '1'}
								<p class="entry-price price_container">
									<span class="price lof-price">
									</span>
								</p>
							{/if}
							<div class="lof-main-puplic">
								<a href="{$item.link}" class="lof-view">{l s='Detail' mod='lofnewproduct'}</a>
							</div>
						</div>
					</div>				
				</li>
				{/foreach}
			</ul>		
			<div class="clear"></div>
			{if $show_button eq '1'}
			<div class="newproduct-nav">
				<a id="lofprev-{$moduleId}" class="prev" href="#"> </a>
				<a id="lofnext-{$moduleId}" class="next" href="#"> </a>
			</div>{/if}
			{if $show_pager eq '1'}<div id="lofpager-{$moduleId}" class="lof-pager"></div>{/if}
		</div>
	</div>
</div>
<script type="text/javascript">
// <![CDATA[
			$('#lofnewproduct-{$moduleId}').carouFredSel({ldelim}
				responsive:true,
				prev: '#lofprev-{$moduleId}',
				next: '#lofnext-{$moduleId}',
				pagination: "#lofpager-{$moduleId}",
				auto: {$auto_play},
				width: {$slide_width},
				height: {$slide_height},
				scroll: {$scroll_items},
				items:{ldelim}
					width:200,
					visible:{ldelim}
						min:1,
						max:{$limit_cols}
					{rdelim}
				{rdelim}
			{rdelim});	

// ]]>
</script>

А вот Loffeatured

<div class="clearfix clear clr"></div>
<div class="lof-featured {$theme}">
<h3 class="featured-title">{l s='Featured Products' mod='loffeatured'}</h3>

		<div class="list-featured responsive">
			<ul id="loffeatured-{$moduleId}" class="featured-news clearfix">
				{foreach from=$listFeature item=item}    
				<li>
						<div class="featured-item box-hover clearfix">
							<div class="entry-content">
								<div class="video-thumb">
									<a href="{$item.link}" title="{$item.name}" class="product_image">
									<img class="responsive-img" src="{$item.mainImge}" alt="{$item.name}"/>
									</a>
								</div>
								{if $show_title eq '1'}
								<h4 class="entry-title">
									<a href="{$item.link}" title="{$item.name}">{$item.name}</a>
								</h4>
								{/if}
								{if is_array($item.specific_prices) AND ($priceSpecial  eq '1')}
								<div class="entry-price entry-price-discount"><strike>{displayWtPrice p=$item.price_without_reduction}</strike></div>
								{/if}
								{if $show_price eq '1'}
									<div class="entry-price">
									</div>
								{/if}
								{if $show_desc eq '1'}<p>{$item.description}</p>{/if}

								{if (($item.quantity > 0 OR $item.allow_oosp))}
								<div class="lof-main-puplic">
									<a href="{$item.link}" class="lof-detail">{l s='Detail' mod='lofnewproduct'}</a>
								</div>
								{else}
								{/if}
								</div>
						</div>			
				</li>
				{/foreach}
			</ul>
			{if $show_button eq '1'}
			<div class="featured-nav">
				<a id="loffprev-{$moduleId}" class="prev" href="#"> </a>
				<a id="loffnext-{$moduleId}" class="next" href="#"> </a>
			</div>
			{/if}
			{if $show_pager eq '1'}<div id="loffpager-{$moduleId}" class="lof-pager"></div>{/if}
		</div>
</div>
 
  <script type="text/javascript">
// <![CDATA[
			$('#loffeatured-{$moduleId}').carouFredSel({ldelim}
				responsive:true,
				prev: '#loffprev-{$moduleId}',
				next: '#loffnext-{$moduleId}',
				pagination: "#loffpager-{$moduleId}",
				auto: {$auto_play},
				width: {$slide_width},
				height: {$slide_height},
				scroll: {$scroll_items},
				items:{ldelim}
					width:200,
					visible:{ldelim}
						min:1,
						max:{$limit_cols}
					{rdelim}
				{rdelim}
			{rdelim});	
		 
// ]]>

</script>

Помогите, куда нужно поставить </ul> или что надо закрыть чтобы, валидатор не ругался =(

Link to comment
Share on other sites

×
×
  • Create New...