Exemplo n.º 1
0
<?php

include '../base.php';
if (!isset($_POST['keyword'])) {
    header("location: /app/user/index.php");
    exit;
}
$keyword = strip_tags($_REQUEST['keyword']);
//过滤标签
$unuses = Model\OwnedThing::search($keyword);
$requires = Model\DemandThing::search($keyword);
$users = Model\User::search($keyword);
?>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>查找 <?php 
echo $keyword;
?>
</title>
<?php 
echo View\Home::$styles . "\n";
?>
</head>

<body>
<?php 
echo View\Home::getNav();
?>
	<div class="accordion" id="searchResult" style="width: 800px; margin: 0 auto; ">