Toon posts:

JS [Lastige Errors]

Pagina: 1
Acties:
  • 74 views sinds 30-01-2008

Verwijderd

Topicstarter
Ik heb net wat aanpassingen gemaakt, maar nu krijg ik ineens 2 errors. Hoe komt dit? Er lijken 2 errors in te zitten, maar alle {'s en {'s kloppen...

Demo: http://www.saiyanarena.com/marquee.html
code:
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
<script type="text/javascript" language="JavaScript">
function link_img_blank(url,oms,img,width,height,border)
{ document.write('<a href="'+url+'" target="_blank">[img]"'+img+'"[/img]</a><br>'); }
function banner(sitenaam,positie) {
random = parseInt(Math.random()*1000);
if (positie == "bottom" ) { random = random + 500; if (random > 1000) random = random - 1000; }
if (random < 150) { gsmcash("ringtones4u"); } else {
if (random < 300) { gsmcash("smsjesturen"); } else {
if (random < 450) { gsmcash("logo4gsm"); } else {
if (random < 600) { gsmcash("joke2sms"); } else {
if (random < 750) { gsmcash("foontoon"); } else {
if (random < 800) { gsmcash("gsmcash"); } else bannersk();
}
}
}
}
}
if ( positie == "bottom" ) document.write('<br>');
}
function mbstatistieken(onderwerp)
{
document.write('<table><tr><td width="100" height="31">');

link_img_blank("http://v1.nedstatbasic.net/stats?ABx2IQrohIu1/7z4aFb0nUKc4P+w","NedStat","http://m1.nedstatbasic.net/n?id=ABx2IQrohIu1/7z4aFb0nUKc4P+w","18","18","0");
document.write('</td></tr></table>');
}
</script>
<script type="text/javascript" language="JavaScript">
function topsites(sitenaam){
random2 = parseInt(Math.random()*700);

if (random2 < 100){
link_img_blank("http://topsites.saiyanarena.com/main.php?id=1","Saiyan.Arena","http://topsites.saiyanarena.com/img.php?id=1","88","31","0");}

if (random2 < 200 && random2>=100) {
link_img_blank("http://www.freeza.nl/topsite/index.php?id=49","Freeza","http://www.freeza.nl/topsite/img.php?id=49","88","31","0");}

if (random2 < 300 && random2>=200) {
link_img_blank("http://www.db-nrg.nl/topsite/main.php?id=21","Dragonball NRG","http://www.db-nrg.nl/topsite/img.php?id=21","88","31","0");}

if (random2 < 400 && random2>=300) {
link_img_blank("http://www.anime-netwerk.nl/cgi-bin/topsites/main.cgi?ID=241","Daniel Dunk","http://www.anime-netwerk.nl/cgi-bin/topsites/img.cgi?id=241","88","31","0");}

if (random2 < 500 && random2>=400) {
link_img_blank("http://www.dragonbal-city.com/scgi-bin/top/main.cgi?ID=18","Dragonball-Planet","http://www.dragonbal-city.com/scgi-bin/top/img.cgi?ID=18","88","31","0");}

if (random2 < 600 && random2>=500) {
link_img_blank("http://www.dragonbal-city.com/scgi-bin/top/main.cgi?ID=18","Dragonball-Planet","http://www.dragonbal-city.com/scgi-bin/top/img.cgi?ID=18","88","31","0");}

if (random2 < 700 && random2>=600) {
link_img_blank("http://www.dragonbal-city.com/scgi-bin/top/main.cgi?ID=18","Dragonball-Planet","http://www.dragonbal-city.com/scgi-bin/top/img.cgi?ID=18","88","31","0");}

if (random2 >=100){
link_img_blank("http://topsite.dbz4ever.net/index.php?id=14","Dragonball-Z Forever","http://topsite.dbz4ever.net/img.php?id=14","88","31","0");}

if (random2 < 100 || random2>=200) {
link_img_blank("http://www.skrealm.com/topsite/main.php?id=225","SKRealm","http://www.skrealm.com/topsite/img.php?id=225","88","31","0");}

if (random2 < 200 || random2>=300) {
link_img_blank(http://www.animecommunity.johnefrem.org/topsite/main.php?id=33","Anime.Community","http://www.animecommunity.johnefrem.org/topsite/img.php?id=33","88","31","0");}

if (random2 < 300 || random2>=400) {
link_img_blank("http://www.planetportal.net/heaven100/main.php?id=163","Heaven 100","http://www.planetportal.net/heaven100/img.php?id=163","88","31","0");}

if (random2 < 400 || random2>=500) {
link_img_blank("http://universalanime.altervista.org/top50/main.php?id=78","Universal Anime","http://universalanime.altervista.org/top50/img.php?id=78","88","31","0");}

if (random2 < 600 && random2>=500) {
link_img_blank("http://www.dragonbal-city.com/scgi-bin/top/main.cgi?ID=18","Dragonball-Planet","http://www.dragonbal-city.com/scgi-bin/top/img.cgi?ID=18","88","31","0");}

if (random2 < 700 && random2>=600) {
link_img_blank("http://www.dragonbal-city.com/scgi-bin/top/main.cgi?ID=18","Dragonball-Planet","http://www.dragonbal-city.com/scgi-bin/top/img.cgi?ID=18","88","31","0");}

}
}
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script language="javascript" type="text/javascript">
topsites("");
</script>
<?php
include"connect.php";
$time_online = 600; 
$time = time(); 
$time_over = $time-$time_online; 
$select = mysql_query("SELECT DISTINCT ip FROM online") or die(mysql_error()); 
$delete = mysql_query("DELETE FROM online WHERE time<".$time_over."") or die(mysql_error()); 
$insert = mysql_query("INSERT INTO online (ip, time) VALUES ('".$_SERVER['REMOTE_ADDR']."', '".$time."')") or die(mysql_error()); 
$aantal = mysql_num_rows($select); 
if($aantal == "1"){ 
echo ""; 
} else { 
echo ""; 
} ?>

  • Willem
  • Registratie: Februari 2001
  • Laatst online: 22:08
Sja, we zijn hier niet van je persoonlijke helpdesk.

Motor (of auto) onderhoud bijhouden


Dit topic is gesloten.