Webqie systeem shoutbar bug

Gestart doorRoeltjuh13 reacties56 weergaven

14 berichten · pagina 1 van 1

Roeltjuh

Lid · Topicstarter

Berichten
1.727
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoi. Mijn shoutbar bugt, wie kan dit oplossen?
Als hij wilt scrollen geeft hij de shout niet helemaal.
Afbeelding
Hij geeft dat onderste lijntje niet aan!

Oja, niet zeuren om licentie want die heb ik van Poedeltje wink
0
Berichten
15.446
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
code van de shoutbar?
zo kunnen de fout niet oplossen aan de hand van een afbeelding yummie
0
Roeltjuh

Lid · Topicstarter

Berichten
1.727
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]


 
 [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]"config.php"[/COLOR][COLOR= #007700]);[/COLOR]
 [URL="http://www.php.net/define"]define[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"TITLE"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"Shout toevoegen"[/COLOR][COLOR= #007700]);[/COLOR]
 layoutboven[COLOR= #007700]();[/COLOR]
 checklogin[COLOR= #007700]();[/COLOR]
 [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]action[/COLOR][COLOR= #007700]]) &&[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]action[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"new"[/COLOR][COLOR= #007700])
 {[/COLOR]
 [COLOR= #0000BB]$sQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT poster FROM berichtenbalk ORDER BY gepostop DESC LIMIT 1"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
 [COLOR= #0000BB]$sFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQuery[/COLOR][COLOR= #007700]);[/COLOR]
  [COLOR= #0000BB]$u2Query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT muntjes FROM leden WHERE naam = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
 [COLOR= #0000BB]$u2Fetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$u2Query[/COLOR][COLOR= #007700]);[/COLOR]
 [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700](![/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]avatar[/COLOR][COLOR= #007700]]))
 {[/COLOR]
    [COLOR= #0000BB]$avatar[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]<img src="http://www.talk-it.nl/avatar/[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]avatar[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" border="0" width="35" height="35"/>[/COLOR][COLOR= #007700];
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
    [COLOR= #0000BB]$avatar[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]<div style="width: 35px; height: 35px; border: 1px #000 solid; background: #FFFFFF;"><div style="margin-top: 10px;"><center>?</center></div></div>[/COLOR][COLOR= #007700];
}[/COLOR]
     [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]submit[/COLOR][COLOR= #007700]]))
     {[/COLOR]
         [COLOR= #0000BB]$bericht[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]bericht[/COLOR][COLOR= #007700]]);[/COLOR]
         [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"INSERT INTO berichtenbalk (poster,bericht,gepostop) VALUES ("[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]","[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$bericht[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]",NOW())"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
         [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE leden SET muntjes=muntjes-0 WHERE naam = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
         error[COLOR= #007700]([/COLOR][COLOR= #DD0000]green[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]Je shout is geplaatst! <a href="index">Klik hier</a>[/COLOR][COLOR= #007700]);
     }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
         [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/strtolower"]strtolower[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]poster[/COLOR][COLOR= #007700]]) ==[/COLOR] [URL="http://www.php.net/strtolower"]strtolower[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]]))
         {[/COLOR]
             [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<span style="color: red;">Je kunt geen 2 shouts achter elkaar plaatsen</span>[/COLOR][COLOR= #007700];
         }[/COLOR][URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$u2Fetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]muntjes[/COLOR][COLOR= #007700]] <[/COLOR] [COLOR= #DD0000]2[/COLOR][COLOR= #007700])
         {[/COLOR]
             [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<span style="color: red;">Een shout plaatsen kost 2 credits, je hebt er maar [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$u2Fetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]muntjes[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]</span>[/COLOR][COLOR= #007700];
         }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
         ?>
         <div id=rederror>Verzend Gratis eeen shout</div><br />
</span>
         <form action="#" method="post">
         Bericht: <input type="text" name="bericht" maxlength="255" /><br />
         <input type="submit" name="submit" value="Toevoegen!" />
         </form>
         [COLOR= #0000BB]<?php[/COLOR]
         [COLOR= #007700]}[/COLOR]
         ?>
         <br />
         <br>
<br />
         Alle shouts:<br />
         [COLOR= #0000BB]<?php
         $bQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM berichtenbalk ORDER BY id DESC LIMIT 20"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
         [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$bFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$bQuery[/COLOR][COLOR= #007700]))
         {[/COLOR]
              [COLOR= #0000BB]$uQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT avatar FROM leden WHERE naam = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$bFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]poster[/COLOR][COLOR= #007700]]) .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
 [COLOR= #0000BB]$uFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$uQuery[/COLOR][COLOR= #007700]);[/COLOR]
 [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700](![/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]avatar[/COLOR][COLOR= #007700]]))
    {[/COLOR]
        [COLOR= #0000BB]$avatar[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]<img src="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$url[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]avatar/[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]avatar[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" border="0" width="35" height="35"/>[/COLOR][COLOR= #007700];
    }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
        [COLOR= #0000BB]$avatar[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]<div style="width: 35px; height: 35px; border: 1px #000 solid; background: #FFFFFF;"><div style="margin-top: 10px;"><center>?</center></div</div>[/COLOR][COLOR= #007700];
    }[/COLOR]
 ?>
                     <div class="shout" id="shout_<?=$bFetch[id] ?>" style="height: 48px; background: #E2E2E2; border: 1px #000 solid;">
            <table cellspacing="0" cellpadding="0" width="100%">
                <tr>
                    <td width="40" style="padding-top: 6px; padding-left: 5px;">
                    <a href="http://<?=htmlentities($bFetch[poster]); ?>.talk-it.nl/">
                    <?=$avatar; ?>
                    </td>
                    <td style="padding-left: 7px;">
                        <a href="http://<?=htmlentities($bFetch[poster]); ?>.applenieuwtjes.nl/"><?=htmlentities($bFetch[poster]); ?></a>: <?=smilies(htmlentities($bFetch[bericht])); if ($_SESSION[login] == "Milan" || $_SESSION[login] == "Caitlin")
                        {
                            echo <div style="float: right; margin-top: 7px;"><a href="shout?verwijder= . $bFetch[id] . "><img src=" . $url . images/editor_delete.gif" border="0" /></a></div>;
                        }?>
                    </td>
                </tr>
            </table>
        </div>
        <br />
             [COLOR= #0000BB]<?php[/COLOR]
         [COLOR= #007700]}
     }
}[/COLOR][URL="http://www.php.net/elseif"]elseif[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]verwijder[/COLOR][COLOR= #007700]]) &&[/COLOR] [URL="http://www.php.net/ctype_digit"]ctype_digit[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]verwijder[/COLOR][COLOR= #007700]]))
{[/COLOR]
    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"Milan"[/COLOR] [COLOR= #007700]||[/COLOR] [COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"Caitlin"[/COLOR][COLOR= #007700])
    {[/COLOR]
        [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"DELETE FROM berichtenbalk WHERE id = "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]verwijder[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
        error[COLOR= #007700]([/COLOR][COLOR= #DD0000]green[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]Deze shout is verwijderd[/COLOR][COLOR= #007700]);
    }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
        error[COLOR= #007700]([/COLOR][COLOR= #DD0000]red[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]Je hebt niet de rechten om deze pagina te bezoeken[/COLOR][COLOR= #007700]);
    }
}[/COLOR]
 layoutonder[COLOR= #007700]();[/COLOR]
0
Berichten
6.722
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dit hoort in webwereld. Hier horen alleen vragen over one2xs. wink
0
Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik denk niet dat Milan hier blij mee is, dat je zn hele code post.
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Zet er eens code tags rond emo
0
Ewan

Lid

Berichten
8.302
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Heb je al gepropeerd je heigth aantepassen?
0
Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hooo wacht, jij hebt geen licentie, want poedeltje had die licentie al verkocht.

Stuur een pb
0
Roeltjuh

Lid · Topicstarter

Berichten
1.727
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Wie kan me helpen?
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Lees eerst maar eens wat Milan zegt! smile
0
Roeltjuh

Lid · Topicstarter

Berichten
1.727
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jochems schreef:
Lees eerst maar eens wat Milan zegt! smile
Ik heb het al gezegt, hij schreef dat ik een licentie heb wink
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
if ($_SESSION[login] == "Milan" || $_SESSION[login] == "Caitlin")
Als iemand een account maakt genaamd Milan of Caitlin dan kan hij of zei gewoon shouts verwijderen dat snap je hé? emo
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Xjessex schreef:
if ($_SESSION[login] == "Milan" || $_SESSION[login] == "Caitlin")
Als iemand een account maakt genaamd Milan of Caitlin dan kan hij of zei gewoon shouts verwijderen dat snap je hé? emo
Milan was zo dom om NIET op type te tonen emo
0
Roeltjuh

Lid · Topicstarter

Berichten
1.727
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Xjessex schreef:
if ($_SESSION[login] == "Milan" || $_SESSION[login] == "Caitlin")
Als iemand een account maakt genaamd Milan of Caitlin dan kan hij of zei gewoon shouts verwijderen dat snap je hé? emo
dankjewel voor het melden!, kan iemand me nog helpen?
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