Version Description
- A quick fix to attempt to resolve some validation issues in my code.
Download this release
Release Info
Developer | brianfreytag |
Plugin | Social Media Widget |
Version | 2.8.2 |
Comparing to | |
See all releases |
Code changes from version 2.8.1 to 2.8.2
- readme.txt +6 -2
- social-widget.php +42 -42
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Social Media Widget ===
|
2 |
-
Contributors:
|
3 |
Donate link: http://www.idontlikethisgame.com/code/donate/
|
4 |
Tags: social media, twitter, facebook, myspace, digg, email, rss, reddit, linkedin, orkut, youtube, buzz, social, icons, links, subscribe, follow, follow me, friendfeed, flickr, stumbleupon, vimeo, delicious, meetup, lastfm, foursquare, skype, blogger, wordpress, yelp, soundcloud, digital tunes, tumblr, hyves, etsy, tungle, plancast, slideshare, deviantart, better business bureau, merchant circle, asmallworld, live365, ping, itunes, picasa
|
5 |
Requires at least: 2.9.1
|
6 |
Tested up to: 3.0.1
|
7 |
-
Stable tag: 2.8.
|
8 |
|
9 |
Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
|
10 |
|
@@ -151,6 +151,10 @@ First - calm down. I'm happy to help you, and, if you ask those I've helped alre
|
|
151 |
For help, please go to my <a href="http://forums.idontlikethisgame.com/viewforum.php?f=3">SMW Forums</a> and ask whatever questions you need!
|
152 |
|
153 |
== Changelog ==
|
|
|
|
|
|
|
|
|
154 |
= 2.8.1 =
|
155 |
|
156 |
* People were getting a 404 Error when trying to upgrade. I'm going to push out this unedited revision to see if it checks in properly this time.
|
1 |
=== Social Media Widget ===
|
2 |
+
Contributors: brianfreytag
|
3 |
Donate link: http://www.idontlikethisgame.com/code/donate/
|
4 |
Tags: social media, twitter, facebook, myspace, digg, email, rss, reddit, linkedin, orkut, youtube, buzz, social, icons, links, subscribe, follow, follow me, friendfeed, flickr, stumbleupon, vimeo, delicious, meetup, lastfm, foursquare, skype, blogger, wordpress, yelp, soundcloud, digital tunes, tumblr, hyves, etsy, tungle, plancast, slideshare, deviantart, better business bureau, merchant circle, asmallworld, live365, ping, itunes, picasa
|
5 |
Requires at least: 2.9.1
|
6 |
Tested up to: 3.0.1
|
7 |
+
Stable tag: 2.8.2
|
8 |
|
9 |
Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
|
10 |
|
151 |
For help, please go to my <a href="http://forums.idontlikethisgame.com/viewforum.php?f=3">SMW Forums</a> and ask whatever questions you need!
|
152 |
|
153 |
== Changelog ==
|
154 |
+
= 2.8.2 =
|
155 |
+
|
156 |
+
* A quick fix to attempt to resolve some validation issues in my code.
|
157 |
+
|
158 |
= 2.8.1 =
|
159 |
|
160 |
* People were getting a 404 Error when trying to upgrade. I'm going to push out this unedited revision to see if it checks in properly this time.
|
social-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Social Media Widget
|
4 |
* Plugin URI: http://forums.idontlikethisgame.com/viewforum.php?f=3
|
5 |
* Description: Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
|
6 |
-
* Version: 2.8.
|
7 |
* Author: Brian Freytag
|
8 |
* Author URI: http://www.idontlikethisgame.com/
|
9 |
**/
|
@@ -193,7 +193,7 @@ class Social_Widget extends WP_Widget {
|
|
193 |
|
194 |
// Twitter
|
195 |
if ( $twitter != '' && $twitter != ' ' && file_exists($smw_dir.'/twitter.png')) {
|
196 |
-
?><a href="<?php echo $twitter; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/twitter.png" alt="<?php echo $imgcaption; ?> Twitter"title="<?php echo $imgcaption; ?> Twitter" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
197 |
} else {
|
198 |
echo ''; //If no URL inputed
|
199 |
}
|
@@ -201,280 +201,280 @@ class Social_Widget extends WP_Widget {
|
|
201 |
|
202 |
// MySpace
|
203 |
if ( $myspace != '' && $myspace != ' ' && file_exists($smw_dir.'/myspace.png')) {
|
204 |
-
?><a href="<?php echo $myspace; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/myspace.png"alt="<?php echo $imgcaption; ?> MySpace"title="<?php echo $imgcaption; ?> MySpace" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
205 |
} else {
|
206 |
echo ''; //If no URL inputed
|
207 |
}
|
208 |
|
209 |
// FriendFeed
|
210 |
if ( $friendfeed != '' && $friendfeed != ' ' && file_exists($smw_dir.'/friendfeed.png')) {
|
211 |
-
?><a href="<?php echo $friendfeed; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/friendfeed.png"alt="<?php echo $imgcaption; ?> FriendFeed"title="<?php echo $imgcaption; ?> FriendFeed" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>"" /></a><?php
|
212 |
} else {
|
213 |
echo ''; //If no URL inputed
|
214 |
}
|
215 |
|
216 |
// Orkut
|
217 |
if ( $orkut != '' && $orkut != ' ' && file_exists($smw_dir.'/orkut.png')) {
|
218 |
-
?><a href="<?php echo $orkut; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/orkut.png"alt="<?php echo $imgcaption; ?> Orkut"title="<?php echo $imgcaption; ?> Orkut" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
219 |
} else {
|
220 |
echo ''; //If no URL inputed
|
221 |
}
|
222 |
|
223 |
// Hyves
|
224 |
if ( $hyves != '' && $hyves != ' ' && file_exists($smw_dir.'/hyves.png')) {
|
225 |
-
?><a href="<?php echo $hyves; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/hyves.png"alt="<?php echo $imgcaption; ?> Hyves"title="<?php echo $imgcaption; ?> Hyves" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
226 |
} else {
|
227 |
echo ''; //If no URL inputed
|
228 |
}
|
229 |
|
230 |
// LinkedIN
|
231 |
if ( $linkedin != '' && $linkedin != ' ' && file_exists($smw_dir.'/linkedin.png')) {
|
232 |
-
?><a href="<?php echo $linkedin; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/linkedin.png"alt="<?php echo $imgcaption; ?> LinkedIn"title="<?php echo $imgcaption; ?> LinkedIn" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
233 |
} else {
|
234 |
echo ''; //If no URL inputed
|
235 |
}
|
236 |
|
237 |
// aSmallWorld
|
238 |
if ( $asmallworld != '' && $asmallworld != ' ' && file_exists($smw_dir.'/asmallworld.png')) {
|
239 |
-
?><a href="<?php echo $asmallworld; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/asmallworld.png"alt="<?php echo $imgcaption; ?> aSmallWorld"title="<?php echo $imgcaption; ?> aSmallWorld" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
240 |
} else {
|
241 |
echo ''; //If no URL inputed
|
242 |
}
|
243 |
|
244 |
// Flickr
|
245 |
if ( $flickr != '' && $flickr != ' ' && file_exists($smw_dir.'/flickr.png')) {
|
246 |
-
?><a href="<?php echo $flickr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/flickr.png" alt="<?php echo $imgcaption; ?> Flickr"title="<?php echo $imgcaption; ?> Flickr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
247 |
} else {
|
248 |
echo ''; //If no URL inputed
|
249 |
}
|
250 |
|
251 |
// Picasa
|
252 |
if ( $picasa != '' && $picasa != ' ' && file_exists($smw_dir.'/picasa.png')) {
|
253 |
-
?><a href="<?php echo $picasa; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/picasa.png" alt="<?php echo $imgcaption; ?> Picasa"title="<?php echo $imgcaption; ?> Picasa" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
254 |
} else {
|
255 |
echo ''; //If no URL inputed
|
256 |
}
|
257 |
|
258 |
// YouTube
|
259 |
if ( $youtube != '' && $youtube != ' ' && file_exists($smw_dir.'/youtube.png')) {
|
260 |
-
?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/youtube.png"alt="<?php echo $imgcaption; ?> YouTube"title="<?php echo $imgcaption; ?> YouTube" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
261 |
} else {
|
262 |
echo ''; //If No URL Inputed
|
263 |
}
|
264 |
|
265 |
// Skype
|
266 |
if ( $skype != '' && $skype != ' ' && file_exists($smw_dir.'/skype.png')) {
|
267 |
-
?><a href="<?php echo $skype; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/skype.png"alt="<?php echo $imgcaption; ?> Skype"title="<?php echo $imgcaption; ?> Skype" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
268 |
} else {
|
269 |
echo ''; //If No URL Inputed
|
270 |
}
|
271 |
|
272 |
// Digg
|
273 |
if ( $digg != '' && $digg != ' ' && file_exists($smw_dir.'/digg.png')) {
|
274 |
-
?><a href="<?php echo $digg; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/digg.png"alt="<?php echo $imgcaption; ?> Digg"title="<?php echo $imgcaption; ?> Digg" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
275 |
} else {
|
276 |
echo ''; //If no URL Inputed
|
277 |
}
|
278 |
|
279 |
// Reddit
|
280 |
if ( $reddit != '' && $reddit != ' ' && file_exists($smw_dir.'/reddit.png')) {
|
281 |
-
?><a href="<?php echo $reddit; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/reddit.png"alt="<?php echo $imgcaption; ?> Reddit"title="<?php echo $imgcaption; ?> Reddit" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
282 |
} else {
|
283 |
echo ''; //If no URL Inputed
|
284 |
}
|
285 |
|
286 |
// Delicious
|
287 |
if ( $delicious != '' && $delicious != ' ' && file_exists($smw_dir.'/delicious.png')) {
|
288 |
-
?><a href="<?php echo $delicious; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/delicious.png"alt="<?php echo $imgcaption; ?> Delicious"title="<?php echo $imgcaption; ?> Delicious" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
289 |
} else {
|
290 |
echo ''; //If no URL Inputed
|
291 |
}
|
292 |
|
293 |
// StumbleUpon
|
294 |
if ( $stumble != '' && $stumble != ' ' && file_exists($smw_dir.'/stumble.png')) {
|
295 |
-
?><a href="<?php echo $stumble; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/stumble.png"alt="<?php echo $imgcaption; ?> StumbleUpon"title="<?php echo $imgcaption; ?> StumbleUpon" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
296 |
} else {
|
297 |
echo ''; //If no URL Inputed
|
298 |
}
|
299 |
|
300 |
// Tumblr
|
301 |
if ( $tumblr != '' && $tumblr != ' ' && file_exists($smw_dir.'/tumblr.png')) {
|
302 |
-
?><a href="<?php echo $tumblr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/tumblr.png"alt="<?php echo $imgcaption; ?> Tumblr"title="<?php echo $imgcaption; ?> Tumblr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
303 |
} else {
|
304 |
echo ''; //If no URL Inputed
|
305 |
}
|
306 |
|
307 |
// Google Buzz
|
308 |
if ( $buzz != '' && $buzz != ' ' && file_exists($smw_dir.'/buzz.png')) {
|
309 |
-
?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/buzz.png"alt="<?php echo $imgcaption; ?> Buzz"title="<?php echo $imgcaption; ?> Buzz" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
310 |
} else {
|
311 |
echo ''; //If no URL Inputed
|
312 |
}
|
313 |
|
314 |
// Vimeo
|
315 |
if ( $vimeo != '' && $vimeo != ' ' && file_exists($smw_dir.'/vimeo.png')) {
|
316 |
-
?><a href="<?php echo $vimeo; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/vimeo.png"alt="<?php echo $imgcaption; ?> Vimeo"title="<?php echo $imgcaption; ?> Vimeo" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
317 |
} else {
|
318 |
echo ''; //If no URL Inputed
|
319 |
}
|
320 |
|
321 |
// Blogger
|
322 |
if ( $blogger != '' && $blogger != ' ' && file_exists($smw_dir.'/blogger.png')) {
|
323 |
-
?><a href="<?php echo $blogger; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/blogger.png"alt="<?php echo $imgcaption; ?> Blogger"title="<?php echo $imgcaption; ?> Blogger" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
324 |
} else {
|
325 |
echo ''; //If No URL Inputed
|
326 |
}
|
327 |
|
328 |
// Wordpress
|
329 |
if ( $wordpress != '' && $wordpress != ' ' && file_exists($smw_dir.'/wordpress.png')) {
|
330 |
-
?><a href="<?php echo $wordpress; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/wordpress.png"alt="<?php echo $imgcaption; ?> Wordpress"title="<?php echo $imgcaption; ?> Wordpress" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
331 |
} else {
|
332 |
echo ''; //If No URL Inputed
|
333 |
}
|
334 |
|
335 |
// Yelp
|
336 |
if ( $yelp != '' && $yelp != ' ' && file_exists($smw_dir.'/yelp.png')) {
|
337 |
-
?><a href="<?php echo $yelp; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/yelp.png"alt="<?php echo $imgcaption; ?> Yelp"title="<?php echo $imgcaption; ?> Yelp" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
338 |
} else {
|
339 |
echo ''; //If No URL Inputed
|
340 |
}
|
341 |
|
342 |
// Last.fm
|
343 |
if ( $lastfm != '' && $lastfm != ' ' && file_exists($smw_dir.'/lastfm.png')) {
|
344 |
-
?><a href="<?php echo $lastfm; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/lastfm.png"alt="<?php echo $imgcaption; ?> Last.fm"title="<?php echo $imgcaption; ?> Last.fm" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
345 |
} else {
|
346 |
echo ''; //If no URL Inputed
|
347 |
}
|
348 |
|
349 |
// Foursquare
|
350 |
if ( $foursquare != '' && $foursquare != ' ' && file_exists($smw_dir.'/foursquare.png')) {
|
351 |
-
?><a href="<?php echo $foursquare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/foursquare.png"alt="<?php echo $imgcaption; ?> Foursquare"title="<?php echo $imgcaption; ?> Foursquare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
352 |
} else {
|
353 |
echo ''; //If no URL Inputed
|
354 |
}
|
355 |
|
356 |
// Meetup
|
357 |
if ( $meetup != '' && $meetup != ' ' && file_exists($smw_dir.'/meetup.png')) {
|
358 |
-
?><a href="<?php echo $meetup; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/meetup.png"alt="<?php echo $imgcaption; ?> Meetup"title="<?php echo $imgcaption; ?> Meetup" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
359 |
} else {
|
360 |
echo ''; //If no URL Inputed
|
361 |
}
|
362 |
|
363 |
// Tungle.me
|
364 |
if ( $tungle != '' && $tungle != ' ' && file_exists($smw_dir.'/tungle.png')) {
|
365 |
-
?><a href="<?php echo $tungle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/tungle.png"alt="<?php echo $imgcaption; ?> Tungle"title="<?php echo $imgcaption; ?> Tungle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
366 |
} else {
|
367 |
echo ''; //If no URL inputed
|
368 |
}
|
369 |
|
370 |
// PlanCast
|
371 |
if ( $plancast != '' && $plancast != ' ' && file_exists($smw_dir.'/plancast.png')) {
|
372 |
-
?><a href="<?php echo $plancast; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/plancast.png"alt="<?php echo $imgcaption; ?> PlanCast"title="<?php echo $imgcaption; ?> PlanCast" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
373 |
} else {
|
374 |
echo ''; //If no URL inputed
|
375 |
}
|
376 |
|
377 |
// Hyves
|
378 |
if ( $slideshare != '' && $slideshare != ' ' && file_exists($smw_dir.'/slideshare.png')) {
|
379 |
-
?><a href="<?php echo $slideshare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/slideshare.png"alt="<?php echo $imgcaption; ?> SlideShare"title="<?php echo $imgcaption; ?> SlideShare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
380 |
} else {
|
381 |
echo ''; //If no URL inputed
|
382 |
}
|
383 |
|
384 |
// DeviantArt
|
385 |
if ( $deviantart != '' && $deviantart != ' ' && file_exists($smw_dir.'/deviantart.png')) {
|
386 |
-
?><a href="<?php echo $deviantart; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/deviantart.png"alt="<?php echo $imgcaption; ?> DeviantArt"title="<?php echo $imgcaption; ?> DeviantArt" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
387 |
} else {
|
388 |
echo ''; //If no URL inputed
|
389 |
}
|
390 |
|
391 |
// iTunes Ping
|
392 |
if ( $ping != '' && $ping != ' ' && file_exists($smw_dir.'/ping.png')) {
|
393 |
-
?><a href="<?php echo $ping; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/ping.png"alt="<?php echo $imgcaption; ?> iTunes Ping"title="<?php echo $imgcaption; ?> iTunes Ping" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
394 |
} else {
|
395 |
echo ''; //If no URL inputed
|
396 |
}
|
397 |
|
398 |
// Live365
|
399 |
if ( $live365 != '' && $live365 != ' ' && file_exists($smw_dir.'/live365.png')) {
|
400 |
-
?><a href="<?php echo $live365; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/live365.png"alt="<?php echo $imgcaption; ?> Live365"title="<?php echo $imgcaption; ?> Live365" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
401 |
} else {
|
402 |
echo ''; //If no URL inputed
|
403 |
}
|
404 |
|
405 |
// Digital Tunes
|
406 |
if ( $digitaltunes != '' && $digitaltunes != ' ' && file_exists($smw_dir.'/digitaltunes.png')) {
|
407 |
-
?><a href="<?php echo $digitaltunes; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/digitaltunes.png"alt="<?php echo $imgcaption; ?> Digital Tunes"title="<?php echo $imgcaption; ?> Digital Tunes" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
408 |
} else {
|
409 |
echo ''; //If no URL Inputed
|
410 |
}
|
411 |
|
412 |
// Soundcloud
|
413 |
if ( $soundcloud != '' && $soundcloud != ' ' && file_exists($smw_dir.'/soundcloud.png')) {
|
414 |
-
?><a href="<?php echo $soundcloud; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/soundcloud.png"alt="<?php echo $imgcaption; ?> Soundcloud"title="<?php echo $imgcaption; ?> Soundcloud" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
415 |
} else {
|
416 |
echo ''; //If no URL Inputed
|
417 |
}
|
418 |
|
419 |
// Etsy
|
420 |
if ( $etsy != '' && $etsy != ' ' && file_exists($smw_dir.'/etsy.png')) {
|
421 |
-
?><a href="<?php echo $etsy; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/etsy.png"alt="<?php echo $imgcaption; ?> Etsy"title="<?php echo $imgcaption; ?> Etsy" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
422 |
} else {
|
423 |
echo ''; //If no URL Inputed
|
424 |
}
|
425 |
|
426 |
// Better Business Bureau
|
427 |
if ( $bbb != '' && $bbb != ' ' && file_exists($smw_dir.'/bbb.png')) {
|
428 |
-
?><a href="<?php echo $bbb; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/bbb.png"alt="<?php echo $imgcaption; ?> Better Business Bureau"title="<?php echo $imgcaption; ?> Better Business Bureau" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
429 |
} else {
|
430 |
echo ''; //If no URL inputed
|
431 |
}
|
432 |
|
433 |
// Merchant Circle
|
434 |
if ( $merchantcircle != '' && $merchantcircle != ' ' && file_exists($smw_dir.'/merchantcircle.png')) {
|
435 |
-
?><a href="<?php echo $merchantcircle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/merchantcircle.png"alt="<?php echo $imgcaption; ?> Merchant Circle"title="<?php echo $imgcaption; ?> Merchant Circle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
436 |
} else {
|
437 |
echo ''; //If no URL inputed
|
438 |
}
|
439 |
|
440 |
// Custom Icon 1
|
441 |
if ( $custom1url != '' && $custom1name != '' && $custom1icon != '' ) {
|
442 |
-
?><a href="<?php echo $custom1url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom1icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom1name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom1name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
443 |
} else {
|
444 |
echo ''; //If no URL inputed
|
445 |
}
|
446 |
|
447 |
// Custom Icon 2
|
448 |
if ( $custom2url != '' && $custom2name != '' && $custom2icon != '' ) {
|
449 |
-
?><a href="<?php echo $custom2url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom2icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom2name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom2name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
450 |
} else {
|
451 |
echo ''; //If no URL inputed
|
452 |
}
|
453 |
|
454 |
// Custom Icon 3
|
455 |
if ( $custom3url != '' && $custom3name != '' && $custom3icon != '' ) {
|
456 |
-
?><a href="<?php echo $custom3url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom3icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom3name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom3name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
457 |
} else {
|
458 |
echo ''; //If no URL inputed
|
459 |
}
|
460 |
|
461 |
// Custom Icon 4
|
462 |
if ( $custom4url != '' && $custom4name != '' && $custom4icon != '' ) {
|
463 |
-
?><a href="<?php echo $custom4url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom4icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom4name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom4name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
464 |
} else {
|
465 |
echo ''; //If no URL inputed
|
466 |
}
|
467 |
|
468 |
// Custom Icon 5
|
469 |
if ( $custom5url != '' && $custom5name != '' && $custom5icon != '' ) {
|
470 |
-
?><a href="<?php echo $custom5url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom5icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom5name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom5name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
471 |
} else {
|
472 |
echo ''; //If no URL inputed
|
473 |
}
|
474 |
|
475 |
// Custom Icon 6
|
476 |
if ( $custom6url != '' && $custom6name != '' && $custom6icon != '' ) {
|
477 |
-
?><a href="<?php echo $custom6url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom6icon; ?>"alt="<?php echo $imgcaption; ?> <?php echo $custom6name; ?>"title="<?php echo $imgcaption; ?> <?php echo $custom6name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
478 |
} else {
|
479 |
echo ''; //If no URL inputed
|
480 |
}
|
3 |
* Plugin Name: Social Media Widget
|
4 |
* Plugin URI: http://forums.idontlikethisgame.com/viewforum.php?f=3
|
5 |
* Description: Adds links to all of your social media and sharing site profiles. Icons come in 3 sizes, 4 icon styles, and 4 animations.
|
6 |
+
* Version: 2.8.2
|
7 |
* Author: Brian Freytag
|
8 |
* Author URI: http://www.idontlikethisgame.com/
|
9 |
**/
|
193 |
|
194 |
// Twitter
|
195 |
if ( $twitter != '' && $twitter != ' ' && file_exists($smw_dir.'/twitter.png')) {
|
196 |
+
?><a href="<?php echo $twitter; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/twitter.png" alt="<?php echo $imgcaption; ?> Twitter" title="<?php echo $imgcaption; ?> Twitter" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
197 |
} else {
|
198 |
echo ''; //If no URL inputed
|
199 |
}
|
201 |
|
202 |
// MySpace
|
203 |
if ( $myspace != '' && $myspace != ' ' && file_exists($smw_dir.'/myspace.png')) {
|
204 |
+
?><a href="<?php echo $myspace; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/myspace.png" alt="<?php echo $imgcaption; ?> MySpace" title="<?php echo $imgcaption; ?> MySpace" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
205 |
} else {
|
206 |
echo ''; //If no URL inputed
|
207 |
}
|
208 |
|
209 |
// FriendFeed
|
210 |
if ( $friendfeed != '' && $friendfeed != ' ' && file_exists($smw_dir.'/friendfeed.png')) {
|
211 |
+
?><a href="<?php echo $friendfeed; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/friendfeed.png" alt="<?php echo $imgcaption; ?> FriendFeed" title="<?php echo $imgcaption; ?> FriendFeed" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>"" /></a><?php
|
212 |
} else {
|
213 |
echo ''; //If no URL inputed
|
214 |
}
|
215 |
|
216 |
// Orkut
|
217 |
if ( $orkut != '' && $orkut != ' ' && file_exists($smw_dir.'/orkut.png')) {
|
218 |
+
?><a href="<?php echo $orkut; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/orkut.png" alt="<?php echo $imgcaption; ?> Orkut" title="<?php echo $imgcaption; ?> Orkut" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
219 |
} else {
|
220 |
echo ''; //If no URL inputed
|
221 |
}
|
222 |
|
223 |
// Hyves
|
224 |
if ( $hyves != '' && $hyves != ' ' && file_exists($smw_dir.'/hyves.png')) {
|
225 |
+
?><a href="<?php echo $hyves; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/hyves.png" alt="<?php echo $imgcaption; ?> Hyves" title="<?php echo $imgcaption; ?> Hyves" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
226 |
} else {
|
227 |
echo ''; //If no URL inputed
|
228 |
}
|
229 |
|
230 |
// LinkedIN
|
231 |
if ( $linkedin != '' && $linkedin != ' ' && file_exists($smw_dir.'/linkedin.png')) {
|
232 |
+
?><a href="<?php echo $linkedin; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/linkedin.png" alt="<?php echo $imgcaption; ?> LinkedIn" title="<?php echo $imgcaption; ?> LinkedIn" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
233 |
} else {
|
234 |
echo ''; //If no URL inputed
|
235 |
}
|
236 |
|
237 |
// aSmallWorld
|
238 |
if ( $asmallworld != '' && $asmallworld != ' ' && file_exists($smw_dir.'/asmallworld.png')) {
|
239 |
+
?><a href="<?php echo $asmallworld; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/asmallworld.png" alt="<?php echo $imgcaption; ?> aSmallWorld" title="<?php echo $imgcaption; ?> aSmallWorld" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
240 |
} else {
|
241 |
echo ''; //If no URL inputed
|
242 |
}
|
243 |
|
244 |
// Flickr
|
245 |
if ( $flickr != '' && $flickr != ' ' && file_exists($smw_dir.'/flickr.png')) {
|
246 |
+
?><a href="<?php echo $flickr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/flickr.png" alt="<?php echo $imgcaption; ?> Flickr" title="<?php echo $imgcaption; ?> Flickr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
247 |
} else {
|
248 |
echo ''; //If no URL inputed
|
249 |
}
|
250 |
|
251 |
// Picasa
|
252 |
if ( $picasa != '' && $picasa != ' ' && file_exists($smw_dir.'/picasa.png')) {
|
253 |
+
?><a href="<?php echo $picasa; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/picasa.png" alt="<?php echo $imgcaption; ?> Picasa" title="<?php echo $imgcaption; ?> Picasa" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
254 |
} else {
|
255 |
echo ''; //If no URL inputed
|
256 |
}
|
257 |
|
258 |
// YouTube
|
259 |
if ( $youtube != '' && $youtube != ' ' && file_exists($smw_dir.'/youtube.png')) {
|
260 |
+
?><a href="<?php echo $youtube; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/youtube.png" alt="<?php echo $imgcaption; ?> YouTube" title="<?php echo $imgcaption; ?> YouTube" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
261 |
} else {
|
262 |
echo ''; //If No URL Inputed
|
263 |
}
|
264 |
|
265 |
// Skype
|
266 |
if ( $skype != '' && $skype != ' ' && file_exists($smw_dir.'/skype.png')) {
|
267 |
+
?><a href="<?php echo $skype; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/skype.png" alt="<?php echo $imgcaption; ?> Skype" title="<?php echo $imgcaption; ?> Skype" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
268 |
} else {
|
269 |
echo ''; //If No URL Inputed
|
270 |
}
|
271 |
|
272 |
// Digg
|
273 |
if ( $digg != '' && $digg != ' ' && file_exists($smw_dir.'/digg.png')) {
|
274 |
+
?><a href="<?php echo $digg; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/digg.png" alt="<?php echo $imgcaption; ?> Digg" title="<?php echo $imgcaption; ?> Digg" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
275 |
} else {
|
276 |
echo ''; //If no URL Inputed
|
277 |
}
|
278 |
|
279 |
// Reddit
|
280 |
if ( $reddit != '' && $reddit != ' ' && file_exists($smw_dir.'/reddit.png')) {
|
281 |
+
?><a href="<?php echo $reddit; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/reddit.png" alt="<?php echo $imgcaption; ?> Reddit" title="<?php echo $imgcaption; ?> Reddit" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
282 |
} else {
|
283 |
echo ''; //If no URL Inputed
|
284 |
}
|
285 |
|
286 |
// Delicious
|
287 |
if ( $delicious != '' && $delicious != ' ' && file_exists($smw_dir.'/delicious.png')) {
|
288 |
+
?><a href="<?php echo $delicious; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/delicious.png" alt="<?php echo $imgcaption; ?> Delicious" title="<?php echo $imgcaption; ?> Delicious" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
289 |
} else {
|
290 |
echo ''; //If no URL Inputed
|
291 |
}
|
292 |
|
293 |
// StumbleUpon
|
294 |
if ( $stumble != '' && $stumble != ' ' && file_exists($smw_dir.'/stumble.png')) {
|
295 |
+
?><a href="<?php echo $stumble; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/stumble.png" alt="<?php echo $imgcaption; ?> StumbleUpon" title="<?php echo $imgcaption; ?> StumbleUpon" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
296 |
} else {
|
297 |
echo ''; //If no URL Inputed
|
298 |
}
|
299 |
|
300 |
// Tumblr
|
301 |
if ( $tumblr != '' && $tumblr != ' ' && file_exists($smw_dir.'/tumblr.png')) {
|
302 |
+
?><a href="<?php echo $tumblr; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/tumblr.png" alt="<?php echo $imgcaption; ?> Tumblr" title="<?php echo $imgcaption; ?> Tumblr" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
303 |
} else {
|
304 |
echo ''; //If no URL Inputed
|
305 |
}
|
306 |
|
307 |
// Google Buzz
|
308 |
if ( $buzz != '' && $buzz != ' ' && file_exists($smw_dir.'/buzz.png')) {
|
309 |
+
?><a href="<?php echo $buzz; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/buzz.png" alt="<?php echo $imgcaption; ?> Buzz" title="<?php echo $imgcaption; ?> Buzz" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
310 |
} else {
|
311 |
echo ''; //If no URL Inputed
|
312 |
}
|
313 |
|
314 |
// Vimeo
|
315 |
if ( $vimeo != '' && $vimeo != ' ' && file_exists($smw_dir.'/vimeo.png')) {
|
316 |
+
?><a href="<?php echo $vimeo; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/vimeo.png" alt="<?php echo $imgcaption; ?> Vimeo" title="<?php echo $imgcaption; ?> Vimeo" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
317 |
} else {
|
318 |
echo ''; //If no URL Inputed
|
319 |
}
|
320 |
|
321 |
// Blogger
|
322 |
if ( $blogger != '' && $blogger != ' ' && file_exists($smw_dir.'/blogger.png')) {
|
323 |
+
?><a href="<?php echo $blogger; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/blogger.png" alt="<?php echo $imgcaption; ?> Blogger" title="<?php echo $imgcaption; ?> Blogger" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
324 |
} else {
|
325 |
echo ''; //If No URL Inputed
|
326 |
}
|
327 |
|
328 |
// Wordpress
|
329 |
if ( $wordpress != '' && $wordpress != ' ' && file_exists($smw_dir.'/wordpress.png')) {
|
330 |
+
?><a href="<?php echo $wordpress; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/wordpress.png" alt="<?php echo $imgcaption; ?> Wordpress" title="<?php echo $imgcaption; ?> Wordpress" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
331 |
} else {
|
332 |
echo ''; //If No URL Inputed
|
333 |
}
|
334 |
|
335 |
// Yelp
|
336 |
if ( $yelp != '' && $yelp != ' ' && file_exists($smw_dir.'/yelp.png')) {
|
337 |
+
?><a href="<?php echo $yelp; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/yelp.png" alt="<?php echo $imgcaption; ?> Yelp" title="<?php echo $imgcaption; ?> Yelp" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
338 |
} else {
|
339 |
echo ''; //If No URL Inputed
|
340 |
}
|
341 |
|
342 |
// Last.fm
|
343 |
if ( $lastfm != '' && $lastfm != ' ' && file_exists($smw_dir.'/lastfm.png')) {
|
344 |
+
?><a href="<?php echo $lastfm; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/lastfm.png" alt="<?php echo $imgcaption; ?> Last.fm" title="<?php echo $imgcaption; ?> Last.fm" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
345 |
} else {
|
346 |
echo ''; //If no URL Inputed
|
347 |
}
|
348 |
|
349 |
// Foursquare
|
350 |
if ( $foursquare != '' && $foursquare != ' ' && file_exists($smw_dir.'/foursquare.png')) {
|
351 |
+
?><a href="<?php echo $foursquare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/foursquare.png" alt="<?php echo $imgcaption; ?> Foursquare" title="<?php echo $imgcaption; ?> Foursquare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
352 |
} else {
|
353 |
echo ''; //If no URL Inputed
|
354 |
}
|
355 |
|
356 |
// Meetup
|
357 |
if ( $meetup != '' && $meetup != ' ' && file_exists($smw_dir.'/meetup.png')) {
|
358 |
+
?><a href="<?php echo $meetup; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/meetup.png" alt="<?php echo $imgcaption; ?> Meetup" title="<?php echo $imgcaption; ?> Meetup" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
359 |
} else {
|
360 |
echo ''; //If no URL Inputed
|
361 |
}
|
362 |
|
363 |
// Tungle.me
|
364 |
if ( $tungle != '' && $tungle != ' ' && file_exists($smw_dir.'/tungle.png')) {
|
365 |
+
?><a href="<?php echo $tungle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/tungle.png" alt="<?php echo $imgcaption; ?> Tungle" title="<?php echo $imgcaption; ?> Tungle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
366 |
} else {
|
367 |
echo ''; //If no URL inputed
|
368 |
}
|
369 |
|
370 |
// PlanCast
|
371 |
if ( $plancast != '' && $plancast != ' ' && file_exists($smw_dir.'/plancast.png')) {
|
372 |
+
?><a href="<?php echo $plancast; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/plancast.png" alt="<?php echo $imgcaption; ?> PlanCast" title="<?php echo $imgcaption; ?> PlanCast" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
373 |
} else {
|
374 |
echo ''; //If no URL inputed
|
375 |
}
|
376 |
|
377 |
// Hyves
|
378 |
if ( $slideshare != '' && $slideshare != ' ' && file_exists($smw_dir.'/slideshare.png')) {
|
379 |
+
?><a href="<?php echo $slideshare; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/slideshare.png" alt="<?php echo $imgcaption; ?> SlideShare" title="<?php echo $imgcaption; ?> SlideShare" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
380 |
} else {
|
381 |
echo ''; //If no URL inputed
|
382 |
}
|
383 |
|
384 |
// DeviantArt
|
385 |
if ( $deviantart != '' && $deviantart != ' ' && file_exists($smw_dir.'/deviantart.png')) {
|
386 |
+
?><a href="<?php echo $deviantart; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/deviantart.png" alt="<?php echo $imgcaption; ?> DeviantArt" title="<?php echo $imgcaption; ?> DeviantArt" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
387 |
} else {
|
388 |
echo ''; //If no URL inputed
|
389 |
}
|
390 |
|
391 |
// iTunes Ping
|
392 |
if ( $ping != '' && $ping != ' ' && file_exists($smw_dir.'/ping.png')) {
|
393 |
+
?><a href="<?php echo $ping; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/ping.png" alt="<?php echo $imgcaption; ?> iTunes Ping" title="<?php echo $imgcaption; ?> iTunes Ping" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
394 |
} else {
|
395 |
echo ''; //If no URL inputed
|
396 |
}
|
397 |
|
398 |
// Live365
|
399 |
if ( $live365 != '' && $live365 != ' ' && file_exists($smw_dir.'/live365.png')) {
|
400 |
+
?><a href="<?php echo $live365; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/live365.png" alt="<?php echo $imgcaption; ?> Live365" title="<?php echo $imgcaption; ?> Live365" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
401 |
} else {
|
402 |
echo ''; //If no URL inputed
|
403 |
}
|
404 |
|
405 |
// Digital Tunes
|
406 |
if ( $digitaltunes != '' && $digitaltunes != ' ' && file_exists($smw_dir.'/digitaltunes.png')) {
|
407 |
+
?><a href="<?php echo $digitaltunes; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/digitaltunes.png" alt="<?php echo $imgcaption; ?> Digital Tunes" title="<?php echo $imgcaption; ?> Digital Tunes" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
408 |
} else {
|
409 |
echo ''; //If no URL Inputed
|
410 |
}
|
411 |
|
412 |
// Soundcloud
|
413 |
if ( $soundcloud != '' && $soundcloud != ' ' && file_exists($smw_dir.'/soundcloud.png')) {
|
414 |
+
?><a href="<?php echo $soundcloud; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/soundcloud.png" alt="<?php echo $imgcaption; ?> Soundcloud" title="<?php echo $imgcaption; ?> Soundcloud" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
415 |
} else {
|
416 |
echo ''; //If no URL Inputed
|
417 |
}
|
418 |
|
419 |
// Etsy
|
420 |
if ( $etsy != '' && $etsy != ' ' && file_exists($smw_dir.'/etsy.png')) {
|
421 |
+
?><a href="<?php echo $etsy; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/etsy.png" alt="<?php echo $imgcaption; ?> Etsy" title="<?php echo $imgcaption; ?> Etsy" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
422 |
} else {
|
423 |
echo ''; //If no URL Inputed
|
424 |
}
|
425 |
|
426 |
// Better Business Bureau
|
427 |
if ( $bbb != '' && $bbb != ' ' && file_exists($smw_dir.'/bbb.png')) {
|
428 |
+
?><a href="<?php echo $bbb; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/bbb.png" alt="<?php echo $imgcaption; ?> Better Business Bureau" title="<?php echo $imgcaption; ?> Better Business Bureau" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
429 |
} else {
|
430 |
echo ''; //If no URL inputed
|
431 |
}
|
432 |
|
433 |
// Merchant Circle
|
434 |
if ( $merchantcircle != '' && $merchantcircle != ' ' && file_exists($smw_dir.'/merchantcircle.png')) {
|
435 |
+
?><a href="<?php echo $merchantcircle; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $smw_path; ?>/merchantcircle.png" alt="<?php echo $imgcaption; ?> Merchant Circle" title="<?php echo $imgcaption; ?> Merchant Circle" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" /></a><?php
|
436 |
} else {
|
437 |
echo ''; //If no URL inputed
|
438 |
}
|
439 |
|
440 |
// Custom Icon 1
|
441 |
if ( $custom1url != '' && $custom1name != '' && $custom1icon != '' ) {
|
442 |
+
?><a href="<?php echo $custom1url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom1icon; ?>" alt="<?php echo $imgcaption; ?> <?php echo $custom1name; ?>" title="<?php echo $imgcaption; ?> <?php echo $custom1name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
443 |
} else {
|
444 |
echo ''; //If no URL inputed
|
445 |
}
|
446 |
|
447 |
// Custom Icon 2
|
448 |
if ( $custom2url != '' && $custom2name != '' && $custom2icon != '' ) {
|
449 |
+
?><a href="<?php echo $custom2url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom2icon; ?>" alt="<?php echo $imgcaption; ?> <?php echo $custom2name; ?>" title="<?php echo $imgcaption; ?> <?php echo $custom2name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
450 |
} else {
|
451 |
echo ''; //If no URL inputed
|
452 |
}
|
453 |
|
454 |
// Custom Icon 3
|
455 |
if ( $custom3url != '' && $custom3name != '' && $custom3icon != '' ) {
|
456 |
+
?><a href="<?php echo $custom3url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom3icon; ?>" alt="<?php echo $imgcaption; ?> <?php echo $custom3name; ?>" title="<?php echo $imgcaption; ?> <?php echo $custom3name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
457 |
} else {
|
458 |
echo ''; //If no URL inputed
|
459 |
}
|
460 |
|
461 |
// Custom Icon 4
|
462 |
if ( $custom4url != '' && $custom4name != '' && $custom4icon != '' ) {
|
463 |
+
?><a href="<?php echo $custom4url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom4icon; ?>" alt="<?php echo $imgcaption; ?> <?php echo $custom4name; ?>" title="<?php echo $imgcaption; ?> <?php echo $custom4name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
464 |
} else {
|
465 |
echo ''; //If no URL inputed
|
466 |
}
|
467 |
|
468 |
// Custom Icon 5
|
469 |
if ( $custom5url != '' && $custom5name != '' && $custom5icon != '' ) {
|
470 |
+
?><a href="<?php echo $custom5url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom5icon; ?>" alt="<?php echo $imgcaption; ?> <?php echo $custom5name; ?>" title="<?php echo $imgcaption; ?> <?php echo $custom5name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
471 |
} else {
|
472 |
echo ''; //If no URL inputed
|
473 |
}
|
474 |
|
475 |
// Custom Icon 6
|
476 |
if ( $custom6url != '' && $custom6name != '' && $custom6icon != '' ) {
|
477 |
+
?><a href="<?php echo $custom6url; ?>" <?php echo $nofollow; ?> <?php echo $newtab; ?>><img src="<?php echo $custom6icon; ?>" alt="<?php echo $imgcaption; ?> <?php echo $custom6name; ?>" title="<?php echo $imgcaption; ?> <?php echo $custom6name; ?>" <?php if($animation == 'fade' || $animation == 'combo') { ?> style="opacity: <?php echo $icon_opacity; ?>; -moz-opacity: <?php echo $icon_opacity;?>;" <?php } ?>class="<?php echo $animation; ?>" width="<?php echo $icon_size; ?>" height="<?php echo $icon_size; ?>" /></a><?php
|
478 |
} else {
|
479 |
echo ''; //If no URL inputed
|
480 |
}
|