Location: PHPKode > projects > PHPOLL php - mysql poll system > phpoll_files/admin/index.php

This file is part of PHPOLL.

    PHPOLL 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.

    PHPOLL is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with PHPOLL; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA



if (isset ($_GET['language'])) { 

else {

if ($language==0) {

  die ("Try a different way!");


include "../config/config.php";
include "localization.php";


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">


<script type="text/javascript" language="JavaScript">


<title>PHPOLL administrator</title>
<link rel="stylesheet" href="../css/homepage_layout.css" title="homepage layout" />

<div class="corpo">

<img src="../img/poll_logo.jpg" alt="phpoll logo" />
<img src="../main_img/phpoll_char.gif" alt="phpoll" />

<br />

<a href="config_editor.php?language=1"><img src="../img/ita.jpg" alt="italiano" /></a>
<a href="config_editor.php?language=2"><img src="../img/eng.jpg" alt="english" /></a>

<br />


print "<div class=\"titolo_db\">";
print "POLL: ".$prepoll;
print "&nbsp;&nbsp;&nbsp;IP: ".$_SERVER['REMOTE_ADDR'];
print "</div>";


<div class="menu">


print "<a href=\"config_editor.php?language=".$language."\">".$admin_menu_config."</a>";
print "<a href=\"band_editor.php\">".$admin_menu_candidati."</a>";
print "<a href=\"votanti.php?language=".$language."\">".$admin_menu_voti."</a>";
print "<a href=\"risultati_config.php?language=".$language."\">".$admin_menu_risultati."</a>";




Return current item: PHPOLL php - mysql poll system