modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ require("../SiteTranslatorAdmin.php"); $translator = new SiteTranslatorAdmin(); ?> <html> <body> <? if (!$translator->isLoggedIn() || !$translator->isEditor()) { echo "<h2>Access denied</h2>"; } else { if ($_POST["submit"]) { if ($translator->addText($_POST["key"], $_POST["text"]))
Copyright (C) 2004 C.N.Eberhardt (webmaster@jugglingdb.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ require("../SiteTranslatorAdmin.php"); $translator = new SiteTranslatorAdmin(); $translator->logout(); ?> <html> <head> <title>Logout</title> </head> <body> <h3>You have logged out</h3> </body> </html>
modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ require("../SiteTranslatorAdmin.php"); $translator = new SiteTranslatorAdmin(); ?> <html> <head> <style type="text/css"> <!-- a.small { font-size: 8pt;text-decoration: none; } td { font-size: 8pt;background-color: #ffffff; } --> </style> </head> <body> <? echo '<a target="_top" href="logout.php">Log out</a><p>';
modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ require("../SiteTranslatorAdmin.php"); $translator = new SiteTranslatorAdmin(); ?> <html> <body> <? if (!$translator->isLoggedIn()) { echo "<h2>Access denied</h2>"; } else { if ($_POST["submit"]) { if ($translator->isEditor())
modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ require("../SiteTranslatorAdmin.php"); $translator = new SiteTranslatorAdmin(); $blnShowForm = true; if ($_POST["submit"]) { if ($translator->login($_POST["username"], $_POST["password"])) { $blnShowForm = false; //redirect to the specified page. if ($_POST["redir"]) header("Location: ".$_POST["redir"]); else header("Location: index.php"); }