コード例 #1
0
                <div class="idle-search">
                    <form method="post" action="newlookup.php" name="search" target="_top">
                        <input class="input-search" name="query" type="text" value placeholder="搜闲置" autocomplete="off">
                        <button class="btn-search" type="submit">
                            <i class="glyphicon glyphicon-search"></i>
                        </button>
                    </form>
                </div>
            </div>

        </div>
    </div>
</header>
<?php 
require 'recommand.php';
$results = Recommand::searchResult();
$result = $results[0];
$result1 = $results[1];
$result2 = $results[2];
?>
<div class="main">
    <ul style="border-top: 1px dotted #eee;" class="list-ad-items">
        <?php 
while ($row = mysql_fetch_array($result)) {
    ?>
            <li class="listing-cpm-ad search-promote item-pinned seen">
                <a href="shangpinye.php?id=<?php 
    echo $row['id'];
    ?>
&table=book1" target="_blank" class="media-cap">
                    <img src="<?php