Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old September 19th, 2007, 09:00 AM   #1
New Member
 

Join Date: Sep 2007
Location: Uk
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 gotmad is on a distinguished road
Centering my site

Hi,

I am in need of help from you guys.

I would like to bring the site to the center of the page but constantly getting error like its getting mad displaying things wrong.

I wonder how to make it come in the middle of the page.

Can you guys tell me plzz..........

here is the site..

http://www.rockddl.com/


Please do not ignore it as its a adult site
TEAM ADVISOR EDIT! WARNING, SITE CONTAINS ADULT CONTENT!

Last edited by Lchad; September 19th, 2007 at 09:07 AM.. Reason: WARNING ADDED
gotmad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 09:08 AM   #2
Highly Reputable Member
 

Join Date: Jul 2006
Location: Devon, England
Posts: 564
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 AdRock will become famous soon enough
Re: Very urgent help needed

In your style sheet you need to have somethin glike this in the body
Code:
body {	background-color: #FFFFFF;	text-align: center;	min-width: 780px; }
AdRock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 09:11 AM   #3
Elite Veteran
 

Join Date: Sep 2006
Location: Pink House
Posts: 3,941
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all
Re: Very urgent help needed

I would place a #wrapper around all the content.
Code:
<div id="wrapper">All website content, and div's go inside here.</div>
CSS
Code:
#wrapper {
   width: whatever you needpx;
   margin: 0 auto;
   }
You will have to change all the absolute positioning of the other div's for this to work.
Lchad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 09:11 AM   #4
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
Re: Very urgent help needed

Well ... it's not just the text-align: center that you need.

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-CA" xml:lang="EN-CA">

<head>
    <title>Some title</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    
    <style type="text/css">
    body {
        color: #fff;
    }
    
    #wrap {
        margin: 0 auto;
        width: 780px;
        background-color: #900;
    }
    </style>    
</head>

<body>

<div id="wrap">
    this box is centered
</div>

</body>
</html>
or

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-CA" xml:lang="EN-CA">

<head>
    <title>Some title</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    
    <style type="text/css">
    html {
        background-color: #fff;
    }
    
    body {
        color: #fff;
        margin: 0 auto;
        width: 780px;
        background-color: #900;
    }
    </style>    
</head>

<body>

this site is centered

</body>
</html>
The text-align: center; is need for support for IE5 and 5.5 browsers
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 09:11 AM   #5
Elite Veteran
 

Join Date: Sep 2006
Location: Pink House
Posts: 3,941
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all
Re: Very urgent help needed

Oops adrock beat me.. or your could do what he suggested!
Lchad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 09:19 AM   #6
Highly Reputable Member
 

Join Date: Jul 2006
Location: Devon, England
Posts: 564
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 AdRock will become famous soon enough
Re: Very urgent help needed

The wrapper idea is a good one and that's what I use on my site but I just suggested the easiest way i know which i did for my college assignment years ago
AdRock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 09:21 AM   #7
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
Re: Very urgent help needed

Easier way maybe ... but it doesn't work in Firefox
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 09:31 AM   #8
Highly Reputable Member
 

Join Date: Jul 2006
Location: Devon, England
Posts: 564
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 AdRock will become famous soon enough
Re: Very urgent help needed

I made this site http://www.projects-sw.co.uk/ for my assignment at college and it views fine in Firefox
AdRock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 09:53 AM   #9
New Member
 

Join Date: Sep 2007
Location: Uk
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 gotmad is on a distinguished road
Re: Very urgent help needed

Hi
I tried both Adrock and Karinne

I still do not get it.

Here is the code,

It would be great if you can tell me whats wrong in it?

HTML Code:
<?php

require "config.class.php";

require "main.class.php";

require "link.class.php";

$q = stripslashes($q);

$q = eregi_replace("\"", " ", $q);

$q = eregi_replace("\'", " ", $q);

$q = trim($q);

$ddl = new ddl();

$le = new linker();

$ddl->open();

$ddl->get($q, $types);

