Forum » Overige programmeertalen » index invoegen
hallo
Berichten: 118
avatar
Offline Stuur privebericht
hallo iedereen
kan iemand mij helpen
ik wil onder meest gespeelde hotelvanlol.webege.com
een script toevoegen maar ik weet niet op welke plaats ik hem moet plakken
index script:
Code | Selecteer Alles
minimaliseren
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
E="Classification" CONTENT="U">
 <META NAME="ROBOTS" CONTENT="INDEX,FOLLOW">
 <META NAME="revisit-after" CONTENT="3 days">
 <META NAME="Description" CONTENT="GameHemel, de online gaming site op het internet de beste games op 1 plek.">
 <META NAME="Keywords" CONTENT="Game, GameHemel, Games, Gamer, Spelletjes, Spel, Hemel, Spelem, Spelletjes Spelen, Games Spelen, Online Spelletjes, Online, Spelletjes spelen, Games spelen, online games, funny games, sex games, games online, flash games, gratis games, free games, adventure games, 18+ games, www games, games pc, arcade games, coole games, new games, strategy games, internet games, playing games, www funny games, play games, sexy games, porn games, fun games, soccer games, card games, online sex games, porno games, top games, tv games, action games, best games,puzzle games, kids games, player games, games freeware, golf games, games list, tennis games, snooker games, games sex, pinball games, potter games, harry potter games, games flash, fighting games, games sites, com games, disney games, spelletjes, game, spellen, spel, spelen, mario, fun, play, tetris, pacman, spelletje, arc">
<title>GameHemel, de online gaming site op het internet de beste games.</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<!-- Begin Perfectads bannercode -->
  <script language="JavaScript" type="text/javascript" src="http://www.perfectads.nl/popup.php?a=63&u=15&p=21&b=pop"></script>
<!-- Einde Perfectads bannercode -->
</head>

<body>
<table width="796" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="795" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><a href='index.php'><img src="images/menu-1.jpg" width="45" height="24" border='0'/></td>
        <td><a href='contact.php'><img src="images/menu-2.jpg" width="51" height="24" border='0'/></td>
        <td><a href='contact.php?action=adverteren'><img src="images/menu-3.jpg" width="67" height="24" border='0'/></td>
        <td><a href="javascript:window.external.AddFavorite('http://www.gamehemel.nl/index.php', 'GameHemel.nl')"><img src="images/menu-4.jpg" width="64" height="24" border='0'/></a></td>
        <td><a href="#" onclick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.gamehemel.nl/');"><img src="images/menu-5.jpg" width="69" height="24" border='0'/></a></td>
        <td><img src="images/menu-6.jpg" width="500" height="24" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><img src="images/header.jpg" width="796" height="176" /></td>
  </tr>
  <tr>
    <td><table width="795" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="images/menu-7.jpg" width="673" height="24" border='0'/></td>
        <td><a href='help.php'><img src="images/menu-8.jpg" width="46" height="24" border='0'/></a></td>
        <td><a href='disclaimer.php'><img src="images/menu-9.jpg" width="77" height="24" border='0'/></a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><img src="images/content-boven.jpg" width="795" height="10" /></td>
  </tr>
  <tr>
    <td><table width="796" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="6" style="background-image:url(images/links.jpg);"></td>
        <td width="590" valign="top" style="background-image:url(images/links-background.jpg);"><table width="590" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="590"><img src="images/content-1-boven.jpg" width="590" height="29" /></td>
          </tr>
          <tr>
                <td style="background-image:url(images/content-1-background.jpg); padding-left: 4px;">
                                              <table align='center'><tr>
              <?
              $select 
mysql_query("SELECT * FROM `categorie` ORDER BY `naam` ASC") or die (Mysql_Error());
              
$i=0;
              while(
$obj mysql_fetch_assoc($select)) {
                      
$i++;
                      if(
$i >= 6) {
                             echo 
"</tr><tr>";
                             
$i=0;
                      }
              echo 
"<td><table><tr><td><b>&infin;<a href='fulllist.php?cat="$obj['naam'] ."'>"$obj['naam'] ."</a></b></td></tr></table></td>";
              }
              
?>
              </tr>
              </table>
                          </td>
          </tr>
          <tr>
            <td><img src="images/content-1-onder.jpg" width="590" height="12" /></td>
          </tr>
          <tr>
            <td><img src="images/content-2-boven.jpg" width="590" height="28" /></td>
          </tr>
          <tr>
                <td style="background-image:url(images/content-2-background.jpg); padding-left: 4px;">
                                              <table><tr>
              <?
              $select 
