Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'daniele'@'localhost' (using password: YES) in /var/www/public/files/rorrolicious.php on line 22

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/public/files/rorrolicious.php on line 23

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/public/files/rorrolicious.php on line 25

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/public/files/rorrolicious.php on line 27

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/public/files/rorrolicious.php on line 34

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/public/files/rorrolicious.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /var/www/public/files/rorrolicious.php:22) in /var/www/public/files/rorrolicious.php on line 37
// Rorrolicious // // History: // 1.7 (2010/05/12): added Buzz This button, couple of fixes for Tweetmeme // 1.6 (2010/05/09): new way to call the FB fan box, left old code if needed in the future; various optimizations // 1.5 (2010/05/08): added Tweetmeme button // 1.4.1 (2010/05/08): Like style = default // 1.4 (2010/04/29): added Facebook Share button // 1.3 (2010/04/27): added Facebook Like button // 1.2.1 (2010/04/15): query string bug fix // 1.2 (2010/04/12): skip current news from recent news list // 1.1 (2010/04/12): rss and header // 1.0 (2010/04/03): first release function insertAfter(newElement,targetElement) { // target is what you want it to go after. Look for this elements parent. var parent = targetElement.parentNode; // if the parents lastchild is the targetElement... if (parent.lastchild == targetElement) { // add the newElement after the target element. parent.appendChild(newElement); } else { // else the target has siblings, insert the new element between the target and it's next sibling. parent.insertBefore(newElement, targetElement.nextSibling); } } var html_head = document.getElementsByTagName('head').item(0); var html_body = document.getElementsByTagName('body').item(0); var fb_share = document.createElement('script'); fb_share.type = 'text/javascript'; fb_share.src = 'http://static.ak.fbcdn.net/connect.php/js/FB.Share'; html_head.appendChild(fb_share); var buzz_share = document.createElement('script'); buzz_share.type = 'text/javascript'; buzz_share.src = 'http://www.google.com/buzz/api/button.js'; html_head.appendChild(buzz_share); // var fb_script = document.createElement('script'); // fb_script.type = 'text/javascript'; // fb_script.src = 'http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/it_IT'; // html_body.appendChild(fb_script); // var si = window.setInterval('fb1()', 100); // function fb1() { // if (typeof(FB) != 'undefined') { // FB.init("fba339c53d0d75810203e6c1154030b5"); // window.clearInterval(si); // } // } var html_table = document.getElementById('Tabella_01'); if (top.location==document.location) { //RSS rss_link = document.createElement('link'); rss_link.setAttribute('rel', 'alternate'); rss_link.setAttribute('type', 'application/rss+xml'); rss_link.setAttribute('title', 'Alastor.biz news'); rss_link.setAttribute('href', 'http://feeds.feedburner.com/mega_news'); html_head.appendChild(rss_link); //Header header = document.createElement('div'); header.setAttribute('style', 'margin: 0 0 16px 0; padding: 0; text-align: center; width: 100%'); header.style.margin = '0 0 16px 0'; header.style.padding = '0'; header.style.textAlign = 'center'; header.style.width = '100%'; header.innerHTML = '
\n
\n

Alastor

\n
\n
\nAltre news:\n\n
\n
\n
'; document.body.insertBefore(header, html_table); } // Article title var article_title = document.getElementsByTagName('b').item(0); article_title.setAttribute('style', 'letter-spacing: -.03em; font-size: 1.1em; font-family: Arial, Helvetica, sans-serif; color: #333; margin: 16px 0 6px 0; display: block;'); article_title.style.letterSpacing = '-.03em'; article_title.style.fontSize = '1.1em'; article_title.style.fontFamily = 'Arial, Helvetica, sans-serif'; article_title.style.color = '#333'; article_title.style.margin = '16px 0 6px 0'; article_title.style.display = 'block'; article_title_date = document.createElement('span'); article_title_date.innerHTML = ' '; article_title.appendChild(article_title_date); // Article image var article_img = html_table.getElementsByTagName('img').item(2); article_img.setAttribute('style', 'margin: 0 12px 0 0; border: 1px solid #ddd; padding: 2px; vertical-align: top;'); article_img.style.margin = '0 12px 0 0'; article_img.style.border = '1px solid #ddd'; article_img.style.padding = '2px'; article_img.verticalAlign = 'top'; // Like bar like_bar = document.createElement('div'); like_bar.setAttribute('style', 'border-top: 1px solid #9e9fa1; margin: 0 0 -80px 0; padding: 6px 0 0 0;'); like_bar.style.borderTop = '1px solid #9e9fa1'; like_bar.style.margin = '0 0 -60px 0'; like_bar.style.padding = '6px 0 0 0'; // this_url = encodeURIComponent(window.document.location.toString()); this_url = encodeURIComponent("http://www.alastor.biz/legginews.php?id=0"); like_bar.innerHTML = '
Condividi
\n
\n

Segui Mega tramite:

\n\n
\n

'; insertAfter(like_bar, article_title); document.getElementById('article_img').appendChild(article_img);