• Resolved wizzofoz

    (@wizzofoz)


    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="https://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="https://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="https://www.grotetrek.nl/events/koopzondag-7/">Koopzondag</a></td>
    	</tr>
    	</tbody>
    	</table>
    </div>
    
    <p style="color:#999;font-size:11px">Powered by <a href="https://wp-events-plugin.com" style="color:#999" target="_blank">Events Manager</a></p>
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    (@wizzofoz)

    I used to have a table with all events on the page.
    Look at https://grotetrek.nl the startpage. Now it is only fixed html with one row, it used to be a dynamic table.

    Thread Starter wizzofoz

    (@wizzofoz)

    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.