mysql_query("SELECT * FROM `games` ORDER BY `id` DESC LIMIT 9") or die (Mysql_Error());
              while(
$obj mysql_fetch_assoc($select)) {
                      
$i++;
                      if(
$i >= 3) {
                             echo 
"</tr><tr>";
                             
$i=0;
                      }
              echo 
"<td><table><tr><td><a href='game.php?id="$obj['id'] ."&action=n' title='Speluitleg : "$obj['uitleg']."'><img src='screenshot/"$obj['screenshot'] ."' width='90' height='75' border='0'></td><td><font size='1'><i>-"$obj['titel'] ."</i></a><br>-"$obj['categorie'] ."<br>-"$obj['aantal'] ."× Gespeeld!</font></td></tr></table></td>";
              }
              
?>
              </tr>
              </table>
                          </td>
          </tr>
          <tr>
            <td><img src="images/content-2-onder.jpg" width="590" height="16" /></td>
          </tr>
          <tr>
            <td><img src="images/content-3-boven.jpg" width="590" height="28" /></td>
          </tr>
          <tr>
                <td style="background-image:url(images/content-3-background.jpg); padding-left: 4px;">              <table><tr>
              <?
              $select 
mysql_query("SELECT * FROM `games` ORDER BY `aantal` DESC LIMIT 9") or die (Mysql_Error());
              while(
$obj mysql_fetch_assoc($select)) {
                      
$i++;
                      if(
$i >= 3) {
                             echo 
"</tr><tr>";
                             
$i=0;
                      }
              echo 
"<td><table><tr><td><a href='game.php?id="$obj['id'] ."&action=n' title='Speluitleg : "$obj['uitleg']."'><img src='screenshot/"$obj['screenshot'] ."' width='90' height='75' border='0'></td><td><font size='1'><i>-"$obj['titel'] ."</i></a><br>-"$obj['categorie'] ."<br>-"$obj['aantal'] ."× Gespeeld!</font></td></tr></table></td>";
              }
              
?>
              </tr>
              </table></td>
          </tr>
          <tr>
            <td><img src="images/content-3-onder.jpg" width="590" height="18" /></td>
          </tr>
          <tr>
            <td><img src="images/content-4-boven.jpg" width="590" height="28" /></td>
          </tr>
          <tr>
            <td style="background-image:url(images/content-4-background.jpg); padding-left: 4px;"><div align="center">
              

<iframe id='a83913e8' name='a83913e8' src='http://193.138.204.201/~bannerfarm/adframe.php?n=a83913e8&what=zone:1' framespacing='0' frameborder='no' scrolling='no' width='468' height='60' allowtransparency='true'><a href='http://193.138.204.201/~bannerfarm/adclick.php?n=a83913e8' target='_blank'><img src='http://193.138.204.201/~bannerfarm/adview.php?what=zone:1&n=a83913e8' border='0' alt=''></a></iframe>


          <tr>
            <td><img src="images/content-4-onder.jpg" width="590" height="10" /></td>
          </tr>
        </table></td>
        <td width="7" valign="top" bgcolor="#FFFFFF"><img src="images/tussen.jpg" width="7" height="20" /></td>
        <td width="189" valign="top" style="background-image:url(images/rechts-background.jpg); "><table width="189" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="189"><img src="images/rechts-1-boven.jpg" width="189" height="32" /></td>
          </tr>
          <tr>
            <td style="background-image:url(images/rechts-1-background.jpg); padding-left: 4px;"><div align="center"><iframe id='afed0cda' name='afed0cda' src='http://193.138.204.201/~bannerfarm/adframe.php?n=afed0cda&what=zone:7' framespacing='0' frameborder='no' scrolling='no' width='120' height='90' allowtransparency='true'><a href='http://193.138.204.201/~bannerfarm/adclick.php?n=afed0cda' target='_blank'><img src='http://193.138.204.201/~bannerfarm/adview.php?what=zone:7&n=afed0cda' border='0' alt=''></a></iframe></div></td>
          </tr>
          <tr>
            <td><img src="images/rechts-1-onder.jpg" width="189" height="15" /></td>
          </tr>
          <tr>
            <td><img src="images/rechts-2-boven.jpg" width="189" height="34" /></td>
          </tr>
          <tr>
                <td style="background-image:url(images/rechts-2-background.jpg); padding-left: 4px;"><?php include("linkpartners.php"); ?></td>
          </tr>
          <tr>
            <td><img src="images/rechts-2-onder.jpg" width="189" height="15" /></td>
          </tr>
          <tr>
            <td><img src="images/rechts-3-boven.jpg" width="189" height="35" /></td>
          </tr>
          <tr>
            <td style="background-image:url(images/rechts-3-background.jpg); padding-left: 4px;">
            <?php include('top10.php'); ?>
            </td>
          </tr>
          <tr>
            <td><img src="images/rechts-3-onder.jpg" width="189" height="16" /></td>
          </tr>
          <tr>
            <td><img src="images/rechts-4-boven.jpg" width="189" height="36" /></td>
          </tr>
          <tr>
                <td style="background-image:url(images/rechts-4-background.jpg); padding-left: 4px;">
                                <?php include("poll/index.php"); ?>
                                <?php include("config.php"); ?>
                                <?php include("nieuwsbriefwordlid.php"); ?>
                                <!-- Begin JouwStats code-->
