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

Changeset 6203


Ignore:
Timestamp:
Mar 31, 2008, 4:11:17 PM (13 years ago)
Author:
nakasone
Message:

#1932:h_com_find_all.tpl の searchFormBox(検索フォームボックス)をXHTML+CSS化した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/pc/templates/h_com_find_all.tpl

    r6014 r6203  
    55
    66({* {{{ searchFormBox *})
    7 ({* #1932 *})<div class="dparts searchFormBox"><div class="parts">
    8 ({* #1932 *})<div class="partsHeading"><h3>コミュニティ検索・並び替え</h3></div>
    9 ({* #1932 *})<table>
    10 ({* #1932 *})<tr>
    11 ({* #1932 *})<td style="width:560px;padding:10px;" class="bg_02" align="left" valign="middle">
    12 ({* #1932 *})<div style="padding:4px 3px;">
    13 ({* #1932 *})
    14 ({* #1932 *})({t_form_block _method=get m=pc a=page_h_com_find_all})
    15 ({* #1932 *})並び替え<img src="({t_img_url_skin filename=icon_arrow_2})" alt="" />
    16 ({* #1932 *})<a href="({t_url m=pc a=page_h_com_find_all})&amp;val_order=count&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$search_val_list.category_id})">メンバー数順</a>
    17 ({* #1932 *})|
    18 ({* #1932 *})<a href="({t_url m=pc a=page_h_com_find_all})&amp;val_order=r_datetime&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$search_val_list.category_id})">作成日順</a>
    19 ({* #1932 *})<br />
    20 ({* #1932 *})キーワード<img src="({t_img_url_skin filename=icon_arrow_2})" alt="" />
    21 ({* #1932 *})<input type="text" class="input_text" name="keyword" value="({$keyword})" size="15" />
    22 ({* #1932 *})&nbsp;カテゴリ<img src="({t_img_url_skin filename=icon_arrow_2})" alt="" />
    23 ({* #1932 *})<select name="category_id">
    24 ({* #1932 *})<option value="0">指定なし</option>
    25 ({* #1932 *})({foreach from=$c_commu_category_list item=parent})
    26 ({* #1932 *})({foreach from=$parent item=item})
    27 ({* #1932 *})<option value="({$item.c_commu_category_id})"({if $item.c_commu_category_id == $search_val_list.category_id}) selected="selected"({/if})>({$item.name})</option>
    28 ({* #1932 *})({/foreach})
    29 ({* #1932 *})({/foreach})
    30 ({* #1932 *})</select>
    31 ({* #1932 *})<input type="submit" class="input_submit" value=" 検 索 " />
    32 ({* #1932 *})({/t_form_block})
    33 ({* #1932 *})
    34 ({* #1932 *})<div style="text-align:left;padding:3px;padding-left:160px;">
    35 ({* #1932 *})<img src="./skin/dummy.gif" alt="dummy" class="icon arrow_1" /><a href="({t_url m=pc a=page_h_com_add})">新規作成</a>&nbsp;(作成の前に、似たコミュニティがないかご確認ください)&nbsp;&nbsp;
    36 ({* #1932 *})</div>
    37 ({* #1932 *})<div style="text-align:left;padding:3px;padding-left:160px;">
    38 ({* #1932 *})<img src="./skin/dummy.gif" alt="dummy" class="icon arrow_1" /><a href="({t_url m=pc a=page_h_com_topic_find_all})">トピック検索</a>
    39 ({* #1932 *})</div>
    40 ({* #1932 *})
    41 ({* #1932 *})<hr />
    42 ({* #1932 *})
    43 ({* #1932 *})カテゴリ<img src="({t_img_url_skin filename=icon_arrow_2})" alt="" />
    44 ({* #1932 *})<table border="0" cellspacing="0" cellpadding="0" style="width:532px;">
    45 ({* #1932 *})({foreach from=$c_commu_category_parent_list item=item_parent})
    46 ({* #1932 *})<tr>
    47 ({* #1932 *})<td style="width:70px;border:none;" valign="top">
    48 ({* #1932 *})<div style="text-align:left;padding:3px;" class="b_b">
    49 ({* #1932 *})({$item_parent.name})
    50 ({* #1932 *})</div>
    51 ({* #1932 *})</td>
    52 ({* #1932 *})<td style="width:1em;border:none;" align="center" valign="top">
    53 ({* #1932 *})<div style="text-align:left;padding:3px;">:</div>
    54 ({* #1932 *})</td>
    55 ({* #1932 *})<td style="border:none;" valign="top">
    56 ({* #1932 *})<div style="text-align:left;padding:3px;">
    57 ({* #1932 *})({foreach name=cccl from=$c_commu_category_list[$item_parent.c_commu_category_parent_id] item=item_cat})
    58 ({* #1932 *})<a href="({t_url m=pc a=page_h_com_find_all})&amp;order=r_datetime&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$item_cat.c_commu_category_id})">({$item_cat.name})(({$item_cat.count_commu_category}))</a>
    59 ({* #1932 *})({if !$smarty.foreach.cccl.last}) - ({/if})
    60 ({* #1932 *})({/foreach})
    61 ({* #1932 *})</div>
    62 ({* #1932 *})</td>
    63 ({* #1932 *})</tr>
    64 ({* #1932 *})({/foreach})
    65 ({* #1932 *})</table>
    66 ({* #1932 *})
    67 ({* #1932 *})</div>
    68 ({* #1932 *})</td>
    69 ({* #1932 *})</tr>
    70 ({* #1932 *})</table>
    71 ({* #1932 *})</div></div>
     7<div class="dparts searchFormBox"><div class="parts">
     8<div class="partsHeading"><h3>コミュニティ検索・並び替え</h3></div>
     9<div class="item">
     10
     11({t_form_block _method=get m=pc a=page_h_com_find_all})
     12<p class="form">
     13<span class="label">並び替え</span>
     14<a href="({t_url m=pc a=page_h_com_find_all})&amp;val_order=count&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$search_val_list.category_id})">メンバー数順</a>
     15|
     16<a href="({t_url m=pc a=page_h_com_find_all})&amp;val_order=r_datetime&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$search_val_list.category_id})">作成日順</a>
     17</p>
     18
     19<p class="form">
     20<label for="keyword">キーワード</label>
     21<input type="text" class="input_text" name="keyword" id="keyword" value="({$keyword})" size="15" />
     22<label for="category_id">カテゴリ</label>
     23<select name="category_id" id="category_id">
     24<option value="0">指定なし</option>
     25({foreach from=$c_commu_category_list item=parent})
     26({foreach from=$parent item=item})
     27<option value="({$item.c_commu_category_id})"({if $item.c_commu_category_id == $search_val_list.category_id}) selected="selected"({/if})>({$item.name})</option>
     28({/foreach})
     29({/foreach})
     30</select>
     31<input type="submit" class="input_submit" value=" 検 索 " />
     32</p>
     33({/t_form_block})
     34
     35<ul class="moreInfo">
     36<li><a href="({t_url m=pc a=page_h_com_add})">新規作成</a>(作成の前に、似たコミュニティがないかご確認ください)</li>
     37<li><a href="({t_url m=pc a=page_h_com_topic_find_all})">トピック検索</a></li>
     38</ul>
     39
     40<div class="block">
     41<dl class="categories">
     42<dt><span class="label">カテゴリ</span></dt>
     43<dd>
     44<dl class="category">
     45<dt><span>
     46({foreach from=$c_commu_category_parent_list item=item_parent})
     47({$item_parent.name})
     48({/foreach})
     49</span></dt>
     50<dd><p>
     51({foreach name=cccl from=$c_commu_category_list[$item_parent.c_commu_category_parent_id] item=item_cat})
     52<a href="({t_url m=pc a=page_h_com_find_all})&amp;order=r_datetime&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;category_id=({$item_cat.c_commu_category_id})">({$item_cat.name})(({$item_cat.count_commu_category}))</a>
     53({if !$smarty.foreach.cccl.last}) - ({/if})
     54({/foreach})
     55</p></dd>
     56</dl>
     57</dd>
     58</dl>
     59</div>
     60
     61</div>
     62</div></div>
    7263({* }}} *})
    7364
Note: See TracChangeset for help on using the changeset viewer.