Gestione gruppi proxy
This commit is contained in:
15
proxy/ext/chkpasswd_proxy.php
Executable file → Normal file
15
proxy/ext/chkpasswd_proxy.php
Executable file → Normal file
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
include_once ("../../core/config.php");
|
||||
include_once ("function_proxy.php");
|
||||
include_once ("core/config.php");
|
||||
include_once ("proxy/ext/function_proxy.php");
|
||||
$UTENTE = login_proxy();
|
||||
view_top_proxy();
|
||||
|
||||
@@ -38,7 +38,7 @@ Non e' stato possibile eseguire l'operazione richiesta a causa di un errore: <?p
|
||||
<td><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif" width="1" height="5" alt=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="button" value="Ok" onclick="location.href = 'main.php';"></button></td>
|
||||
<td><input type="button" value="Ok" onclick="location.href = 'main_proxy.php';"></button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif" width="1" height="10" alt=""></td>
|
||||
@@ -102,13 +102,6 @@ $(document).ready(function()
|
||||
<td class="status" colspan="6"></td>
|
||||
</tr>
|
||||
<tr><td colspan="9"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif" width="1" height="5" alt=""></td></tr>
|
||||
<tr>
|
||||
<td><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif" width="30" height="1" alt=""></td>
|
||||
<td class="label"><label id="lmail" for="mail">Indirizzo E-Mail</label></td>
|
||||
<td class="field"><input id="mail" name="mail" type="text" value="<?php print $dato['mail']?>" maxlength="50" /></td>
|
||||
<td class="status" colspan="6"></td>
|
||||
</tr>
|
||||
<tr><td colspan="9"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif" width="1" height="5" alt=""></td></tr>
|
||||
<tr>
|
||||
<td class="col1" colspan="9">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
@@ -142,7 +135,7 @@ $(document).ready(function()
|
||||
<tr><td align="center" colspan="9">
|
||||
<input type="submit" value="<?php print $bottone ?>">
|
||||
|
||||
<input type="button" value="Annulla" onclick="location.href = 'main.php';"></button>
|
||||
<input type="button" value="Annulla" onclick="location.href = 'main_proxy.php';"></button>
|
||||
</td></tr>
|
||||
|
||||
<tr><td colspan="9"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif" width="1" height="10" alt=""></td></tr>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr bgcolor="#FFC350">
|
||||
<tr bgcolor="#34c6ea">
|
||||
<td nowrap class="lbottom"> <?php print $CONF['Versione'] ?></td>
|
||||
<td width="500"> </td>
|
||||
<?php if ($UTENTE['admin']) { ?>
|
||||
<td class="rtop"><a class="rtop" href="main.php">Admin </a></td>
|
||||
<td class="rtop"><a class="rtop" href="main_proxy.php">Admin </a></td>
|
||||
<?php } else {?>
|
||||
<td> </td>
|
||||
<?php } ?>
|
||||
|
||||
@@ -81,7 +81,7 @@ function carica_utente_proxy () {
|
||||
function lista_moduli_proxy () {
|
||||
global $UTENTE, $DB_ID, $CONF;
|
||||
|
||||
$menu[] = array("Home", "main.php",0,"Home Page",0);
|
||||
$menu[] = array("Home", "main_proxy.php",0,"Home Page",0);
|
||||
$menu[] = array("Cambio password", "chkpasswd_proxy.php",0,"Cambio Password");
|
||||
|
||||
$pezzi = preg_split('/\//', $_SERVER["PHP_SELF"], -2);
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
include_once ("../../core/config.php");
|
||||
include_once ("function_proxy.php");
|
||||
include_once ("core/config.php");
|
||||
include_once ("proxy/ext/function_proxy.php");
|
||||
login_proxy();
|
||||
session_name("authmail");
|
||||
session_start();
|
||||
$_SESSION['auth'] = 0;
|
||||
session_destroy();
|
||||
header('Location: main.php');
|
||||
header('Location: main_proxy.php');
|
||||
?>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
include_once ("../../core/config.php");
|
||||
include_once ("function_proxy.php");
|
||||
include_once ("core/config.php");
|
||||
include_once ("proxy/ext/function_proxy.php");
|
||||
$UTENTE = login_proxy();
|
||||
view_top_proxy();
|
||||
?>
|
||||
|
||||
<META HTTP-EQUIV="Refresh" CONTENT="30" URL="main.php">
|
||||
<META HTTP-EQUIV="Refresh" CONTENT="30" URL="main_proxy.php">
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="90%">
|
||||
<tr><td class="spaziov" colspan="9"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td></tr>
|
||||
@@ -10,7 +10,7 @@
|
||||
if ($UTENTE['user'] != '') { ?>
|
||||
<tr><td>
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr bgcolor="#FFC350">
|
||||
<tr bgcolor="#34c6ea">
|
||||
<td nowrap class="ltop">Utente: <?php print $_SESSION['username'] ?></td>
|
||||
<td width="200"> </td>
|
||||
<td class="rtop"><a class="rtop" href="logout_proxy.php">Logout</a></td>
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
lista_moduli_proxy();
|
||||
} else {?>
|
||||
<tr bgcolor="#FFC350"><td> </td></tr>
|
||||
<tr bgcolor="#34c6ea"><td> </td></tr>
|
||||
<?php } ?>
|
||||
</td></tr>
|
||||
<tr><td class="spaziov" colspan=2><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td></tr>
|
||||
|
||||
Reference in New Issue
Block a user