HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34
System: Linux atalantini.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64
User: root (0)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //opt/plugins/atalantini/pages/utenti.inc.php
<?
global $wpdb;
?>
        <script src="../wp-content/plugins/elettroteca/js/jquery.js" type="text/javascript"></script>
        <script src="../wp-content/plugins/elettroteca/js/elettrotecaplug.js" type="text/javascript"></script>
        <script src="../wp-content/plugins/elettroteca/js/elettrotecafunctions.js" type="text/javascript"></script>
        <link href="../wp-content/plugins/elettroteca/css/local.css" rel="stylesheet" type="text/css">
        <link type="text/css" href="../wp-content/plugins/elettroteca/css/jquery-ui-1.8.8.custom.css" rel="stylesheet" />
        <script type="text/javascript" src="../wp-content/plugins/elettroteca/js/jquery-ui-1.8.8.custom.min.js"></script>
        <script>

                pageSize = 30;

        </script>

<div class="icon32" id="icon-generic"><br></div><h2>Area Riservata Elettroteca</h2>
<br />
<h3 class="colore_arancio">Gestione utenti</h3>
<div class="container" id="grigliaUtente">  
<div style="float:right">
<div id="paginator" style="float:right;"></div><br>
<input type="text" id="search_utente"><input type="button" value="Cerca" id="confirm_search_utente">
</div>
<a href="#" onClick="creaUtente();" style="float:left;">Aggiungi Utente</a>&nbsp;&nbsp;<br><br />
<table class="wp-list-table widefat fixed posts">  
         <thead>  
           <tr>  
             <th>Id</th>  
             <th>Nome</th>
             <th>Cognome</th>  
             <th>Societa'</th>  
             <th>Email</th>
             <th>Tipo utente</th>
             <th>Azioni</th>  
           </tr>  
         </thead>  
         <tbody id="lista_utente">  
         </tbody>  
       </table>  
</div>

<div class="container" id="formUtente">
<div id="post-body">
<div id="post-body-content">
<div id="titlediv">
<div id="titlewrap">
   Nome<br><input id="nome" type="text" class="span3" placeholder="Type something…">  
</div>
<div id="titlewrap">
   Cognome<br><input id="cognome" type="text" class="span3" placeholder="Type something…">
</div>
<div id="titlewrap">
   Email<br><input id="email" type="text" class="span3" placeholder="Type something…">
</div>
<div id="titlewrap">
   Password<br><input id="password" type="text" class="span3" placeholder="Type something…">
</div>
<div id="titlewrap">
   Societa'<br><input id="societa" type="text" class="span3" placeholder="Type something…">
</div>
<div id="titlewrap">
   Tipo utente<br>   
   <select name="tipo_utente" id="tipo_utente">
	<option value="TITOLARE">TITOLARE</option>
	<option value="DIPENDENTE">DIPENDENTE</option>
   </select>
</div>
<div id="titlewrap">
   Indirizzo:<br><textarea id="indirizzo" class="span3"></textarea>
</div>
<div id="titlewrap">
   Attivo<br>
   <select name="attivo" id="attivo">
        <option value="S">SI</option>
        <option value="N">NO</option>
   </select>
</div>
<div id="titlewrap">
   Sottoscrizione bacheca<br>
   <select name="sottoscrizione_bacheca" id="sottoscrizione_bacheca">
        <option value="S">SI</option>
        <option value="N">NO</option>
   </select>
</div>
<div id="titlewrap">
   Invia Password<br>
   <select name="invia_password" id="invia_password">
        <option value="S">SI</option>
        <option value="N">NO</option>
   </select>
</div>
<div id="titlewrap">
   Abilita promozione<br>
   <select name="promozione" id="promozione">
        <option value="Y">SI</option>
        <option value="N">NO</option>
   </select>
</div>
<div id="titlewrap">
   <button type="button" class="btn" id="btnSaveUtente">Salva</button>
   <button type="button" class="btn" id="btnEsciUtente">Esci</button>     
   <input type="hidden" id="utenteId" value="">
</div>
</div></div></div>
</div>
<script>

listaUtente(1);

</script>