guid; $title = $vars['entity']->title; $description = $vars['entity']->description; $address = $vars['entity']->address; $tags = $vars['entity']->tags; $access_id = $vars['entity']->access_id; $shares = $vars['entity']->shares; $owner = $vars['entity']->getOwnerEntity(); $highlight = 'default'; } else { $guid = 0; $title = get_input('title',""); $title = stripslashes($title); // strip slashes from URL encoded apostrophes $description = ""; $address = get_input('address',""); $highlight = 'all'; if ($address == "previous") $address = $_SERVER['HTTP_REFERER']; $tags = array(); if (defined('ACCESS_DEFAULT')) { $access_id = ACCESS_DEFAULT; } else { $access_id = 0; } $shares = array(); $owner = page_owner_entity(); } ?>