Content maken.

Gestart doorAugust15 reacties86 weergaven

16 berichten · pagina 1 van 2

August

Lid · Topicstarter

Berichten
7.179
Reputatie
1
Punten
3,01
Lid sinds
Laatst gezien
Ik wil hier een content van maken, waar je tekst in kan typpen enzo, maar ik kan bijna geen php, ik heb al een poging gedaan, maar toen liet ie de plaatjes niet zien.
Weet iemand hoe die moet?

Dit zijn de plaatjes:
Afbeelding
Afbeelding
- - - - ------------------------ tekst tekst -------- - - - - - -- - - - -
Afbeelding
Afbeelding
0
Berichten
3.461
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
met html en css, zorg dat je een header, een middenstuk (1px hoog is al genoeg) en een footer hebt, en zet dat dan in css en html.
0
August

Lid · Topicstarter

Berichten
7.179
Reputatie
1
Punten
3,01
Lid sinds
Laatst gezien
Als ik zoiets doe:

.menumid {
 background: url(images/mid.png);
 width: 246px;
 overflow: hidden;
 padding-left: 100px;
 padding-right: 100px;


Dan laat ie het plaatje niet zien yummie
0
Berichten
1.168
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
background-image ipv backgroundwink
0
Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dat moet in CSS ik kan wel een poging wagen:

CSS:

.blok
{
  width: 269px;
  font-family: Verdana;
  font-size: 10px;
  font-weight: bold;
}

.bheader
{
  background: url(http://habbohype.nl/boven.png);
  height: 57px;
  width: 269px;
}

.bmid
{
  background: url(http://habbohype.nl/mid.png);
  background-repeat: repeat-y;
  width: 269px;
  text-align: center;
}

.bbottom
{
  background: url(http://habbohype.nl/onder.png);
  width: 269px;
  height: 21px;
}


Oproepen: (HTML)

<div class=blok>
  <div class=bheader></div>
  <div class=bmid>
  HIER DE TEKST
  </div>
  <div class=bbottom></div>
</div>


Zoiets?
Voorbeeld:
http://basmilius.nl/files/test.php
0
Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Andydewit schreef:
background-image ipv backgroundwink
Hoeft niet perse
0
August

Lid · Topicstarter

Berichten
7.179
Reputatie
1
Punten
3,01
Lid sinds
Laatst gezien
Superb:
Dat moet in CSS ik kan wel een poging wagen:

CSS:

.blok
{
  width: 269px;
  font-family: Verdana;
  font-size: 10px;
  font-weight: bold;
}

.bheader
{
  background: url(http://habbohype.nl/boven.png);
  height: 57px;
  width: 269px;
}

.bmid
{
  background: url(http://habbohype.nl/mid.png);
  background-repeat: repeat-y;
  width: 269px;
  text-align: center;
}

.bbottom
{
  background: url(http://habbohype.nl/onder.png);
  width: 269px;
  height: 21px;
}


Oproepen: (HTML)

<div class=blok>
  <div class=bheader></div>
  <div class=bmid>
  HIER DE TEKST
  </div>
  <div class=bbottom></div>
</div>


Zoiets?
Voorbeeld:
http://basmilius.nl/files/test.php

Dat voorbeeld is precies wat ik moet hebben biggrin!

Alleen, hoe moet ik dat hier in verwerken?

[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="370">
            <!-- MSTableType="nolayout" -->
            <tr>
                <td width="290" background="/boven.png" colSpan="3" height="20">
                <font face="Verdana" size="1">
                <br>
                <br>
    &nbsp;</font></td>
            </tr>
            <tr>
                <td width="5" background="/links.png" height="13">&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="10" background="rechts.png" height="13">&nbsp;</td>
            </tr>
            <tr>
                <td width="370" background="/onder.png" colSpan="3" height="35">
                <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>
            </tr>
        </table>
    </div>

    </body>
    
    </html>
    [COLOR= #0000BB]<?php[/COLOR]
    [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]();
}[/COLOR]
?>


[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="370">
            <!-- MSTableType="nolayout" -->
            <tr>
                <td width="290" background="/boven.png" colSpan="3" height="20">
                <font face="Verdana" size="1">
                <br>
                <br>
    &nbsp;</font></td>
            </tr>
            <tr>
                <td width="5" background="/links.png" height="13">&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="10" background="rechts.png" height="13">&nbsp;</td>
            </tr>
            <tr>
                <td width="370" background="/onder.png" colSpan="3" height="35">
                <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>
            </tr>
        </table>
    </div>
    <font face="Verdana" size="1">
    <embed name="midi" src="muziek/nieuw%5Fbericht%5Fconsole.mp3" width="22" height="16" hidden="true" type="audio/x-wav" loop="false">
    </font>
    <p align="center">&nbsp;</p>
    
    </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
Ik krijg nu dit:
Afbeelding
0
Berichten
1.168
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Stuur eens de code die je nu hebt.
0
Berichten
10.409
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Je moet html/css dat textboxje doen en dan de text met een include doensmile
0
August

Lid · Topicstarter

Berichten
7.179
Reputatie
1
Punten
3,01
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 * 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="370">
            <!-- MSTableType="nolayout" -->
            <tr>
                <td width="290" background="/boven.png" colSpan="3" height="20">
                <font face="Verdana" size="1">
                <br>
                <br>
                <br>
    &nbsp;</font></td>
            </tr>
            <tr>
                <td width="5" background="/links.png" height="13">&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><br />
                <td width="10" background="rechts.png" height="13">&nbsp;</td>
            </tr>
            <tr>
                <td width="370" background="/onder.png" colSpan="3" height="35">
                <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>
            </tr>
        </table>
    </div>

    
    </body>
    
    </html>
    [COLOR= #0000BB]<?php[/COLOR]
    [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]();
}[/COLOR]
?>
0
Berichten
3.461
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Gewoon die code van Superb tussen die body tags in je html pagina zetten?
0
August

Lid · Topicstarter

Berichten
7.179
Reputatie
1
Punten
3,01
Lid sinds
Laatst gezien
Jos, waar moet ik dat dan zetten, ik ben heel slecht in php emoDit is de nieuwe code, heb wat aangepast, en ziet er beter uit::

[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="370">
            <!-- MSTableType="nolayout" -->
            <tr>
                <td width="391" background="/boven.png" colSpan="3" height="45">
                <font face="Verdana" size="1">
                <br>
                <br>
                <br>
    &nbsp;</font></td>
            </tr>
            <tr>
                <td width="12" 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><br />
                <td width="14" background="rechts.png" height="7">&nbsp;</td>
            </tr>
            <br>
        
            <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>
            </tr>
        </table>
    </div>

    
    </body>
    
    </html>
    [COLOR= #0000BB]<?php[/COLOR]
    [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]();
}[/COLOR]
?>
0
Berichten
3.000
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
heb je een .css bestandje? zoja
zet deze daar in

.blok
{
  width: 269px;
  font-family: Verdana;
  font-size: 10px;
  font-weight: bold;
}

.bheader
{
  background: url(http://habbohype.nl/boven.png);
  height: 57px;
  width: 269px;
}

.bmid
{
  background: url(http://habbohype.nl/mid.png);
  background-repeat: repeat-y;
  width: 269px;
  text-align: center;
}

.bbottom
{
  background: url(http://habbohype.nl/onder.png);
  width: 269px;
  height: 21px;
}


en dan in je body van je gewone .php /html bestand doe je
<div class=blok>
  <div class=bheader></div>
  <div class=bmid>
  HIER DE TEKST
  </div>
  <div class=bbottom></div>
</div>
0
August

Lid · Topicstarter

Berichten
7.179
Reputatie
1
Punten
3,01
Lid sinds
Laatst gezien
Ik heb geen css ofzo weet ik veel, ik heb nergens verstand van yummie?

EDIT: Verklaard dit:

ik verwijderde dit:  

En toen deed ie het? emo Alleen laat hij rechts nog niet zien, ik ga nog ff door met klooien.

Oke, hij is helemaal goed.
Hoe krijg ik de tekst Sluit alert een entertje naar beneden?
Als ik BR ergens inzet gebeurt er niks tot weinig, maar je tekst gaat niet omlaag, weet iemand waar ik deze dan moet zetten?
Afbeelding

[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="12" 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="13" background="/rechts.png" height="10"></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

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