if($q) {
    if(mysql_num_rows(mysql_query("SELECT * FROM search WHERE query = '$q'")) < 1) {
    mysql_query("INSERT INTO search VALUES ('','$q','0')");
    } else {
    mysql_query("UPDATE search SET searches = searches+1 WHERE query = '$q'");
    }
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<SCRIPT language=JavaScript type=text/javascript>

    function TG(a, changeTo) {

    a.style.backgroundColor = changeTo;

    }



</SCRIPT>
    <title>RockDDL.com...Unlimited Solid Downloads Of Full Version Appzs, Movies, Games, Musics, XXX, Cracks, Serials, Keygens</title>
    <link href="full.css" rel="stylesheet" type="text/css" title="Full-display Steel-n-Leather Template stylesheet">
    <link href="noright.css" rel="alternate stylesheet" type="text/css" title="Left sidebar and Main Steel-n-Leather Template stylesheet">
    <link href="noleft.css" rel="alternate stylesheet" type="text/css" title="Right sidebar and Main Steel-n-Leather Template stylesheet">
    <meta name="description" content="Warez Full Apps Games Albums Torrents Serials Cracks Ftps Roms XXX">
    <meta name="keywords" content="warez, games, appz,tvs, torrents, ftp, movies,xxx,viedos, downloads,cracks,serials,keygens,cd keys">
    <meta name="author" content="KingCupid">


</head>

<body> 

<div id="pagehead">
    <h1>RockDDL</h1>
    <h2>Unlimited Solid Download</h2>
    <div class="menubar">
        <div class="menu">
            <a href="index.php" class="menuitem">Home</a>
        </div>
        <div class="menu">
            <a href="http://www.rockddl.com/downloads/" class="menuitem">Downloads</a>
        </div>
        <div class="menu">
            <a href="submit.php" class="menuitem">Submit</a>
        </div>
        <div class="menu">
            <a href="index.php?page=contact" class="menuitem">Contact Us</a>
        </div>
        <div class="menu">
            <a href="index.php?page=webmaster" class="menuitem">Webmasters</a>
        </div>
    </div>
    <div class="adblock">
        #pagehead .adblock
        <img src="" alt="#pagehead .adblock img">
    </div>
</div>
<div id="main">
    <h1><span class="itemleader">:: </span>RockDDL<span class="itemleader"> ::</span><a name="general"></a></h1>
  <div class="text">
          <?
$val = $_GET['page']; 
$val .= ".php"; 
$dirty = array("..");
$clean = array("");
$val = str_replace($dirty, $clean, $val); 
if (isset($_GET['page'])) { 
if (file_exists($val)) { 
include "$val";
}
else {
include "download_ddl.php"; 
}
}
else {
include "download_ddl.php";
}
?>
    </div>

    <h1><span class="itemleader">:: </span>Recent Searches<span class="itemleader"> ::</span><a name="general"></a></h1>
  <div class="text">
    <?php
$jmz = mysql_query("SELECT * FROM search ORDER BY id DESC LIMIT 30");
while($row = mysql_fetch_array($jmz)) {
$jmzurl = str_replace(array("/"," ","&","$","#","'",'"',":","\\",">","<"),"-",$row[query]);
echo '<a href="/search-warez-crack-serial-'.$jmzurl.'.html" style="color:#2E3940; font-family:sans-serif; font-weight:bold; font-size:smaller;">'.strip_tags($row[query]).'</a>, ';
}
?></div>
    <div class="note" style="float:left;">&copy; 2007 RockDDL</div>
</div>

<div id="leftbar">
    <div class="menubar">
        <div class="menu">
            <a href="index.php" class="menuitem">Home</a>
            <a href="index.php?type=Movie" class="menuitem">Movies</a>
            <a href="index.php?type=Movie" class="menuitem">Appz</a>
            <a href="index.php?type=Movie" class="menuitem">Games</a>
            <a href="index.php?type=Movie" class="menuitem">XXX</a>
            <a href="index.php?type=Movie" class="menuitem">Music</a>
            <a href="index.php?type=Movie" class="menuitem">TV</a>
            <a href="index.php?type=Movie" class="menuitem">E-Books</a>
            <a href="index.php?type=Movie" class="menuitem">Other</a>
        </div>
     </div>
     <hr class="leather">
     <div class="menubar">
     <center><h1>Affiliates</h1></center>
        <div class="menu">
            <a href="http://www.flmsdown.net/" class="menuitem" target="_blank">Flmsdown.net</a>
            <a href="http://softex.meganet.lt/" class="menuitem" target="_blank">Softex.Meganet</a>
            <a href="http://www.softlinkers.org/" class="menuitem" target="_blank">Soft Linkers</a>
            <a href="http://www.wareznetwork.com/" class="menuitem" target="_blank">WarezNetwork</a>
            <a href="http://www.planetddl.com/" class="menuitem" target="_blank">Planet DDL</a>
            <a href="http://www.smartddl.com/in.php?id=rockddl" class="menuitem" target="_blank">Smart DDL</a>
            <a href="http://www.crazycupid.biz/" class="menuitem" target="_blank">CrazyCupid</a>
            <a href="http://www.piratelist.net/in.php?site=1173552747" class="menuitem" target="_blank">PirateList.net</a>
            <a href="http://www.oemtop.com/cgi-bin/in.cgi?id=221"class="menuitem" target="_blank">OemTopList</a>
            <a href="http://astalavista.ms/top/index.php?ID=154" class="menuitem" target="_blank">AstalaVista</a>
            <a href="http://www.breedsoft.com/" class="menuitem" target="_blank">BreedSoft</a>
            <a href="http://www.RequestCracks.com/" class="menuitem" target="_blank">Request Crack</a>
            <a href="http://purple-icing.com/" class="menuitem" target="_blank">Purple-icing</a>
            <a href="http://www.hackzone.us/top/in.php?id=1410/" class="menuitem" target="_blank">Cracks & Warez</a>
            <a href="http://www.spicywarez.com/" class="menuitem" target="_blank">SpicyWarez</a>
            <a href="http://www.ddl-paradise.com/" class="menuitem" target="_blank">DDL-Paradise</a>
            <a href="http://www.warezomen.com/in.php?id=rockddl/" class="menuitem" target="_blank">WarezOmen</a>
            <a href="http://www.free815.com/ " class="menuitem" target="_blank">Free815</a>
            <a href="http://www.warez411.com/" class="menuitem" target="_blank">Warez411</a>
            <a href="http://bx-net.net/" class="menuitem" target="_blank">bx-net</a>
            <a href="http://www.undernation.com/in.php?id=rockddl" class="menuitem" target="_blank">Undernation</a>
            <a href="http://www.humoron.com" class="menuitem" target="_blank">Full XXX </a>
            <a href="http://4filez.org/" class="menuitem" target="_blank">4 Filez.Org</a>
            <a href="http://promoddl.com/in.php?id=rockddl" class="menuitem" target="_blank">PromoDDL</a>
            <a href="http://www.warezlinkers.com/" class="menuitem" target="_blank">WarezLinkers</a>
            <a href="http://www.ddlbay.com/in.php?id=rockddl" class="menuitem" target="_blank">DDL Bay</a>
            <a href="http://www.pl1.com/in.php?id=rockddl" class="menuitem" target="_blank">PL1.Com</a>
            <a href="http://www.warezmasters.com/?r=DT5wiTynk9/" class="menuitem" target="_blank">WarezMasters</a>
            <a href="http://wzone.6x.to/" class="menuitem" target="_blank">WarezOne</a>
            <a href="http://ausfx.net/" class="menuitem" target="_blank">Ausfx.Net</a>
            <a href="http://www.ienask.com/" class="menuitem" target="_blank">Ienask DDL</a>
            <a href="http://www.dl4all.com/" class="menuitem" target="_blank">Full Download</a>
            <a href="http://www.fishddl.com/" class="menuitem" target="_blank">Fish DDL</a>
            <a href="http://euroseen.net/" class="menuitem" target="_blank">EuroseenDDL </a>
            <a href="http://www.rockddl.com/index.php?page=contact" class="menuitem" target="_blank"><font color="white" size="2"><b>Your Site Here PR4+</b></font></a>
        </div>
    </div>
    <center><a href=""><img src="http://i9.tinypic.com/53hy9fo.gif" alt="Ads" /></a></center>
</div>

<div id="rightbar">
<form action="index.php" method="get" name="search">
<center><h1>Search : </h1></center>
<input id="q" type="text" size="15" value="<?php echo $q; ?>" name="q" onFocus="if(this.value=='Search')this.value='';" onBlur="if(this.value=='')this.value='Search';" >&nbsp;
<select name="type" id="type">
<option value="index.php" selected>All</option>
<option value="Game">Games</option>
<option value="App">Apps</option>
<option value="Movie">Movies</option>
<option value="Music">Music</option>
<option value="XXX">XXX</option>
<option value="E-Books">E-Books</option>
<option value="Tv">Tv</option>
<option value="Other">Other</option>
</select>&nbsp;
<input name="Search" type="submit" class="input" value="Search" style="cursor:pointer">
</form>
    <center><h1>Top Links</h1></center>
    <?php
    $le->get(16, 16);
    ?>
    <hr color="#666666" size="1">
    <center><h1>Hot Sites</h1></center>
    <a href="#" target="_blank">Some hot site</a>
    <hr color="#666666" size="1">
    <center><a href=""><img src="http://i9.tinypic.com/53hy9fo.gif" alt="Ads" /></a></center>
</div>


</body>
</html>
As said by adrock

HTML Code:

<?php

require "config.class.php";

require "main.class.php";

require "link.class.php";

$q = stripslashes($q);

$q = eregi_replace("\"", " ", $q);

$q = eregi_replace("\'", " ", $q);

$q = trim($q);

$ddl = new ddl();

$le = new linker();

$ddl->open();

$ddl->get($q, $types);

if($q) {
    if(mysql_num_rows(mysql_query("SELECT * FROM search WHERE query = '$q'")) < 1) {
    mysql_query("INSERT INTO search VALUES ('','$q','0')");
    } else {
    mysql_query("UPDATE search SET searches = searches+1 WHERE query = '$q'");
    }
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<SCRIPT language=JavaScript type=text/javascript>

    function TG(a, changeTo) {

    a.style.backgroundColor = changeTo;

    }



</SCRIPT>
 <title>RockDDL.com...Unlimited Solid Downloads Of Full Version Appzs, Movies, Games, Musics, XXX, Cracks, Serials, Keygens</title>
    <link href="full.css" rel="stylesheet" type="text/css" title="Full-display Steel-n-Leather Template stylesheet">
<link href="noright.css" rel="alternate stylesheet" type="text/css" title="Left sidebar and Main Steel-n-Leather Template stylesheet">
<link href="noleft.css" rel="alternate stylesheet" type="text/css" title="Right sidebar and Main Steel-n-Leather Template stylesheet">
    <meta name="description" content="Warez Full Apps Games Albums Torrents Serials Cracks Ftps Roms XXX">
<meta name="keywords" content="warez, games, appz,tvs, torrents, ftp, movies,xxx,viedos, downloads,cracks,serials,keygens,cd keys">
    <meta name="author" content="KingCupid">


</head>

<body> 

body {    background-color: #FFFFFF;    text-align: center;    min-width: 780px; }  //adrock idea

<div id="pagehead">
    <h1>RockDDL</h1>
    <h2>Unlimited Solid Download</h2>
    <div class="menubar">
        <div class="menu">
            <a href="index.php" class="menuitem">Home</a>
        </div>
        <div class="menu">
            <a href="http://www.rockddl.com/downloads/" class="menuitem">Downloads</a>
        </div>
        <div class="menu">
            <a href="submit.php" class="menuitem">Submit</a>
        </div>
        <div class="menu">
            <a href="index.php?page=contact" class="menuitem">Contact Us</a>
        </div>
        <div class="menu">
            <a href="index.php?page=webmaster" class="menuitem">Webmasters</a>
        </div>
    </div>
    <div class="adblock">
        #pagehead .adblock
        <img src="" alt="#pagehead .adblock img">
    </div>
</div>
<div id="main">
<h1><span class="itemleader">:: </span>RockDDL<span class="itemleader"> ::</span><a name="general"></a></h1>
  <div class="text">
          <?
$val = $_GET['page']; 
$val .= ".php"; 
$dirty = array("..");
$clean = array("");
$val = str_replace($dirty, $clean, $val); 
if (isset($_GET['page'])) { 
if (file_exists($val)) { 
include "$val";
}
else {
include "download_ddl.php"; 
}
}
else {
include "download_ddl.php";
}
?>
    </div>

 <h1><span class="itemleader">:: </span>Recent Searches<span class="itemleader"> ::</span><a name="general"></a></h1>
  <div class="text">
    <?php
$jmz = mysql_query("SELECT * FROM search ORDER BY id DESC LIMIT 30");
while($row = mysql_fetch_array($jmz)) {
$jmzurl = str_replace(array("/"," ","&","$","#","'",'"',":","\\",">","<"),"-",$row[query]);
echo '<a href="/search-warez-crack-serial-'.$jmzurl.'.html" style="color:#2E3940; font-family:sans-serif; font-weight:bold; font-size:smaller;">'.strip_tags($row[query]).'</a>, ';
}
?></div>
    <div class="note" style="float:left;">&copy; 2007 RockDDL</div>
</div>

<div id="leftbar">
    <div class="menubar">
        <div class="menu">
            <a href="index.php" class="menuitem">Home</a>
            <a href="index.php?type=Movie" class="menuitem">Movies</a>
            <a href="index.php?type=Movie" class="menuitem">Appz</a>
            <a href="index.php?type=Movie" class="menuitem">Games</a>
            <a href="index.php?type=Movie" class="menuitem">XXX</a>
            <a href="index.php?type=Movie" class="menuitem">Music</a>
            <a href="index.php?type=Movie" class="menuitem">TV</a>
            <a href="index.php?type=Movie" class="menuitem">E-Books</a>
            <a href="index.php?type=Movie" class="menuitem">Other</a>
        </div>
     </div>
     <hr class="leather">
     <div class="menubar">
     <center><h1>Affiliates</h1></center>
        <div class="menu">
            <a href="http://www.flmsdown.net/" class="menuitem" target="_blank">Flmsdown.net</a>
            <a href="http://softex.meganet.lt/" class="menuitem" target="_blank">Softex.Meganet</a>
            <a href="http://www.softlinkers.org/" class="menuitem" target="_blank">Soft Linkers</a>
            <a href="http://www.wareznetwork.com/" class="menuitem" target="_blank">WarezNetwork</a>
            <a href="http://www.planetddl.com/" class="menuitem" target="_blank">Planet DDL</a>
            <a href="http://www.smartddl.com/in.php?id=rockddl" class="menuitem" target="_blank">Smart DDL</a>
            <a href="http://www.crazycupid.biz/" class="menuitem" target="_blank">CrazyCupid</a>
<a href="http://www.piratelist.net/in.php?site=1173552747" class="menuitem" target="_blank">PirateList.net</a>
            <a href="http://www.oemtop.com/cgi-bin/in.cgi?id=221"class="menuitem" target="_blank">OemTopList</a>
            <a href="http://astalavista.ms/top/index.php?ID=154" class="menuitem" target="_blank">AstalaVista</a>
            <a href="http://www.breedsoft.com/" class="menuitem" target="_blank">BreedSoft</a>
            <a href="http://www.RequestCracks.com/" class="menuitem" target="_blank">Request Crack</a>
            <a href="http://purple-icing.com/" class="menuitem" target="_blank">Purple-icing</a>
<a href="http://www.hackzone.us/top/in.php?id=1410/" class="menuitem" target="_blank">Cracks & Warez</a>
            <a href="http://www.spicywarez.com/" class="menuitem" target="_blank">SpicyWarez</a>
            <a href="http://www.ddl-paradise.com/" class="menuitem" target="_blank">DDL-Paradise</a>
            <a href="http://www.warezomen.com/in.php?id=rockddl/" class="menuitem" target="_blank">WarezOmen</a>
            <a href="http://www.free815.com/ " class="menuitem" target="_blank">Free815</a>
            <a href="http://www.warez411.com/" class="menuitem" target="_blank">Warez411</a>
            <a href="http://bx-net.net/" class="menuitem" target="_blank">bx-net</a>
            <a href="http://www.undernation.com/in.php?id=rockddl" class="menuitem" target="_blank">Undernation</a>
            <a href="http://www.humoron.com" class="menuitem" target="_blank">Full XXX </a>
            <a href="http://4filez.org/" class="menuitem" target="_blank">4 Filez.Org</a>
            <a href="http://promoddl.com/in.php?id=rockddl" class="menuitem" target="_blank">PromoDDL</a>
            <a href="http://www.warezlinkers.com/" class="menuitem" target="_blank">WarezLinkers</a>
            <a href="http://www.ddlbay.com/in.php?id=rockddl" class="menuitem" target="_blank">DDL Bay</a>
            <a href="http://www.pl1.com/in.php?id=rockddl" class="menuitem" target="_blank">PL1.Com</a>
            <a href="http://www.warezmasters.com/?r=DT5wiTynk9/" class="menuitem" target="_blank">WarezMasters</a>
            <a href="http://wzone.6x.to/" class="menuitem" target="_blank">WarezOne</a>
            <a href="http://ausfx.net/" class="menuitem" target="_blank">Ausfx.Net</a>
            <a href="http://www.ienask.com/" class="menuitem" target="_blank">Ienask DDL</a>
            <a href="http://www.dl4all.com/" class="menuitem" target="_blank">Full Download</a>
            <a href="http://www.fishddl.com/" class="menuitem" target="_blank">Fish DDL</a>
            <a href="http://euroseen.net/" class="menuitem" target="_blank">EuroseenDDL </a>
<a href="http://www.rockddl.com/index.php?page=contact" class="menuitem" target="_blank"><font color="white" size="2"><b>Your Site Here PR4+</b></font></a>
        </div>
    </div>
    <center><a href=""><img src="http://i9.tinypic.com/53hy9fo.gif" alt="Ads" /></a></center>
</div>

<div id="rightbar">
<form action="index.php" method="get" name="search">
<center><h1>Search : </h1></center>
<input id="q" type="text" size="15" value="<?php echo $q; ?>" name="q" onFocus="if(this.value=='Search')this.value='';" onBlur="if(this.value=='')this.value='Search';" >&nbsp;
<select name="type" id="type">
<option value="index.php" selected>All</option>
<option value="Game">Games</option>
<option value="App">Apps</option>
<option value="Movie">Movies</option>
<option value="Music">Music</option>
<option value="XXX">XXX</option>
<option value="E-Books">E-Books</option>
<option value="Tv">Tv</option>
<option value="Other">Other</option>
</select>&nbsp;
<input name="Search" type="submit" class="input" value="Search" style="cursor:pointer">
</form>
    <center><h1>Top Links</h1></center>
    <?php
    $le->get(16, 16);
    ?>
    <hr color="#666666" size="1">
    <center><h1>Hot Sites</h1></center>
    <a href="#" target="_blank">Some hot site</a>
    <hr color="#666666" size="1">
    <center><a href=""><img src="http://i9.tinypic.com/53hy9fo.gif" alt="Ads" /></a></center>
</div>


</body>
</html>
As said by karinne

HTML Code:

<?php

require "config.class.php";

require "main.class.php";

require "link.class.php";

$q = stripslashes($q);

$q = eregi_replace("\"", " ", $q);

$q = eregi_replace("\'", " ", $q);

$q = trim($q);

$ddl = new ddl();

$le = new linker();

$ddl->open();

$ddl->get($q, $types);

if($q) {
    if(mysql_num_rows(mysql_query("SELECT * FROM search WHERE query = '$q'")) < 1) {
    mysql_query("INSERT INTO search VALUES ('','$q','0')");
    } else {
    mysql_query("UPDATE search SET searches = searches+1 WHERE query = '$q'");
    }
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<SCRIPT language=JavaScript type=text/javascript>

    function TG(a, changeTo) {

    a.style.backgroundColor = changeTo;

    }



</SCRIPT>
 <title>RockDDL.com...Unlimited Solid Downloads Of Full Version Appzs, Movies, Games, Musics, XXX, Cracks, Serials, Keygens</title>
    <link href="full.css" rel="stylesheet" type="text/css" title="Full-display Steel-n-Leather Template stylesheet">
<link href="noright.css" rel="alternate stylesheet" type="text/css" title="Left sidebar and Main Steel-n-Leather Template stylesheet">
<link href="noleft.css" rel="alternate stylesheet" type="text/css" title="Right sidebar and Main Steel-n-Leather Template stylesheet">
    <meta name="description" content="Warez Full Apps Games Albums Torrents Serials Cracks Ftps Roms XXX">
<meta name="keywords" content="warez, games, appz,tvs, torrents, ftp, movies,xxx,viedos, downloads,cracks,serials,keygens,cd keys">
    <meta name="author" content="KingCupid">


<style type="text/css">
    body {
        color: #fff;
    }
    
    #wrap {
        margin: 0 auto;
        width: 780px;
        background-color: #900;
    }
    </style>   // as said by karinne



</head>

<body> 


<div id="pagehead">
    <h1>RockDDL</h1>
    <h2>Unlimited Solid Download</h2>
    <div class="menubar">
        <div class="menu">
            <a href="index.php" class="menuitem">Home</a>
        </div>
        <div class="menu">
            <a href="http://www.rockddl.com/downloads/" class="menuitem">Downloads</a>
        </div>
        <div class="menu">
            <a href="submit.php" class="menuitem">Submit</a>
        </div>
        <div class="menu">
            <a href="index.php?page=contact" class="menuitem">Contact Us</a>
        </div>
        <div class="menu">
            <a href="index.php?page=webmaster" class="menuitem">Webmasters</a>
        </div>
    </div>
    <div class="adblock">
        #pagehead .adblock
        <img src="" alt="#pagehead .adblock img">
    </div>
</div>
<div id="main">
<h1><span class="itemleader">:: </span>RockDDL<span class="itemleader"> ::</span><a name="general"></a></h1>
  <div class="text">
          <?
$val = $_GET['page']; 
$val .= ".php"; 
$dirty = array("..");
$clean = array("");
$val = str_replace($dirty, $clean, $val); 
if (isset($_GET['page'])) { 
if (file_exists($val)) { 
include "$val";
}
else {
include "download_ddl.php"; 
}
}
else {
include "download_ddl.php";
}
?>
    </div>

 <h1><span class="itemleader">:: </span>Recent Searches<span class="itemleader"> ::</span><a name="general"></a></h1>
  <div class="text">
    <?php
$jmz = mysql_query("SELECT * FROM search ORDER BY id DESC LIMIT 30");
while($row = mysql_fetch_array($jmz)) {
$jmzurl = str_replace(array("/"," ","&","$","#","'",'"',":","\\",">","<"),"-",$row[query]);
echo '<a href="/search-warez-crack-serial-'.$jmzurl.'.html" style="color:#2E3940; font-family:sans-serif; font-weight:bold; font-size:smaller;">'.strip_tags($row[query]).'</a>, ';
}
?></div>
    <div class="note" style="float:left;">&copy; 2007 RockDDL</div>
</div>

<div id="leftbar">
    <div class="menubar">
        <div class="menu">
            <a href="index.php" class="menuitem">Home</a>
            <a href="index.php?type=Movie" class="menuitem">Movies</a>
            <a href="index.php?type=Movie" class="menuitem">Appz</a>
            <a href="index.php?type=Movie" class="menuitem">Games</a>
            <a href="index.php?type=Movie" class="menuitem">XXX</a>
            <a href="index.php?type=Movie" class="menuitem">Music</a>
            <a href="index.php?type=Movie" class="menuitem">TV</a>
            <a href="index.php?type=Movie" class="menuitem">E-Books</a>
            <a href="index.php?type=Movie" class="menuitem">Other</a>
        </div>
     </div>
     <hr class="leather">
     <div class="menubar">
     <center><h1>Affiliates</h1></center>
        <div class="menu">
            <a href="http://www.flmsdown.net/" class="menuitem" target="_blank">Flmsdown.net</a>
            <a href="http://softex.meganet.lt/" class="menuitem" target="_blank">Softex.Meganet</a>
            <a href="http://www.softlinkers.org/" class="menuitem" target="_blank">Soft Linkers</a>
            <a href="http://www.wareznetwork.com/" class="menuitem" target="_blank">WarezNetwork</a>
            <a href="http://www.planetddl.com/" class="menuitem" target="_blank">Planet DDL</a>
            <a href="http://www.smartddl.com/in.php?id=rockddl" class="menuitem" target="_blank">Smart DDL</a>
            <a href="http://www.crazycupid.biz/" class="menuitem" target="_blank">CrazyCupid</a>
<a href="http://www.piratelist.net/in.php?site=1173552747" class="menuitem" target="_blank">PirateList.net</a>
            <a href="http://www.oemtop.com/cgi-bin/in.cgi?id=221"class="menuitem" target="_blank">OemTopList</a>
            <a href="http://astalavista.ms/top/index.php?ID=154" class="menuitem" target="_blank">AstalaVista</a>
            <a href="http://www.breedsoft.com/" class="menuitem" target="_blank">BreedSoft</a>
            <a href="http://www.RequestCracks.com/" class="menuitem" target="_blank">Request Crack</a>
            <a href="http://purple-icing.com/" class="menuitem" target="_blank">Purple-icing</a>
<a href="http://www.hackzone.us/top/in.php?id=1410/" class="menuitem" target="_blank">Cracks & Warez</a>
            <a href="http://www.spicywarez.com/" class="menuitem" target="_blank">SpicyWarez</a>
            <a href="http://www.ddl-paradise.com/" class="menuitem" target="_blank">DDL-Paradise</a>
            <a href="http://www.warezomen.com/in.php?id=rockddl/" class="menuitem" target="_blank">WarezOmen</a>
            <a href="http://www.free815.com/ " class="menuitem" target="_blank">Free815</a>
            <a href="http://www.warez411.com/" class="menuitem" target="_blank">Warez411</a>
            <a href="http://bx-net.net/" class="menuitem" target="_blank">bx-net</a>
            <a href="http://www.undernation.com/in.php?id=rockddl" class="menuitem" target="_blank">Undernation</a>
            <a href="http://www.humoron.com" class="menuitem" target="_blank">Full XXX </a>
            <a href="http://4filez.org/" class="menuitem" target="_blank">4 Filez.Org</a>
            <a href="http://promoddl.com/in.php?id=rockddl" class="menuitem" target="_blank">PromoDDL</a>
            <a href="http://www.warezlinkers.com/" class="menuitem" target="_blank">WarezLinkers</a>
            <a href="http://www.ddlbay.com/in.php?id=rockddl" class="menuitem" target="_blank">DDL Bay</a>
            <a href="http://www.pl1.com/in.php?id=rockddl" class="menuitem" target="_blank">PL1.Com</a>
            <a href="http://www.warezmasters.com/?r=DT5wiTynk9/" class="menuitem" target="_blank">WarezMasters</a>
            <a href="http://wzone.6x.to/" class="menuitem" target="_blank">WarezOne</a>
            <a href="http://ausfx.net/" class="menuitem" target="_blank">Ausfx.Net</a>
            <a href="http://www.ienask.com/" class="menuitem" target="_blank">Ienask DDL</a>
            <a href="http://www.dl4all.com/" class="menuitem" target="_blank">Full Download</a>
            <a href="http://www.fishddl.com/" class="menuitem" target="_blank">Fish DDL</a>
            <a href="http://euroseen.net/" class="menuitem" target="_blank">EuroseenDDL </a>
<a href="http://www.rockddl.com/index.php?page=contact" class="menuitem" target="_blank"><font color="white" size="2"><b>Your Site Here PR4+</b></font></a>
        </div>
    </div>
    <center><a href=""><img src="http://i9.tinypic.com/53hy9fo.gif" alt="Ads" /></a></center>
</div>

<div id="rightbar">
<form action="index.php" method="get" name="search">
<center><h1>Search : </h1></center>
<input id="q" type="text" size="15" value="<?php echo $q; ?>" name="q" onFocus="if(this.value=='Search')this.value='';" onBlur="if(this.value=='')this.value='Search';" >&nbsp;
<select name="type" id="type">
<option value="index.php" selected>All</option>
<option value="Game">Games</option>
<option value="App">Apps</option>
<option value="Movie">Movies</option>
<option value="Music">Music</option>
<option value="XXX">XXX</option>
<option value="E-Books">E-Books</option>
<option value="Tv">Tv</option>
<option value="Other">Other</option>
</select>&nbsp;
<input name="Search" type="submit" class="input" value="Search" style="cursor:pointer">
</form>
    <center><h1>Top Links</h1></center>
    <?php
    $le->get(16, 16);
    ?>
    <hr color="#666666" size="1">
    <center><h1>Hot Sites</h1></center>
    <a href="#" target="_blank">Some hot site</a>
    <hr color="#666666" size="1">
    <center><a href=""><img src="http://i9.tinypic.com/53hy9fo.gif" alt="Ads" /></a></center>
</div>


</body>
</html>
gotmad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 10:01 AM   #10
New Member
 

Join Date: Sep 2007
Location: Uk
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 gotmad is on a distinguished road
Re: Very urgent help needed

I get this error for all of the above changes,


Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/rockddl/domains/rockddl.com/public_html/index.php on line 2

Parse error: syntax error, unexpected T_STRING in /home/rockddl/domains/rockddl.com/public_html/index.php on line 2
gotmad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 10:03 AM   #11
Elite Veteran
 

Join Date: Sep 2006
Location: Pink House
Posts: 3,941
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all
Re: Very urgent help needed

This is a separate issue. Please post this issue in the PHP forum ok!
Lchad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 10:32 AM   #12
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
Re: Very urgent help needed

I'm so very confused now??!

You want to center your site right? So ... it's a CSS thing.

If you're getting errors in PHP then that's a different issue?!
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 10:36 AM   #13
New Member
 

Join Date: Sep 2007
Location: Uk
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 gotmad is on a distinguished road
Re: Very urgent help needed

Yes I want it in the center of the page.

I believe it must be css thing as you said. Coz php is working fine as such
gotmad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 10:37 AM   #14
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
Re: Very urgent help needed

So ... what's with the PHP errors then?! Do you get those before you make the CSS changes?
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 10:38 AM   #15
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
Re: Very urgent help needed

Quote:
Originally Posted by AdRock View Post
I made this site http://www.projects-sw.co.uk/ for my assignment at college and it views fine in Firefox
Yes because you have margin: 0 auto; in your #wrapper
Code:
#wrapper {
	margin: 0 auto;
	width: 775px;
	text-align: left;
	position: relative;
	background-color: #373737;
}
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 10:39 AM   #16
New Member
 

Join Date: Sep 2007
Location: Uk
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 gotmad is on a distinguished road
Re: Very urgent help needed

No I do not get any error before. even now its working fine but it become a bit tricky when I try bring the page at the centre.

I am not sure what is going wrong.
gotmad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 10:41 AM   #17
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
Re: Centering my site

So ... when you change your css you get the errors?

That doesn't make sense since your not touching the HTML/PHP at all.

Is the first block of code you posted what you have now/originally?

Post your css .... or better yet ... give us a link.

Since centering your site has nothing to do with the PHP you have, we don't really need to see it
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 10:42 AM   #18
Highly Reputable Member
 

Join Date: Jul 2006
Location: Devon, England
Posts: 564
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 AdRock will become famous soon enough
Re: Very urgent help needed

Quote:
</head>

<body>

body { background-color: #FFFFFF; text-align: center; min-width: 780px; } //adrock idea
You put it in the body section of the page...What you need to do is put that line either in your external stylesheet or use

HTML Code:
<style>
body { background-color: #FFFFFF; text-align: center; min-width: 780px; }
</style>
in between the <head> and </head> section
AdRock is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 10:44 AM   #19
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
Re: Centering my site

and yes ... I was just about to say .... CSS goes in the <head> section of your HTML document
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old September 19th, 2007, 10:45 AM   #20
New Member
 

Join Date: Sep 2007
Location: Uk
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 gotmad is on a distinguished road
Re: Centering my site

Ok here is the original css

HTML Code:
body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-color: #0066CC;
}

.text        { font-family: tahoma; font-size: 8pt; color: #000000; word-spacing: 0; 
               text-indent: 0; line-height: 110%; text-align: left; margin: 0 }
               
.text A:link {
    FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: tahoma; TEXT-DECORATION: none
}

.text A:visited {
    FONT-SIZE: 8pt; COLOR: #0066CC; FONT-FAMILY: tahoma; TEXT-DECORATION: none
}
.text A:active {
    FONT-SIZE: 8pt; COLOR: #0066CC; FONT-FAMILY: tahoma; TEXT-DECORATION: none
}
.text A:hover {
    FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #0066CC; FONT-STYLE: normal; FONT-FAMILY: Tahoma; TEXT-DECORATION: underline
}

.link A:link {
    FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Tahoma; TEXT-DECORATION: none; font-weight:bold; TEXT-DECORATION: underline
}

.link A:visited {
    FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Tahoma; TEXT-DECORATION: none; font-weight:bold
}
.link A:active {
    FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Tahoma; TEXT-DECORATION: none; font-weight:bold
}
.link A:hover {
    FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: #0066CC; FONT-FAMILY: Tahoma; TEXT-DECORATION: underline
}


.right        { border-left:1px solid #000000; border-right:1px solid #000000; padding:5; background-color: #FFFFFF; border-top-width:1 }

.right A:link {
    FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: tahoma; TEXT-DECORATION: none; 
}

.right A:visited {
    FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Tahoma; TEXT-DECORATION: none; 
}
.right A:active {
    FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Tahoma; TEXT-DECORATION: none; 
}
.right A:hover {
    FONT-SIZE: 8pt; COLOR: #0066CC; FONT-FAMILY: Tahoma; TEXT-DECORATION: underline
}



.other A:link {
    FONT-SIZE: 8pt; COLOR: #CC3300; FONT-FAMILY: Tahoma; TEXT-DECORATION: none 
}

.other A:visited {
    FONT-SIZE: 8pt; COLOR: #CC3300; FONT-FAMILY: Tahoma; TEXT-DECORATION: none 
}
.other A:active {
    FONT-SIZE: 8pt; COLOR: #CC3300; FONT-FAMILY: Tahoma; TEXT-DECORATION: none 
}
.other A:hover {
    FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Tahoma; TEXT-DECORATION: underline
}



form         { 
text-align: center; 
direction: ltr; 
margin-top: 0; 
margin-bottom: 0 }


.top-title        { border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:5; background-color: #E1E1E1; border-bottom-width:1 }
.title-2        { border-left:1px solid #000000; border-right:1px solid #000000; padding:5; background-color: #E1E1E1; border-bottom-width:1; font-family:tahoma; font-size:8pt; font-weight:bold }
.right-box        { border-left:1px solid #000000; border-right:1px solid #000000; padding:5; background-color: #E1E1E1; border-top-width:1 }

/* some masterx#s styles */
.style11 {color: #ffffff}
.style9 {
color: #FFFFFF;
background: #fffff;

 }
.style14 {
color: #26c;
font-size: 8pt;
}
/* End */

/*Border */
.border{ dotted; border-width: 1; padding: 5; background-color: #FFF1BB; font-family:tahoma; font-size:8pt; width:95% }

/* This is the border line & background colour round the entire page */
.bodyline    { background-color: #171D24; border: 1px #090E13 solid; }

/* Download Table */
.download TD {
    BORDER-RIGHT: #999999 0px solid; PADDING-RIGHT: 0px; BORDER-TOP: #999999 1px solid; PADDING-LEFT: 5px; FONT-SIZE: 11px; PADDING-BOTTOM: 1px; BORDER-LEFT: #999999 0px solid; PADDING-TOP: 1px; BORDER-BOTTOM: #999999 1px solid; FONT-FAMILY: "Verdana"
}
.download1 TD {
    BORDER-RIGHT: #999999 0px solid; PADDING-RIGHT: 0px; BORDER-TOP: #999999 1px solid; PADDING-LEFT: 5px; FONT-SIZE: 11px; PADDING-BOTTOM: 1px; BORDER-LEFT: #999999 0px solid; PADDING-TOP: 1px; BORDER-BOTTOM: #999999 1px solid; FONT-FAMILY: "Verdana"
}
.download TD A {
    COLOR: #000000
}
.download TD {
    COLOR: #000000
}
A:active {
    COLOR: #000000
}
.download1 TD A {
    COLOR: #999999
}
.download1 TD {
    COLOR: #999999
}
/*End*/

/* Advertisement Table */
.bb {border:solid 1px #000}
/*End*/

/* TopList */
.toplist {
    FONT-SIZE: 11px; PADDING-BOTTOM: 0px; COLOR: #323232
}
.toplist A:link {
    COLOR: #323232; TEXT-DECORATION: none
}
.toplist A:visited {
    COLOR: #323232; TEXT-DECORATION: none
}
.toplist A:hover {
    COLOR: #006699; TEXT-DECORATION: underline 
}
/*End*/
and the existing original index file

HTML Code:
<?php

require "config.class.php";

require "main.class.php";

require "link.class.php";

$q = stripslashes($q);

$q = eregi_replace("\"", " ", $q);

$q = eregi_replace("\'", " ", $q);

$q = trim($q);

$ddl = new ddl();

$le = new linker();

$ddl->open();

$ddl->get($q, $types);

if($q) {
    if(mysql_num_rows(mysql_query("SELECT * FROM search WHERE query = '$q'")) < 1) {
    mysql_query("INSERT INTO search VALUES ('','$q','0')");
    } else {
    mysql_query("UPDATE search SET searches = searches+1 WHERE query = '$q'");
    }
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<SCRIPT language=JavaScript type=text/javascript>

    function TG(a, changeTo) {

    a.style.backgroundColor = changeTo;

    }



</SCRIPT>
    <title>RockDDL.com...Unlimited Solid Downloads Of Full Version Appzs, Movies, Games, Musics, XXX, Cracks, Serials, Keygens</title>
    <link href="full.css" rel="stylesheet" type="text/css" title="Full-display Steel-n-Leather Template stylesheet">
    <link href="noright.css" rel="alternate stylesheet" type="text/css" title="Lefheet">
    <link href="noleft.css" rel="alternate stylesheet" type="text/css" title="Right sidebar and Main Steel-n-Leather Template stylesheet">
    <meta name="description" content="Warez Full Apps Games Albums Torrents Serials Cracks Ftps Roms XXX">
    <meta name="keywords" content="warez, games, appz,tvs, torrents, ftp, movies,xxx,viedos, downloads,cracks,serials,keygens,cd keys">
    <meta name="author" content="KingCupid">
</head>

<body>

<div id="pagehead">
    <h1>RockDDL</h1>
    <h2>Unlimited Solid Download</h2>
    <div class="menubar">
        <div class="menu">
            <a href="index.php" class="menuitem">Home</a>
        </div>
        <div class="menu">
            <a href="http://www.rockddl.com/downloads/" class="menuitem">Downloads</a>
        </div>
        <div class="menu">
            <a href="submit.php" class="menuitem">Submit</a>
        </div>
        <div class="menu">
            <a href="index.php?page=contact" class="menuitem">Contact Us</a>
        </div>
        <div class="menu">
            <a href="index.php?page=webmaster" class="menuitem">Webmasters</a>
        </div>
    </div>
    <div class="adblock">
        #pagehead .adblock
        <img src="" alt="#pagdiv>
<div id="main">
    <h1><span class="itemleader">:: </span>RockDDL<span class="itemleader"> ::</span><a name="general"></a></h1>
  <div class="text">
          <?
$val = $_GET['page']; 
$val .= ".php"; 
$dirty = array("..");
$clean = array("");
$val = str_replace($dirty, $clean, $val); 
if (isset($_GET['page'])) { 
if (file_exists($val)) { 
include "$val";
}
else {
include "download_ddl.php"; 
}
}
else {
include "download_ddl.php";
}
?>
    </div>

    <h1><span class="itemleader">:: </span>Recent Searches<span class="itemleader"> ::</span><a name="general"></a></h1>
  <div class="text">
    <?php
$jmz = mysql_query("SELECT * FROM search ORDER BY id DESC LIMIT 30");
while($row = mysql_fetch_array($jmz)) {
$jmzurl = str_replace(array("/"," ","&","$","#","'",'"',":","\\",">","<"),"-",$row[query]);
echo '<a href="/search-warez-crack-serial-'.$jmzurl.'.html" style="color:#2E3940; font-family:sans-serif; font-weight:bold; font-size:smaller;">'.strip_tags($row[query]).'</a>, ';
}
?></div>
    <div class="note" style="float:left;">&copy; 2007 RockDDL</div>
</div>

<div id="lev class="menu">
            <a href="index.php" class="menuitem">Home</a>
            <a href="index.php?type=Movie" class="menuitem">Movies</a>
            <a href="index.php?type=Movie" class="menuitem">Appz</a>
            <a href="index.php?type=Movie" class="menuitem">Games</a>
            <a href="index.php?type=Movie" class="menuitem">XXX</a>
            <a href="index.php?type=Movie" class="menuitem">Music</a>
            <a href="index.php?type=Movie" class="menuitem">TV</a>
            <a href="index.php?type=Movie" class="menuitem">E-Books</a>
            <a href="index.php?type=Movie" class="menuitem">Other</a>
        </div>
     </div>
     <hr class="leather">
     <div class="menubar">
     <center><h1>Affiliates</h1></center>
        <div class="menu">
            <a href="http://www.flmsdown.net/" class="menuitem" target="_blank">Flmsdown.net</a>
            <a href="http://softex.meganet.lt/" class="menuitem" target="_blank">Softex.Meganet</a>
            <a href="http://www.softlinkers.org/" class="menuitem" target="_blank">Soft Linkers</a>
            <a href="http://www.wareznetwork.em" target="_blank">WarezNetwork</a>
            <a href="http://www.planetddl.com/" class="menuitem" target="_blank">Planet DDL</a>
            <a href="http://www.smartddl.com/in.php?id=rockddl" class="menuitem" target="_blank">Smart DDL</a>
            <a href="http://www.crazycupid.biz/" class="menuitem" target="_blank">CrazyCupid</a>
            <a href="http://www.piratelist.net/in.php?site=1173552747" class="menuitem" target="_blank">PirateList.net</a>
            <a href="http://www.oemtop.com/cgi-bin/in.cgi?id=221"class="menuitem" target="_blank">OemTopList</a>
            <a href="http://astalavista.ms/top/index.php?ID=154" class="menuitem" target="_blank">AstalaVista</a>
            <a href="http://www.breedsoft.com/" class="menuitem" target="_blank">BreedSoft</a>
            <a href="http://www.RequestCracks.com/" class="menuitem" target="_blank">Request Crack</a>
            <a href="http://purple-icing.com/" class="menuitem" target="_blank">Purple-icing</a>
            <a href="http://www.hackzone.us/top/in.php?id=1410/" class="menuitem" target="_blank">Cracks & Warez</a    <a href="http://www.spicywarez.com/" class="menuitem" target="_blank">SpicyWarez</a>
            <a href="http://www.ddl-paradise.com/" class="menuitem" target="_blank">DDL-Paradise</a>
            <a href="http://www.warezomen.com/in.php?id=rockddl/" class="menuitem" target="_blank">WarezOmen</a>
            <a href="http://www.free815.com/ " class="menuitem" target="_blank">Free815</a>
            <a href="http://www.warez411.com/" class="menuitem" target="_blank">Warez411</a>
            <a href="http://bx-net.net/" class="menuitem" target="_blank">bx-net</a>
            <a href="http://www.undernation.com/in.php?id=rockddl" class="menuitem" target="_blank">Undernation</a>
            <a href="http://www.humoron.com" class="menuitem" target="_blank">Full XXX </a>
            <a href="http://4filez.org/" class="menuitem" target="_blank">4 Filez.Org</a>
            <a href="http://promoddl.com/in.php?id=rockddl" class="menuitem" target="_blank">PromoDDL</a>
            <a href="http://www.warezlinkers.com/" class="menuitem" target="_blank">WarezLinkers</a>
            <a href="hdlbay.com/in.php?id=rockddl" class="menuitem" target="_blank">DDL Bay</a>
            <a href="http://www.pl1.com/in.php?id=rockddl" class="menuitem" target="_blank">PL1.Com</a>
            <a href="http://www.warezmasters.com/?r=DT5wiTynk9/" class="menuitem" target="_blank">WarezMasters</a>
            <a href="http://wzone.6x.to/" class="menuitem" target="_blank">WarezOne</a>
            <a href="http://ausfx.net/" class="menuitem" target="_blank">Ausfx.Net</a>
            <a href="http://www.ienask.com/" class="menuitem" target="_blank">Ienask DDL</a>
            <a href="http://www.dl4all.com/" class="menuitem" target="_blank">Full Download</a>
            <a href="http://www.fishddl.com/" class="menuitem" target="_blank">Fish DDL</a>
            <a href="http://euroseen.net/" class="menuitem" target="_blank">EuroseenDDL </a>
            <a href="http://www.rockddl.com/index.php?page=contact" class="menuitem" target="_blank"><font color="white" size="2"><b>Your Site Here PR4+</b></font></a>
        </div>
    </div>
    <center><a href=""><img src="http://i9.tinypic.com/53hy9fo.gif" alt="Adenter>
</div>

<div id="rightbar">
<form action="index.php" method="get" name="search">
<center><h1>Search : </h1></center>
<input id="q" type="text" size="15" value="<?php echo $q; ?>" name="q" onFocus="if(this.value=='Search')this.value='';" onBlur="if(this.value=='')this.value='Search';" >&nbsp;
<select name="type" id="type">
<option value="index.php" selected>All</option>
<option value="Game">Games</option>
<option value="App">Apps</option>
<option value="Movie">Movies</option>
<option value="Music">Music</option>
<option value="XXX">XXX</option>
<option value="E-Books">E-Books</option>
<option value="Tv">Tv</option>
<option value="Other">Other</option>
</select>&nbsp;
<input name="Search" type="submit" class="input" value="Search" style="cursor:pointer">
</form>
    <center><h1>Top Links</h1></center>
    <?php
    $le->get(16, 16);
    ?>
    <hr color="#666666" size="1">
    <center><h1>Hot Sites</h1></center>
    <a href="#" target="_blank">Some hot site</a>
    <hr color="#666666" size="1">
    <center><a href=""><img src="http://i9.tinypic.com/53hy9fo.gif" alt="Ads" /></a></center>
</div>

</body>
</html>
>
</html>
gotmad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vertical centering - please help! mpnuttall HTML, XHTML and CSS 6 April 16th, 2008 07:38 AM
Centering website afowler HTML, XHTML and CSS 8 October 24th, 2007 02:59 PM
[SOLVED] Centering! mcdanielnc89 HTML, XHTML and CSS 20 October 21st, 2007 06:02 PM
centering help please RZX Developer HTML, XHTML and CSS 7 August 2nd, 2007 07:58 AM
Centering a DIV johnmr HTML, XHTML and CSS 12 September 13th, 2006 09:07 AM


Search Engine Optimization by vBSEO 3.2.0 RC8