Hi, I bought this site and it just consists of other peoples articles, rotated after a while. it's in php, which I don't really understand, but I've worked out how to substitute my own articles for the ones in the articles directly. The problem is, I can't work out how to change the index page. Can somebody take a quick look at the index page and advise me. I'm not looking for free traffic or spamming the site, the url is http://www.attitudeinfo.com/
Can't tell just by looking at the front end. If you want, I can have a quick look if you are willing to give me FTP access. Alternatively, post the code for index.php and that might give us enough to point you in the right direction.
Ok krt thanks for that, I'll post the code as it might be useful for somebody else as well as myself that buys a site and doesn't know how to modify it for their own purposes, code is below. Will give you rep if you can help as bought three of these sites and was so baffled by the index page that I deleted the files and created a site in Wordpress instead, as it was easier (can delete the Wordpress theme and rel-load files if can solve the index page problem. So here goes: <?php include("includes/main.php"); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'> <title><?php echo ucwords(str_replace("-", " ", $articleheading)) ?></title> <meta name='robots' content='index,follow'> <meta name='Revisit-After' content='15 days'> <meta name='keywords' content='<?php echo $variables['keywords'] ?>'> <meta name='description' content='<?php echo $variables['description'] ?>'> <link rel='stylesheet' type='text/css' href='/styles/styles.css'> <link rel='alternate' type='application/rss+xml' title='RSS feed' href='http://<?php echo $variables["site_url"] ?>/rss.xml'> </head> <body> <div id='header'> <h1><?php echo $variables['main_header'] ?></h1> <p><a href='/article-listing/00'>article listing</a> | <a href='/'>home</a> <a href='http://<?php echo $variables["site_url"] ?>/rss.xml'><img src='/images/xml.gif' width='' height='' alt='subscribe to our RSS feed'></a></p> </div> <div id='top_google'> <script type="text/javascript"> <!-- google_ad_client = "<?php echo $variables['adsense_id'] ?>"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text_image"; google_ad_channel = "<?php echo $variables['top_google_channel'] ?>"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "454545"; google_color_url = "FFFFFF"; google_color_text = "AECCEB"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> </div> <form id="g_search" method="get" action="http://www.google.com/custom" target="google_window"> <input type="hidden" name="domains" value="<?php echo $variables["site_url"] ?>" /> <input type="hidden" name="client" value="<?php echo $variables['adsense_id'] ?>"> <input type="hidden" name="forid" value="1"> <input type="hidden" name="ie" value="ISO-8859-1"> <input type="hidden" name="oe" value="ISO-8859-1"> <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"> <input type="hidden" name="hl" value="en"> <p> Search the Web: <input type="text" id="q" name="q" maxlength="255" style='border: 1px solid #000; font-size: 1em;'> <input type="submit" name="sa" value="Google Search" style='border: 1px solid #000; font-size: 1em;'></p> </form> <div id='maincontent'> <div id='related_box'> <h2>related articles</h2> <?php include("includes/related.php"); ?> </div> <div id='article'> <?php if ($articleheading != "article-listing") { ?> <div id='article_google'> <script type="text/javascript"> <!-- google_ad_client = "<?php echo $variables['adsense_id'] ?>"; google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_ad_type = "text"; google_ad_channel ="<?php echo $variables['article_google_channel'] ?>"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "454545"; google_color_url = "FFFFFF"; google_color_text = "AECCEB"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> </div> <?php } include("includes/articles.php"); ?> </div> <div id='bottom_google'> <script type="text/javascript"> <!-- google_ad_client = "<?php echo $variables['adsense_id'] ?>"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text_image"; google_ad_channel = "<?php echo $variables['bottom_google_channel'] ?>"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "454545"; google_color_url = "FFFFFF"; google_color_text = "AECCEB"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> </div> <div id='rss_feeds'> <?php if ($articleheading != "article-listing") { include("includes/oop-rss.php"); } ?> </div> </div> <div id='footer'> <p><a href='/'>home</a> | <a href='/article-listing/00'>article listing</a></p> </div> </body> </html>