This file contains 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 | |
$db = mysql_connect ('localhost','root','12345'); | |
mysql_query('SET NAMES UTF8'); | |
mysql_query('SET character_set_client="UTF8"'); | |
mysql_query('SET character_set_cоnnectiоn="UTF8"'); | |
mysql_query('SET character_set_results="UTF8"'); | |
mysql_query('SET character_set_server="UTF8"'); | |
mysql_select_db ('blog,$db); |
This file contains 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
index.html: before </BODY> | |
jQuery(function(){ | |
$('.nav li').mouseover(function() { | |
$(this).addClass('hover'); | |
}); | |
$('.nav li').mouseout(function (e) { | |
// Do not close if going over to a select element | |
if (e.target.tagName.toLowerCase() == 'select') return; | |
$(this).removeClass('hover'); |
This file contains 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
echo <<<JS | |
<script type="text/javascript"> | |
var userIdB = document.getElementById("sf_00ND0000003vleB").value; | |
ga('set', 'dimension1', userIdB); | |
console.log("UID fired: "+ userIdB ); | |
</script> | |
JS; |