Example #1
0
  $cy= $details->country; */
$ct = $geoplugin->city;
$rg = $geoplugin->region;
$cy = $geoplugin->countryName;
if ($cy == null) {
    if ($rg == null) {
        if ($ct != null) {
            osc_query_item('city_name=' . $ct);
        }
    } else {
        osc_query_item('region_name=' . $rg);
    }
} else {
    osc_query_item('country_name=' . $cy);
}
if (osc_count_custom_items() == 0) {
    ?>
        
                            <?php 
} else {
    ?>
                            
                            <?php 
    while (osc_has_custom_items()) {
        ?>
                            <div class="item wow fadeInUp animated">
                                <div class="list">
                                    <?php 
        if (osc_images_enabled_at_items()) {
            ?>
                                    <div class="image">
Example #2
0
            ?>
</span><?php 
        }
        ?>
					<div class="location"><?php 
        echo implode(', ', $dlocation);
        ?>
</div>
				</div>
			</div>
		</div>
	<?php 
    }
    ?>
	<?php 
    if (osc_count_custom_items() >= 6) {
        ?>
<div class="morelink"><a href="<?php 
        echo osc_user_public_profile_url(osc_item_user_id());
        ?>
"><?php 
        _e("See all listings", 'flatter');
        ?>
&nbsp;&nbsp;<i class="fa fa-external-link-square"></i>
</a></div><?php 
    }
    ?>
</div>
</div>
<?php 
}