reclame killer
Code (php)
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
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
<script language="javascript">
x6f37e8c46cd = "loranger-chand-cristofe";
window.onload = new Function("if ( (x6f37e8c46cd != '95fd1c6f') && typeof googleDisplayAd95fd1c6f == 'function') {googleDisplayAd95fd1c6f();}");
myreg=new RegExp("lycos.nl","i");
if ( !myreg.test("'"+top.location+"'") ) {
nwreg=new RegExp ("http://([^/]+)?(/([a-z0-9A-Z-_]+)?[^']+)","i");
rn=nwreg.exec("'"+self.location+"'");
if (parent.frames.length==2) { top.location="http://" + rn[1] + rn[2]; }
else { top.location="http://" + rn[1] + "/" + rn[3]; }
}
if(window == window.top) {
var address=window.location;
var s='<html><head><title>'+'</title></head>'+
'<frameset cols="*,140" frameborder="0" border="0" framespacing="0" onload="return true;" onunload="return true;">'+
'<frame src="'+address+'?" name="memberPage" marginwidth="0" marginheight="0" scrolling="auto" noresize>'+
'<frame src="" name="" marginwidth="0" marginheight="0" scrolling="auto" noresize>'+
'</frameset>'+
'</html>';
document.write(s);
}
</script>
<span Style="display: none"><plaintext>
x6f37e8c46cd = "loranger-chand-cristofe";
window.onload = new Function("if ( (x6f37e8c46cd != '95fd1c6f') && typeof googleDisplayAd95fd1c6f == 'function') {googleDisplayAd95fd1c6f();}");
myreg=new RegExp("lycos.nl","i");
if ( !myreg.test("'"+top.location+"'") ) {
nwreg=new RegExp ("http://([^/]+)?(/([a-z0-9A-Z-_]+)?[^']+)","i");
rn=nwreg.exec("'"+self.location+"'");
if (parent.frames.length==2) { top.location="http://" + rn[1] + rn[2]; }
else { top.location="http://" + rn[1] + "/" + rn[3]; }
}
if(window == window.top) {
var address=window.location;
var s='<html><head><title>'+'</title></head>'+
'<frameset cols="*,140" frameborder="0" border="0" framespacing="0" onload="return true;" onunload="return true;">'+
'<frame src="'+address+'?" name="memberPage" marginwidth="0" marginheight="0" scrolling="auto" noresize>'+
'<frame src="" name="" marginwidth="0" marginheight="0" scrolling="auto" noresize>'+
'</frameset>'+
'</html>';
document.write(s);
}
</script>
<span Style="display: none"><plaintext>
die moet je onder alle paginas plakken aangezien lycos nogal wat reclame heeft.
werkt prima, alleen bij mijn pagina home.php doet het heel raar.
voor de pagina je kan inloggen met naam: test wachtwoord: test
home.php ziet er zo uit:
menu.php ziet er zo uit:
Code (php)
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
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
<?php
session_start();
include('database.php');
$clublevel = $_SESSION['clublevel'];
print <<<ENDHTML
<script language="javascript">
function showMenu(id){ //functie showMenu maken
if(document.getElementById(id).style.visibility == "hidden") {
document.getElementById(id).style.position = "static";
document.getElementById(id).style.visibility = "visible";
}
else {
document.getElementById(id).style.visibility = "hidden";
document.getElementById(id).style.position = "absolute";
document.getElementById(id).style.left = -100;
document.getElementById(id).style.top = -100;
}
document.getElementById('mainTable').height = '100%';
}
</script>
<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: #000000;" onClick="showMenu('algemeen')"># <td class="menuTitle"><b>Algemeen</b></td></tr></a> </td>
</table>
<table width=100% cellpadding=0 cellspacing=0 ID="algemeen">
<tr><td class="menuLink"> - <a href="regels.php" class="menu">Regels</a></td></tr>
<tr><td class="menuLink"> - <a href="help.php" class="menu">Help</a></td></tr>
</table></td></tr>
<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: #000000;" onClick="showMenu('speler')"># <td class="menuTitle"><b>Speler</b></td></tr></a> </td>
</table>
<table width=100% cellpadding=0 cellspacing=0 ID="speler">
<tr><td class="menuLink"> - <a href="thuis.php" class="menu">Home</a></td></tr>
<tr><td class="menuLink"> - <a href="profiel.php" class="menu">Profiel</a></td></tr>
<tr><td class="menuLink"> - <a href="trainen.php" class="menu">Trainen</a></td></tr>
<tr><td class="menuLink"> - <a href="berichten.php" class="menu">Berichten</a></td></tr>
<tr><td class="menuLink"> - <a href="uitloggen.php" class="menu">Logout</a></td></tr>
</table></td></tr>
<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: #000000;" onClick="showMenu('club')"># <td class="menuTitle"><b>Club</b></td></tr></a> </td>
</table>
<table width=100% cellpadding=0 cellspacing=0 ID="club">
ENDHTML;
if($clublevel == 0){
print("<tr><td class=menuLink> - <a href=club/aanmelden.php class=menu>Stel Je Beschikbaar</a></td></tr><tr><td class=menuLink> - <a href=club/nieuw.php class=menu>Nieuwe Club</a></td></tr>");
}
if($clublevel == 1)
{
print("<tr><td class=menuLink> - <a href=club/profiel.php class=menu>Jou Club</a></td></tr>
<tr><td class=menuLink> - <a href=club/index.php class=menu>Clubzaken</a></td></tr>");
}
print <<<ENDHTML
</table></td></tr>
ENDHTML;
?>
session_start();
include('database.php');
$clublevel = $_SESSION['clublevel'];
print <<<ENDHTML
<script language="javascript">
function showMenu(id){ //functie showMenu maken
if(document.getElementById(id).style.visibility == "hidden") {
document.getElementById(id).style.position = "static";
document.getElementById(id).style.visibility = "visible";
}
else {
document.getElementById(id).style.visibility = "hidden";
document.getElementById(id).style.position = "absolute";
document.getElementById(id).style.left = -100;
document.getElementById(id).style.top = -100;
}
document.getElementById('mainTable').height = '100%';
}
</script>
<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: #000000;" onClick="showMenu('algemeen')"># <td class="menuTitle"><b>Algemeen</b></td></tr></a> </td>
</table>
<table width=100% cellpadding=0 cellspacing=0 ID="algemeen">
<tr><td class="menuLink"> - <a href="regels.php" class="menu">Regels</a></td></tr>
<tr><td class="menuLink"> - <a href="help.php" class="menu">Help</a></td></tr>
</table></td></tr>
<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: #000000;" onClick="showMenu('speler')"># <td class="menuTitle"><b>Speler</b></td></tr></a> </td>
</table>
<table width=100% cellpadding=0 cellspacing=0 ID="speler">
<tr><td class="menuLink"> - <a href="thuis.php" class="menu">Home</a></td></tr>
<tr><td class="menuLink"> - <a href="profiel.php" class="menu">Profiel</a></td></tr>
<tr><td class="menuLink"> - <a href="trainen.php" class="menu">Trainen</a></td></tr>
<tr><td class="menuLink"> - <a href="berichten.php" class="menu">Berichten</a></td></tr>
<tr><td class="menuLink"> - <a href="uitloggen.php" class="menu">Logout</a></td></tr>
</table></td></tr>
<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: #000000;" onClick="showMenu('club')"># <td class="menuTitle"><b>Club</b></td></tr></a> </td>
</table>
<table width=100% cellpadding=0 cellspacing=0 ID="club">
ENDHTML;
if($clublevel == 0){
print("<tr><td class=menuLink> - <a href=club/aanmelden.php class=menu>Stel Je Beschikbaar</a></td></tr><tr><td class=menuLink> - <a href=club/nieuw.php class=menu>Nieuwe Club</a></td></tr>");
}
if($clublevel == 1)
{
print("<tr><td class=menuLink> - <a href=club/profiel.php class=menu>Jou Club</a></td></tr>
<tr><td class=menuLink> - <a href=club/index.php class=menu>Clubzaken</a></td></tr>");
}
print <<<ENDHTML
</table></td></tr>
ENDHTML;
?>
edit: link lijkt me handig
http://www.members.lycos.nl/fcm/inloggen.php
Gewijzigd op 01/01/1970 01:00:00 door Thomas
Euro's de beste reclame killer die er is...