1 | ({if $data.kind eq PORTAL_LAYOUT_COMMUNITY}) |
---|
2 | ({assign var="title" value="最新`$WORD_COMMUNITY`書き込み"}) |
---|
3 | ({if $data.is_image && !$smarty.const.CHECK_IMG_AUTH}) |
---|
4 | <div class="box PatternF"> |
---|
5 | <div class="ttl"><h2>({$title})</h2></div> |
---|
6 | <div class="innerBox"> |
---|
7 | ({if $data.contents}) |
---|
8 | <ul> |
---|
9 | ({foreach from=$data.contents item=item}) |
---|
10 | <li> |
---|
11 | <span><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small})" alt="({$item.commu_name})" /></span> |
---|
12 | <dl> |
---|
13 | <dt>({$item.u_datetime|date_format:"%m/%d"})</dt> |
---|
14 | <dd>({$item.name}) (({$item.count_comments|number_format})) (({$item.commu_name}))</dd> |
---|
15 | </dl> |
---|
16 | </li> |
---|
17 | ({/foreach}) |
---|
18 | </ul> |
---|
19 | ({else}) |
---|
20 | <dl> |
---|
21 | <dt> </dt> |
---|
22 | <dd> </dd> |
---|
23 | </dl> |
---|
24 | ({/if}) |
---|
25 | </div> |
---|
26 | </div> |
---|
27 | ({else}) |
---|
28 | <div class="box PatternA"> |
---|
29 | <div class="ttl"><h2>({$title})</h2></div> |
---|
30 | <div class="innerBox"> |
---|
31 | ({if $data.contents}) |
---|
32 | <dl> |
---|
33 | ({foreach from=$data.contents item=item}) |
---|
34 | <dt>({$item.u_datetime|date_format:"%m/%d"})</dt> |
---|
35 | <dd>({$item.name}) (({$item.count_comments|number_format})) (({$item.commu_name}))</dd> |
---|
36 | ({/foreach}) |
---|
37 | </dl> |
---|
38 | ({else}) |
---|
39 | <dl> |
---|
40 | <dt> </dt> |
---|
41 | <dd> </dd> |
---|
42 | </dl> |
---|
43 | ({/if}) |
---|
44 | </div> |
---|
45 | </div> |
---|
46 | ({/if}) |
---|
47 | ({elseif $data.kind eq PORTAL_LAYOUT_REVIEW}) |
---|
48 | ({assign var="title" value="最新レビュー"}) |
---|
49 | ({if $data.is_image}) |
---|
50 | <div class="box PatternF"> |
---|
51 | <div class="ttl"><h2>({$title})</h2></div> |
---|
52 | <div class="innerBox"> |
---|
53 | ({if $data.contents}) |
---|
54 | <ul> |
---|
55 | ({foreach from=$data.contents item=item}) |
---|
56 | <li> |
---|
57 | <span> |
---|
58 | ({if $item.c_review.image_small}) |
---|
59 | <img src="({$item.c_review.image_small})" /> |
---|
60 | ({else}) |
---|
61 | <img src="({t_img_url_skin filename=no_logo_small})" /> |
---|
62 | ({/if}) |
---|
63 | </span> |
---|
64 | <dl> |
---|
65 | <dt>({$item.r_datetime|date_format:"%m/%d"})</dt> |
---|
66 | <dd><a href="({$item.c_review.url})" target="_blank">({$item.c_review.title})</a> (({$item.c_member.nickname}))</dd> |
---|
67 | </dl> |
---|
68 | </li> |
---|
69 | ({/foreach}) |
---|
70 | </ul> |
---|
71 | ({else}) |
---|
72 | <ul> |
---|
73 | <li> </li> |
---|
74 | </ul> |
---|
75 | ({/if}) |
---|
76 | </div> |
---|
77 | </div> |
---|
78 | ({else}) |
---|
79 | <div class="box PatternA"> |
---|
80 | <div class="ttl"><h2>({$title})</h2></div> |
---|
81 | <div class="innerBox"> |
---|
82 | ({if $data.contents}) |
---|
83 | <dl> |
---|
84 | ({foreach from=$data.contents item=item}) |
---|
85 | <dt>({$item.r_datetime|date_format:"%m/%d"})</dt> |
---|
86 | <dd><a href="({$item.c_review.url})" target="_blank">({$item.c_review.title})</a> (({$item.c_member.nickname}))</dd> |
---|
87 | ({/foreach}) |
---|
88 | </dl> |
---|
89 | ({else}) |
---|
90 | <dl> |
---|
91 | <dt> </dt> |
---|
92 | <dd> </dd> |
---|
93 | </dl> |
---|
94 | ({/if}) |
---|
95 | </div> |
---|
96 | </div> |
---|
97 | ({/if}) |
---|
98 | ({elseif $data.kind eq PORTAL_LAYOUT_ACCESS_RANKING}) |
---|
99 | ({assign var="title" value="メンバーアクセスランキング"}) |
---|
100 | <div class="box PatternB"> |
---|
101 | <div class="ttl"><h2>({$title})</h2></div> |
---|
102 | <div class="innerBox"> |
---|
103 | ({if $data.contents}) |
---|
104 | <dl> |
---|
105 | ({foreach name=access_ranking key=key from=$data.contents item=item}) |
---|
106 | ({foreach name=access_ranking_item from=$item item=item1}) |
---|
107 | <dt>({$key})位</dt> |
---|
108 | <dd>({$item1.c_member.nickname}) (({$item1.count|number_format})アクセス)</dd> |
---|
109 | ({/foreach}) |
---|
110 | ({/foreach}) |
---|
111 | </dl> |
---|
112 | ({else}) |
---|
113 | <dl> |
---|
114 | <dt> </dt> |
---|
115 | <dd> </dd> |
---|
116 | </dl> |
---|
117 | ({/if}) |
---|
118 | </div> |
---|
119 | </div> |
---|
120 | ({elseif $data.kind eq PORTAL_LAYOUT_COMMUNITY_RANKING}) |
---|
121 | ({assign var="title" value="`$WORD_COMMUNITY`盛り上がりランキング"}) |
---|
122 | ({if $data.is_image && !$smarty.const.CHECK_IMG_AUTH}) |
---|
123 | <div class="box PatternF"> |
---|
124 | <div class="ttl"><h2>({$title})</h2></div> |
---|
125 | <div class="innerBox"> |
---|
126 | ({if $data.contents}) |
---|
127 | <ul> |
---|
128 | ({foreach name=access_ranking key=key from=$data.contents item=item}) |
---|
129 | ({foreach name=access_ranking_item from=$item item=item1}) |
---|
130 | <li> |
---|
131 | <span><img src="({t_img_url filename=$item1.c_commu.image_filename w=76 h=76 noimg=no_logo_small})" alt="({$item.commu_name})" /></span> |
---|
132 | <dl> |
---|
133 | <dt>({$key})位</dt> |
---|
134 | <dd>({$item1.c_commu.name}) (書き込み({$item1.count|number_format})件)</dd> |
---|
135 | </dl> |
---|
136 | </li> |
---|
137 | ({/foreach}) |
---|
138 | ({/foreach}) |
---|
139 | </ul> |
---|
140 | ({else}) |
---|
141 | <ul> |
---|
142 | <li> </li> |
---|
143 | </ul> |
---|
144 | ({/if}) |
---|
145 | </div> |
---|
146 | </div> |
---|
147 | ({else}) |
---|
148 | <div class="box PatternB"> |
---|
149 | <div class="ttl"><h2>({$title})</h2></div> |
---|
150 | <div class="innerBox"> |
---|
151 | ({if $data.contents}) |
---|
152 | <dl> |
---|
153 | ({foreach name=access_ranking key=key from=$data.contents item=item}) |
---|
154 | ({foreach name=access_ranking_item from=$item item=item1}) |
---|
155 | <dt>({$key})位</dt> |
---|
156 | <dd>({$item1.c_commu.name}) (書き込み({$item1.count|number_format})件)</dd> |
---|
157 | ({/foreach}) |
---|
158 | ({/foreach}) |
---|
159 | </dl> |
---|
160 | ({else}) |
---|
161 | <dl> |
---|
162 | <dt> </dt> |
---|
163 | <dd> </dd> |
---|
164 | </dl> |
---|
165 | ({/if}) |
---|
166 | </div> |
---|
167 | </div> |
---|
168 | ({/if}) |
---|
169 | ({elseif $data.kind eq PORTAL_LAYOUT_EVENT}) |
---|
170 | ({assign var="title" value="イベント予定"}) |
---|
171 | <div class="box PatternA"> |
---|
172 | <div class="ttl"><h2>({$title})</h2></div> |
---|
173 | <div class="innerBox"> |
---|
174 | ({if $data.contents}) |
---|
175 | <dl> |
---|
176 | ({foreach from=$data.contents item=item}) |
---|
177 | <dt>({$item.open_date|date_format:"%m/%d"})</dt> |
---|
178 | <dd>({$item.event_name}) (({$item.community_name}))</dd> |
---|
179 | ({/foreach}) |
---|
180 | </dl> |
---|
181 | ({else}) |
---|
182 | <dl> |
---|
183 | <dt> </dt> |
---|
184 | <dd> </dd> |
---|
185 | </dl> |
---|
186 | ({/if}) |
---|
187 | </div> |
---|
188 | </div> |
---|
189 | ({elseif $data.kind eq PORTAL_LAYOUT_RSS1 || $data.kind eq PORTAL_LAYOUT_RSS2 || $data.kind eq PORTAL_LAYOUT_RSS3 || $data.kind eq PORTAL_LAYOUT_RSS4 || $data.kind eq PORTAL_LAYOUT_RSS5}) |
---|
190 | ({if $data.contents}) |
---|
191 | ({if $data.is_image}) |
---|
192 | <div class="box PatternF"> |
---|
193 | <div class="ttl"><h2>({$data.contents[0]})</h2></div> |
---|
194 | <div class="innerBox"> |
---|
195 | <ul> |
---|
196 | ({section name=rss loop=$data.contents[1] max="5"}) |
---|
197 | <li> |
---|
198 | <span> |
---|
199 | ({if $data.contents[1][rss].image_url}) |
---|
200 | <img src="({$data.contents[1][rss].image_url})" width="76" /> |
---|
201 | ({else}) |
---|
202 | <img src="({t_img_url_skin filename=no_logo_small})" width="76" height="76" /> |
---|
203 | ({/if}) |
---|
204 | </span> |
---|
205 | <dl> |
---|
206 | <dt>({$data.contents[1][rss].date|date_format:"%m/%d %H:%M"})</dt> |
---|
207 | <dd><a href="({$data.contents[1][rss].link})" target="_blank">({$data.contents[1][rss].title})</a></dd> |
---|
208 | </dl> |
---|
209 | </li> |
---|
210 | ({/section}) |
---|
211 | </ul> |
---|
212 | </div> |
---|
213 | </div> |
---|
214 | ({else}) |
---|
215 | <div class="box PatternD"> |
---|
216 | <div class="ttl"><h2>({$data.contents[0]})</h2></div> |
---|
217 | <div class="innerBox"> |
---|
218 | <dl> |
---|
219 | ({section name=rss loop=$data.contents[1] max="5"}) |
---|
220 | <dt>({$data.contents[1][rss].date|date_format:"%m/%d %H:%M"})</dt> |
---|
221 | <dd><a href="({$data.contents[1][rss].link})" target="_blank">({$data.contents[1][rss].title})</a></dd> |
---|
222 | ({/section}) |
---|
223 | </dl> |
---|
224 | </div> |
---|
225 | </div> |
---|
226 | ({/if}) |
---|
227 | ({else}) |
---|
228 | <div class="box PatternE"> |
---|
229 | <div class="ttl"><h2>RSSリーダー</h2></div> |
---|
230 | <div class="innerBox"> |
---|
231 | <div class="freeArea">RSSが取得できませんでした。</div> |
---|
232 | </div> |
---|
233 | </div> |
---|
234 | ({/if}) |
---|
235 | ({elseif $data.kind eq PORTAL_LAYOUT_FREE1 || $data.kind eq PORTAL_LAYOUT_FREE2 || $data.kind eq PORTAL_LAYOUT_FREE3 || $data.kind eq PORTAL_LAYOUT_FREE4 || $data.kind eq PORTAL_LAYOUT_FREE5}) |
---|
236 | <div class="box PatternC"> |
---|
237 | ({if $data.contents}) |
---|
238 | ({$data.contents|smarty:nodefaults|t_url2cmd:"":"":0|t_cmd}) |
---|
239 | ({else}) |
---|
240 | <br /> |
---|
241 | ({/if}) |
---|
242 | </div> |
---|
243 | ({elseif $data.kind == PORTAL_LAYOUT_LINK}) |
---|
244 | ({assign var="title" value="リンク集"}) |
---|
245 | <div class="box PatternG"> |
---|
246 | <div class="ttl"><h2>({$title})</h2></div> |
---|
247 | <div class="innerBox"> |
---|
248 | ({if $data.contents}) |
---|
249 | <ul> |
---|
250 | ({foreach from=$data.contents item=item}) |
---|
251 | <li><a href="({$item.url})"({if $item.is_target_blank}) target="_blank"({/if})>({$item.title})</a></li> |
---|
252 | ({/foreach}) |
---|
253 | </ul> |
---|
254 | ({else}) |
---|
255 | <dl> |
---|
256 | <dt> </dt> |
---|
257 | <dd> </dd> |
---|
258 | </dl> |
---|
259 | ({/if}) |
---|
260 | </div> |
---|
261 | </div> |
---|
262 | ({/if}) |
---|