예제 #1
0
?>

<ul class="nav nav-tabs">
    <li class='active'><a data-toggle="tab" href='#recent'>Recent Listings</a></li>
    <li><a data-toggle="tab" href='#new'>New Listings <?php 
echo new_listing_count($category);
?>
</a></li>

</ul>

<div id="my-tab-content" class="tab-content">

    <div class="tab-pane active" id="recent">
        <?php 
recent_listings(0);
?>
    </div>
    <div class="tab-pane" id="new">
        <?php 
new_listings();
?>
    </div>
</div>


</div>



예제 #2
0
    decline_listing($_GET['declineid']);
}
?>

    <div class='col-12'>

    <h1>Listings for <?php 
echo categoryName($category);
?>
</h1> 

    <div id="my-tab-content" class="tab-content">

	<div class="tab-pane active" id="recent">
	    <?php 
recent_listings($category);
?>
	</div>
    </div>


    </div>
</div>

<script type="text/javascript">

function makesure() {
    if (confirm("Are you sure you wish to remove this listing?")) {
        return true;
    }
    else {