Avatar billede delta_044 Nybegynder
03. marts 2005 - 14:53 Der er 1 kommentar og
1 løsning

Mozilla Firefox, men ikke IE

Mozilla, men ikke I.E
    100 point fra delta_044   

X
hej guder...
Hvorfor kan man ikke se indholdet i min iframe når siden vises i internet explorer ?? det virker i mozilla firefox...

Her kommer Kilde koden...

<?php
    $stem = isset($_POST['stem']) ? $_POST['stem'] : '';
    $har_stemt = isset($_REQUEST['stem']) ? $_REQUEST['har_stemt'] : '';
    if ($stem != "" && $har_stemt != "") {
        setcookie ("har_stemt", "1",time()+1209600);
    } 
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>VODSKOV[dot]ORG BETA - Drengerøvslir for drengerøve !!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="footbox.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style3 {font-size: 10pt}
a:link {
    color: #000000;
    text-decoration: none;
}
a:visited {
    text-decoration: none;
    color: #000000;
}
a:hover {
    text-decoration: none;
    color: #800000;
}
a:active {
    text-decoration: none;
    color: #333333;
}
.style8 {
    font-size: 14px;
    font-weight: bold;
}
.style9 {
    color: #333333;
    font-size: 12px;
}
.style10 {font-size: 14px}
.style11 {color: #000000}
.style12 {
    font-size: 12px;
    font-weight: bold;
}
-->
</style>
</head>
<body>
<div align="center">
  <table width="1062" border="0" cellpadding="0" cellspacing="0">
    <!--DWLayoutTable-->
    <tr>
      <td width="22" height="17"></td>
      <td width="123"></td>
      <td width="27"></td>
      <td width="25"></td>
      <td width="672"></td>
      <td width="25"></td>
      <td width="95"></td>
      <td width="55"></td>
      <td width="18"></td>
    </tr>
    <tr>
      <td height="123"></td>
      <td></td>
      <td colspan="5" align="center" valign="top"><div align="center"><img src="banner.jpg" width="840" height="121" border="1"></div></td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="25"></td>
      <td></td>
      <td>&nbsp;</td>
      <td></td>
      <td></td>
      <td></td>
      <td></td>
      <td></td>
      <td></td>
    </tr>
    <tr>
      <td height="36"></td>
      <td colspan="2" valign="top" background="ass.jpg" bgcolor="#CCCCCC" class="ass"><div align="center">Menu</div></td>
      <td>&nbsp;</td>
      <td valign="top" background="topass.jpg" bgcolor="#CCCCCC" class="ass"><div align="center">vodskov.org</div></td>
      <td>&nbsp;</td>
      <td colspan="2" valign="top" background="ass.jpg" bgcolor="#CCCCCC" class="ass"><div align="center" class="style3"> <strong>Seneste forum tr&aring;de</strong></div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="204"></td>
      <td colspan="2" align="left" valign="top" background="menu.jpg" bgcolor="#FFFFFF" class="footbox"><div align="left" class="style8"><span class="style9"><br>
        &nbsp;&nbsp;<img src="prik.JPG" width="6" height="5" border="0" align="absmiddle"> <strong><a href="news/index.php" target="body">&nbsp;&nbsp;Forside</a></strong><br>
&nbsp;&nbsp;<img src="prik.JPG" width="6" height="5" border="0" align="absmiddle"> <a href="http://forum.vodskov.org" target="body">&nbsp;&nbsp;Forum</a><br>
&nbsp;&nbsp;<img src="prik.JPG" width="6" height="5" border="0" align="absmiddle"> <a href="galleri.htm" target="body">&nbsp;&nbsp;Galleri</a><br>
&nbsp;&nbsp;<img src="prik.JPG" width="6" height="5" border="0" align="absmiddle">&nbsp;&nbsp; <span class="style11"><a href="links.php" target="body">Links</a> </span> </span></div></td>
    <td></td>
      <td rowspan="5" valign="top" class="footbox"><iframe name="body" width="672" height="100%" align="left" marginwidth="0" marginheight="0" frameborder="0" src="news/index.php"></iframe>
      <td>   
      <td colspan="2" align="right" valign="top" class="footbox">      <div align="left">
<?php include('forbindelse.php'); ?>
<?php
    $sql = "
        SELECT topic_id, topic_title, FROM_UNIXTIME(topic_time, '') as topic_add_time
        FROM phpbb_topics
        ORDER BY topic_time DESC
        LIMIT 10";
    $result = mysql_query($sql) or die( mysql_error() );
    echo '<span class="bold_boldheader">10 seneste Indæg:</span>';
    echo '<span class="bold_linebreak_top"><br><br></span>';
    while ( $data = mysql_fetch_assoc($result) ) {
        echo "<span class=\"bold_time\">{$data['topic_add_time']}&nbsp;</span><a href=\"http://forum.vodskov.org/viewtopic.php?t={$data['topic_id']}\" target=\"body\" class=\"bold_headline\">{$data['topic_title']}</a><br>";
    }
?>
      </div>
    <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="32"></td>
      <td></td>
      <td></td>
      <td></td>
      <td>   
      <td>   
      <td></td>
      <td></td>
    </tr>
    <tr>
      <td height="36"></td>
      <td colspan="2" valign="top" background="ass.jpg" bgcolor="#CCCCCC" class="ass"><div align="center">Top 10: &Oslash;l</div></td>
      <td></td>
      <td>   
      <td colspan="2" valign="top" background="ass.jpg" bgcolor="#CCCCCC" class="ass">      <div align="center">Afstemning</div>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="204"></td>
      <td colspan="2" align="left" valign="top" background="carlsberg1.jpg" class="footbox"><div align="center" class="style10">
        <p align="left"><br>
          <span class="style12">&nbsp;&nbsp;&nbsp;&nbsp;1. Star (<em>udg&aring;et</em>) <br>
&nbsp;&nbsp;&nbsp;&nbsp;2. Carlsberg<br>
&nbsp;&nbsp;&nbsp;&nbsp;3. Dansk Pilsner<br>
&nbsp;&nbsp;&nbsp;&nbsp;4. Slots Pilsner <br>
&nbsp;&nbsp;&nbsp;&nbsp;5. Royal Classic <br>
&nbsp;&nbsp;&nbsp;&nbsp;6. Thor Pilsner<br>
&nbsp;&nbsp;&nbsp;&nbsp;7. Harboe Ren Pilsner<br>
&nbsp;&nbsp;&nbsp;&nbsp;8. Aalborg Pilsner<br>
&nbsp;&nbsp;&nbsp;&nbsp;9. Faxe Fad<br>
&nbsp;&nbsp;10. Newcastle Ale </span></p>
      </div></td>
      <td></td>
      <td>   
      <td colspan="2" align="right" valign="top" class="footbox">      <div align="left">

<?php
    include('conf.inc');
    include('mysql.inc');

    if ($har_stemt == "1") {
        $stem = "ja";
        $do_stem = "ja";
    }

    echo "<h4>$spm</h4>";

    if ($har_stemt == "") {
        if ($stem == "" || $do_stem == "") {
            if ($stem == "" && $do_stem != "") {
                echo "Du glemte at stemme!";
            }
            if ($stem != "" && $do_stem == "") {
                echo "Du kom ikke relementeret prøv igen!";
            }
            echo "    <form method='post' action='$_SERVER[PHP_SELF]'>\n";
            echo "      <input type='radio' name='stem' value='1'>\n";
            echo "      $info1<br>\n";
            echo "      <input type='radio' name='stem' value='2'>\n";
            echo "      $info2<br>\n";
            echo "      <input type='radio' name='stem' value='3'>\n";
            echo "      $info3<br>\n";
            echo "      <input type='radio' name='stem' value='4'>\n";
            echo "      $info4<br>\n";
            echo "      <input type='hidden' name='har_stemt' value='2'>\n";
            echo "      <input type='submit' name='do_stem' value='Stem'>\n";
            echo "    </form>\n";
        }
    }
    if ($har_stemt == "1" && $stem == "ja") {
        echo "Du har allerede stemt!";
    } else if ($stem) {
        $stemme = "stem$stem";
        mysql_query("UPDATE $table SET $stemme = $stemme + 1 WHERE ID = '1'") or die(mysql_error());
        echo "Du har nu stemt!";
    }
    if ($har_stemt != "") {
        $result = mysql_query("select * from $table");
        $row = mysql_fetch_array ($result);
        $r1 = $row['stem1'];
        $r2 = $row['stem2'];
        $r3 = $row['stem3'];
        $r4 = $row['stem4'];
        $rialt = $r1 + $r2 + $r3 + $r4;
        $r1p = $r1 / $rialt * "100";
        $r2p = $r2 / $rialt * "100";
        $r3p = $r3 / $rialt * "100";
        $r4p = $r4 / $rialt * "100";
        $r1p = round($r1p);
        $r2p = round($r2p);
        $r3p = round($r3p);
        $r4p = round($r4p);
        echo "<p>";
        echo "<table width='$table_width'><tr><td>";
        echo "<b>$info1</b>";
        echo "</td><td></td></tr><tr><td>";
        echo "$r1p %";
        echo "</td><td>";
        echo "<img src='bar.gif' width='$r1p' height='10'>";
        echo "</td></tr><tr><td>";
        echo "<b>$info2</b>";
        echo "</td><td></td></tr><tr><td>";
        echo "$r2p %";
        echo "</td><td>";
        echo "<img src='bar.gif' width='$r2p' height='10'>";
        echo "</td></tr><tr><td>";
        echo "<b>$info3</b>";
        echo "</td><td></td></tr><tr><td>";
        echo "$r3p %";
        echo "</td><td>";
        echo "<img src='bar.gif' width='$r3p' height='10'>";
        echo "</td></tr><tr><td>";
        echo "<b>$info4</b>";
        echo "</td><td></td></tr><tr><td>";
        echo "$r4p %";
        echo "</td><td>";
        echo "<img src='bar.gif' width='$r4p' height='10'>";
        echo "</td></tr></table>";
        echo "Der er afgivet ialt $rialt stemmer.";
    }
    echo "<p>© <a href='mailto:rene@vodskov.org'>Vodskov.org</a> 2005.";
?>

                                                                                                                                                      </div>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="106"></td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>   
      <td>   
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
</div>
</body>
</html>
Avatar billede delta_044 Nybegynder
03. marts 2005 - 14:56 #1
Der er selvfølgelig 200 point....

link : http://www.vodskov.org/index1.php
Avatar billede delta_044 Nybegynder
05. marts 2005 - 15:18 #2
Lukker
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester