1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
|
| <{php}>
$brands = array('Alcone','Alpine','AltecLansing','Aura','Aurum','BontonAcoustic','Celestion','Coral','Daito','Dayton','Davis','Dinaudio','ElectroVoice','Eton',15=>'Focal',16=>'Fostex','Hi-Vi','Infinity','Infinity','JBL','KEF','Kenwood','Leed','MacAudio','Morel','Onkyo','ParcAudio','Peerless','Phillips','Pioneer','Scan-Speak','Seas','TangBand','Tannoy','Technics','Thiel','VIFA','Yamaha') ;
$type = array('Corn','Flat','Horn','Dome','Ribbon','RingRadiator','HornDriver','その他');
$size = array('その他','01','02','02.5','02.8','03','04','05','06','07','08','10','12','13','14','15','16','17','18','20','22','25','28','30','35','40','50','60','70','80');
$imp = array('2','4','6','8','16','その他');
$magnet = array('フェライト(外磁)','アルニコ(内磁)','リパルジョン(防磁)','ネオジウム','その他','不明');
$this->assign( 'brands',$brands );
$this->assign( 'type',$type );
$this->assign( 'size',$size );
$this->assign( 'imp',$imp );
$this->assign( 'magnet',$magnet );
<{/php}>
<div class="pico_container" id="<{$mydirname}>_container">
<{include file="db:`$mydirname`_inc_breadcrumbs.html"}>
<div class="pico_controllers">
<a href="<{$mod_url}>/index.php?page=menu">[<{$smarty.const._MD_PICO_MENU}>]</a>
<{if $category.isadminormod}>
<a href="<{$mod_url}>/index.php?page=categorymanager&cat_id=<{$category.id}>">[<{$smarty.const._MD_PICO_LINK_EDITCATEGORY}>]</a>
<{/if}>
<{if $xoops_isadmin}>
<a href="<{$mod_url}>/admin/index.php?page=category_access&cat_id=<{$category.id}>">[<{$smarty.const._MD_PICO_LINK_CATEGORYPERMISSIONS}>]</a>
<{/if}>
<{if $xoops_isadmin}>
<a href="<{$mod_url}>/admin/index.php?page=contents&cat_id=<{$category.id}>">[<{$smarty.const._MD_PICO_LINK_BATCHCONTENTS}>]</a>
<{/if}>
<{if $category.can_makesubcategory}>
<a href="<{$mod_url}>/index.php?page=makecategory&pid=<{$category.id}>">[<{$smarty.const._MD_PICO_LINK_MAKESUBCATEGORY}>]</a>
<{/if}>
<{if $category.can_post}>
<a href="<{$mod_url}>/index.php?page=makecontent&cat_id=<{$category.id}>&ret=mc<{$category.id}>">[<{$smarty.const._MD_PICO_LINK_MAKECONTENT}>]</a>
<{/if}>
<a href="<{$mod_url}>/index.php?page=rss&cat_id=<{$category.id}>">[RSS]</a>
</div>
<{if $category.id == 0}><p><{$mod_config.top_message}></p><{/if}>
<h1><{$category.title}></h1>
<{if $category.isadminormod}>
<p>
<{$smarty.const._MD_PICO_CONTENTS_TOTAL}>:<{$category.redundants.contents_total}>
<{$smarty.const._MD_PICO_SUBCATEGORIES_TOTAL}>:<{$category.redundants.subcategories_total}>
</p>
<{/if}>
<p><{$category.desc}></p>
<{if $subcategories}>
<h2><{$smarty.const._MD_PICO_SUBCATEGORIES}></h2>
<{foreach from=$subcategories item="subcategory"}>
<dl class="pico_subcategory">
<dt>
<a href="<{$mod_url}>/<{$subcategory.link}>"><{$subcategory.title}></a>
<{if $category.isadminormod}>
<{$smarty.const._MD_PICO_CONTENTS_TOTAL}>:<{$subcategory.redundants.contents_total}>
<{$smarty.const._MD_PICO_SUBCATEGORIES_TOTAL}>:<{$subcategory.redundants.subcategories_total}>
<{/if}>
</dt>
<dd>
<{$subcategory.desc}>
</dd>
</dl>
<{/foreach}>
<{/if}>
<{if $contents}>
<h2><{$smarty.const._MD_PICO_CONTENTS}></h2>
<{if $category.depth_in_tree==1}>
<{foreach from=$contents item="content"}>
<a href="<{$mod_url}>/<{$content.link}>">
<{if $content.public}>
<{$content.subject}>
<{elseif $category.isadminormod}>
<em class="pico_notice"><{$content.subject}></em>
<{if ! $content.approval}>
(<{$content.poster_uname}> <{$content.created_time_formatted}> )
<{/if}>
<{/if}>
</a>
<{if $category.can_edit}>
<a href="<{$mod_url}>/index.php?page=contentmanager&content_id=<{$content.id}>&ret=mc<{$category.id}>"><img src="<{$mod_imageurl}>/icon_edit.gif" alt="<{$smarty.const._MD_PICO_LINK_EDITCONTENT}>" /></a>
<{/if}>
<{/foreach}>
<{else}>
<table>
<tr><th>ブランド</th><th>型式</th><th>公称口径(cm)</th><th>インピーダンス(Ω)</th><th>fo(Hz)</th><th>再生周波数帯域</th><th>音圧レベル(dB/W)</th><th>入力定格/music(W)</th><th>標準価格(税抜)</th>
<{foreach from=$contents item="content"}>
<{* unserialize *}>
<{assign var="ef" value=$content.extra_fields|unserialize}>
<{assign var="content_display" value=false}>
<{if $smarty.get.and_query==1}>
<{if (! $smarty.get.brand && ! $smarty.get.size && ! $smarty.get.type && ! $smarty.get.imp && ! $smarty.get.magnet) || (!$smarty.get.brand || ($smarty.get.brand && $smarty.get.brand==$ef.brand|escape)) && (!$smarty.get.type || ($smarty.get.type && $smarty.get.type==$ef.type|escape)) && (!$smarty.get.size || ($smarty.get.size && $smarty.get.size==$ef.size|escape)) && (!$smarty.get.imp || ($smarty.get.imp && $smarty.get.imp==$ef.imp|escape)) && (!$smarty.get.magnet || ($smarty.get.magnet && $smarty.get.magnet==$ef.magnet|escape))}>
<{assign var="content_display" value=true}>
<{/if}>
<{else}>
<{if (! $smarty.get.brand && ! $smarty.get.size && ! $smarty.get.type && ! $smarty.get.imp && ! $smarty.get.magnet) || ($smarty.get.brand && $smarty.get.brand==$ef.brand|escape) || ($smarty.get.type && $smarty.get.type==$ef.type|escape) || ($smarty.get.size && $smarty.get.size==$ef.size|escape) || ($smarty.get.imp && $smarty.get.imp==$ef.imp|escape) || ($smarty.get.magnet && $smarty.get.magnet==$ef.magnet|escape)}>
<{assign var="content_display" value=true}>
<{/if}>
<{/if}>
<{if ($content_display=="true")}>
<tr><td><a href="<{$mod_url}>/<{$content.link}>">
<{if $content.public}>
<{$content.subject}>
<{elseif $category.isadminormod}>
<em class="pico_notice"><{$content.subject}></em>
<{if ! $content.approval}>
(<{$content.poster_uname}> <{$content.created_time_formatted}> )
<{/if}>
<{/if}>
</a>
<{if $category.can_edit}>
<a href="<{$mod_url}>/index.php?page=contentmanager&content_id=<{$content.id}>&ret=mc<{$category.id}>"><img src="<{$mod_imageurl}>/icon_edit.gif" alt="<{$smarty.const._MD_PICO_LINK_EDITCONTENT}>" /></a>
<{/if}>
</td>
<td> <a href="<{$mod_url}>/index.php?cat_id=<{$category.id}>&brand=<{$ef.brand|escape}>"><{$ef.brand|escape}></a></td>
<td><a href="<{$mod_url}>/index.php?cat_id=<{$category.id}>&size=<{$ef.size|escape}>"><{$ef.size|escape}></a></td>
<td><a href="<{$mod_url}>/index.php?cat_id=<{$category.id}>&imp=<{$ef.imp|escape}>"><{$ef.imp|escape}></a></td>
<td><{$ef.f0|escape}></td>
<td><{$ef.range|escape}></td>
<td><{$ef.spl|escape}></td>
<td><{$ef.pwr|escape}></td>
<td><{$ef.price|escape}></td>
</tr>
<{/if}>
<{/foreach}>
</table>
<{/if}>
<{/if}>
<{if $category.id == 0}>
<h2>検索</h2>
<form name="or_query" action="./index.php" method="get" >
<ul>
<li><{$smarty.const._MD_PICO_SUBCATEGORIES}>
<select name="cat_id" id="cat_id">
<{foreach from=$subcategories item="subcategory"}>
<option value=<{$subcategory.id}>><{$subcategory.title}></option>
<{/foreach}>
</select>
※<font color="red">選択必須</font>
</li>
<p>絞込み方法 「and」検索を選択しなければ、「or」検索になります。<br />
<input type="checkbox" name="and_query" id="and_query" value="1" checked="checked" /> <label for="and_query">「and」検索</label>
</p>
<p>以下、検索項目</p>
<li>ブランド:<select id="brand" name="brand"><option value="" selected="selected">未選択</option>
<{foreach from=$brands item=brand}>
<option value="<{$brand}>"><{$brand}></option>
<{/foreach}>
</select>
</li>
<li>タイプ:<select id="type" name="type"><option value="" selected="selected">未選択</option>
<{foreach from=$type item=type}>
<option value="<{$type}>"><{$type}></option>
<{/foreach}>
</select>
</li>
<li>口径(cm):<select id="size" name="size"><option value="" selected="selected">未選択</option>
<{foreach from=$size item=size}>
<option value="<{$size}>"><{$size}></option>
<{/foreach}>
</select>
</li>
<li>インピーダンス(Ω):<select id="imp" name="imp"><option value="" selected="selected">未選択</option>
<{foreach from=$imp item=imp}>
<option value="<{$imp}>"><{$imp}></option>
<{/foreach}>
</select>
</li>
<li>磁気回路:<select id="magnet" name="magnet"><option value="" selected="selected">未選択</option>
<{foreach from=$magnet item=magnet}>
<option value="<{$magnet}>"><{$magnet}></option>
<{/foreach}>
</select>
</li>
<input type="submit" value="送信" />
</ul>
</form>
<{/if}>
<hr class="notification" />
<{include file='db:system_notification_select.html'}>
</div>
|