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/eventi.inc.php
<?
global $wpdb;
?>
        <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>

                pageSize = 30;

        </script>

<div class="icon32" id="icon-generic"><br></div><h2>Area Riservata Elettroteca</h2>
<br />
<h3 class="colore_arancio">Gestione Eventi</h3>

<div class="container" id="grigliaEventi">  
<div style="float:right">
<input type="text" id="search_eventi"><input type="button" value="Cerca" id="confirm_search_eventi">
</div>
<a href="#" onClick="creaEventi();" style="float:left;">Aggiungi Eventi</a>&nbsp;&nbsp;<div id="paginator" style="float:left;"></div><br><br />
<table class="wp-list-table widefat fixed posts">  
         <thead>  
           <tr>  
             <th>Id</th>  
             <th>data</th>
             <th>titolo</th>  
             <th>Azioni</th>  
           </tr>  
         </thead>  
         <tbody id="lista_eventi">  
         </tbody>  
       </table>  
</div>

<div class="container" id="formEventi">
<div id="post-body">
<div id="post-body-content">
<div id="titlediv">
<div id="titlewrap">
   Data<br><input name="data_evento" id="data_evento" type="text" class="span3" placeholder="Type something…">  
</div>
<div id="titlewrap">
   Titolo<br><input id="titolo_evento" name="titolo_evento" type="text" class="span3" placeholder="Type something…">
</div>
<div id="titlewrap">
   Testo:<br>
<?php 
$editor_settings = array('media_buttons' => true);
wp_editor("", 'testo_evento', $editor_settings, $tab_index = 2); ?>
</div>
<div id="titlewrap">
   <button type="button" class="btn" id="btnSaveEventi">Salva</button> 
   <button type="button" class="btn" id="btnEsciEventi">Esci</button> 
   <input type="hidden" id="eventiId" value="">
</div>
</div></div></div>
</div>
<script>

listaEventi(1);

</script>