Changeset 670029
- Timestamp:
- 02/19/2013 12:49:33 AM (13 years ago)
- File:
-
- 1 edited
-
furnishedcom/trunk/furnished-com.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
furnishedcom/trunk/furnished-com.php
r669905 r670029 211 211 endif; 212 212 endfor; 213 echo "<div class='furnished_powered_by'>Browse thousands of <a href='http://furnished.com' title='Furnished Apartments'>Furnished Apartments</a> at Furnished.com <a href='http://furnished.com' target='_blank'><img src='http://furnished.com/images/furnished-logo-small.gif'></a></div>"; 213 if(array_key_exists('city',$atts) && array_key_exists('state',$atts)): 214 $city = str_ireplace(" ","-",strtolower($atts['city'])); 215 $state = str_ireplace(" ","-",strtolower($atts['state'])); 216 echo "<div class='furnished_powered_by'>Browse hundreds of <a href='http://furnished.com/loc/".$state."/".$city."/' title='".$atts['city']." Furnished Apartments' target='_blank'>".$atts['city']." Furnished Apartments</a> at Furnished.com <a href='http://furnished.com' target='_blank'><img src='http://furnished.com/images/furnished-logo-small.gif'></a></div>"; 217 else: 218 echo "<div class='furnished_powered_by'>Browse thousands of <a href='http://furnished.com' title='Furnished Apartments' target='_blank'>Furnished Apartments</a> at Furnished.com <a href='http://furnished.com' target='_blank'><img src='http://furnished.com/images/furnished-logo-small.gif'></a></div>"; 219 endif; 214 220 else: 215 221 _e('<h2>No furnished rentals could be found.</h2>');
Note: See TracChangeset
for help on using the changeset viewer.