Standaard pagina alles in laten zien
Ik zou graag een pagina maken voor alles en dat in het gedeelte waar iets moet in komen een andere pagina is
Dus bv : index is standaard en als ik dan klik op members ofzo dat hij de code van de members pagina op de gewenste plaats zet.
Is zoiets mogelijk ?
Ik heb de plaats aangeduid waar het zou moeten komen
en AUB geen iframes . Die verzieken altyd mijn layout
Alvast bedankt
Dus bv : index is standaard en als ik dan klik op members ofzo dat hij de code van de members pagina op de gewenste plaats zet.
Is zoiets mogelijk ?
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
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
197
198
199
200
201
202
203
204
205
206
207
208
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
197
198
199
200
201
202
203
204
205
206
207
208
<?php
include('config.php');
session_start();
?>
<html>
<head>
<title>Default Colab - Pixel3 + Shift - Clantemplates</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script language="JavaScript1.2">
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.3
else if (which2.filters)
which2.filters.alpha.opacity=30
}
function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}
</script>
</head>
<body background="images/bg3.jpg">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" height="92" width="657">
<tr>
<td height="1" width="802" colspan="2"><img src="images/top_bar.jpg" width="800"
height="27"></td>
</tr>
<tr>
<td width="802" height="1" colspan="2"><img src="images/banner.jpg" width="800"
height="101"></td>
</tr>
<tr>
<td width="401" height="1" background="images/nav_bg.jpg"><img src="images/nav_left.jpg"
width="76" height="23" alt="nav_left.jpg (14891 bytes)"></td>
<td width="401" height="1" background="images/nav_bg.jpg"><p align="right"><a href="#"><img
src="images/button_home.jpg" width="34" height="23"></a><img
src="images/button_spacer.jpg" width="2" height="23"><a href="#"><img
src="images/button_roster.jpg" width="48" height="23"></a><img
src="images/button_spacer.jpg" width="2" height="23"><a href="#"><img
src="images/button_forums.jpg" width="50" height="23"></a><img src="images/spacer1.jpg"
width="1" height="23"><img src="images/nav_right.jpg" width="76" height="23"></td>
</tr>
<tr>
<td background="images/bg2.jpg" height="428" width="802" valign="top" colspan="2"><table
border="0" cellpadding="4" cellspacing="0" width="800" height="132">
<tr>
<td height="124" valign="top"><table border="0" cellpadding="0" cellspacing="0"
width="779" height="429">
<tr>
<td height="3" width="788"><img src="images/content_top.jpg" width="791" height="16"></td>
</tr>
<tr>
<td height="426" valign="top" width="788"><table border="0" cellpadding="0"
cellspacing="0" width="782">
<tr>
<td width="162" valign="top"><table border="0" cellpadding="0" cellspacing="0"
height="147">
<tr>
<td height="11" valign="top" background="images/side_bg.jpg"><img
src="images/bar_main.jpg" width="162" height="14"></td>
</tr>
<tr>
<td height="10" valign="top" background="images/side_bg.jpg">
<?php
if(isset($_SESSION['gebruiker'])) {
echo ' _<a href="#">Home</a><br>';
echo ' _<a href="#">About</a><br>';
echo ' _<a href="#">Diplomacy</a><br>';
echo ' _<a href="#">Roster</a><br>';
echo ' _<a href="afmelden.php">Log out</a><br>';
} else {
echo ' _<a href="#">Home</a><br>';
echo ' _<a href="#">About</a><br>';
echo ' _<a href="#">Diplomacy</a><br>';
echo ' _<a href="#">Roster</a><br>';
echo ' _<a href="#">Enlist</a><br>';
echo ' _<a href="login.php">Log In</a><br>';
}
?>
</tr>
<tr>
<td height="5" valign="top" background="images/side_bg.jpg"><img
src="images/bar_affiliates.jpg" width="162" height="14"></td>
</tr>
<tr>
<td height="5" valign="top" background="images/side_bg.jpg"></td>
</tr>
<tr>
<td height="45" valign="top" background="images/side_bg.jpg"><p align="left"> <a
href="http://clantemplates.com"><img border="0" src="images/pixel3.jpg"
style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)"
onMouseout="low(this)" width="88" height="31"><br>
</a> <a href="http://clantemplates.com"><img border="0"
src="images/clantemplates.bmp" style="filter:alpha(opacity=30);-moz-opacity:0.3"
onMouseover="high(this)" onMouseout="low(this)" width="88" height="31"></a><br>
<a href="http://fusionwire.com"><img border="0" src="images/fusionwire.jpg"
style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)"
onMouseout="low(this)" width="88" height="31"></a> <br>
<br>
</td>
</tr>
<tr>
<td bgcolor="#000000" height="1"></td>
</tr>
</table>
</td>
<td width="620" valign="top"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
<td><table border="0" cellpadding="0" cellspacing="0" height="266">
<tr>
<td height="1" valign="top" background="images/content_bg.jpg"><img
src="images/bar_news.jpg" width="620" height="14"></td>
</tr>
<tr>
<td height="132" valign="top" background="images/content_bg.jpg"><table border="0"
cellpadding="0" cellspacing="0" width="620" height="97">
<tr>
<td width="97" height="97" valign="top"><p align="center"><br>
<img src="images/Pixel3_Avatar.jpg" width="50" height="50"
alt="Pixel3_Avatar.jpg (19028 bytes)"><br>
07/20/94<br>
6:02PM EST</td>
<td width="523" height="97" valign="top"><table border="0" cellpadding="6" cellspacing="0"
width="100%" height="99">
<tr>
// <td height="99" valign="top">Hier zou alles moeten komen dan</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="1" valign="top" bgcolor="#000000"></td>
</tr>
<tr>
<td height="2" valign="top"></td>
</tr>
<tr>
<td height="0" valign="top" background="images/content_bg.jpg"><img
src="images/bar_news.jpg" width="620" height="14"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="1" bgcolor="#000000"></td>
</tr>
<tr>
<td height="16"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="802" height="1" colspan="2" bgcolor="#000000"></td>
</tr>
<tr>
<td width="802" height="0" colspan="2"></td>
</tr>
</table>
<p> </p>
</div>
</body>
</html>
include('config.php');
session_start();
?>
<html>
<head>
<title>Default Colab - Pixel3 + Shift - Clantemplates</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script language="JavaScript1.2">
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.3
else if (which2.filters)
which2.filters.alpha.opacity=30
}
function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}
</script>
</head>
<body background="images/bg3.jpg">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" height="92" width="657">
<tr>
<td height="1" width="802" colspan="2"><img src="images/top_bar.jpg" width="800"
height="27"></td>
</tr>
<tr>
<td width="802" height="1" colspan="2"><img src="images/banner.jpg" width="800"
height="101"></td>
</tr>
<tr>
<td width="401" height="1" background="images/nav_bg.jpg"><img src="images/nav_left.jpg"
width="76" height="23" alt="nav_left.jpg (14891 bytes)"></td>
<td width="401" height="1" background="images/nav_bg.jpg"><p align="right"><a href="#"><img
src="images/button_home.jpg" width="34" height="23"></a><img
src="images/button_spacer.jpg" width="2" height="23"><a href="#"><img
src="images/button_roster.jpg" width="48" height="23"></a><img
src="images/button_spacer.jpg" width="2" height="23"><a href="#"><img
src="images/button_forums.jpg" width="50" height="23"></a><img src="images/spacer1.jpg"
width="1" height="23"><img src="images/nav_right.jpg" width="76" height="23"></td>
</tr>
<tr>
<td background="images/bg2.jpg" height="428" width="802" valign="top" colspan="2"><table
border="0" cellpadding="4" cellspacing="0" width="800" height="132">
<tr>
<td height="124" valign="top"><table border="0" cellpadding="0" cellspacing="0"
width="779" height="429">
<tr>
<td height="3" width="788"><img src="images/content_top.jpg" width="791" height="16"></td>
</tr>
<tr>
<td height="426" valign="top" width="788"><table border="0" cellpadding="0"
cellspacing="0" width="782">
<tr>
<td width="162" valign="top"><table border="0" cellpadding="0" cellspacing="0"
height="147">
<tr>
<td height="11" valign="top" background="images/side_bg.jpg"><img
src="images/bar_main.jpg" width="162" height="14"></td>
</tr>
<tr>
<td height="10" valign="top" background="images/side_bg.jpg">
<?php
if(isset($_SESSION['gebruiker'])) {
echo ' _<a href="#">Home</a><br>';
echo ' _<a href="#">About</a><br>';
echo ' _<a href="#">Diplomacy</a><br>';
echo ' _<a href="#">Roster</a><br>';
echo ' _<a href="afmelden.php">Log out</a><br>';
} else {
echo ' _<a href="#">Home</a><br>';
echo ' _<a href="#">About</a><br>';
echo ' _<a href="#">Diplomacy</a><br>';
echo ' _<a href="#">Roster</a><br>';
echo ' _<a href="#">Enlist</a><br>';
echo ' _<a href="login.php">Log In</a><br>';
}
?>
</tr>
<tr>
<td height="5" valign="top" background="images/side_bg.jpg"><img
src="images/bar_affiliates.jpg" width="162" height="14"></td>
</tr>
<tr>
<td height="5" valign="top" background="images/side_bg.jpg"></td>
</tr>
<tr>
<td height="45" valign="top" background="images/side_bg.jpg"><p align="left"> <a
href="http://clantemplates.com"><img border="0" src="images/pixel3.jpg"
style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)"
onMouseout="low(this)" width="88" height="31"><br>
</a> <a href="http://clantemplates.com"><img border="0"
src="images/clantemplates.bmp" style="filter:alpha(opacity=30);-moz-opacity:0.3"
onMouseover="high(this)" onMouseout="low(this)" width="88" height="31"></a><br>
<a href="http://fusionwire.com"><img border="0" src="images/fusionwire.jpg"
style="filter:alpha(opacity=30);-moz-opacity:0.3" onMouseover="high(this)"
onMouseout="low(this)" width="88" height="31"></a> <br>
<br>
</td>
</tr>
<tr>
<td bgcolor="#000000" height="1"></td>
</tr>
</table>
</td>
<td width="620" valign="top"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
<td><table border="0" cellpadding="0" cellspacing="0" height="266">
<tr>
<td height="1" valign="top" background="images/content_bg.jpg"><img
src="images/bar_news.jpg" width="620" height="14"></td>
</tr>
<tr>
<td height="132" valign="top" background="images/content_bg.jpg"><table border="0"
cellpadding="0" cellspacing="0" width="620" height="97">
<tr>
<td width="97" height="97" valign="top"><p align="center"><br>
<img src="images/Pixel3_Avatar.jpg" width="50" height="50"
alt="Pixel3_Avatar.jpg (19028 bytes)"><br>
07/20/94<br>
6:02PM EST</td>
<td width="523" height="97" valign="top"><table border="0" cellpadding="6" cellspacing="0"
width="100%" height="99">
<tr>
// <td height="99" valign="top">Hier zou alles moeten komen dan</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="1" valign="top" bgcolor="#000000"></td>
</tr>
<tr>
<td height="2" valign="top"></td>
</tr>
<tr>
<td height="0" valign="top" background="images/content_bg.jpg"><img
src="images/bar_news.jpg" width="620" height="14"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="1" bgcolor="#000000"></td>
</tr>
<tr>
<td height="16"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="802" height="1" colspan="2" bgcolor="#000000"></td>
</tr>
<tr>
<td width="802" height="0" colspan="2"></td>
</tr>
</table>
<p> </p>
</div>
</body>
</html>
Ik heb de plaats aangeduid waar het zou moeten komen
en AUB geen iframes . Die verzieken altyd mijn layout
Alvast bedankt
Gewijzigd op 01/01/1970 01:00:00 door Nicolas Pierre
http://www.phphulp.nl/php/tutorials/8/310/622/
http://www.phphulp.nl/php/tutorials/8/132/221/
Even zoeken bij de tuts in niet zo moeilijk hoor.
http://www.phphulp.nl/php/tutorials/8/132/221/
Even zoeken bij de tuts in niet zo moeilijk hoor.
jah oke bedankt maar hoe laat ik die nu printen om mijn pagina ?
Ga die tuts nou eerst maar doornemen. Het staat daar allemaal in.




