|
@@ 379-382 (lines=4) @@
|
| 376 |
|
/** @var \XoopsModules\Smallworld\Helper $helper */ |
| 377 |
|
$helper = Helper::getInstance(); |
| 378 |
|
switch ($num) { |
| 379 |
|
case 0: |
| 380 |
|
$image = '<img title="Msn" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/msn.png') . '">'; |
| 381 |
|
$link = '<a title="Msn" id="Smallworld_socialnetwork" target="_blank" href="http://members.msn.com/' . $name . '">'; |
| 382 |
|
break; |
| 383 |
|
case 1: |
| 384 |
|
$image = '<img title="facebook" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/facebook.png') . '">'; |
| 385 |
|
$link = '<a title="facebook" id="Smallworld_socialnetwork" target="_blank" href="http://www.facebook.com/' . $name . '">'; |
|
@@ 383-386 (lines=4) @@
|
| 380 |
|
$image = '<img title="Msn" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/msn.png') . '">'; |
| 381 |
|
$link = '<a title="Msn" id="Smallworld_socialnetwork" target="_blank" href="http://members.msn.com/' . $name . '">'; |
| 382 |
|
break; |
| 383 |
|
case 1: |
| 384 |
|
$image = '<img title="facebook" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/facebook.png') . '">'; |
| 385 |
|
$link = '<a title="facebook" id="Smallworld_socialnetwork" target="_blank" href="http://www.facebook.com/' . $name . '">'; |
| 386 |
|
break; |
| 387 |
|
case 2: |
| 388 |
|
$image = '<img title="GooglePlus" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/googleplus.png') . '">'; |
| 389 |
|
$link = '<a title="GooglePlus" id="Smallworld_socialnetwork" target="_blank" href="https://plus.google.com/' . $name . '">'; |
|
@@ 387-390 (lines=4) @@
|
| 384 |
|
$image = '<img title="facebook" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/facebook.png') . '">'; |
| 385 |
|
$link = '<a title="facebook" id="Smallworld_socialnetwork" target="_blank" href="http://www.facebook.com/' . $name . '">'; |
| 386 |
|
break; |
| 387 |
|
case 2: |
| 388 |
|
$image = '<img title="GooglePlus" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/googleplus.png') . '">'; |
| 389 |
|
$link = '<a title="GooglePlus" id="Smallworld_socialnetwork" target="_blank" href="https://plus.google.com/' . $name . '">'; |
| 390 |
|
break; |
| 391 |
|
case 3: |
| 392 |
|
$image = '<img title="icq" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/icq.png') . '">'; |
| 393 |
|
$link = '<a title="icq" id="Smallworld_socialnetwork" target="_blank" href="http://www.icq.com/people/' . $name . '/">'; |
|
@@ 391-394 (lines=4) @@
|
| 388 |
|
$image = '<img title="GooglePlus" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/googleplus.png') . '">'; |
| 389 |
|
$link = '<a title="GooglePlus" id="Smallworld_socialnetwork" target="_blank" href="https://plus.google.com/' . $name . '">'; |
| 390 |
|
break; |
| 391 |
|
case 3: |
| 392 |
|
$image = '<img title="icq" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/icq.png') . '">'; |
| 393 |
|
$link = '<a title="icq" id="Smallworld_socialnetwork" target="_blank" href="http://www.icq.com/people/' . $name . '/">'; |
| 394 |
|
break; |
| 395 |
|
case 4: |
| 396 |
|
$image = '<img title="Skype" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/skype.png') . '">'; |
| 397 |
|
$link = '<a title="Skype" id="Smallworld_socialnetwork" target="_blank" href="skype:' . $name . '?userinfo">'; |
|
@@ 395-398 (lines=4) @@
|
| 392 |
|
$image = '<img title="icq" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/icq.png') . '">'; |
| 393 |
|
$link = '<a title="icq" id="Smallworld_socialnetwork" target="_blank" href="http://www.icq.com/people/' . $name . '/">'; |
| 394 |
|
break; |
| 395 |
|
case 4: |
| 396 |
|
$image = '<img title="Skype" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/skype.png') . '">'; |
| 397 |
|
$link = '<a title="Skype" id="Smallworld_socialnetwork" target="_blank" href="skype:' . $name . '?userinfo">'; |
| 398 |
|
break; |
| 399 |
|
case 5: |
| 400 |
|
$image = '<img title="Twitter" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/twitter.png') . '">'; |
| 401 |
|
$link = '<a title="Twitter" id="Smallworld_socialnetwork" target="_blank" href="http://twitter.com/#!/' . $name . '">'; |
|
@@ 399-402 (lines=4) @@
|
| 396 |
|
$image = '<img title="Skype" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/skype.png') . '">'; |
| 397 |
|
$link = '<a title="Skype" id="Smallworld_socialnetwork" target="_blank" href="skype:' . $name . '?userinfo">'; |
| 398 |
|
break; |
| 399 |
|
case 5: |
| 400 |
|
$image = '<img title="Twitter" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/twitter.png') . '">'; |
| 401 |
|
$link = '<a title="Twitter" id="Smallworld_socialnetwork" target="_blank" href="http://twitter.com/#!/' . $name . '">'; |
| 402 |
|
break; |
| 403 |
|
case 6: |
| 404 |
|
$image = '<img title="MySpace" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/myspace.png') . '">'; |
| 405 |
|
$link = '<a title="MySpace" id="Smallworld_socialnetwork" target="_blank" href="http://www.myspace.com/' . $name . '">'; |
|
@@ 403-406 (lines=4) @@
|
| 400 |
|
$image = '<img title="Twitter" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/twitter.png') . '">'; |
| 401 |
|
$link = '<a title="Twitter" id="Smallworld_socialnetwork" target="_blank" href="http://twitter.com/#!/' . $name . '">'; |
| 402 |
|
break; |
| 403 |
|
case 6: |
| 404 |
|
$image = '<img title="MySpace" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/myspace.png') . '">'; |
| 405 |
|
$link = '<a title="MySpace" id="Smallworld_socialnetwork" target="_blank" href="http://www.myspace.com/' . $name . '">'; |
| 406 |
|
break; |
| 407 |
|
case 7: |
| 408 |
|
$image = '<img title="XOOPS" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/xoops.png') . '">'; |
| 409 |
|
$link = '<a title="XOOPS" id="Smallworld_socialnetwork" target="_blank" href="https://xoops.org/modules/profile/userinfo.php?uid=' . $name . '">'; |
|
@@ 407-410 (lines=4) @@
|
| 404 |
|
$image = '<img title="MySpace" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/myspace.png') . '">'; |
| 405 |
|
$link = '<a title="MySpace" id="Smallworld_socialnetwork" target="_blank" href="http://www.myspace.com/' . $name . '">'; |
| 406 |
|
break; |
| 407 |
|
case 7: |
| 408 |
|
$image = '<img title="XOOPS" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/xoops.png') . '">'; |
| 409 |
|
$link = '<a title="XOOPS" id="Smallworld_socialnetwork" target="_blank" href="https://xoops.org/modules/profile/userinfo.php?uid=' . $name . '">'; |
| 410 |
|
break; |
| 411 |
|
case 8: |
| 412 |
|
$image = '<img title="Yahoo Messenger" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/yahoo.png') . '">'; |
| 413 |
|
$link = '<a title="Yahoo Messenger" id="Smallworld_socialnetwork" target="_blank" href="ymsgr:sendim?' . $name . '">'; |
|
@@ 411-414 (lines=4) @@
|
| 408 |
|
$image = '<img title="XOOPS" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/xoops.png') . '">'; |
| 409 |
|
$link = '<a title="XOOPS" id="Smallworld_socialnetwork" target="_blank" href="https://xoops.org/modules/profile/userinfo.php?uid=' . $name . '">'; |
| 410 |
|
break; |
| 411 |
|
case 8: |
| 412 |
|
$image = '<img title="Yahoo Messenger" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/yahoo.png') . '">'; |
| 413 |
|
$link = '<a title="Yahoo Messenger" id="Smallworld_socialnetwork" target="_blank" href="ymsgr:sendim?' . $name . '">'; |
| 414 |
|
break; |
| 415 |
|
case 9: |
| 416 |
|
$image = '<img title="Youtube" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/youtube.png') . '">'; |
| 417 |
|
$link = '<a title="Youtube" id="Smallworld_socialnetwork" target="_blank" href="http://www.youtube.com/user/' . $name . '">'; |
|
@@ 415-418 (lines=4) @@
|
| 412 |
|
$image = '<img title="Yahoo Messenger" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/yahoo.png') . '">'; |
| 413 |
|
$link = '<a title="Yahoo Messenger" id="Smallworld_socialnetwork" target="_blank" href="ymsgr:sendim?' . $name . '">'; |
| 414 |
|
break; |
| 415 |
|
case 9: |
| 416 |
|
$image = '<img title="Youtube" id="Smallworld_socialnetworkimg" src="' . $helper->url('assets/images/socialnetworkicons/youtube.png') . '">'; |
| 417 |
|
$link = '<a title="Youtube" id="Smallworld_socialnetwork" target="_blank" href="http://www.youtube.com/user/' . $name . '">'; |
| 418 |
|
break; |
| 419 |
|
} |
| 420 |
|
|
| 421 |
|
return $image . $link; |