GunZ Web 2010 Second Edition Website

Results 1 to 1 of 1
  1. #1
    Account Upgraded | Title Enabled! yurij13 is offline
    MemberRank
    Jul 2007 Join Date
    387Posts

    GunZ Web 2010 Second Edition Website

    In this webpage wenever i add text beetween all the /></td> the text it on the side of my page instead of like the middle of my home or staff uits on sides how come? example if i do this:
    <tr>
    <td><img src="spacer.gif" width="8" height="1" border="0" alt="" />welcome to this new site enjoy!</td> ( then it goes to the side of my page or to the bottom or something i want in the middle and when i click on like staff it sitll stays there -.-)

    <td><img src="spacer.gif" width="171" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="6" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="639" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="6" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="183" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="11" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="1" height="1" border="0" alt="" /></td>
    </tr>


    HERES MY INDEX THATS NOT EDITED
    Index.php

    <?
    include "title.php";
    include "functions.php";
    include "configuration/config.php";
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Titanium Gunz </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css">td img {display: block;}body,td,th {
    font-family: verdana;
    font-size: 14px;
    color: #FFFFFF;
    }
    body {
    background-color: #333333;
    }
    .style1 {font-size: 10px}
    </style>
    <!--Fireworks CS3 Dreamweaver CS3 target. Created Fri May 21 07:02:37 GMT+0200 2010-->
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }

    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    </head>
    <body onload="MM_preloadImages('images/Buttons/home_hover.png','images/Buttons/register_hover.png','images/Buttons/download_hover.png','images/Buttons/forum_hover.png','images/Buttons/staff_hover.png')">
    <table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
    <!-- fwtable fwsrc="Template.png" fwpage="Página 1" fwbase="Website.jpg" fwstyle="Dreamweaver" fwdocid = "876896075" fwnested="0" -->
    <tr>
    <td><img src="spacer.gif" width="8" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="171" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="6" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="639" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="6" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="183" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="11" height="1" border="0" alt="" /></td>
    <td><img src="spacer.gif" width="1" height="1" border="0" alt="" /></td>
    </tr>

    <tr>
    <td colspan="7"><img name="Website_r1_c1" src="Website_r1_c1.jpg" width="1024" height="233" border="0" id="Website_r1_c1" alt="" /></td>
    <td><img src="spacer.gif" width="1" height="233" border="0" alt="" /></td>
    </tr>
    <tr>
    <td rowspan="6"><img name="Website_r2_c1" src="Website_r2_c1.jpg" width="8" height="791" border="0" id="Website_r2_c1" alt="" /></td>
    <td colspan="5" background="Website_r2_c2.jpg"><div align="center">
    <table width="464" border="0">
    <tr>
    <td width="100"><a href="index.php?do=index" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Home','','images/Buttons/home_hover.png',1)"><img src="http://forum.ragezone.com/images/Buttons/home_idle.png" name="Home" width="100" height="28" border="0" id="Home" /></a></td>
    <td width="100"><a href="/register/register.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Register','','images/Buttons/register_hover.png',1)"><img src="http://forum.ragezone.com/images/Buttons/register_idle.png" name="Register" width="100" height="28" border="0" id="Register" /></a></td>
    <td width="100"><a href="index.php?do=downloads" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Downloads','','images/Buttons/download_hover.png',1)"><img src="http://forum.ragezone.com/images/Buttons/download_idle.png" name="Downloads" width="100" height="28" border="0" id="Downloads" /></a></td>
    <td width="100"><a href="http://www.freeforums.org/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Forum','','images/Buttons/forum_hover.png',1)"><img src="http://forum.ragezone.com/images/Buttons/forum_idle.png" name="Forum" width="100" height="28" border="0" id="Forum" /></a></td>
    <td width="42"><a href="index.php?do=staff" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Staff List','','images/Buttons/staff_hover.png',1)"><img src="http://forum.ragezone.com/images/Buttons/staff_idle.png" name="Staff List" width="100" height="28" border="0" id="Staff List" /></a></td>
    </tr>
    </table>
    </div></td>
    <td rowspan="6"><img name="Website_r2_c7" src="Website_r2_c7.jpg" width="11" height="791" border="0" id="Website_r2_c7" alt="" /></td>
    <td><img src="spacer.gif" width="1" height="36" border="0" alt="" /></td>
    </tr>
    <tr>
    <td colspan="5"><img name="Website_r3_c2" src="Website_r3_c2.jpg" width="1005" height="3" border="0" id="Website_r3_c2" alt="" /></td>
    <td><img src="spacer.gif" width="1" height="3" border="0" alt="" /></td>
    </tr>
    <tr>
    <td background="Website_r4_c2.jpg"><div align="center">Your Sidebar</div></td>
    <td rowspan="3"><img name="Website_r4_c3" src="Website_r4_c3.jpg" width="6" height="649" border="0" id="Website_r4_c3" alt="" /></td>
    <td background="Website_r4_c4.jpg">Titanium Gunz Web - Welcome to the new web! by Jorgitoarr</td>
    <td rowspan="3"><img name="Website_r4_c5" src="Website_r4_c5.jpg" width="6" height="649" border="0" id="Website_r4_c5" alt="" /></td>
    <td background="Website_r4_c6.jpg"><div align="center">Rankings //</div></td>
    <td><img src="spacer.gif" width="1" height="36" border="0" alt="" /></td>
    </tr>
    <tr>
    <td align="center" valign="top" background="Website_r5_c2.jpg">&lt;Content&gt;</td>
    <td align="center" valign="top" background="Website_r5_c4.jpg"><? if($opened == 0){
    include "mod_offline.php";
    }else{
    if (isset($_GET['do'])) {
    $_GET['expand'] = 0;
    if (file_exists("mod_" . $_GET['do'] . ".php")) {
    include "mod_" . $_GET['do'] . ".php";
    }
    }else{
    include "mod_index.php";

    }

    if(isset($default)){
    include $default;
    } }
    ?>&nbsp;</td>
    <td align="center" valign="top" background="Website_r5_c6.jpg"><?php require_once('mod_playerranking.php'); ?>
    <?php require_once('mod_clanranking.php'); ?></td>
    <td><img src="spacer.gif" width="1" height="600" border="0" alt="" /></td>
    </tr>
    <tr>
    <td><img name="Website_r6_c2" src="Website_r6_c2.jpg" width="171" height="13" border="0" id="Website_r6_c2" alt="" /></td>
    <td><img name="Website_r6_c4" src="Website_r6_c4.jpg" width="639" height="13" border="0" id="Website_r6_c4" alt="" /></td>
    <td><img name="Website_r6_c6" src="Website_r6_c6.jpg" width="183" height="13" border="0" id="Website_r6_c6" alt="" /></td>
    <td><img src="spacer.gif" width="1" height="13" border="0" alt="" /></td>
    </tr>
    <tr>
    <td colspan="5" background="Website_r7_c2.jpg"><div align="center">
    <p class="style1">- Copyrigt © GunzWeb 2010 Second Edition Website. All Rights Reserved -</p>
    <p class="style1">&quot;GunZ&quot; and &quot;GunZ:TheDuel&quot; are registered trademarks of MAIET Entertainment,INC</p>
    <p class="style1">- Website created and designed by Jorgitoarr -</p>
    </div></td>
    <td><img src="spacer.gif" width="1" height="103" border="0" alt="" /></td>
    </tr>
    </table>
    </body>
    </html>

    mod_index.php
    <?
    $res = mssql_query("SELECT * FROM ServerStatus WHERE Opened = '1'");
    $servercount = 0;
    while($srv = mssql_fetch_assoc($res)){
    $servercount = $servercount + $srv['CurrPlayer'];
    }
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Home</title>
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }

    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    </head>

    <body onload="MM_preloadImages('images/downloadbutton_hover.jpg')">
    <table width="444" height="91" border="0">
    <tr>
    <td height="66" background="http://forum.ragezone.com/images/playframe.png"><table width="435" border="0" align="center">
    <tr>
    <td width="100">
    <div align="right">
    <?=$servercount?>
    &nbsp;</div></td>
    <td width="137"><div align="center">Players Online</div></td>
    <td width="184"><div align="center"><a href="index?do=downloads" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Download','','images/downloadbutton_hover.jpg',1)"><img src="http://forum.ragezone.com/images/downloadbutton_idle.jpg" name="Download" width="178" height="61" border="0" id="Download" /></a></div></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <p>&lt; Please fo not remove the web owner copyright &gt;</p>
    <p>&lt;Content Here&gt;</p>
    <p>
    <?php require_once('status.php'); ?>
    </p>
    </body>
    </html>
    Last edited by yurij13; 27-05-10 at 07:48 PM.




Advertisement