• Login
  • Register
  • Zoek
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Filebase Entry
  • More Options

ICTscripters

Dé plek voor IT

Dé plek voor IT

Login

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Dé plek voor IT - ICTscripters
  2. Forum
  3. Scripting & programmeren
  4. PHP + SQL

Forum

  • Na 15 jaar terug van weggeweest: iCriminals.nl is terug (BETA)!

    Syntax 30 december 2025 om 22:29
  • Developer Gezocht

    K.Rens 30 december 2025 om 12:32
  • Op zoek naar de legends

    Jeffrey.Hoekman 9 december 2025 om 09:41
  • [FREE] WeFact Hosting module

    Jeroen.G 13 oktober 2025 om 14:09
  • Help testers nodig voor android app Urgent

    urgentotservices 26 september 2025 om 10:21
  • Versio vervanger

    Jeroen.G 25 augustus 2025 om 15:56
  • Afspraken systeem met planbeperking

    Lijno 1 augustus 2025 om 23:04
  • Partner Gezocht om meerdere NFT Collecties op Open Sea te Plaatsen

    NFT Art Designer 1 maart 2025 om 14:08

Marktplaats

  • Meerdere mafia game template te koop

    Syntax 28 december 2025 om 21:20
  • Van een pixelige afbeelding naar een strakke, moderne website

    Syntax 21 december 2025 om 17:05
  • 302 Nieuwe Domeinnamen November 2025

    shiga 1 december 2025 om 13:07

