Real Estate Listings

Additional photos

For Rent $250000


Property Type

Town Home

5 bd / 2.50 ba / 3500 sqt / 18001 lot

Year built:

2016

Address:

2222 W First St, Phoenix, AZ 85048

Description:

Wonderful Ranch style home with beautiful Stone exterior is certain to impress. Living room opens to dining room with built in China cabinet. Hardwood floors throughout. 3 bedrooms all with nice size closets. Basement offers finished recreation room, workshop, 2 storage rooms and spacious laundry area. New roof, sump pump and hot water tank. Newer storm doors. New tub surround in bathroom. Updated electrical box. Fresh paint. Chimney rebuilt in 2018. Fenced yard. Great location close to freeways, shopping, schools and walking distance to Brooklyn Recreation Center with an indoor swimming pool, skating rink and exercise rooms. No neighbors behind this property as it backs to green space of city recreation center. Don't miss.

Listing Agent

Jay Thomas

jay@agent.com

(601)132-3322

Page source code

<?php
ini_set
('display_errors'1);
ini_set('display_startup_errors'1);
error_reporting(E_ALL);

use 
phpCtrl\C_DataBase;

$prop_id $_GET['id'] ?? 0;

$_GET['currentPage'] = 'home';

require_once(
"phpGrid/conf.php");  
include_once(
'inc/head.php');
include_once(
'inc/menu.php');


$db = new C_DataBase(PHPGRID_DB_HOSTNAMEPHPGRID_DB_USERNAMEPHPGRID_DB_PASSWORDPHPGRID_DB_NAME);
$result $db->db_query("select l.*, l.description as listing_description, 
                            img.*, 
                            lt.type as list_type, 
                            pt.type as prop_type, 
                            a.*, a.first_name as agent_fn, a.last_name as agent_ln, a.email as agent_email, a.phone as agent_phone 
                            from listing l 
                            inner join image img ON img.id = l.main_photo_id
                            inner join listing_type lt ON lt.id = l.listing_type_id 
                            inner join property_type pt ON pt.id = property_type_id 
                            inner join account a ON a.id = l.agent_id
                            WHERE l.id = ? "
, [$prop_id]);

$row $db->fetch_array_assoc($result);
?>

<div class="row">
    <div class="column half">
        <div class="card">
            <img src="<?= $row['url'?>" width="70%" />
            <div>
                <p>Additional photos</p>
                <?php
                $result 
$db->db_query('select * from listing l inner join image img ON img.listing_id = l.id WHERE l.id = ?', [$prop_id]);

                while(
$imgs $db->fetch_array_assoc($result)) {
                    echo 
" <img src='"$imgs['url'] ."' width='100' height='75'> ";
                }
                
?>

            </div>
        </div>
    </div>

    <div class="column half">
        <div class="card left">
            <h1> <?= $row['list_type'?> $<?= $row['asking_price'?></h1>
            <br />
            <p><h3>Property Type</h3><?= $row['prop_type'?></p>
            <p><?= $row['bedrooms'?> bd / <?= $row['bath'?> ba / <?= $row['area'?> sqt / <?= $row['lot'?> lot</p>
            <p><h3>Year built:</h3> <?= $row['year'?></p>
            <p><h3>Address:</h3> <?= $row['street1'?><?= $row['city'?><?= $row['state'?> <?= $row['zip'?></p>
            <p><h3>Description:</h3><?= $row['listing_description']; ?></p>
        </div>
    </div>

    <div class="column half">
        <div class="card">
            <h2>Listing Agent</h2>
            <img src="assets/agent_photos/<?= $row['photo'?>" width="100" />
            <p><?= $row['agent_fn'?> <?= $row['agent_ln'?></p>
            <p><a href="mailto:<?= $row['agent_email'?>"><?= $row['agent_email'?></a></p>
            <p><?= $row['agent_phone'?></p>
        </div>
    </div>

    <div class="column half">
        <div class="card left">
        <iframe width="600" height="500" id="gmap_canvas" src="https://maps.google.com/maps?q=<?= urlencode($row['street1'] ." "$row['city'] ." "$row['state'] ." "$row['zip']) ?>&t=&z=13&ie=UTF8&iwloc=&output=embed" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe>
        </div>
    </div>
</div>


<?php
include_once('inc/footer.php');
?>