GetSignPackage();
if($route == 'thread' && $action != 'create') {
preg_match('/
]*?src="([^"]*?)"[^>]*?>/i', $first['message_fmt'], $match);
if(!empty($match[1])) {
$protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://";
$siteurl = "$protocol$_SERVER[HTTP_HOST]";
if(substr($match[1], 0, 4) == 'http') {
$sharelogo = $match[1];
} else {
$sharelogo = $siteurl.'/'.$match[1];
}
}
}
?>