<br />
<b>Warning</b>:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in <b>/var/www/vhosts/danzarrella.com/httpdocs/rtm_common.php</b> on line <b>6</b><br />
<br />
<b>Warning</b>:  mysql_select_db(): supplied argument is not a valid MySQL-Link resource in <b>/var/www/vhosts/danzarrella.com/httpdocs/rtm_common.php</b> on line <b>7</b><br />
<br />
<b>Notice</b>:  Undefined index:  HTTP_REFERER in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>5</b><br />
<br />
<b>Warning</b>:  mysql_query(): supplied argument is not a valid MySQL-Link resource in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>9</b><br />
<br />
<b>Warning</b>:  mysql_num_rows(): supplied argument is not a valid MySQL result resource in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>10</b><br />
<br />
<b>Notice</b>:  Undefined offset:  1 in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>63</b><br />
<br />
<b>Notice</b>:  Undefined offset:  1 in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>75</b><br />
<br />
<b>Notice</b>:  Undefined offset:  2 in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>77</b><br />
<br />
<b>Notice</b>:  Undefined variable: twurl in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>28</b><br />
<br />
<b>Notice</b>:  Undefined variable: zima in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>28</b><br />
<br />
<b>Warning</b>:  mysql_query(): supplied argument is not a valid MySQL-Link resource in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>28</b><br />

			var head = document.getElementsByTagName("head").item(0);
			var script = document.createElement('script');
			script.setAttribute('src', 'http://search.twitter.com/search.json?rpp=100&q=&callback=tb_json&ors=++Error%3A+The+URL+entered+was+not+valid.+http%3A%2F%2Fsnipurl.com%2F%27%29%3B');
			head.appendChild(script);
			

function strstr( haystack, needle, bool ) {
    var pos = 0;
 
    haystack += '';
    pos = haystack.indexOf( needle );
    if( pos == -1 ){
        return false;
    } else{
        if( bool ){
            return haystack.substr( 0, pos );
        } else{
            return haystack.slice( pos );
        }
    }
}
function stristr( haystack, needle, bool ) {
    var pos = 0;
 
    haystack += '';
    pos = haystack.toLowerCase().indexOf( (needle+'').toLowerCase() );
    if( pos == -1 ){
        return false;
    } else{
        if( bool ){
            return haystack.substr( 0, pos );
        } else{
            return haystack.slice( pos );
        }
    }
}
function tb_json(obj) {
tbcontent='';
var tbcount=0;
var max = 10;

if(obj.results.length>0) {
for (i=0;i<max;i++) {	
        icon = obj.results[i].profile_image_url;
        user = obj.results[i].from_user;
        tweet = obj.results[i].text;
		addt=true;
		tbcount++;
		if(stristr(tweet, 'is.gd', true)) {
			if(strstr(tweet, 'Error: The URL entered was not valid.')) {
				
			}
			else {
				tbcount--;
				addt=false;
			}
		}
		if(stristr(tweet, 'bit.ly', true)) {
			if(strstr(tweet, '')) {
				
			}
			else {
				tbcount--;			
				addt=false;
			}
		}
		
		<br />
<b>Notice</b>:  Undefined index:  blockedusers in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>176</b><br />
		
		tid = obj.results[i].id;
		twlink ='http://twitter.com/'+user+'/status/'+tid;
        postedAt = obj.results[i].created_at;
	
		if(addt) {	
		<br />
<b>Notice</b>:  Undefined index:  noavatars in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>195</b><br />
<br />
<b>Notice</b>:  Undefined index:  nostyle in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>199</b><br />
		tbcontent += "<li style='display: block; background-image: url("+icon+"); background-repeat:no-repeat; padding-left:50px; height: 50px; padding-bottom: 10px;'><b><A href='http://twitter.com/"+user+"'>"+user+"</a>:</b> "+tweet+" "+postedAt+"</li>";
				}
	}	
	}
	if(tbcount>0) {
<br />
<b>Notice</b>:  Undefined index:  notitle in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>209</b><br />
	 <br />
<b>Notice</b>:  Undefined index:  totalonly in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>211</b><br />
<br />
<b>Notice</b>:  Undefined index:  countonly in <b>/var/www/vhosts/danzarrella.com/httpdocs/tbjs.php</b> on line <b>211</b><br />
 
	 		 document.getElementById('tweetbacks').innerHTML = "<b>Showing "+tbcount+" TweetBacks:</b>";
	 	 document.getElementById('tweetbacks').innerHTML += "<ul>";
	 document.getElementById('tweetbacks').innerHTML += tbcontent;
	document.getElementById('tweetbacks').innerHTML += "</ul>";
	 	 			var pgtitle =  'A+Word+of+Thanks+To+our+Readers';
		document.getElementById('tweetbacks').innerHTML += "<iframe style='visibility:hidden; height:0px; width:0px;' src='http://danzarrella.com/tweetstats.php?count="+tbcount+"&title="+pgtitle+"'></iframe>";
		}
	else {
		document.getElementById('tweetbacks').innerHTML = "No TweetBacks yet.</b>";
	}
}

document.write('<div id="tweetbacks"></div>');
