echo 'message not found ' . $file; } $LANG = $lg->language_read(); $edit_mode = round($_SESSION['editmode']); $tabela = 'cep_team'; $pag_id = $dd[11]; require "_class/_class_team.php"; $tm = new team(); $tm->protocol = $pag_id; if ($dd[10] == 'con') { $id = $dd[12]; $tm->team_contact($id, $tm->protocol, 'cep_team'); } if ($dd[10] == 'del') { $id = $dd[12]; $tm->team_delete_member($id, $tm->protocol, 'cep_team'); } if ($dd[10] == 'add') { $email = $dd[12]; if (checaemail($email)) { $author = $tm->author_exist($email); if ($author != -1 and strlen($author) == 7) { $et = $tm->team_insert_author($author, $tm->protocol, 'cep_team', $type = 'N'); } else { $err = '<div id="alert">'; $err .= '<font color="red">'; $err .= msg('author_not_found'); $err .= '</div>'; $tm->erro = $err; } } else {
} else { echo 'message not found ' . $file; } $LANG = $lg->language_read(); $edit_mode = round($_SESSION['editmode']); $pag_id = strzero(round($_SESSION['proj_id']), 7); require "_class/_class_team.php"; $tm = new team(); $tm->protocol = $pag_id; if ($dd[10] == 'con') { $id = $dd[12]; $tm->team_contact($id, $tm->protocol); } if ($dd[10] == 'del') { $id = $dd[12]; $tm->team_delete_member($id, $tm->protocol); } if ($dd[10] == 'add') { $email = $dd[12]; if (checaemail($email)) { $author = $tm->author_exist($email); if ($author != -1 and strlen($author) == 7) { $et = $tm->team_insert_author($author, $tm->protocol, 'cep_submit_team', $type = 'N'); } else { $err = '<div id="alert">'; $err .= '<font color="red">'; $err .= msg('author_not_found'); $err .= '</div>'; } } else { $err = '<div id="alert">';