+ killme();
+}
+
+function share_header($author, $profile, $avatar, $guid, $posted, $link) {
+ $header = "[share author='".str_replace(array("'", "[", "]"), array("'", "[", "]"),$author).
+ "' profile='".str_replace(array("'", "[", "]"), array("'", "[", "]"),$profile).
+ "' avatar='".str_replace(array("'", "[", "]"), array("'", "[", "]"),$avatar);
+
+ if ($guid)
+ $header .= "' guid='".str_replace(array("'", "[", "]"), array("'", "[", "]"),$guid);
+
+ if ($posted)
+ $header .= "' posted='".str_replace(array("'", "[", "]"), array("'", "[", "]"),$posted);
+
+ $header .= "' link='".str_replace(array("'", "[", "]"), array("'", "[", "]"),$link)."']";
+
+ return $header;