Ok knop

Gestart doorAugust4 reacties44 weergaven

5 berichten · pagina 1 van 1

August

Lid · Topicstarter

Berichten
7.179
Reputatie
1
Punten
3,01
Lid sinds
Laatst gezien
Ik wil [ Sluit alert ] veranderen in
Afbeelding

( http://habbohype.nl/okknop.png )

Iemand enig idee hoe ik dat doe?

BVD.

[COLOR= #0000BB]<?php
                            $sql[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT member_id FROM leden WHERE gebruikersnaam="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]door[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
                            [COLOR= #0000BB]$row_id[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]);[/COLOR]
                        ?>
                        <a href="?p=profiel&mid=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row_id[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]member_id[/COLOR][COLOR= #007700]];[/COLOR] ?>">[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]door[/COLOR][COLOR= #007700]];[/COLOR] ?></a> gemaakt op [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]datum[/COLOR][COLOR= #007700]];[/COLOR] ?>.</b></font></font><font face="Verdana"><b><font size="1">
                </font></b></font></td>
                <td width="11" background="/rechts.png" height="7"></td>
            </tr>
            <tr>
           <td width="391" background="/onder.png" colSpan="3" height="21">
                <center><b><font color="#ffffff" face="Verdana" size="1"><a href="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]];[/COLOR] ?>">[ Sluit 
                alert ]</a></font></b></center></td><br>
            </tr>
        </table>
    </div>
    
    </body>
    
    </html>
    [COLOR= #0000BB]<?php[/COLOR]
    [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]();
}[/COLOR]
?>
0
Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php
                            $sql[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT member_id FROM leden WHERE gebruikersnaam="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]door[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
                            [COLOR= #0000BB]$row_id[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]);[/COLOR]
                        ?>
                        <a href="?p=profiel&mid=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row_id[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]member_id[/COLOR][COLOR= #007700]];[/COLOR] ?>">[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]door[/COLOR][COLOR= #007700]];[/COLOR] ?></a> gemaakt op [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]datum[/COLOR][COLOR= #007700]];[/COLOR] ?>.</b></font></font><font face="Verdana"><b><font size="1">
                </font></b></font></td>
                <td width="11" background="/rechts.png" height="7"></td>
            </tr>
            <tr>
           <td width="391" background="/onder.png" colSpan="3" height="21">
                <center><b><font color="#ffffff" face="Verdana" size="1"><a href="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]];[/COLOR] ?>"><img src="http://habbohype.nl/okknop.png" alt="Sluit venster" border="0" /></a></font></b></center></td><br>
            </tr>
        </table>
    </div>
    
    </body>
    
    </html>
    [COLOR= #0000BB]<?php[/COLOR]
    [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]();
}[/COLOR]
?>
0
August

Lid · Topicstarter

Berichten
7.179
Reputatie
1
Punten
3,01
Lid sinds
Laatst gezien
ty smile

Hij gaat nu te te ver naar onder waardoor hij door de layout gaat en de layout een beetje stuk maakt, hoe doe ik dat goed?

[COLOR= #0000BB]<?php

$sql[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM alert WHERE member_id="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" AND gelezen=Nee"[/COLOR][COLOR= #007700]);[/COLOR]


[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]) >=[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]) {[/COLOR]
    [COLOR= #0000BB]$row[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE alert SET gelezen=Ja WHERE alert_id="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]alert_id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
    ?>
    <html>
    
    <head>
    <meta http-equiv="Content-Language" content="nl">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Let op! U heeft een alert ontvangen..</title>
    </head>
    
    <body background="images/bg.gif" style="background-attachment: fixed">
    
    &nbsp;<div align="center">
        <table cellSpacing="0" cellPadding="0" width="391">
            <!-- MSTableType="nolayout" -->
            <tr>
                <td width="391" background="/boven.png" colSpan="3" height="45">
                <font face="Verdana" size="1">
                <br>
                <br>
    </font></td>
            </tr>
            <tr>
                <td width="14" background="/links.png" height="7">&nbsp;</td>
                <td width="355" bgColor="#ffffff" height="13">
                <font class="logintekst"><font face="Verdana" size="1"><b>Deze alert 
                is alleen naar jou toe gestuurd:</b><i><br>
                </i>
                <br>
                [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]reden[/COLOR][COLOR= #007700]];[/COLOR] ?><br>
                <br>
                <b>Dit bericht is door     
                   [COLOR= #0000BB]<?php
                            $sql[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT member_id FROM leden WHERE gebruikersnaam="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]door[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
                            [COLOR= #0000BB]$row_id[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sql[/COLOR][COLOR= #007700]);[/COLOR]
                        ?>
                        <a href="?p=profiel&mid=[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row_id[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]member_id[/COLOR][COLOR= #007700]];[/COLOR] ?>">[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]door[/COLOR][COLOR= #007700]];[/COLOR] ?></a> gemaakt op [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]datum[/COLOR][COLOR= #007700]];[/COLOR] ?>.</b></font></font><font face="Verdana"><b><font size="1">
                </font></b></font></td>
                <td width="11" background="/rechts.png" height="7"></td>
            </tr>
            <tr>
           <td width="391" background="/onder.png" colSpan="3" height="21">
                <center><font color="#ffffff" face="Verdana" size="1"><a href="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]];[/COLOR] ?>"><img src="http://habbohype.nl/okknop.png" alt="Sluit venster" border="0" /></a></font></b></center></td><br>
            </tr>
        </table>
    </div>
    
    </body>
    
    </html>
    [COLOR= #0000BB]<?php[/COLOR]
    [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]();
}[/COLOR]
?>
0
August

Lid · Topicstarter

Berichten
7.179
Reputatie
1
Punten
3,01
Lid sinds
Laatst gezien
Iemand enig idee hoe ik de layout verder naar beneden haal?
0
Berichten
3.461
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
margin-top: .. px; in je css zetten
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren