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> | |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
| })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
| var full = window.location.host; | |
| var parts = full.split('.'); | |
| var sub = parts[0]; | |
| ga('create', 'UA-42037845-1', 'kingsupplements.com'); | |
| ga('send', 'pageview', { |
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
| <?php | |
| switch(rand(1,4)) { | |
| case 1: $callb = array("call_button2.png", "Click to Call Button a1", "We're Here To Help"); break; | |
| case 2: $callb = array("call_button3.png", "Click to Call Button a2", "Our scheduling department is happy to assist you");break; | |
| case 3: $callb = array("call_button2.png", "Click to Call Button a3", "Our scheduling department is happy to assist you"); break; | |
| case 4: $callb = array("call_button3.png", "Click to Call Button a4", "We're Here To Help");break; | |
| } | |
| ?> | |
| <a href="tel:<?php echo $id['PHONE']?>" onclick="_gaq.push(['_trackEvent', 'Mobile', '<?php echo $callb[1];?>', '<?php echo $callb[2];?>'])"><?php echo $id['PHONE']?></a> |
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
| <?php | |
| $username = "username"; | |
| $password = "pass"; | |
| $hostname = "localhost"; | |
| $db = "dbname"; | |
| //connection to the database | |
| $dbhandle = mysql_connect($hostname, $username, $password) | |
| or die("Unable to connect to MySQL"); |
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 createRemovalMessage(url, name, domain) | |
| { | |
| if(url) | |
| { | |
| return 'Hello, My name is '+name+' I work for the company '+domain+'. We\'ve noticed there is a link at '+url+' We would greatly appreciate it if you could remove it, our website has been penalized and we are working hard to remove that penalty. We worked with an SEO company that built links for us in an unscrupulous manner. We apologize for any inconvenience this may cause, but removing this link should actually help your site\'s overall quality. If you need any help, please don\'t hesitate to contact me directly. I\'d be more than happy to help. The link is directed to '+domain+' Thanks. '+name'; | |
| } | |
| else | |
| { | |
| return; |
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
| <?php | |
| $headline = $_GET["headline"]; | |
| $headline = str_replace('+', ' ', $headline); | |
| $text_line = explode("+",$headline); | |
| for ($start=0; $start < count($text_line); $start++) { | |
| print $text_line[$start] . " "; | |
| } | |
| ?> |
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
| <?php | |
| $ppc_campaign=$_GET["utm_content"]; | |
| switch($ppc_campaign) { | |
| case "carpet_cleaning": $phone="480-555-1212";break; | |
| case "tile_cleaning": $phone="480-555-1212";break; | |
| case "carpet_cleaners": $phone="480-555-1212";break; | |
| default: $phone="480-515-1240";break; | |
| }; |
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
| /************************************ | |
| * Store Account, Campaign, and AdGroup Level Quality Score | |
| * Version 1.2 | |
| * ChangeLog v1.2 | |
| * - Changed status to ENABLED | |
| * ChangeLog v1.1 | |
| * - Added APPEND option | |
| * - Added ability to create spreadsheet sheets | |
| * - Updated logic for faster spreadsheet insertion | |
| * Created By: Russ Savage |
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
| <?php | |
| if($_GET["ppc"] == “true”) { | |
| $cookieValue = “PPCVisit”; | |
| setcookie(“PPCCampaignTracking”, $cookieValue, time()+60*60*24*90); //90 days | |
| $cookie = $cookieValue; | |
| } else { | |
| $cookie = $_COOKIE["NoTracking"]; |
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
| AddOutputFilterByType DEFLATE text/plain | |
| AddOutputFilterByType DEFLATE text/html | |
| AddOutputFilterByType DEFLATE text/xml | |
| AddOutputFilterByType DEFLATE text/css | |
| AddOutputFilterByType DEFLATE application/xml | |
| AddOutputFilterByType DEFLATE application/xhtml+xml | |
| AddOutputFilterByType DEFLATE application/rss+xml | |
| AddOutputFilterByType DEFLATE application/javascript | |
| AddOutputFilterByType DEFLATE application/x-javascript |