?> </ul> <input type='hidden' placeholder='Hidden value for expereince' /> </div> <!-- Current Location Section --> <div class="pure-u-1 pure-u-md-1-1 relative"> <label for="c_location">Current Location<span></span></label> <div class='c-align' id='c_location' data-lat='<?php echo $profile_info['latitude']; ?> ' data-long='<?php echo $profile_info['longitude']; ?> '> <span class='loc'><?php echo displayLocation($location); ?> </span> <div class='click-tile tile-text-center tooltip action-btn bottom-tooltip input-btn' id='changeLocation' data-type='location_change'> <span> Change </span></div> </div> </div> <!-- Edit Profile Section --> <div class="pure-u-1 pure-u-md-1-1 hidden" id='location-set-row'> <label for="u_location">Edit Location <span></span></label> <div class='pure-g'> <div class="pure-u-1 pure-u-md-10-24 relative"> <input type='text' name='u_location' id='u_location' class='location-height-input' placeholder='Postcode' /> <div class='click-tile tile-text-center tooltip action-btn input-btn' id='postcode_btn'> <span>Find</span> </div> </div> <div class='pure-u-1 pure-u-md-4-24'> <div class='c-align align-or'> - OR - </div>
<strong>Experience</strong> <div class='click-tile click-goal img-tile tooltip bottom-tooltip' style="background-image:url('assets/img/icons/length/<?php echo $x['workout_exp']; ?> .png')" title='<?php echo $Profile->returnExpChar($x['workout_exp']); ?> '> </div> </div> <div class='pure-u-1-1 l-float'> <strong>Location</strong> <span class='location-row'><?php echo displayLocation($address); ?> </span> </div> </div> <?php if ($x['type'] == 'sameGym') { ?> <div class='pure-u-1-1'> <span class='same-gym-notify'> <?php if ($x['type'] == 'sameGym') { echo 'Members of the same Gym'; } ?> </span>
/** * Create the breadcrumb display, with links * @param integer $id ID of current category * @return string Location string ready for display * @deprecated */ function X_displayLocation($id) { global $cat, $_TABLES, $_CONF, $_CONF_ADVT; $location = ''; $base_url = "{$_CONF['site_url']}/{$_CONF_ADVT['pi_name']}/index.php"; $sql = "\n SELECT\n cat_name, cat_id, papa_id\n FROM\n {$_TABLES['ad_category']}\n WHERE\n cat_id={$id}\n "; $result = DB_query($sql); if (!$result) { return CLASSIFIEDS_errorMsg($LANG_ADVT['database_error'], 'alert'); } $row = DB_fetchArray($result); if ($row['papa_id'] == 0) { if ($row['cat_id'] == $cat) { $location .= '<a href="' . CLASSIFIEDS_makeURL('home') . '">Home</a> :: ' . $row['cat_name']; } else { $location .= '<a href="' . CLASSIFIEDS_makeURL('home') . '">Home</a> :: ' . '<a href="' . CLASSIFIEDS_makeURL('home', "cat_id={$row['cat_id']}") . '">' . $row['cat_name'] . '</a>'; } } else { $location .= displayLocation($row['papa_id']); if ($row['cat_id'] == $cat) { $location .= " > {$row['cat_name']}"; } else { $location .= ' > <a href="' . CLASSIFIEDS_makeURL('home', $row['cat_id']) . '">' . $row['cat_name'] . '</a>'; } } return "<b>{$location}</b>\n"; }
<strong>Experience</strong> <div class='click-tile click-goal img-tile tooltip bottom-tooltip' style="background-image:url('assets/img/icons/length/<?php echo $x['workout_exp']; ?> .png')" title='<?php echo $Profile->returnExpChar($x['workout_exp']); ?> '> </div> </div> <div class='pure-u-1-1 l-float'> <strong>Location</strong> <span class='location-row'><?php echo displayLocation($x_adress); ?> </span> </div> </div> </div> <?php } } ?> <!-- End of profile tile --> </div> </div> </div> <?php include_once "app/views/scripts.php";