title: Drupal - How To Edit Home Page Source Code?
body: <p>I'm new to Drupal so please bear with my beginner question. </p>
  
  <p>i have this website that now i need to administer.
  Unfortunately, it seems recently the website may have been hacked and hidden links been added into the home page (at the end, after footer).</p>
  
  <p>i found it out when i view the page via <strong>Right Click > View Page Source</strong></p>
  
  <p>The hidden links is only added into the home page, not the other pages. However, i don't know how to open the home page's source code and edit to remove the links. i have go through every admin settings options available, i have tried google it as well, but none seems to be the answer. </p>
  
  <p>ps. i have looked into the page.tpl.php on the server, nothing seems amiss there.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Thanks for all the help you have given! </p>
  
  <p>I found the code inside <strong><em>theme.inc</em></strong> file. So once i remove this part of code, the website should be clean again, right? Please tell me if i need to do other things as this is my first time cleaning a hacked website (im really beginner at this)</p>
  
  <p>In addition, i've performed a google search <strong>"site:websitename.com"</strong> and found that there are some unknown URL like <strong><em>"websitename.com/some-product-name"</em></strong>. I've searched the nodes but found none related to it. And when clicked, the link redirect to another website altogether.</p>
  
  <p>Really appreciate if you could guide me how to remove this as well.</p>
  
  <p>Thank you!</p>