Location: PHPKode > projects > Craigslist Classfieds PHP Clone Script > classifieds/index.php
<?php

    include("Db.php");

    include("URLs.php");

    include("classes/Popular.php");

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">



<head>

	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />



	<title>Classifieds</title>

</head>



<body>



<h1>Popular US Cities</h1>



<?php



    $popularCities = new Popular('City', 8, 1);

?>



<h1>Popular US States</h1>



<?php

    // only list states, get 1 only, country code

    $popularStates = new Popular('State', 8, 1);

?>



<h1>Popular Countries</h1>



<?php

    $popularCountries = new Popular('Country', 8);

?>



<br />



<a href="register.php" title="Sign-Up">Register</a><br />

<a href="login.php" title="Login">Login</a><br />

<a href="myaccount.php" title="My Account">My Account</a><br />

<a href="logout.php" title="Log Out">Log Out</a><br />





</body>

</html>
Return current item: Craigslist Classfieds PHP Clone Script