Index

  • Tycho
  • 20 mei 2010 om 18:35
  • Tycho
    Student
    Berichten
    118
    • 20 mei 2010 om 18:35
    • #1

    Beste CP'ers.

    Ik zit met het grootste probleem totheden die ik heb.
    Ik probeer al aantal dagen de probleem uit me index te krijgen.
    Het is zo, de tables worden niet steeds volledig weergegeven. Als bijvoorbeeld de menu uitklapt, worden de tables van index groter maar niet volledig weergegeven.

    Ik weet niet of ik het duidelijk genoeg heb vertelt.
    Ik weet dat de scripting bagger is, maar dat wil ik hierna proberen te repareren :)


    PHP
    <body style="margin: 5px;">
    <table align="center" width=100%>
     <tr>
    
    
     <? include('banner.php'); ?>
    
    
        <tr><td valign="top">
    	  <table width=100% cellpadding=0 cellspacing=0>
            <td valign="top">
    	<table width=100% height=100% cellpadding=0 cellspacing=0>
            <tr><td width=150 height=150 valign="top" align="center">
    <?php /* ------------------------- */
    
    
      $dbres				= mysql_query("SELECT `id` FROM `[users]` WHERE `activated`=1");
      $members				= mysql_num_rows($dbres);
    
    
      $dbres				= mysql_query("SELECT `id` FROM `[users]` WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300");
      $online				= mysql_num_rows($dbres);
    
    
      $dbres				= mysql_query("SELECT `id` FROM `[users]` WHERE `level` & 0x80 AND UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300 ORDER BY `login`");
      $admin				= mysql_num_rows($dbres);
    
    
      $query				= mysql_query("SELECT id FROM `[messages]` WHERE `read`=0 AND `inbox`=1 AND `to`='{$data->login}'");
      $inboxnew				= mysql_num_rows($query);
    
    
      $laatstelid           = mysql_query("select `login` from `[users]` order by id desc limit 1");
      $lastmember           = @mysql_result($laatstelid,0,0);
      print <<<ENDHTML
          <table width=150><form>
            <tr><td class="mainTxt" align="center"><b>Active: $online/$members</b></td></tr>
    	<tr><td align="center"><input type="text" name="time" style="text-align: center;"></td></tr>
          </form></table>
    ENDHTML;
    
    
      if($data) {
        print <<<ENDHTML
          <table class="menu" width=150 cellpadding=0 cellspacing=0>
            <tr><td><table width=100% cellpadding=0 cellspacing=0>
    		<tr> <td width=5 class="menuTitle"><a style="color: #FFFFFF;" onClick="showMenu('main')"><IMG src="images/star22.jpg" vspace="2" hspace="2" border="0" align="absmiddle"></a>&nbsp;</td>
    			<td class="menuTitle"><b>General</b></td></tr>
    	</table>
            <table width=100% cellpadding=0 cellspacing=0 ID="main" style="position: absolute; left: -100; top: -100;">
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='home.php';">&nbsp;&nbsp;<a title="Go to Forum page" href="home.php"><font size="1.5" color="#CCCCCC"><b>Home</b></font></a></td></tr>
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='disclaimer.php';">&nbsp;&nbsp;<a title="Go to Disclaimers" href="disclaimer.php"><font size="1.5" color="#CCCCCC"><b>FAQ</b></font></a></td></tr>
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href=login.php?x=logout';">&nbsp;&nbsp;<a title="Logout directly" href="login.php?x=logout"><font size="1.5" color="#CCCCCC"><b>Logout</b></font></a></td></tr>
            </table></td></tr>
          </table>
    
    
          <table class="menu" width=150 cellpadding=0 cellspacing=0>
            <tr><td><table width=100% cellpadding=0 cellspacing=0>
    		<tr> <td width=5 class="menuTitle"><a style="color: #FFFFFF;" onClick="showMenu('control')"><IMG src="images/star22.jpg" vspace="2" hspace="2" border="0" align="absmiddle"></a>&nbsp;</td>
    			<td class="menuTitle"><b>User</b></td></tr>
    	</table>
    	<table width=100% cellpadding=0 cellspacing=0 ID="control" style="position: absolute; left: -100; top: -100; visibility: hidden;">
    	<tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='list.php';">&nbsp;&nbsp;<a title="View the members" href="list.php"><font size="1.5" color="#CCCCCC"><b>Members</b></font></a></td></tr>
    	<tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='list.php?s=online';">&nbsp;&nbsp;<a title="See all active users" href="list.php?s=online"><font size="1.5" color="#CCCCCC"><b>Online[$online]</b></font></a></td></tr>
    	<tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='message.php?p=inbox';">&nbsp;&nbsp;<a title="Go to your inbox" href="message.php?p=inbox"><font size="1.5" color="#CCCCCC"><b>Inbox[$inboxnew]</b></font></a></td></tr>
    	<tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='forum.php';">&nbsp;&nbsp;<a title="Go to the forum" href="forum.php"><font size="1.5" color="#CCCCCC"><b>Forum</b></font></a></td></tr>
    	</table></td></tr>
          </table>
    
    
    <table class="menu" width=150 cellpadding=0 cellspacing=0>
            <tr><td><table width="100%" cellpadding=0 cellspacing=0>
    		<tr> <td width=5 class="menuTitle"><a style="color: #FFFFFF;" onClick="showMenu('fam')"><IMG src="images/star22.jpg" vspace="2" hspace="2" border="0" align="absmiddle"></a>&nbsp;</td>
    			<td class="menuTitle"><b>Family</b></td></tr>
    	</table>
    	<table width="100%" cellpadding=0 cellspacing=0 ID="fam" style="position: absolute; left: -100; top: -100; visibility: hidden;">
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href=';">&nbsp;&nbsp;<a title="There are no options available yet"><font size="1.5" color="#CCCCCC"><b>No options</b></font></a></td></tr>
    	</table></td></tr>
          </table>
    
    
    ENDHTML;
    
    
        if($data->level == 4) {
          print <<<ENDHTML
    
    
          <table class="menu" width=150 cellpadding=0 cellspacing=0>
            <tr><td><table width=100% cellpadding=0 cellspacing=0>
    		<tr><td width=5 class="menuTitle"><a style="color: #FFFFFF;" onClick="showMenu('admin')"><IMG src="images/star22.jpg" vspace="2" hspace="2" border="0" align="absmiddle"></a>&nbsp;</td>
    			<td class="menuTitle"><b>Admin</b></td></tr>
    	</table>
    	<table width=100% cellpadding=0 cellspacing=0 ID="admin" style="position: absolute; left: -100; top: -100; visibility: hidden;">
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='link/admin.php';">&nbsp;&nbsp;<a title="Go to edit of linkers" href="link/admin.php"><font size="1.5" color="#CCCCCC"><b>Linkpartners</b></font></a></td></tr>
             </table></td></tr>
          </table>
    ENDHTML;
        }
        else
          print "	</td>\n";
      }
      else {
        print <<<ENDHTML
          <table class="menu" width=150 cellpadding=0 cellspacing=0>
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='home.php';">&nbsp;&nbsp;<a title="Go to Homepage" href="home.php"><font size="1.5" color="#CCCCCC"><b>Home</b></font></a></td></tr>
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='bulletlist.php';">&nbsp;&nbsp;<a title="Go to Bulletchart v3.0" href="bulletlist.php"><font size="1.5" color="#FF0000"><b>Bulletchart</b></font></a></td></tr>
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='bodyguards.php';">&nbsp;&nbsp;<a title="Go to Bodyguard training" href="bodyguards.php"><font size="1.5" color="#FF0000"><b>Bodyguards</b></font></a></td></tr>
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='link/index.php';">&nbsp;&nbsp;<a title="Go to our linkpartners" href="link/index.php"><font size="1.5" color="#CCCCCC"><b>Linkpartners</b></font></a></td></tr>
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='home.php';">&nbsp;&nbsp;<a title="Go to our mIRC Bots" href="home.php"><font size="1.5" color="#CCCCCC"><b>mIRC Bots</b></font></a></td></tr>
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='news.php';">&nbsp;&nbsp;<a title="Go to latest news" href="news.php"><font size="1.5" color="#CCCCCC"><b>News</b></font></a></td></tr>
    <tr bgcolor="#364E5A" height="20"><td onmouseover="this.style.background='#42606F';this.style.cursor='hand';" onmouseout="this.style.background='#364E5A';" style="border-right:1px solid #FFFFFF;border-bottom:1px solid #4E6F81;" onclick="top.frames['hoofd'].location.href='home.php';">&nbsp;&nbsp;<a title="Go to Forum page" href="home.php"><font size="1.5" color="#CCCCCC"><b>Forum</b></font></a></td></tr>
    
    
          </table>
    
    
        
            
          <table class="menu" width=150 cellpadding=0 cellspacing=0>
    		<tr>
    			<tr><td class="menuTitle" align="center"><b>Not able to login!</b></td></tr>
            <tr><td class="menuLink">	
            <form method="post" action="login.php" method="post"><table align="center" width="100%">
    	  <tr><td align=center>Login:</td></tr><tr>		<td align=center><input type="text" name="login" maxlength=16 style="text-align: center;"></td></tr>
    	  <tr><td align=center>Password:</td></tr><tr>	<td align=center><input type="password" name="pass" maxlength=16 style="text-align: center;"></td></tr>
    			<tr><td colspan=2><input type="submit" value="Login" style="width: 100px; height: 20px;"></td></tr>
    
    
    			</table>
    			
    						</form>
    			</td>
    		</tr>
        </table>       
    ENDHTML;
      }
    
    
    /* ------------------------- */ ?>
         <td width=15></td>
    
    
    
    
    
    
          <td valign="top"><table width=100% height=100% cellspacing=0 cellpadding=0>
            <tr><td height=5><br></td></tr>
            <tr><td><iframe src="<?php echo ($data) ? "news.php" : "home.php" ?>" name="mainFrame" width=100% height=100% frameborder=0></iframe></td></tr>
          </table></td></tr>
          </table></td></tr>
      </table></td></tr>
    </table><center>
    </table>
    </body>
    Toon Meer
  • Guest, wil je besparen op je domeinnamen? (ad)
  • Tycho
    Student
    Berichten
    118
    • 21 mei 2010 om 17:09
    • #2

    [offtopic]Zijn er nog mensen die het weten? (a)[/offtopic]

  • FrankY
    Another one bites the dust.
    Ontvangen Reacties
    3
    Berichten
    598
    • 21 mei 2010 om 17:16
    • #3

    Jij laat je achter grond zien met een afbeelding, maak die afbeelding wat groter?

    Bezig met cms:)

  • Tycho
    Student
    Berichten
    118
    • 21 mei 2010 om 17:19
    • #4

    Welke afbeelding bedoelje nu precies?
    Enige image die hier gebruikt wordt is in het menu, maar heeft hier niets mee te maken...
    Het gaat om de middelste veld.

  • riko14
    Beginner
    Berichten
    7
    • 21 mei 2010 om 17:34
    • #5

    [offtopic]ENDHTML is uit 't jaar 0..
    Gebruik nieuwere methode's om je content weer te geven.
    Zoals: echo, print, etc.[/offtopic]

  • L.Groot
    Elite members
    Ontvangen Reacties
    31
    Berichten
    4.888
    • 21 mei 2010 om 17:46
    • #6

    riko14,

    Weer NIET gelezen:

    Citaat

    Ik weet dat de scripting bagger is, maar dat wil ik hierna proberen te repareren

    ON: Haal de <tr> boven de banner include weg, en daaronder ook dit:
    <tr><td valign="top">
    Je kan volgens mij alleen een tabel in een tabel gebruiken als je <tr> en <td> niet hebt geopend.

    De sluit tags: </tr> / </td> moet je ook even weghalen.

    Lars

  • Tycho
    Student
    Berichten
    118
    • 22 mei 2010 om 00:09
    • #7

    [offtopic]Bedankt voor de quote lars, mensen lezen maar de helft[/offtopic]

    Ik heb nu degelijk het probleem opgelost.
    Ik heb op regel 3, 7 t/m 9 verwijderd. Aangezien zoals je al zei, niet gesloten worden. Oa ook de <table>-tag

    Maar hoe zit dat met de ENDHTML's?
    Ik kan ze niet vervangen door de <?PHP & ?> tags, dan krijg je alleen maar errors...
    Print heb ik vervangen door echo

  • Superior
    Master
    Berichten
    1.947
    • 22 mei 2010 om 00:28
    • #8

    Tycho
    Je kan via de functie [func]echo[/func] of via de [func]print[/func] html weergeven.
    Ik raad je alleen aan om html zoveel mogelijk buiten PHP te houden.

    Voorbeelden:

    PHP
    <table width="100%">
    	<tr>
        	<td>Voorbeeld 1:</td>
            <td><?php echo $iets; ?></td>
        </tr>
        <tr>
        	<td>Voorbeeld 2:</td>
            <td><?php print $iets; ?></td>
       	</tr>
        <tr>
        	<td>Voorbeeld 3:</td>
            <td><?=$iets?></td>
    	</tr>
    </table>
    Toon Meer
  • Tycho
    Student
    Berichten
    118
    • 22 mei 2010 om 01:12
    • #9

    Superior
    Ik kan

    PHP
    print <<<ENDHTML
          <table width=150><form>
            <tr><td class="mainTxt" align="center"><b>Active: $online/$members</b></td></tr>
        <tr><td align="center"><input type="text" name="time" style="text-align: center;"></td></tr>
          </form></table>
    ENDHTML;

    Niet veranderen naar bijv.

    PHP
    <table width=100%>
        <tr>
            <td>Active:</td>
            <td><?php echo $online/$members; ?></td>
            <td align="center"><input type="text" name="time" style="text-align: center;"></td>
        </tr>
         </table>

    Het eerste wat ik dan zal krijgen is
    Parse error: syntax error, unexpected '<'

    Ik heb daar veel last van.
    Via PHP.net is het makkelijk uitgelegt, dat snap ik.
    Maar om het zo nu even goed te zetten, wordt het me nu even iets lastiger.
    Ik heb daar soms vaker vast van om van ENDHTML naar <?php tag vorm

  • Superior
    Master
    Berichten
    1.947
    • 22 mei 2010 om 01:43
    • #10

    Klopt je moet er rekening mee houden dat je PHP gebruikt.

    Wordt dus zo:

    PHP
    <table width=100%>
        <tr>
            <td>Active:</td>
            <td><?php echo $online.'/'.$members; ?></td>
            <td align="center"><input type="text" name="time" style="text-align: center;"></td>
        </tr>
         </table>

Participate now!

Heb je nog geen account? Registreer je nu en word deel van onze community!

Maak een account aan Login

ICT Nieuws

  • Fijne feestdagen

    tcbhome 28 december 2025 om 13:55
  • Kritieke update voor Really Simple Security-plug-in

    K.Rens 16 november 2024 om 16:12
  • ING Nederland streeft naar ondersteuning van Google Pay tegen eind februari

    K.Rens 2 november 2024 om 16:09

Blogs

  • Functioneel ontwerp

    Dees 28 december 2014 om 12:38
  • Access Control List implementatie in PHP/MySQL - deel 1/2

    FangorN 28 december 2018 om 12:35
  • Access Control List implementatie in PHP/MySQL - deel 2/2

    FangorN 29 december 2018 om 12:37

Gebruikers die dit topic bekijken

  • 1 Gasten
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacy Policy
ICTscripters ©2005 - 2026 , goedkope hosting door DiMoWeb.com, BE0558.915.582
Sponsors: Beste kattenhotel provincie Antwerpen | Beste Zetes eid kaartlezer webshop
Style: Nexus by cls-design
Stylename
Nexus
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design