回答編集履歴
1
自己解決方法です
test
CHANGED
@@ -1,3 +1,23 @@
|
|
1
1
|
自己解決しました!ありがとうございました。
|
2
2
|
|
3
|
+
|
4
|
+
|
5
|
+
{if $smarty.section.num_loop.index is div by 3 && $smarty.section.num_loop.index is div by 5&& !$smarty.section.num_loop.index == 0}
|
6
|
+
|
7
|
+
<p>trois</p>
|
8
|
+
|
9
|
+
{elseif $smarty.section.num_loop.index % 3 == 0 && !$smarty.section.num_loop.index == 0}
|
10
|
+
|
3
|
-
|
11
|
+
<p>une</p>
|
12
|
+
|
13
|
+
{elseif $smarty.section.num_loop.index % 5 == 0 && !$smarty.section.num_loop.index == 0}
|
14
|
+
|
15
|
+
<p>deux</p>
|
16
|
+
|
17
|
+
{else}
|
18
|
+
|
19
|
+
{$smarty.section.num_loop.index}
|
20
|
+
|
21
|
+
<br>
|
22
|
+
|
23
|
+
{/if}
|