} ?> </ul> </div> <!-- 搜索框 --> <div class="search-bar"> <form action="__APP__/search/" method="get" class="search-form"> <input type="hidden" value="mobilecontent" name="channel"> <input type="text" name="kw" class="search-txt" value=""> <i class="search-icon"></i> <input type="submit" class="search-btn" value=""> <div id="selectWrap" class="selectWrap"> <select name ="type"> <option value="" >全部</option> <?php $allCategory = CategoryNamespace::getAllCategory(true); foreach ($allCategory as $key => $value) { ?> <option <?php if ($this->category['id'] == $value['id']) { ?> selected<?php } ?> value="<?php echo $value['id']; ?> " ><?php echo $value['name']; ?> </option>
echo $v['title']; ?> " > <?php } ?> <i><?php echo $v['title']; ?> </i> </a> </div> </div> <?php } } ?> </ul> </div> <?php $this->load('Public/list/search.php', array('type_id' => $this->category['id'], 'type_name' => 'category', 'type' => CategoryNamespace::getAllCategory(true))); ?> <div class="page"> <?php echo $this->page; ?> </div> <?php $this->load('footer/footer.php'); ?> </body></html>