Title: site hacked, code lost
Last modified: March 13, 2017

---

# site hacked, code lost

 *  Resolved [wizzofoz](https://wordpress.org/support/users/wizzofoz/)
 * (@wizzofoz)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/site-hacked-code-lost/)
 * My site was hacked and somehow code on my Events Calendar table page was corrupted.
   
   Can someone help me to get the code complete again? I had a table that displayed
   all upcoming events with a search button. After the hack the table is converted
   into static HTML and I think some JAVAscript is missing. I tried using previous
   versions but they all are corrupted. This is the code that is left:
 *     ```
       <div class="em-search-wrapper">
       	<div class="em-events-search em-search css-search has-search-term has-search-main no-advanced advanced-visible">
       		<form action="http://www.grotetrek.nl/" method="post" class="em-events-search-form em-search-form">
       		<div class="em-search-main">
       			<!-- START General Search -->
       			<div class="em-search-text em-search-field">
       				EM.search_term_placeholder = 'Zoeken';
       				<label>
       					<span class="screen-reader-text">Zoeken</span>
       				</label>
       			</div>
       			<!-- END General Search --> <button type="submit" class="em-search-submit loading">
       			<!--[if IE 7]><span><![endif]-->
       			<img src="http://www.grotetrek.nl/wp-content/plugins/events-manager/includes/images/search-mag.png" alt="Zoeken" />
       			<!--[if IE 7]></span><![endif]-->
       			</button>
       		</div>
       		</form>
       	</div>
       </div>
   
       <div class='css-events-list'>
       	<table cellpadding="0" cellspacing="0" class="events-table">
       	<thead>
       	<tr>
       		<th class="event-time" width="150">Datum</th>
       		<th class="event-time" width="150">Tijd</th>
       		<th class="event-description" width="*">Evenement</th>
       	</tr>
       	</thead>
       	<tbody>
       	<tr>
       		<td>09/04/2017</td>
       		<td>13:00 - 17:00</td>
       		<td><a href="http://www.grotetrek.nl/events/koopzondag-7/">Koopzondag</a></td>
       	</tr>
       	</tbody>
       	</table>
       </div>
   
       <p style="color:#999;font-size:11px">Powered by <a href="http://wp-events-plugin.com" style="color:#999" target="_blank">Events Manager</a></p>
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/site-hacked-code-lost/#post-8908454)
 * This looks like custom code, rather than any of the default code / formatting.
   What is it you’re trying to do with it?
 *  Thread Starter [wizzofoz](https://wordpress.org/support/users/wizzofoz/)
 * (@wizzofoz)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/site-hacked-code-lost/#post-8908769)
 * I used to have a table with all events on the page.
    Look at [http://grotetrek.nl](http://grotetrek.nl)
   the startpage. Now it is only fixed html with one row, it used to be a dynamic
   table.
 *  Thread Starter [wizzofoz](https://wordpress.org/support/users/wizzofoz/)
 * (@wizzofoz)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/site-hacked-code-lost/#post-8911031)
 * I think I found it 🙂 just removed all HTML and replaced it by a simple short
   code … that did the trick

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘site hacked, code lost’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [wizzofoz](https://wordpress.org/support/users/wizzofoz/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/site-hacked-code-lost/#post-8911031)
 * Status: resolved