-
Notifications
You must be signed in to change notification settings - Fork 0
/
epi.rhtml
20 lines (20 loc) · 1.02 KB
/
epi.rhtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div class="cinii_search">
<div class="cinii_headline">
<strong><%=h data[:q] %>
<span class="additional_keywords"><%=h data[ :additional_keywords ].join("\n") %></span></strong>
<a class="cinii" href="<%=h data[:link] %>"><img src="./epi.png" alt="[EPI]" title="教育研究論文索引 検索"></a>
<%=h data[ :totalResults ] %>件中
<%=h data[ :count ] * data[ :page ] + 1 %>
- <%=h data[ :page ] * data[ :count ] + data[ :count ] %>件目・・
検索にかかった時間<%= sprintf( '%.02f', data[ :searchTime ] ) %>秒
</div>
<ol start="<%=h data[:count] * data[:page] + 1 %>">
<% data[ :entries ][ data[:count] * data[:page], data[:count] ].each do |entry| %>
<li><div class="cinii_title"><a href="<%=h entry[:url] %>"><%=h entry[:title] %></a></div>
<div class="cinii_author"><%=h entry[ :author ] %></div>
<%= [ :publicationName, :publicationDate ].select{|e| entry[e] }.map{|e| "<span class=\"cinii_#{ e }\">#{ CGI.escapeHTML entry[e] }</span>" }.join(",\n") %>
<% end %>
</ol>
<div class="cinii_frame"></div>
</div>