//skype function
function skype($nick='mrkiller123', $mode='big', $do='call') {
if(!empty($nick)) {
if($mode=='big') {
return "<a href='skype:".$nick."?".$do."'><img src='http://mystatus.skype.com/smallclassic/".$nick."' style='border: none;' width='114' height='20' alt='Skype Statusas' /></a> ";
} else if($mode=='small') {
return "<a href='skype:".$nick."?".$do."'><img src='http://mystatus.skype.com/smallicon/".$nick."' style='border: none;' width='16' height='16' alt='Skype Statusas' /></a> ";
}
} else {
return "";
}
}
<?
$text = eregi_replace("([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])",
"<a href=\"\\1://\\2\\3\"
target=\"_blank\">\\1://\\2\\3</a>", $text);
?>
Category Forum
General DiscussionLabels
None yet
Statistics
8 participants
Notifications
You are not receiving notifications from this thread.
Related Questions