function itemoptions($item_type, $item_id, $user_author) {
global $locale, $aidlink; $res = "";
$author2 = dbquery("SELECT news_name FROM ".DB_NEWS." WHERE news_id='".$item_id."'");
$author = dbarray($author2);
if ($item_type == "N" && $author['news_name'] == $user_author) {
if (iADMIN && checkrights($item_type)) { $res .= " ·
\n"; }
} elseif ($item_type == "A") {
if (iADMIN && checkrights($item_type)) { $res .= " ·
\n"; }
}
return $res;
}