</h3> <?php $service_idd = get_prime_service_id($provider_idd); $services_iddd = get_services_from_id($service_idd[0]['service_id']); ?> <p><b>Company Service Overview:</b></p> <?php echo '<p> "' . $services_iddd[0]['servicedescr'] . '"</p>'; echo '<h4> </h4>'; ?> <h5>Locations</h5> <?php $address = get_address_by_serviceid($provider_idd); $resultt = count($address); $resultt; $counting = 0; while ($counting < $resultt) { $address2 = get_address_from_id($address[$counting]['address_id']); ?> <!-- address box --> <div id="div_address_<?php echo $address1[0]['address_id']; ?> " class="address-box-wrap" style="float: left; margin-top: 12px;"> <div class="address-box"><div class="address-box-inner"> <p class="address-box-label"><?php echo $counting + 1; ?>
<?php session_start(); include_once "../dao/search.php"; include_once '../dao/address.php'; $address = get_address_by_serviceid($_SESSION['provider']['serviceprovider_id']); $resultt = count($address); $counting = 0; while ($counting < $resultt) { $address1 = get_address_from_id($address[$counting]['address_id']); ?> <!-- address box --> <div id="div_address_<?php echo $address1[0]['address_id']; ?> " class="address-box-wrap" style="float: left; margin-top: 12px;"> <div class="address-box"><div class="address-box-inner"> <p class="address-box-label">Address</p> <p class="address-box-value"><?php echo $address1[0]['addressline1']; ?> </p> <p class="address-box-show"><a id="show_box_<?php echo $counting; ?> "href="javascript: void(0);" onClick="$('#address_container<?php echo $counting; ?> ').slideToggle('slow',changeCollapseImage('show_box_<?php echo $counting; ?>