Перейти к публикации

The question of an expert


zyber

Рекомендованные сообщения

This is my shortstory.tpl page


<div>

<h2>{title}</h2>

<p>{short-story}</p>

<div>

Showing 10 news main page and html result...

<div>

<h2>Title 01</h2>

<p>Content 01...........</p>

<div>


<div>

<h2>Title 02</h2>

<p>Content 02...........</p>

<div>


<div>

<h2>Title 03</h2>

<p>Content 03...........</p>

<div>


<div>

<h2>Title 04</h2>

<p>Content 04...........</p>

<div>


<div>

<h2>Title 05</h2>

<p>Content 05...........</p>

<div>



........................

........................

........................

........................

How can I figure this is as follows?

<div class="double">

<div>

<h2>Title 01</h2>

<p>Content 01...........</p>

<div>

<div>

<h2>Title 02</h2>

<p>Content 02...........</p>

<div>

<div>

<div class="double">

<div>

<h2>Title 03</h2>

<p>Content 03...........</p>

<div>

<div>

<h2>Title 04</h2>

<p>Content 04...........</p>

<div>

<div>

<div class="double">

<div>

<h2>Title 05</h2>

<p>Content 05...........</p>

<div>

<div>

........................

........................

........................

........................

How should I take this blog in between every 2 news

<div class="double">

<div>

5n7xw1.jpg

Ссылка на сообщение
Поделиться на других сайтах

Архивировано

Эта тема находится в архиве и закрыта для публикации сообщений.

×
×
  • Создать...