ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE/branches/work/asano/pne_album/webapp/modules/pc/templates/h_album_search.tpl @ 6363

Last change on this file since 6363 was 6363, checked in by cybaron, 13 years ago

h_album_search 機能作成
・残:xhtml+css化

File size: 2.8 KB
Line 
1
2<div id="LayoutC">
3<div id="Center">
4
5({* {{{ searchFormLine *})
6<div class="parts searchFormLine">
7({t_form_block _method=get m=pc a=page_h_album_search})
8<ul>
9<li><img src="({t_img_url_skin filename=icon_search})" alt="search" /></li>
10<li><input type="text" class="input_text" name="keyword" value="({$keyword})" size="30" /></li>
11<li><input type="submit" class="input_submit" value="アルバム検索" /></li>
12</ul>
13({/t_form_block})
14</div>
15({* }}} *})
16
17
18<div class="dparts searchResultList"><div class="parts">
19({if $keyword})
20<div class="partsHeading"><h3>アルバム検索結果一覧</h3><p>*** ({$album_list_count})件が該当しました。</p></div>
21({else})
22<div class="partsHeading"><h3>最新アルバム一覧</h3></div>
23({/if})
24
25<div class="pagerRelative">
26({if $is_prev})<p class="prev"><a href="({t_url m=pc a=page_h_album_search})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=-1">前を表示</a></p>({/if})
27<p class="number">({$pager.start})件~({$pager.end})件を表示</p>
28({if $is_next})<p class="next">&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_album_search})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=1">次を表示</a></p>({/if})
29</div>
30
31
32<div class="block">
33({foreach from=$target_album_list item=album})
34<div class="ditem"><div class="item"><table><tr>
35<td class="photo" rowspan="4"><a href="({t_url m=pc a=page_fh_album})&amp;target_c_album_id=({$album.c_album_id})"><img src="({t_img_album_url filename=$album.album_cover_image w=180 h=180 noimg=no_image})" alt="" /></a></td>
36<th>ニックネーム</th><td>({$album.c_member.nickname})</td>
37</tr><tr>
38<th>タイトル</th><td>({$album.subject})</td>
39</tr><tr>
40<th>説明</th><td>({$album.description|t_truncate:300:"":3})</td>
41</tr><tr>
42<th>作成日時</th><td class="operation"><span class="text">({$album.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})</span> <span class="moreInfo"><a href="({t_url m=pc a=page_fh_album})&amp;target_c_album_id=({$album.c_album_id})"><img src="({t_img_url_skin filename=button_shosai})" alt="詳細を見る" /></a></span></td>
43</tr></table></div></div>
44({/foreach})
45</div><!-- block -->
46
47
48
49
50<div class="pagerRelative">
51({if $is_prev})<p class="prev"><a href="({t_url m=pc a=page_h_album_search})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=-1">前を表示</a></p>({/if})
52<p class="number">({$pager.start})件~({$pager.end})件を表示</p>
53({if $is_next})<p class="next">&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_album_search})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=1">次を表示</a></p>({/if})
54</div>
55
56</div><!-- parts -->
57</div><!-- dparts searchResultList -->
58
59
60</div><!-- Center -->
61</div><!-- LayoutC -->
Note: See TracBrowser for help on using the repository browser.