<script language="javascript">
var data, p;
var agt=navigator.userAgent.toLowerCase();
p='http';
if((location.href.substr(0,6)=='https:')||(location.href.substr(0,6)=='HTTPS:')) {p='https';} data = '&r=' + escape(document.referrer) + '&n=' + escape(navigator.userAgent) + '&p=' + escape(navigator.userAgent)
if(navigator.userAgent.substring(0,1)>'3') {data = data + '&sd=' + screen.colorDepth + '&sw=' + escape(screen.width+ 'x'+screen.height)};
document.write('<a href="http://www.jouwstats.nl/stats.php?i=1030" target="_blank" title="Jouwstats.nl - Statistieken teller!" >');
document.write('<img border=0 hspace=0 '+'vspace=0 src="http://www.jouwstats.nl/counter.php?i=1030' + data + '"> </a>');
</script>
<!-- Einde JouwStats code--></td>
          </tr>
          <tr>
            <td><img src="images/rechts-4-onder.jpg" width="189" height="13" /></td>
          </tr>
        </table></td>
        <td width="4" style="background-image:url(images/rechts.jpg);">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><img src="images/footer.jpg" width="796" height="14" /></td>
  </tr>
</table>
</body>
</html>

wat ik wil invoegen script:
Code | Selecteer Alles
minimaliseren
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<td background="images/gameblok/rechts.jpg">&nbsp;</td>
                  </tr>
                  <tr>
                    <td><img src="images/gameblok/linksonder.jpg" width="10" height="13"></td>
                    <td><img src="images/gameblok/onder.jpg" width="141" height="13"></td>
                    <td><img src="images/gameblok/rechtsonder.jpg" width="10" height="13"></td>
                  </tr>
              </table></td>
            </tr>
          </table>
              <table width="161" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><img src="images/gameblok/top-linksboven.jpg" width="10" height="8"></td>
                  <td><img src="images/gameblok/top-boven.jpg" width="141" height="8"></td>
                  <td><img src="images/gameblok/top-rechtsboven.jpg" width="10" height="8"></td>
                </tr>
                <tr>
                  <td><img src="images/gameblok/top-links.jpg" width="10" height="20"></td>
                  <td background="images/gameblok/background.jpg"><div align="center" class="sbar2"><strong>TOP
                      10 Race</strong></div></td>
                  <td><img src="images/gameblok/top-rechts.jpg" width="10" height="20"></td>
                </tr>
                <tr>
                  <td background="images/gameblok/links.jpg">&nbsp;</td>
                  <td background="images/gameblok/background.jpg" align="left">
<?php
$select 
mysql_query("SELECT * FROM `games` WHERE categorie='Race' ORDER BY id DESC LIMIT 10") or die (mysql_error());
$aantal mysql_num_rows($select);

if(
$aantal == 0) {
        echo 
"leeg sorry nog geen games.";
} else {

while(
$obj mysql_fetch_assoc($select)) {
        echo 
"<a href='game.php?id="$obj['id'] ."' ONMOUSEOVER=\"popup(' <img src=screenshot/"$obj['screenshot']."> ','lightgreen')\" ONMOUSEOUT=\"kill()\">"$obj['titel'] ."</a><br>";
}
echo 
"<br><a href='fulllist.php?cat=Race'><i>Meer Race Games...</i></a>!";
}

sorry dat ik niet zo duidelijk ben ben nog niet zo heel oud
26-12-2011 14:08
Dit topic is 144 keer bekeken door 41 verschillende leden
Reacties op: "index invoegen"
1
Informatica Student
Berichten: 1406
avatar
Offline Stuur privébericht
Blijkbaar zien moderators de relatie tussen het ene topic en het andere niet

L.Groot.

Hier plaatst hij dezelfde code als in de ander. Zijn 2 topics dus ook echt nodig?

Mijn signature komt steeds meer tot zijn recht...
26-12-2011 14:16
hallo
Berichten: 118
avatar
Offline Stuur privébericht
dit is heel wat anders
26-12-2011 14:51
Berichten: 693
avatar
Online Stuur privébericht
Ik zie dat je nu een andere source gebruikt?
26-12-2011 15:37
hallo
Berichten: 118
avatar
Offline Stuur privébericht
nee zelfde
26-12-2011 15:49
Berichten: 693
avatar
Online Stuur privébericht
En kun je het nu nog een keer uitleggen en dan duidelijker.
Want nu ik dit drie keer op nieuw lees snap ik er niet veel van.
26-12-2011 15:51
hallo
Berichten: 118
avatar
Offline Stuur privébericht
ga naar mijn site http://hotelvanlol.webege.com/gamehemel
nou wil ik onder meest gespeeld
het 2de script
maar ik weet niet waar ik die dus precies moet plaatsen
26-12-2011 16:15
Reageer op: "index invoegen"
1
Je kan niet reageren omdat je niet bent ingelogd. Inloggen of Aanmelden