} if (!empty($data2['result'])) { ?> <hr /> <h3><?php echo $pageTitle2; ?> </h3> <div class="row" style="font-size:11px;"> <div class="col-lg-12"> <div class="togglediv" style="display: block;"> <?php foreach ($data2['result'] as $k => $v) { $details = json_decode($v['details'], 1); $url = makecityurl($v['cty_id'], $v['name']) . '/lawyers/detail?id=' . $v['record_id']; ?> <div class="tile mb20 mr20"> <a href="<?php echo $url; ?> " class="pho"> <img src="<?php echo $details['image']; ?> " title="<?php echo $details['description']; ?> "> </a> <div class="amt">Consultation: $ <?php
$pageTitle = 'My Cities'; include SITEDIR . '/libraries/addresses/nearby.php'; $Models_Geo = new Models_Geo(); $mycities = $Models_Geo->myOwnedCities($_SESSION['user']['id']); ?> <h3>My Cities</h3> <?php if (empty($mycities)) { ?> <div>No Cities in your account.</div> <?php } else { foreach ($mycities as $k => $v) { ?> <a href="<?php echo makecityurl($v['id'], $v['name']); ?> /manage/main"><?php echo $v['name']; ?> , <?php echo $v['state']; ?> , <?php echo $v['country']; ?> </a><br> <strong>Expiry:</strong> <?php echo $v['expiry_date']; ?> <br>
?> <!-- body --> <h3>Select City</h3> <?php if (empty($cityList)) { ?> <div>No Cities Found.</div> <?php } else { ?> <ul> <?php foreach ($cityList as $cities) { ?> <li><a href="<?php echo makecityurl($cities['id'], $cities['city']); ?> "><?php echo $cities['city']; ?> , <?php echo $cities['statename']; ?> , <?php echo $cities['countryname']; ?> </a></li> <?php } ?> </ul>
<ul> <li>You will be managing all the activities in that city.</li> <li>You will be responsible for providing all the products and services in that city.</li> <li>You will be earning in different ways (that will be emailed to you)</li> </ul> <p><?php //You need to pay $100 as yearly fee to manage the city and you will get opportunity to earn some percentage of profit from that city (this will be discussed through email). ?> </p> <h3>Currently Managed Cities</h3> <ul> <?php foreach ($results as $details) { ?> <li><a href="<?php echo makecityurl($details['cty_id'], $details['name']); ?> "><?php echo $details['country']; ?> , <?php echo $details['state']; ?> , <?php echo $details['name']; ?> </a></li> <?php } ?> </ul>
<div class="row"> <div class="[ col-xs-12 col-sm-offset-0 col-sm-12 ]"> <ul class="event-list"> <?php foreach ($result1 as $key => $rowResult) { $image = 'https://maps.googleapis.com/maps/api/staticmap?center=' . $rowResult['latitude'] . ',' . $rowResult['longitude'] . '&maptype=roadmap&markers=color:blue%7Clabel:S%7C' . $rowResult['latitude'] . ',' . $rowResult['longitude'] . '&zoom=13&size=200x200&key=' . DEVELOPERKEY; ?> <li> <img src="<?php echo $image; ?> " /> <div class="info"> <?php $detailURL = makecityurl($rowResult['cty_id'], $rowResult['city']); $title = $rowResult['city'] . ', ' . $rowResult['state'] . ', ' . $rowResult['country']; ?> <h2 class="title"><a href="<?php echo $detailURL; ?> "><?php echo $title; ?> </a></h2> <p class="desc" style="font-size:11px"> </p> <script language="javascript"> var latlng = new google.maps.LatLng(<?php echo $rowResult['latitude']; ?>