Forum » Server-Side scripting » Fout op lijn 262
Berichten: 13
avatar
Offline Stuur privebericht
Dames en Heren,

Ik heb eindelijk me site online kunnen krijgen met behulp van Killingdevil. Alleen stuit ik nu tijdens het inloggen op een fout aan. Hij weergeeft een fout op lijn 262, waar zal dat aan liggen? Zou iemand me daarbij willen helpen aub!

http://www.chilplek.nl

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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
<?php
Class Controller_members Extends Controller_Base {
    private function 
_berichten ($cPagina$sBlock$sBlockIn$sDoorstuur$sPaginaID NULL) {
        
/* Om te voorkomen dat onderstaande code meerdere malen in de controller zou komen te staan deze function gemaakt */
        
$aBerichten $this->r['sql']->query ("SELECT COUNT(pid) FROM berichten WHERE profile_id = '".$this->r['key']."' AND pagina = '".$cPagina."' ".(isset ($cPagina) && $cPagina != 'profiel' "AND pagina_id = '".$sPaginaID."'" ''));

        if(isset(
$this->r['key2']) && ctype_digit ($this->r['key2'])) $sPagina mysql_real_escape_string ($this->r['key2']);
        else 
$sPagina 1
    
        
$this->r['navigation']->set ($sPagina$this->r['cfg']->aantal_krabbels$this->r['sql']->rows ($aBerichten'result'), $sDoorstuur);

        
$sBerichten $this->r['sql']->query ("SELECT b.*, p.gebruikersnaam, p.profielfoto FROM berichten b INNER JOIN ##profielen p ON(p.pid = b.uid) WHERE b.profile_id = '".$this->r['key']."' AND b.pagina = '".$cPagina."'  ".(isset ($cPagina) && $cPagina != 'profiel' "AND b.pagina_id = '".$sPaginaID."'" '')." ORDER BY datum DESC LIMIT ".$this->r['navigation']->Make_Beginning_Point ().", ".$this->r['cfg']->aantal_krabbels);
        if(
$this->r['sql']->rows ($sBerichten)) {    

            while (
$fBerichten $this->r['sql']->fetch ($sBerichten)) {
                
$this->r['tpl']->assign ($sBlock."_R""sPid"$fBerichten['pid']);
                
$this->r['tpl']->assign ($sBlock."_R""sProfielfoto", (isset ($fBerichten['profielfoto']) && !empty ($fBerichten['profielfoto']) ? '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['functions']->strip ($fBerichten['uid']).'"><img src="'.$this->r['cfg']->adres.'/upload/profielfotos/'.$this->r['functions']->strip ($fBerichten['uid']).'/'.$this->r['functions']->strip ($fBerichten['profielfoto']).'" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fBerichten['gebruikersnaam']).'" height="'.$this->r['cfg']->hoogte_bericht.'" width="'.$this->r['cfg']->breedte_bericht.'" /></a>' ''));    
                
$this->r['tpl']->assign ($sBlock."_R""sProfile_id"$this->r['functions']->strip ($fBerichten['uid']));
                
$this->r['tpl']->assign ($sBlock."_R""sUid"$this->r['functions']->strip ($fBerichten['uid']));
                
$this->r['tpl']->assign ($sBlock."_R""sGebruikersnaam"$this->r['functions']->strip ($fBerichten['gebruikersnaam']));

                
$sAantal $this->r['sql']->query ("SELECT COUNT(uid) FROM vrienden WHERE profile_id = '".mysql_real_escape_string ($fBerichten['uid'])."' AND wederzijds = '1' AND groep = '0'");
                
$this->r['tpl']->assign ($sBlock."_R""sAantal"$this->r['sql']->rows ($sAantal'result'));
                if (
$this->r['client']->ingelogd == && ($this->r['user']['pid'] == $this->r['functions']->strip ($fBerichten['uid']) || $this->r['user']['pid'] == $this->r['functions']->strip ($fBerichten['profile_id']) || $this->r['user']['status'] == 'Beheerder')) $this->r['tpl']->assign ($sBlock."_R""sVerwijderen"'&nbsp;<a href="'.$this->r['cfg']->adres_met.'/berichten/verwijderen/'.$this->r['functions']->strip ($fBerichten['pid']).'"><img src="'.$this->r['cfg']->adres.'/views/images/icons/verwijderen.png" height="16" width="16" alt="Verwijder dit bericht" title="Verwijder dit bericht" border="0" /></a>');
                
$this->r['tpl']->assign ($sBlock."_R""sDatum"date ("d-m-Y H:i"$fBerichten['datum']));

                
## UBB
                
$ubb = new ubbparser ($fBerichten['bericht'], '');
                
$this->r['tpl']->assign ($sBlock."_R""sBericht"$ubb->printtoscreen ());
                
$this->r['tpl']->Parse ($sBlockIn$sBlock."_R");
            }
        }
        else 
$this->r['tpl']->Parse ($sBlockIn$sBlock."_Geen");

        
$this->r['tpl']->assign ($sBlockIn"sNavigatie"$this->r['navigation']->Show_Navigate ());
    }

    private function 
_respects ($sPagina$sBlock$sBlockIn$sPaginaID) {
        
$sRespects $this->r['sql']->query ("SELECT b.*, p.gebruikersnaam, p.profielfoto FROM respects b INNER JOIN ##profielen p ON(p.pid = b.uid) WHERE b.profile_id = '".$this->r['key']."' AND b.pagina = '".$sPagina."' AND b.pagina_id = '".$sPaginaID."'");
        if(
$this->r['sql']->rows ($sRespects)) {
            while (
$fRespects $this->r['sql']->fetch ($sRespects)) {
                
$this->r['tpl']->assign ($sBlock."_R""sPid"$fRespects['pid']);    
                
$this->r['tpl']->assign ($sBlock."_R""sProfielfoto", (isset ($fRespects['profielfoto']) && !empty ($fRespects['profielfoto']) ? '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['functions']->strip ($fRespects['uid']).'"><img src="'.$this->r['cfg']->adres.'/upload/profielfotos/'.$this->r['functions']->strip ($fRespects['uid']).'/'.$this->r['functions']->strip ($fRespects['profielfoto']).'" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fRespects['gebruikersnaam']).'" height="'.$this->r['cfg']->hoogte_bericht.'" width="'.$this->r['cfg']->breedte_bericht.'" /></a>'.($this->r['client']->ingelogd == && ($this->r['user']['pid'] == $this->r['functions']->strip ($fRespects['uid']) || $this->r['user']['pid'] == $this->r['functions']->strip ($fRespects['profile_id']) || $this->r['user']['status'] == 'Beheerder') ? '&nbsp;<a href="'.$this->r['cfg']->adres_met.'/respect/verwijderen/'.$this->r['functions']->strip ($fRespects['pid']).'"><img src="'.$this->r['cfg']->adres.'/views/images/icons/verwijderen.png" height="16" width="16" alt="Verwijder deze respect" title="Verwijder deze respect" border="0" /></a>''').'' ''));    
                
$this->r['tpl']->assign ($sBlock."_R""sProfile_id"$this->r['functions']->strip ($fRespects['uid']));
                
$this->r['tpl']->assign ($sBlock."_R""sGebruikersnaam"$this->r['functions']->strip ($fRespects['gebruikersnaam']));

                
$sAantal $this->r['sql']->query ("SELECT COUNT(uid) FROM vrienden WHERE profile_id = '".mysql_real_escape_string ($fRespects['uid'])."' AND wederzijds = '1' AND groep = '0'");
                
$this->r['tpl']->assign ($sBlock."_R""sAantal"$this->r['sql']->rows ($sAantal'result'));
                
$this->r['tpl']->Parse ($sBlockIn$sBlock."_R");
            }
        }
        else 
$this->r['tpl']->Parse ($sBlockIn$sBlock."_Geen");
    }

    function 
index() {
        echo 
'Hallo members!';
    }
    
    function 
ww_vergeten () {
         
$this->r['tpl']->define (array ('index.tpl''members/ww_vergeten.tpl'));

         if(
$this->r['client']->ingelogd != 1) {
                if(isset(
$this->r['key']) && !empty($this->r['key']))
                  {
                        
$sCheck $this->r['sql']->query("SELECT COUNT(pid) FROM ##profielen WHERE ww_code = '".mysql_real_escape_string ($this->r['key'])."' AND geactiveerd = '1'");
                        if(
mysql_result($sCheck0)) {
                              
$this->r['sql']->query("UPDATE ##profielen SET wachtwoord = ww_code, ww_code = '' WHERE ww_code = '".mysql_real_escape_string ($this->r['key'])."' AND geactiveerd = '1'");
                              
$this->r['functions']->redirect('Succesvol''Je wachtwoord is succesvol aangepast!''members/login'3);
                        }
                        else 
$this->r['functions']->redirect('Fout''Geen sleutel opgegeven'''3);
                  }
                  else {
                        if(isset(
$_POST['submit']) || $_SERVER['REQUEST_METHOD'] == "post"
                        {
                              
$sCheck $this->r['sql']->query("SELECT gebruikersnaam FROM ##profielen WHERE gebruikersnaam = '".mysql_real_escape_string ($_POST['gebruikersnaam'])."' AND emailadres = '".mysql_real_escape_string ($_POST['emailadres'])."'");
                              
$sFlood $this->r['sql']->query("SELECT * FROM flood WHERE ip = '".$_SERVER['REMOTE_ADDR']."' AND pagina = 'Wachtwoord_vergeten'");

                              
$error = array();
                              if(!isset(
$_POST['gebruikersnaam']) || strlen($_POST['gebruikersnaam']) < 3)
                                    
$error['Fgebruikersnaam'] = 'Geen geldige gebruikersnaam';
                                    if(!isset(
$_POST['emailadres']) || !eregi("^[A-Za-z0-9_-]+([.]{1}[A-Za-z0-9_-]+)*@[A-Za-z0-9-]+([.]{1}[A-Za-z0-9-]+)+$"$_POST['emailadres']))
                                    
$error['Femailadres'] = 'Geen geldig emailadres';
                              if(!isset(
$_POST['wachtwoord']) || strlen($_POST['wachtwoord']) < 3)
                                    
$error['Fwachtwoord'] = 'Geen geldig wachtwoord';
                              if(
$_POST['wachtwoord'] != $_POST['wachtwoord_h'] || !isset($_POST['wachtwoord_h']))
                                    
$error['Fwachtwoord_h'] = 'Geen geldig herhalingswachtwoord';
                              if(
$this->r['sql']->rows($sFlood))
                                    
$error['Fgebruikersnaam'] = 'Je hebt al een nieuw wachtwoord opgevraagd';
                              if(!
$this->r['sql']->rows($sCheck))
                                    
$error['Fgebruikersnaam'] = 'Geen gebruiker gevonden met deze gegevens';

                              if(
count($error) > 0)
                              {
                                    
## Ingevulde velden weergeven
                                    
foreach($_POST AS $key => $value$this->r['tpl']->assign("Wachtwoord_vergeten","V".$key$value);

                                    
## Foute velden noteren
                                    
foreach($error AS $key => $value
                                    {
                                          
$this->r['tpl']->assign("Wachtwoord_vergeten"$key'<font color="red">*</font>');
                                          
$this->r['tpl']->assign("ErrorArea_R""Fout"$value);
                                          
$this->r['tpl']->Parse("ErrorArea""ErrorArea_R");
                                    }
                                    
$this->r['tpl']->Parse("Wachtwoord_vergeten""ErrorArea");
                                    
$this->r['tpl']->Parse("index""Wachtwoord_vergeten""content");
                              }
                              else {
                                    
$sSleutel md5(md5($_POST['wachtwoord'])); // unieke string
                                    
$this->r['sql']->query("UPDATE ##profielen SET ww_code = '".$sSleutel."' WHERE gebruikersnaam = '".mysql_real_escape_string ($_POST['gebruikersnaam'])."' AND emailadres = '".mysql_real_escape_string ($_POST['emailadres'])."'");

                                    
mail (addslashes ($_POST['emailadres']), 'Nieuw wachtwoord',
                                    
'Beste '.htmlspecialchars($_POST['gebruikersnaam']).',

                  '
.            'U heeft zojuist een nieuw wachtwoord opgevraagd op cmyid.
                  '
.            'Om dit wachtwoord te kunnen gebruiken dient u deze eerst te activeren, dit kunt u doen door op onderstaande link te klikken:
                  '
.            ''.$this->r['cfg']->adres_met.'/members/wachtwoord_vergeten/'.$sSleutel.'

                  '
.            'Zodra dit is gebeurd kunt u inloggen met uw nieuwe wachtwoord, heeft u geen nieuw wachtwoord opgevraagd, dan kunt u deze email als niet verzonden beschouwen.

                  '
.            'Hartelijke groet,

                  '
.            'Beheerder,
                  '
.            'Cmyid.nl crew'"From: Cmyid.nl.nl <info@cmyid.nl.nl>nReturn-path: info@cmyid.nl.nl");



                                    
$this->r['functions']->redirect('Succesvol''Uw wachtwoord is succesvol ge-reset, u kunt nu inloggen'''3);
                              }
                        }
                        else 
$this->r['tpl']->Parse("index""Wachtwoord_vergeten""content");
                  }
            }
        else 
$this->r['functions']->redirect ('Fout''U bent al ingelogd!'''3);
      }
      
    function 
register () {
        
$this->r['tpl']->define (array ('index.tpl''members/register.tpl'));
        
$this->r['menu']->setTitle ('Account registreren');

        if(
$this->r['client']->ingelogd != 1) {
            if(isset (
$_POST['submit']) || $_SERVER['REQUEST_METHOD'] == 'post') {
                
$sError = array ();
                
$sControle $this->r['sql']->query ("SELECT pid FROM ##profielen WHERE gebruikersnaam = '".mysql_real_escape_string ($_POST['gebruikersnaam'])."' OR emailadres = '".mysql_real_escape_string ($_POST['emailadres'])."' OR ip = '".$this->r['functions']->haal_ip ()."'");

                if(!isset (
$_POST['gebruikersnaam']) || empty ($_POST['gebruikersnaam']) || strlen ($_POST['gebruikersnaam']) > $this->r['cfg']->max_lengte_gebruiker)
                    
$sError ['Fgebruikersnaam'] = 'Deze gebruikersnaam is ongeldig (te lang of te klein).';
                if(!isset (
$_POST['emailadres']) || empty ($_POST['emailadres']) || !eregi("[A-Za-z0-9_-]+([.]{1}[A-Za-z0-9_-]+)*@[A-Za-z0-9-]+([.]{1}[A-Za-z0-9-]+)+"$_POST['emailadres']))
                    
$sError ['Femailadres'] = 'Deze emailadres is ongeldig.';
                if(!isset (
$_POST['wachtwoord']) || empty ($_POST['wachtwoord']) || strlen ($_POST['wachtwoord']) < || strlen ($_POST['wachtwoord']) > 23)
                    
$sError ['Fwachtwoord'] = 'Dit wachtwoord is ongeldig, te klein of te groot.';
                if(
$_POST['wachtwoord'] != $_POST['hWachtwoord'])
                    
$sError ['FhWachtwoord'] = 'De wachtwoorden komen niet overeen.';
                if(!isset (
$_POST['geboorte_dag']) || empty ($_POST['geboorte_dag']) || !is_numeric ($_POST['geboorte_dag']) || $_POST['geboorte_dag'] < || $_POST['geboorte_dag'] > 31$error ['Fgeboorte_dag'] = 'Uw geboortedatum is ongeldig.';
                if(!isset (
$_POST['geboorte_maand']) || empty ($_POST['geboorte_maand'])) $error ['Fgeboorte_maand'] = 'Uw geboortedatum is ongeldig.';
                if(!isset (
$_POST['geboorte_jaar']) || empty ($_POST['geboorte_jaar']) || !is_numeric ($_POST['geboorte_jaar']) || $_POST['geboorte_jaar'] < 1940$error ['Fgeboorte_dag'] = 'Uw geboortedatum is ongeldig.';
                if(!isset (
$_POST['geslacht']) || ($_POST['geslacht'] != 'Man' && $_POST['geslacht'] != 'Vrouw')) $error['Fgeslacht'] = "Uw geslacht is ongeldig.";
                if(!isset (
$_POST['geaardheid']) || ($_POST['geaardheid'] != 'Heteroseksueel' && $_POST['geaardheid'] != 'Homoseksueel' && $_POST['geaardheid'] != 'Biseksueel')) $error['Fgeaardheid'] = "Uw geaardheid is ongeldig.";
                if(!isset (
$_POST['disclaimer']) || $_POST['disclaimer'] != 1$sError['Fdisclaimer'] = "U bent niet akkoord gegaan met de disclaimer.";

                        
$sGoed 0;
                        if(isset (
$_POST['telefoonnummer']) && !empty ($_POST['telefoonnummer'])) {
                              if(
$this->r['functions']->vipcontrole ($_POST['pincode']) == true || $this->r['functions']->vipcontrole ($_POST['pincode']) == 1)
                                    
$sGoed 1;
                              else
                                    
$sError['Ftelefoonnummer'] = 'Deze pincode is incorrect!';
                        }
                        
                if(
$this->r['sql']->rows ($sControle))
                    
$sError ['Fgebruikersnaam'] = 'U bent al lid van deze website of deze gebruikersnaam is al bezet.';

                if(
count ($sError) > 0)
                    
$this->r['functions']->error_form ('Register'$sError);
                else {
                    
$sSleutel $this->r['functions']->sleutel (12);

                    
$this->r['sql']->query ("
                        INSERT INTO    
                            ##profielen
                        (    
                            pid,
                            gebruikersnaam,
                            emailadres,
                            wachtwoord,
                            ip,
                            datum,
                            geactiveerd,
                            geboortedatum,
                            verjaardag,
                            geslacht,
                            geaardheid,
                            telefoon,
                            vip
                        )
                        VALUES (
                            '',
                            '"
.mysql_real_escape_string ($_POST['gebruikersnaam'])."',
                            '"
.mysql_real_escape_string ($_POST['emailadres'])."',
                            '"
.md5(md5(mysql_real_escape_string ($_POST['wachtwoord'])))."',
                            '"
.mysql_real_escape_string ($this->r['functions']->haal_ip ())."',    
                            '"
.time ()."',
                            '"
.$sSleutel."',
                            '"
.mysql_real_escape_string ($_POST['geboorte_dag'])."-".mysql_real_escape_string ($_POST['geboorte_maand'])."-".mysql_real_escape_string ($_POST['geboorte_jaar'])."',
                            '"
.mysql_real_escape_string ($_POST['geboorte_dag'])."-".mysql_real_escape_string ($_POST['geboorte_maand'])."',
                            '"
.mysql_real_escape_string ($_POST['geslacht'])."',
                            '"
.mysql_real_escape_string ($_POST['geaardheid'])."',
                            '"
.(isset ($_POST['telefoonnummer']) && !empty ($_POST['telefoonnummer']) && $sGoed == mysql_real_escape_string ($_POST['telefoonnummer']) : '')."',
                            '"
.($sGoed == 0)."'

                        )
                    "
);

                    
$this->r['functions']->email (mysql_real_escape_string ($_POST['emailadres']), 'Account activeren',
                        
'Beste '.$this->r['functions']->strip ($_POST['gebruikersnaam']).',

'
.                        'Je hebt zojuist een account aangemaakt op CMYID.
'
.                        'Om deze te kunnen bekijken/bewerken dien je deze eerst te activeren.
'
.                        'Je kunt jouw account activeren door op het onderstaande adres te klikken:
'
.                        ''.$this->r['cfg']->adres_met.'/members/activate/'.$sSleutel.'

'
.                        'Met vriendelijke groet. CMYID.nl');

                    
$this->r['functions']->redirect ('Succesvol''Je hebt succesvol een account aangemaakt. Er is een email verzonden naar je emailadres waarin instructies staan over hoe je je acount kunt activeren, daarna kan je pas inloggen!'''3);
                }
            }
            else 
$this->r['tpl']->parse ("Register");
        }
        else 
$this->r['functions']->redirect ('Fout''Je bent al ingelogd.'''3);
    }

    function 
login () {
        
$this->r['tpl']->define (array ('index.tpl''members/login.tpl'));
        
$this->r['menu']->setTitle ('Inloggen met jouw account');

        if(
$this->r['client']->ingelogd != 1) {
            if(isset (
$_POST['submit']) || $_SERVER['REQUEST_METHOD'] == 'post') {
                
$sError = array ();

                
$sControle $this->r['sql']->query ("SELECT pid, geactiveerd, wachtwoord FROM ##profielen WHERE gebruikersnaam = '".mysql_real_escape_string ($_POST['gebruikersnaam'])."'");

                if(!isset (
$_POST['gebruikersnaam']) || empty ($_POST['gebruikersnaam']))
                    
$sError ['Fgebruikersnaam'] = 'Deze gebruikersnaam is ongeldig (te klein).';
                if(!isset (
$_POST['wachtwoord']) || empty ($_POST['wachtwoord']))
                    
$sError ['Fwachtwoord'] = 'Dit wachtwoord is ongeldig (te klein).';
    
                if(
$this->r['sql']->rows ($sControle)) {
                    
$fControle $this->r['sql']->fetch ($sControle);

                    if(
md5(md5($_POST['wachtwoord'])) != $fControle['wachtwoord'])
                        
$sError['Fwachtwoord'] = 'Dit wachtwoord komt niet overeen met het wachtwoord uit de database.';
                    if(
$fControle['geactiveerd'] != 1)
                        
$sError['Fgebruikersnaam'] = 'Dit account is (nog) niet geactiveerd.';
                }
                else 
$sError['Fgebruikersnaam'] = 'Deze gebruikersnaam komt niet voor in de database.';

                if(
count ($sError) > 0)
                    
$this->r['functions']->error_form ('Login'$sError);
                else {
                    
$sSleutel $this->r['functions']->sleutel (12);
                    
$_POST['tijd'] = (isset ($_POST['tijd']) && is_numeric ($_POST['tijd']) ? $_POST['tijd'] : 31449600);
 
                              
setcookie ("hash"$sSleuteltime() + $_POST['tijd'], "/"); 
                             
setcookie ($this->r['cfg']->cookie$fControle['pid'], time() + $_POST['tijd'], "/");
                             
setcookie ('gebruiker'$fControle['pid'], time() + $_POST['tijd'], "/");
                    
                    
$this->r['sql']->query ("UPDATE ##profielen SET laatst_ingelogd = '".time ()."', hash = '".mysql_real_escape_string ($sSleutel)."' WHERE pid = '".mysql_real_escape_string ($fControle['pid'])."'");
            
                    
$this->r['functions']->redirect ('Succesvol''Je bent succesvol ingelogd.''panel/index'3);
                }
            }
            else 
$this->r['tpl']->parse ("Login");

        }
        else 
$this->r['functions']->redirect ('Melding''Je bent al ingelogd.''panel/index'3);
    }

    function 
logout () {
        
$this->r['tpl']->define (array ('index.tpl''members/logout.tpl'));
        
$this->r['menu']->setTitle ('Uitloggen van de website');

        if(
$this->r['client']->ingelogd == 1) {
            if(isset (
$_POST['submit']) || $_SERVER['REQUEST_METHOD'] == 'post') {
                
## Cookies unsetten
                           
setcookie ("hash"''time () - 3600 "/"); 
                         
setcookie ($this->r['cfg']->cookie''time () - 3600 "/");
                
$this->r['functions']->redirect ('Succesvol''Je bent succesvol uitgelogd.'''3);
            }
            else 
$this->r['tpl']->parse ("Logout");
        }
        else 
$this->r['functions']->redirect ('Melding''Je bent niet ingelogd.''members/login'3);
    }

    function 
activate () {
        
$this->r['tpl']->define (array ('index.tpl''members/activate.tpl'));
        
$this->r['menu']->setTitle ('Account activeren');

        if(
$this->r['client']->ingelogd != 1) {
            if(isset (
$this->r['key'])) {
                
$sControle $this->r['sql']->query ("SELECT geactiveerd FROM ##profielen WHERE geactiveerd = '".$this->r['key']."'");
                if(
$this->r['sql']->rows ($sControle)) {
                    
$this->r['sql']->query ("UPDATE ##profielen SET geactiveerd = '1' WHERE geactiveerd = '".$this->r['key']."'");
                    
$this->r['functions']->redirect ('Succesvol''Je account is succesvol geactiveerd, je kunt nu inloggen met je gegevens.''members/login'3);
                }
                else 
$this->r['functions']->redirect ('Fout''Deze activatie-sleutel is ongeldig/onjuist.'''3);
            }
            else 
$this->r['functions']->redirect ('Fout''Je hebt geen activatie-sleutel meegegeven.'''3);
        }
        else 
$this->r['functions']->redirect ('Melding''Je bent al ingelogd.''members/panel'3);
    }

    function 
memberlist () {
        
$this->r['tpl']->define (array ('index.tpl''members/memberlist.tpl'));
        
$this->r['menu']->setTitle ('Alle geactiveerde leden');

        
$sCount $this->r['sql']->rows ($this->r['sql']->query ("SELECT COUNT(pid) FROM ##profielen"), 'result');

        if(isset(
$this->r['key']) && ctype_digit ($this->r['key'])) $sPagina $this->r['key'];
        else 
$sPagina 1
    
        
$this->r['navigation']->set ($sPagina$this->r['cfg']->aantal_memberlist$sCount'members/memberlist/');

        if(isset (
$this->r['key2']) && !empty ($this->r['key2'])) $sMembers $this->r['sql']->query ("SELECT pid, gebruikersnaam, voornaam, woonplaats, datum, profielfoto FROM ##profielen WHERE LOWER(SUBSTRING(gebruikersnaam,1,1)) = '{$this->r['key2']}' AND geactiveerd = '1' ORDER BY gebruikersnaam ASC LIMIT ".$this->r['navigation']->Make_Beginning_Point ().", ".$this->r['cfg']->aantal_memberlist);
        else 
$sMembers $this->r['sql']->query ("SELECT pid, gebruikersnaam, voornaam, woonplaats, datum, profielfoto FROM ##profielen WHERE geactiveerd = '1' ORDER BY gebruikersnaam ASC LIMIT ".$this->r['navigation']->Make_Beginning_Point ().", ".$this->r['cfg']->aantal_memberlist);

        if(
$this->r['sql']->rows ($sMembers)) {
            while (
$fMembers $this->r['sql']->fetch ($sMembers)) {
                
$this->r['tpl']->assign ("Members_R""sProfielfoto", (isset ($fMembers['profielfoto']) && !empty ($fMembers['profielfoto']) ? '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['functions']->strip ($fMembers['pid']).'"><img src="'.$this->r['cfg']->adres.'/upload/profielfotos/'.$this->r['functions']->strip ($fMembers['pid']).'/'.$this->r['functions']->strip ($fMembers['profielfoto']).'" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fMembers['gebruikersnaam']).'" height="'.$this->r['cfg']->hoogte_lijst.'" width="'.$this->r['cfg']->breedte_lijst.'" /></a>' '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['functions']->strip ($fMembers['pid']).'"><img src="'.$this->r['cfg']->adres.'/upload/geen.jpg" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fMembers['gebruikersnaam']).'" /></a>'));    
                
$this->r['tpl']->assign ("Members_R""sPid"$this->r['functions']->strip ($fMembers['pid']));
                
$this->r['tpl']->assign ("Members_R""sGebruikersnaam"$this->r['functions']->strip ($fMembers['gebruikersnaam']));
                
$this->r['tpl']->assign ("Members_R""sWoonplaats"$this->r['functions']->strip ($fMembers['woonplaats']));
                
$this->r['tpl']->assign ("Members_R""sDatum"date ("d-m-Y H:i"$fMembers['datum']));
                
$this->r['tpl']->parse ("Memberlist""Members_R");
            }    
        }
        else 
$this->r['tpl']->parse ("Memberlist""No_members");

        
$this->r['tpl']->assign ("Memberlist""sPage"$sPagina); 
        
$this->r['tpl']->assign ("Memberlist""sNavigatie"$this->r['navigation']->Show_Navigate ());
        
$this->r['tpl']->Parse ("Memberlist");
    }

    function 
profile () {
        
$this->r['tpl']->define (array ('index_prof.tpl''members/profile.tpl''members/tips.tpl''members/spots.tpl''members/spot.tpl''members/gadgets.tpl''members/tip.tpl''members/albums.tpl''members/afbeeldingen.tpl''members/afbeelding.tpl''members/blogs.tpl''members/vrienden.tpl''members/blog.tpl''members/polls.tpl''members/poll.tpl''members/getikt.tpl'), ''1);
        require_once (
'classes/ubb.php');

        if(isset (
$this->r['key']) && ctype_digit ($this->r['key'])) {
            
$sProfile $this->r['sql']->query ("SELECT p.*, o.pagina FROM ##profielen p LEFT JOIN ##online o ON(o.userid = p.pid) WHERE p.pid = '".$this->r['key']."' AND p.geactiveerd = '1'");
            if(
$this->r['sql']->rows ($sProfile)) {
                
$fProfile $this->r['sql']->fetch ($sProfile);
                
                    
$sVrienden $this->r['sql']->query ("SELECT v.*, l.gebruikersnaam, l.geslacht, o.pagina FROM vrienden v INNER JOIN ##profielen l ON(l.pid = v.uid) LEFT JOIN online o ON(o.userid = v.uid)  WHERE v.profile_id = '".$this->r['key']."' AND v.wederzijds = '1' AND v.groep != '1' ORDER BY l.actief DESC LIMIT 0, 9");
                    
$aVrienden $this->r['sql']->rows ($sVrienden);
                    if(
$aVrienden 0) {    
                                    
$on 0;
                                    
$off 0;
                        while (
$fVrienden $this->r['sql']->fetch ($sVrienden)) {
                                          if(isset (
$fVrienden['pagina']) && !empty ($fVrienden['pagina'])) {
                                                
$this->r['tpl']->assign ("onVrienden_R""sPid"$this->r['functions']->strip ($fVrienden['uid']));
                                                
$this->r['tpl']->assign ("onVrienden_R""sGebruikersnaam"$this->r['functions']->strip ($fVrienden['gebruikersnaam']));

                                                
$sAantal $this->r['sql']->query ("SELECT COUNT(uid) FROM vrienden WHERE profile_id = '".mysql_real_escape_string ($fVrienden['uid'])."' AND wederzijds = '1' AND groep = '0'");
                                                
$this->r['tpl']->assign ("onVrienden_R""aVrienden"$this->r['sql']->rows ($sAantal'result'));
                                                
$this->r['tpl']->assign ("onVrienden_R""sGeslacht", (isset ($fVrienden['geslacht']) && $fVrienden['geslacht'] == 'Vrouw' 'girl' 'boy'));
                                                
$this->r['tpl']->Parse ("index""onVrienden_R");
                                                
$on++;
                                          }
                                          else {
                                                
$this->r['tpl']->assign ("offVrienden_R""sPid"$this->r['functions']->strip ($fVrienden['uid']));
                                                
$this->r['tpl']->assign ("offVrienden_R""sGebruikersnaam"$this->r['functions']->strip ($fVrienden['gebruikersnaam']));
                                                
$this->r['tpl']->assign ("offVrienden_R""sGeslacht", (isset ($fVrienden['geslacht']) && $fVrienden['geslacht'] == 'Vrouw' 'girl' 'boy'));

                                                
$sAantal $this->r['sql']->query ("SELECT COUNT(uid) FROM vrienden WHERE profile_id = '".mysql_real_escape_string ($fVrienden['uid'])."' AND wederzijds = '1' AND groep = '0'");
                                                
$this->r['tpl']->assign ("offVrienden_R""aVrienden"$this->r['sql']->rows ($sAantal'result'));
                                                
$this->r['tpl']->Parse ("index""offVrienden_R");
                                                
$off++;
                                          }
                        }
                        if(
$on == 0$this->r['tpl']->Parse ("index""onVrienden_Geen");
                        if(
$off == 0$this->r['tpl']->Parse ("index""offVrienden_Geen");
                    }
                    else {
                                    
$this->r['tpl']->Parse ("index""offVrienden_Geen");
                                    
$this->r['tpl']->Parse ("index""onVrienden_Geen");
                              }


                                    
## Muziek
                                    
$sGeluiden $this->r['sql']->query ("SELECT * FROM geluiden WHERE profile_id = '".mysql_real_escape_string ($fProfile['pid'])."'");
                                    if(
$this->r['sql']->rows ($sGeluiden)) {
                                          while (
$fGeluiden $this->r['sql']->fetch ($sGeluiden)) {
                                                
$this->r['tpl']->assign ("Geluiden_R""sNaam"str_replace ("'"""$this->r['functions']->strip ($fGeluiden['naam'])));
                                                
$this->r['tpl']->assign ("Geluiden_R""sTitel"str_replace ("'"""$this->r['functions']->strip ($fGeluiden['titel'])));
                                                
$this->r['tpl']->assign ("Geluiden_R""sProfile_id"$this->r['functions']->strip ($fGeluiden['profile_id']));
                                                
$this->r['tpl']->Parse ("Geluiden""Geluiden_R");
                                          }
                                          
$this->r['tpl']->Parse ("index""Geluiden");
                                    }
                                    
                                    
## WWW - Laatste
                                    
$sWWW $this->r['sql']->query ("SELECT * FROM www WHERE profile_id = '".$this->r['key']."' ORDER BY datum DESC LIMIT 0, 1");
                                    if(
$this->r['sql']->rows ($sWWW)) {
                                          while (
$fWWW $this->r['sql']->fetch ($sWWW)) {
                                                
$this->r['tpl']->assign ("sWWW_R""sWat"$this->r['functions']->strip ($fWWW['wat']));
                                                
$this->r['tpl']->assign ("sWWW_R""sWaar"$this->r['functions']->strip ($fWWW['waar']));
                                                
$this->r['tpl']->Parse ("index""sWWW_R");
                                          }
                                    }
                                    else 
$this->r['tpl']->Parse ("index""sWWW_Geen"); 


                              
## Gegevens
                              
$this->r['tpl']->assign ("index""sLid_sinds"date ("d-m-Y H:i"$fProfile ['datum']));
                              
$this->r['tpl']->assign ("index""sActief"date ("d-m-Y H:i"$fProfile ['datum']));
                              
$this->r['tpl']->assign ("index""sBekeken"$fProfile ['bekeken']);
                              
$this->r['tpl']->assign ("index""aVrienden"$aVrienden);

                              
## Aantal berichten gestuurd/ontvangen
                              
$aBerichten $this->r['sql']->query ("SELECT COUNT(pid) FROM berichten WHERE profile_id = '".mysql_real_escape_string ($this->r['key'])."'");
                              
$this->r['tpl']->assign ("index""aBerichten"$this->r['sql']->rows ($aBerichten'result'));

                    
## Stats
                    
if ($this->r['user']['vip'] == && $fProfile['pid'] == $this->r['user']['pid']) {
                        
                        
$sStats $this->r['sql']->query ("SELECT DISTINCT pid, gebruikersnaam, profielfoto FROM profielen INNER JOIN bekeken ON profielen.pid = bekeken.user_id WHERE bekeken.visited_id = '".$this->r['user']['pid']."' ORDER BY bekeken.datum ASC LIMIT 0, 10");
                        
                        if(
$this->r['sql']->rows ($sStats)) {
                            
                            
$this->r['tpl']->Parse ("index""Stats");
                            while (
$fStats $this->r['sql']->fetch ($sStats)) {
                                  
                                  
$this->r['tpl']->assign ("Stats_y""Statlink"'http://www.cmyid.nl/index/members/profile/'.$this->r['functions']->strip ($fStats['pid']));
                                  
$this->r['tpl']->assign ("Stats_y""Statvisitor"$this->r['functions']->strip ($fStats['gebruikersnaam']));
                                  if (!empty(
$fStats['profielfoto'])) {
                                  
$this->r['tpl']->assign ("Stats_y""Statvisitorimage"'http://www.cmyid.nl/upload/profielfotos/'.$this->r['functions']->strip ($fStats['pid']).'/'.$this->r['functions']->strip ($fStats['profielfoto']));
                                    }
                                    else {
                                        
$this->r['tpl']->assign ("Stats_y""Statvisitorimage"'http://www.cmyid.nl/views/images/pic.gif');
                                    }
                                
                                
                                
$this->r['tpl']->Parse ("index""Stats_y");
                            }                    
                            
                        }
                        else {
                            
$this->r['tpl']->Parse ("index""Stats");
                            
$this->r['tpl']->Parse ("index""Stats_n");
                        }
                    
                    }
                    else if (
$this->r['user']['vip'] == && $fProfile['pid'] == $this->r['user']['pid']) {
                        
                        
$this->r['tpl']->Parse ("index""Stats");
                        
$this->r['tpl']->Parse ("index""Stats_nvip");
                        
                    }

                    
//////////////
                    ///////////
                    //////////
                    /////////
                    /////////

                    ## Tikken
                    
$sGetikt $this->r['sql']->query ("SELECT g.*, p.gebruikersnaam FROM getikt g INNER JOIN profielen p ON(p.pid = g.uid) WHERE g.profile_id = '".$this->r['key']."' AND prive = '".($this->r['client']->ingelogd == && $this->r['user']['pid'] == $this->r['key'] ? '' 0)."' ORDER BY datum DESC LIMIT 0, 3");
                    if(
$this->r['sql']->rows ($sGetikt)) {
                        while (
$fGetikt $this->r['sql']->fetch ($sGetikt)) {
                            
$this->r['tpl']->assign ("sTikken_R""sUid"$this->r['functions']->strip ($fGetikt['uid']));
                            
$this->r['tpl']->assign ("sTikken_R""aGebruikersnaam"$this->r['functions']->strip ($fGetikt['gebruikersnaam'], 30));
                            
$this->r['tpl']->assign ("sTikken_R""sGebruikersnaam"$this->r['functions']->strip ($fProfile['gebruikersnaam'], 30));
                            
$this->r['tpl']->assign ("sTikken_R""sTik"$this->r['functions']->strip ($fGetikt['tik'], 100));
                            
$this->r['tpl']->assign ("sTikken_R""sDatum"''); //date ("d-m-Y H:i", $fGetikt['datum'])
                             
$this->r['tpl']->Parse ("index""sTikken_R");
                        }
                    }
                    else 
$this->r['tpl']->Parse ("index""sTikken_Geen");


                                    
$this->r['tpl']->assign ("index""sPid"$this->r['functions']->strip ($fProfile['pid']));
                                    
$this->r['tpl']->assign ("index""sGebruikersnaam"$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                              if(
$fProfile['vip'] == 1$this->r['tpl']->Parse ("index""sPro");

                                    
## Achtergrond
                                    //if ( (isset ($fProfile['achtergrond']) && !empty ($fProfile['achtergrond']) ) || ( isset ($fProfile['achtergrond_plaatje']) && !empty ($fProfile['achtergrond_plaatje']) ) ) {
                                          
$this->r['tpl']->assign ("sAchtergrond""sKleur", (isset ($fProfile['achtergrond']) && !empty ($fProfile['achtergrond']) ? $this->r['functions']->strip ($fProfile['achtergrond']) : '#67a3d6'));
                                          
                                          if(isset (
$fProfile['achtergrond_plaatje']) && !empty ($fProfile['achtergrond_plaatje'])) $this->r['tpl']->assign ("sAchtergrond""sAchtergrond_plaatje", (isset ($fProfile['achtergrond_plaatje']) && !empty ($fProfile['achtergrond_plaatje']) ? "background-image:url('".$this->r['cfg']->adres."/upload/achtergronden/".$fProfile['pid']."/".$this->r['functions']->strip ($fProfile['achtergrond_plaatje'])."');" ""));
                                          elseif(empty (
$fProfile['achtergrond']))  $this->r['tpl']->assign ("sAchtergrond""sAchtergrond_plaatje""background-image:url('".$this->r['cfg']->adres."/views/images/bodyBg.png');");
                                         
                                          
$this->r['tpl']->Parse ("index""sAchtergrond");
                                    
//}

                ## Vrienden vn em
                
$vVrienden = array ();
                        
$sVrienden $this->r['sql']->query ("SELECT * FROM ##vrienden WHERE profile_id = '".mysql_real_escape_string ($this->r['key'])."' AND wederzijds = '1' AND groep != '1'");
                        if(
$this->r['sql']->rows ($sVrienden)) {
                        while (
$fVrienden $this->r['sql']->fetch ($sVrienden)) 
                              
$vVrienden [] = $fVrienden['uid'];
                        }
    
                        if(
$fProfile['anoniem'] == 'vrienden' && ($this->r['client']->ingelogd == && !in_array ($this->r['user']['pid'], $vVrienden))) 
                              
$this->r['functions']->redirect ('Fout''De eigenaar van deze profiel heeft aangegeven alleen vrienden toe te laten op zijn/haar profiel.'''3);
                        else {
    
                              if(isset (
$this->r['key2']) && $this->r['key2'] == 'afbeeldingen') {

                                    
/* Checken of album enkelt voor vrienden of voor iedereen is */

                                    
if(isset ($this->r['key3']) && $this->r['key3'] == 'album') {
                                          
## Album
                                          
$this->r['menu']->setTitle ('Album bekijken van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                                          
$sAlbum $this->r['sql']->query ("SELECT * FROM albums WHERE pid = '".mysql_real_escape_string ($this->r['key4'])."' AND profile_id = '".$this->r['key']."'");
                                          if(
$this->r['sql']->rows ($sAlbum)) {
                                                
$fAlbum $this->r['sql']->fetch ($sAlbum);

                                                
$this->r['tpl']->assign ("Album""sProfile_id"$this->r['functions']->strip ($fAlbum['profile_id']));
                                                
$this->r['tpl']->assign ("Album""sPid"$this->r['functions']->strip ($fAlbum['pid']));
                                                
$this->r['tpl']->assign ("Album""sNaam"$this->r['functions']->strip ($fAlbum['naam']));
                                                
$this->r['tpl']->assign ("Album""sGebruikersnaam"$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                                                
$sAfb $this->r['sql']->query ("SELECT * FROM afbeeldingen WHERE album = '".mysql_real_escape_string ($fAlbum['pid'])."' AND profile_id = '".mysql_real_escape_string ($fAlbum['profile_id'])."' AND profielfoto = '0'");
                                                if(
$this->r['sql']->rows ($sAfb)) {
                                                      
$i 0;
                                                      while (
$fAfb $this->r['sql']->fetch ($sAfb)) {
                                                            if(
$i == 3) {
                                                                  
$this->r['tpl']->Parse ("alAfbeeldingen_R""alNew_TR");
                                                                  
$i 0;
                                                            }
                                                            
$this->r['tpl']->assign ("alAfbeeldingen_R""sAfbeelding"'<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['key'].'/afbeeldingen/'.$this->r['functions']->strip ($fAfb['pid']).'"><img src="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fAfb['naam']).'" height="'.($fAfb['hoogte'] > $this->r['cfg']->afb_album_hoogte $this->r['cfg']->afb_album_hoogte $fAfb['hoogte']).'" width="'.($fAfb['breedte'] > $this->r['cfg']->afb_album_breedte $this->r['cfg']->afb_album_breedte $fAfb['breedte']).'" alt="'.$this->r['functions']->strip ($fAfb['naam']).'" border="0" /></a>');
                                                            if(
$this->r['client']->ingelogd == && $this->r['user']['pid'] == $this->r['key'] || $this->r['user']['status'] == 'Beheerder') {
                                                                  
$this->r['tpl']->assign ("sBeheer""sPid"$this->r['functions']->strip ($fAfb['pid']));
                                                                  
$this->r['tpl']->Parse ("alAfbeeldingen_R""sBeheer");
                                                            }
                                                            
$this->r['tpl']->Parse ("Album""alAfbeeldingen_R");

                                                            
$i++;
                                                      }
                                                }
                                                else 
$this->r['tpl']->Parse ("Album""alAfbeeldingen_Geen");

                                                if(
$this->r['client']->ingelogd == && $this->r['user']['pid'] == $this->r['key'])
                                                      
$this->r['tpl']->assign ("Album""sToevoegen"'<a href="<global adres>/panel/uploaden"><img src="<global sAdres>/views/images/toevoegen.png" alt="Afbeelding toevoegen" border="0" /></a> <a href="<global adres>/panel/uploaden">Afbeelding toevoegen</a><a href="<global adres>/panel/album_toevoegen"><img src="<global sAdres>/views/images/toevoegen.png" alt="Album toevoegen" border="0" /></a> <a href="<global adres>/panel/album_toevoegen">Album toevoegen</a>');
                                                
$this->r['tpl']->Parse ("index""Album""content");
                                          }
                                          else 
$this->r['functions']->redirect ('Fout''Dit album of dit profiel bestaat niet (meer).'''3);
                                    }
                                    elseif(isset (
$this->r['key3']) && ctype_digit ($this->r['key3'])) {
                                          
/* Vergroot afbeelding nog maken! */
                                          /* Rating + Comment + Respect */

                                          ## Afbeelding bekijken
                                          
$this->r['menu']->setTitle ('Afbeelding bekijken van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                                          
$sAfb $this->r['sql']->query ("SELECT a.*, al.naam AS aNaam, al.pid AS aPid FROM afbeeldingen a INNER JOIN albums al ON(al.pid = a.album) WHERE a.profile_id = '".$this->r['key']."' AND a.pid = '".mysql_real_escape_string ($this->r['key3'])."' AND al.profile_id = '".$this->r['key']."'");
                                          if(
$this->r['sql']->rows ($sAfb)) {
                                                
$fAfb $this->r['sql']->fetch ($sAfb);

                                                
$this->r['sql']->query ("UPDATE afbeeldingen SET bekeken = bekeken+1 WHERE pid = '".$fAfb['pid']."'");

                                                
$this->r['tpl']->assign ("Afbeelding""sProfile_id"$this->r['functions']->strip ($fAfb['profile_id']));
                                                
$this->r['tpl']->assign ("Afbeelding""sPid"$this->r['functions']->strip ($fAfb['pid']));
                                                
$this->r['tpl']->assign ("Afbeelding""sNaam"$this->r['functions']->strip ($fAfb['naam']));
                                                
$this->r['tpl']->assign ("Afbeelding""aNaam"$this->r['functions']->strip ($fAfb['aNaam']));
                                                
$this->r['tpl']->assign ("Afbeelding""sHoogte"$fAfb['hoogte']);
                                                
$this->r['tpl']->assign ("Afbeelding""sGrootte"$fAfb['grootte']);
                                                
$this->r['tpl']->assign ("Afbeelding""sBreedte"$fAfb['breedte']);
                                                
$this->r['tpl']->assign ("Afbeelding""sTitel"$this->r['functions']->strip ($fAfb['titel']));
                                                
$this->r['tpl']->assign ("Afbeelding""sDatum"date ("d-m-Y H:i"$this->r['functions']->strip ($fAfb['datum'])));
                                                
$this->r['tpl']->assign ("Afbeelding""sBekeken"$this->r['functions']->strip ($fAfb['bekeken']).'x');
                                                
$this->r['tpl']->assign ("Afbeelding""sKudos"$this->r['functions']->strip ($fAfb['kudos']));

                                                
$this->r['tpl']->assign ("Afbeelding""sGebruikersnaam"$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                                                
## Factor van breedte bepalen
                                                
$tHoog round ($fAfb['hoogte'] / $this->r['cfg']->afb_bekijken_hoogte);
                                                
$tBreed round ($fAfb['breedte'] / $this->r['cfg']->afb_bekijken_breedte);
//height="'.($fAfb['hoogte'] > $this->r['cfg']->afb_bekijken_hoogte ? ($fAfb['hoogte'] /$tHoog) : $fAfb['hoogte']).'" width="'.($fAfb['breedte'] > $this->r['cfg']->afb_bekijken_breedte ? ($fAfb['breedte'] / $tBreed): $fAfb['breedte']).'" 
                                                
$this->r['tpl']->assign ("Afbeelding""sAfbeelding"'<a href="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fAfb['naam']).'" class="lightwindow page-options" params="lightwindow_type=external"><img src="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fAfb['naam']).'" alt="'.$this->r['functions']->strip ($fAfb['naam']).'"  border="0" alt="" /></a>');

                                                
$this->_berichten ('Afbeeldingen''aBerichten''Afbeelding''members/profile/'.$this->r['key'].'/afbeeldingen/'.$this->r['key3'].'/'$this->r['key3']);                    
                                                
$this->_respects ('Afbeeldingen''aRespects''Afbeelding'$this->r['key3']);                    

                                                
## Afbeeldingen voor scroll
                                                
$b 1;
                                                
$scAfbeeldingen $this->r['sql']->query ("SELECT naam, titel, profile_id, pid FROM afbeeldingen WHERE profile_id = '".$this->r['key']."' AND album = '".mysql_real_escape_string ($fAfb['album'])."' AND profielfoto = '0'");
                                                if(
$this->r['sql']->rows ($scAfbeeldingen)) {
                                                    
$s 0;
                                                      while (
$fscAfbeeldingen $this->r['sql']->fetch ($scAfbeeldingen)) {
                                                            if(
$s == 0$this->r['tpl']->Parse ("nAfb_R""sEerste");
                                                            
                                                            
$this->r['tpl']->assign ("nAfb_R""sNmr"$s);
                                                            
$this->r['tpl']->assign ("nAfb_R""sNaam"$this->r['functions']->strip ($fscAfbeeldingen['naam']));
                                                            
                                                            
$vAfm getimagesize ('upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fscAfbeeldingen['naam']));
                                                            
                                                            
$this->r['tpl']->assign ("nAfb_R""sAfb"'<img widht="80" height="50" src="'.$this->r['cfg']->adres.'/upload/thumbnails/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fscAfbeeldingen['naam']).'" alt="'.$this->r['functions']->strip ($fscAfbeeldingen['naam']).'"  border="0" alt="" /></a>');
                                                            
$this->r['tpl']->Parse ("Afbeelding""nAfb_R");

                                                            
$this->r['tpl']->assign ("fAfb_R""sNmr"$s);
                                                            
$this->r['tpl']->assign ("fAfb_R""sNaam"$this->r['functions']->strip ($fscAfbeeldingen['titel']));
                                                            
$this->r['tpl']->assign ("fAfb_R""sAfb_groot"'<a href="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fscAfbeeldingen['naam']).'" target="_blank"><img '.($vAfm[0] > 400 || $vAfm[1] > 250 'width="400" height="250"' '').' src="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fscAfbeeldingen['naam']).'" alt="'.$this->r['functions']->strip ($fscAfbeeldingen['naam']).'"  border="0" alt="" /></a>');
                                                            
$this->r['tpl']->Parse ("Afbeelding""fAfb_R");
                                                            
                                                    
/*  
                                                            $this->r['tpl']->assign ("scAfbeeldingen_R", "sNaam", $this->r['functions']->strip ($fscAfbeeldingen['naam']));
                                                            $this->r['tpl']->assign ("scAfbeeldingen_R", "sProfile_id", $this->r['functions']->strip ($fscAfbeeldingen['profile_id']));
                                                            $this->r['tpl']->assign ("sGegevens_R", "sProfile_id", $this->r['functions']->strip ($fscAfbeeldingen['profile_id']));
                                                            $this->r['tpl']->assign ("sGegevens_R", "sPid", $this->r['functions']->strip ($fscAfbeeldingen['pid']));
                                                            if($b != $this->r['sql']->rows ($scAfbeeldingen)) $this->r['tpl']->assign ("scAfbeeldingen_R", "sKomma", ',');
                                                            if($b != $this->r['sql']->rows ($scAfbeeldingen)) $this->r['tpl']->assign ("sGegevens_R", "sKomma", ',');

                                                            $this->r['tpl']->assign ("sScroll", "sBestand", 'imageviewer.js');
                                                            $this->r['tpl']->Parse ("sScroll", "scAfbeeldingen_R");
                                                            $this->r['tpl']->Parse ("sScroll", "sGegevens_R"); */
                                                            
$b++;
                                                            
$s++;
                                                      }
                                                }

                                                if(
$this->r['client']->ingelogd == && $this->r['user']['pid'] == $fAfb['profile_id'] || $this->r['user']['status'] == 'Beheerder') {
                                                      
$this->r['tpl']->assign ("asBeheer""sPid"$this->r['functions']->strip ($fAfb['pid']));
                                                      
$this->r['tpl']->Parse ("Afbeelding""asBeheer");
                                                }
                                                
$this->r['tpl']->Parse ("index""sScroll");
                                                
$this->r['tpl']->Parse ("index""Afbeelding""content");
                                          }
                                          else 
$this->r['functions']->redirect ('Fout''Deze afbeelding bestaat niet (meer).'''3);
                                    }
                                    else {
                                          
## Album overzicht
                                          
$this->r['menu']->setTitle ('Albums van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                                          
$sAlbums $this->r['sql']->query ("SELECT * FROM albums WHERE profile_id = '".$this->r['key']."'");
                                          if(
$this->r['sql']->rows ($sAlbums)) {
                                                while (
$fAlbums $this->r['sql']->fetch ($sAlbums)) {
                                                      
$this->r['tpl']->assign ("Albums_R""sProfile_id"$this->r['functions']->strip ($fAlbums['profile_id']));
                                                      
$this->r['tpl']->assign ("Albums_R""sPid"$this->r['functions']->strip ($fAlbums['pid']));
                                                      
$this->r['tpl']->assign ("Albums_R""sNaam"$this->r['functions']->strip ($fAlbums['naam']));

                                                      
## Laatste 3 afbeeldingen in dit album
                                                      
$aAfb $this->r['sql']->query ("SELECT COUNT(pid) FROM afbeeldingen WHERE album = '".mysql_real_escape_string ($fAlbums['pid'])."' AND profile_id = '".mysql_real_escape_string ($fAlbums['profile_id'])."' AND profielfoto = '0'");
                                                      
$this->r['tpl']->assign ("Albums_R""sAantal"$this->r['sql']->rows ($aAfb'result'));

                                                      
$sAfb $this->r['sql']->query ("SELECT * FROM afbeeldingen WHERE album = '".mysql_real_escape_string ($fAlbums['pid'])."' AND profile_id = '".mysql_real_escape_string ($fAlbums['profile_id'])."' AND profielfoto = '0' ORDER BY datum DESC LIMIT 0, 4");
                                                      if(
$this->r['sql']->rows ($sAfb)) {
                                                            while (
$fAfb $this->r['sql']->fetch ($sAfb)) {
                                                                  
$this->r['tpl']->assign ("aAfbeeldingen_R""sAfbeelding"'<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['key'].'/afbeeldingen/'.$fAfb['pid'].'"><img src="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fAfb['naam']).'" height="'.($fAfb['hoogte'] > $this->r['cfg']->afb_index_hoogte $this->r['cfg']->afb_index_hoogte $fAfb['hoogte']).'" width="'.($fAfb['breedte'] > $this->r['cfg']->afb_index_breedte $this->r['cfg']->afb_index_breedte $fAfb['breedte']).'" alt="'.$this->r['functions']->strip ($fAfb['naam']).'" border="0" /></a>');
                                                                  
$this->r['tpl']->Parse ("Albums_R""aAfbeeldingen_R");
                                                            }
                                                      }
                                                      
$this->r['tpl']->Parse ("Albums""Albums_R");
                                                }
                                          }
                                          else 
$this->r['tpl']->Parse ("Albums""Albums_Geen");

                                          
$this->r['tpl']->assign ("Albums""sProfile_id"$this->r['functions']->strip ($fProfile['pid']));
                                          
$this->r['tpl']->assign ("Albums""sGebruikersnaam"$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                          
$this->r['tpl']->Parse ("index""Albums""content");
                                    }
                              }    
                              elseif(isset (
$this->r['key2']) && $this->r['key2'] == 'blog') {
                                    if(isset (
$this->r['key3']) && ctype_digit ($this->r['key3'])) {
                                          
/* Doorsturen, comments, rating, respects */
                                          
$this->r['menu']->setTitle ('Blog bekijken van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                                          
## Blog!
                                          
$sBlog $this->r['sql']->query ("SELECT * FROM blog WHERE profile_id = '".$this->r['key']."' AND pid = '".mysql_real_escape_string ($this->r['key3'])."'");
                                          if(
$this->r['sql']->rows ($sBlog)) {
                                                
$fBlog $this->r['sql']->fetch ($sBlog);

                                                
$this->r['sql']->query ("UPDATE blog SET bekeken = bekeken + 1 WHERE profile_id = '".$this->r['key']."' AND pid = '".mysql_real_escape_string ($this->r['key3'])."'");

                                                
$this->r['tpl']->assign ("Blog""sPid"$this->r['functions']->strip ($fBlog['pid']));
                                                
$this->r['tpl']->assign ("Blog""sTitel"$this->r['functions']->strip ($fBlog['titel']));
                                                
$this->r['tpl']->assign ("Blog""sBekeken"$this->r['functions']->strip ($fBlog['bekeken']));
            
                                                
$ubb = new ubbparser ($fBlog['blog'], '');
                                                
$this->r['tpl']->assign ("Blog""sBericht"$ubb->printtoscreen ());
                                                
$this->r['tpl']->assign ("Blog""sDatum"date ("d-m-Y H:i"$this->r['functions']->strip ($fBlog['datum'])));

                                                
$this->_berichten ('Blog''bBerichten''Blog''members/profile/'.$this->r['key'].'/blog/'.$this->r['key3'].'/'$this->r['key3']);                    
                                                
$this->_respects ('Blog''bRespects''Blog'$this->r['key3']);                    

                                                
$this->r['tpl']->assign ("Blog""sProfile_id"$this->r['functions']->strip ($fProfile['pid']));
                                                
$this->r['tpl']->Parse ("index""Blog""content");
                                          }
                                          else 
redirect ('Fout''Deze blog bestaat niet (meer) of is niet van deze persoon!'''3);

                                    }
                                    else {
                                          
$this->r['menu']->setTitle ('Blogs van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                                          
## Blogjess!
                                          
$sBlogs $this->r['sql']->query ("SELECT * FROM blog WHERE profile_id = '".$this->r['key']."' ORDER BY datum DESC");
                                          if(
$this->r['sql']->rows ($sBlogs)) {
                                                while (
$fBlogs $this->r['sql']->fetch ($sBlogs)) {
                                                      
$this->r['tpl']->assign ("Blogs_R""sProfile_id"$this->r['functions']->strip ($fBlogs['profile_id']));
                                                      
$this->r['tpl']->assign ("Blogs_R""sPid"$this->r['functions']->strip ($fBlogs['pid']));
                                                      
$this->r['tpl']->assign ("Blogs_R""sTitel"$this->r['functions']->strip ($fBlogs['titel']));
                                                      
$this->r['tpl']->assign ("Blogs_R""sBericht"$this->r['functions']->strip ($fBlogs['blog'], 200));
                                                      
$this->r['tpl']->assign ("Blogs_R""sDatum"date ("d-m-Y H:i"$this->r['functions']->strip ($fBlogs['datum'])));
                                                      
$this->r['tpl']->Parse ("Blogs""Blogs_R");
                                                }
                                          }
                                          else 
$this->r['tpl']->Parse ("Blogs""Blogs_Geen");
                  
                                          
$this->r['tpl']->assign ("Blogs""sProfile_id"$this->r['functions']->strip ($fProfile['pid']));
                                          
$this->r['tpl']->Parse ("index""Blogs""content");
                                    }
                              }
                              elseif(isset (
$this->r['key2']) && $this->r['key2'] == 'polls') {
                                    
$this->r['menu']->setTitle ('Polls van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                                    if(isset (
$this->r['key3']) && ctype_digit ($this->r['key3'])) {
                                          
$poll = new Poll ($this->r);
                                          
$poll->_poll (1'index/members/profile/'.$this->r['key'].'/polls/'.$this->r['key3'], $this->r['key3']);

                                          
$this->_berichten ('Polls''pBerichten''Poll''members/profile/'.$this->r['key'].'/polls/'.$this->r['key3'].'/'$this->r['key3']);                    
                                          
$this->_respects ('Polls''pRespects''Poll'$this->r['key3']);                    

                                          
$this->r['tpl']->assign ("Poll""sGebruikersnaam"$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                          
$this->r['tpl']->assign ("Poll""sProfile_id"$this->r['functions']->strip ($fProfile['pid']));
                                          
$this->r['tpl']->Parse ("index""Poll""content");
                                    }
                                    else {
                                          
## Polletjes
                                          
$sPolls $this->r['sql']->query ("SELECT * FROM polls WHERE profile_id = '".$this->r['key']."' ORDER BY datum DESC");
                                          if(
$this->r['sql']->rows ($sPolls)) {
                                                while (
$fPolls $this->r['sql']->fetch ($sPolls)) {
                                                      
$this->r['tpl']->assign ("Polls_R""sPid"$this->r['functions']->strip ($fPolls['pid']));
                                                      
$this->r['tpl']->assign ("Polls_R""sUid"$this->r['functions']->strip ($fProfile['pid']));
                                                      
$this->r['tpl']->assign ("Polls_R""sVraag"$this->r['functions']->strip ($fPolls['vraag']));
                                                      
$this->r['tpl']->assign ("Polls_R""sAantal_stemmen"$this->r['functions']->strip ($fPolls['totaal']));
                                                      
$this->r['tpl']->assign ("Polls_R""sDatum"date ("d-m-Y H:i"$this->r['functions']->strip ($fPolls['datum'])));
                                                      
$this->r['tpl']->Parse ("Polls""Polls_R");
                                                }
                                          }
                                          else 
$this->r['tpl']->Parse ("Polls""Polls_Geen");
                  
                                          
$this->r['tpl']->assign ("Polls""sGebruikersnaam"$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                          
$this->r['tpl']->assign ("Polls""sProfile_id"$this->r['functions']->strip ($fProfile['pid']));
                                          
$this->r['tpl']->Parse ("index""Polls""content");
                                    }
                              }
                              elseif(isset (
$this->r['key2']) && $this->r['key2'] == 'vrienden') {
                                    
$this->r['menu']->setTitle ('Vrienden van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                                    
$sVrienden $this->r['sql']->query ("SELECT v.*, l.gebruikersnaam, l.profielfoto, COUNT(c.uid) AS aantal FROM vrienden v INNER JOIN ##profielen l ON(l.pid = v.uid) LEFT JOIN vrienden c ON(c.profile_id = v.uid)  WHERE v.profile_id = '".$this->r['key']."' AND v.wederzijds = '1' AND v.groep != '1' AND c.groep != '1' GROUP BY v.uid ORDER BY l.actief DESC");
                                    if(
$this->r['sql']->rows ($sVrienden)) {
                                          
$a 0;
                                          while (
$fVrienden $this->r['sql']->fetch ($sVrienden)) {
                                                if(
$a == 4) {
                                                      
$a 0;
                                                      
$this->r['tpl']->Parse ("sVrienden_R""vNewTR");
                                                }
                                                
$this->r['tpl']->assign ("sVrienden_R""sUid"$this->r['functions']->strip ($fVrienden['uid']));
                                                
$this->r['tpl']->assign ("sVrienden_R""sGebruikersnaam"$this->r['functions']->strip ($fVrienden['gebruikersnaam']));
                                                
$this->r['tpl']->assign ("sVrienden_R""sProfielfoto", (isset ($fVrienden['profielfoto']) && !empty ($fVrienden['profielfoto']) ? '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['functions']->strip ($fVrienden['uid']).'"><img src="'.$this->r['cfg']->adres.'/upload/profielfotos/'.$this->r['functions']->strip ($fVrienden['uid']).'/'.$this->r['functions']->strip ($fVrienden['profielfoto']).'" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fVrienden['gebruikersnaam']).'" height="'.$this->r['cfg']->hoogte_vrienden.'" width="'.$this->r['cfg']->breedte_vrienden.'" /></a>' ''));    
                                                
$this->r['tpl']->assign ("sVrienden_R""sAantal"$this->r['functions']->strip ($fVrienden['aantal']));
                                                
$this->r['tpl']->Parse ("sVrienden""sVrienden_R");
                                                
$a++;
                                          }
                                    }
                                    else 
$this->r['tpl']->Parse ("sVrienden""sVrienden_Geen");

                                    
$this->r['tpl']->assign ("sVrienden""sProfile_id"$this->r['functions']->strip ($fProfile['pid']));
                                    
$this->r['tpl']->assign ("sVrienden""sGebruikersnaam"$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                                    
$sAantal $this->r['sql']->query ("SELECT COUNT(v.uid) FROM vrienden v WHERE v.profile_id = '".$this->r['key']."' AND v.wederzijds = '1' AND v.groep = '0'");
                                    
$this->r['tpl']->assign ("sVrienden""sAantal"$this->r['sql']->rows ($sAantal'result'));
                                    
$this->r['tpl']->Parse ("index""sSearch");
                                    
$this->r['tpl']->Parse ("index""sVrienden""content");
                              }
                              elseif(isset (
$this->r['key2']) && $this->r['key2'] == 'getikt') {
                                    
$this->r['menu']->setTitle ('Tikken van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));

                                    
/* Pagina navigatie + Gekke tikken? */

                                    
$sGetikt $this->r['sql']->query ("SELECT g.*, p.gebruikersnaam FROM getikt g INNER JOIN profielen p ON(p.pid = g.uid) WHERE g.profile_id = '".$this->r['key']."'  AND prive != '".($this->r['client']->ingelogd == && $this->r['user']['pid'] == $this->r['key'] ? '6' 1)."' ORDER BY datum DESC"); // de 6 is gewoon om alle tiks te laten zien =)
                                    
if($this->r['sql']->rows ($sGetikt)) {
                                          while (
$fGetikt $this->r['sql']->fetch ($sGetikt)) {
                                                
$this->r['tpl']->assign ("Tikken_R""sUid"$this->r['functions']->strip ($fGetikt['uid']));
                                                
$this->r['tpl']->assign ("Tikken_R""aGebruikersnaam"$this->r['functions']->strip ($fGetikt['gebruikersnaam'], 30));
                                                
$this->r['tpl']->assign ("Tikken_R""sGebruikersnaam"$this->r['functions']->strip ($fProfile['gebruikersnaam'], 30).' '.($this->r['client']->ingelogd == && ($this->r['user']['pid'] == $this->r['functions']->strip ($fGetikt['uid']) || $this->r['user']['pid'] == $this->r['functions']->strip ($fGetikt['profile_id'])) ? '&nbsp;<a href="'.$this->r['cfg']->adres_met.'/tikken/verwijderen/'.$this->r['functions']->strip ($fGetikt['pid']).'"><img src="'.$this->r['cfg']->adres.'/views/images/icons/verwijderen.png" height="16" width="16" alt="Verwijder deze respect" title="Verwijder deze respect" border="0" /></a>'''));
                                                
$this->r['tpl']->assign ("Tikken_R""sTik"$this->r['functions']->strip ($fGetikt['tik'], 100));
                                                
$this->r['tpl']->assign ("Tikken_R""sDatum"date ("d-m-Y H:i"$fGetikt['datum']));
                                                
$this->r['tpl']->Parse ("Getikt""Tikken_R");
                                          }
                                    }
                                    else 
$this->r['tpl']->Parse ("Getikt""Tikken_Geen");

                                    
$this->r['tpl']->assign ("Getikt""sProfile_id"$this->r['functions']->strip ($fProfile['pid']));
                                    
$this->r['tpl']->assign ("Getikt""sGebruikersnaam"$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                    
$this->r['tpl']->Parse ("index""Getikt""content");
                              }
                              elseif(isset (
$this->r['key2']) && $this->r['key2'] == 'tips') {
                                    
$this->r['menu']->setTitle ('Tips van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                              
$this->r['tpl']->assign ("Tips""sProfile_id"$this->r['key']);
                                    
/* Pagina navigatie + Gekke tikken? */

                                    
if(isset ($this->r['key3']) && ctype_digit ($this->r['key3'])) {
                                          
$sTip $this->r['sql']->query ("SELECT * FROM tips WHERE profile_id = '"mysql_real_escape_string ($this->r['key'])."' AND pid = '".mysql_real_escape_string ($this->r['key3'])."'");
                                          if(
$this->r['sql']->rows ($sTip)) {
                                                
$fTip $this->r['sql']->fetch ($sTip);

                                                      
$this->r['tpl']->assign ("Tip""sProfile_id"$this->r['functions']->strip ($fTip['profile_id']));
                                                      
$this->r['tpl']->assign ("Tip""sNaam"$this->r['functions']->strip ($fTip['naam']));
                                                      
$this->r['tpl']->assign ("Tip""sReview"$this->r['functions']->strip ($fTip['review']));
                                                      
$this->r['tpl']->assign ("Tip""sDatum"date ("d-m-Y H:i"$this->r['functions']->strip ($fTip['datum'])));
                                                      
$this->r['tpl']->assign ("Tip""sCategorie"$this->r['functions']->strip ($fTip['categorie']));
                                                      
                                                      
$sCat $this->r['sql']->query ("SELECT * FROM categorieen ORDER BY naam ASC");
                                                      if(
$this->r['sql']->rows ($sCat)) {
                                                            while (
$fCat $this->r['sql']->fetch ($sCat)) {
                                                                  
$this->r['tpl']->assign ("sCategorieen_R""sProfile_id"$this->r['functions']->strip ($fTip['profile_id']));
                                                                  
$this->r['tpl']->assign ("sCategorieen_R""sPid"$this->r['functions']->strip ($fCat['pid']));
                                                                  
$this->r['tpl']->assign ("sCategorieen_R""sNaam"$this->r['functions']->strip ($fCat['naam']));
                                                                  
$this->r['tpl']->Parse ("Tip""sCategorieen_R");
                                                            }
                                                      }
                                                      
                                                      
$this->r['tpl']->Parse ("Tip");
                                          }
                                          else 
$this->r['functions']->redirect ('Fout''Deze tip bestaat niet (meer).'''3);
                                    }
                                    else {
                                                      
$sCat $this->r['sql']->query ("SELECT * FROM categorieen ORDER BY naam ASC");
                                                      if(
$this->r['sql']->rows ($sCat)) {
                                                            while (
$fCat $this->r['sql']->fetch ($sCat)) {
                                                                  
$this->r['tpl']->assign ("ssCategorieen_R""sProfile_id"$this->r['functions']->strip ($this->r['key']));
                                                                  
$this->r['tpl']->assign ("ssCategorieen_R""sPid"$this->r['functions']->strip ($fCat['pid']));
                                                                  
$this->r['tpl']->assign ("ssCategorieen_R""sNaam"$this->r['functions']->strip ($fCat['naam']));
                                                                  
$this->r['tpl']->Parse ("Tips""ssCategorieen_R");
                                                            }
                                                      }

                                          
$sTips $this->r['sql']->query ("SELECT * FROM tips WHERE profile_id = '"mysql_real_escape_string ($this->r['key'])."' ".(isset ($this->r['key3']) && !empty ($this->r['key3']) ? "AND categorie = '".mysql_real_escape_string ($this->r['key3'])."'" ''));
                                          if(
$this->r['sql']->rows ($sTips)) {
                                                      
                                                while (
$fTips $this->r['sql']->fetch ($sTips)) {
                                                      
$this->r['tpl']->assign ("Tips_R""sPid"$this->r['functions']->strip ($fTips['pid']));
                                                      
$this->r['tpl']->assign ("Tips_R""sUid"$this->r['functions']->strip ($fTips['profile_id']));

                                                      
$this->r['tpl']->assign ("Tips_R""sNaam"$this->r['functions']->strip ($fTips['naam']));
                                                      
$this->r['tpl']->assign ("Tips_R""sReview"$this->r['functions']->strip ($fTips['review'], 100));
                                                      
$this->r['tpl']->assign ("Tips_R""sDatum"date ("d-m-Y H:i"$this->r['functions']->strip ($fTips['datum'])));
                                                      
$this->r['tpl']->assign ("Tips_R""sCategorie"$this->r['functions']->strip ($fTips['categorie']));

                                                      
$this->r['tpl']->Parse ("Tips""Tips_R");
                                                }
                                          }
                                          else 
$this->r['tpl']->Parse ("Tips""Tips_Geen");
                                          
                                          
$this->r['tpl']->Parse ("Tips");
                                    }
                              }
                              elseif(isset (
$this->r['key2']) && $this->r['key2'] == 'spots') {
                                    
$this->r['menu']->setTitle ('Spots van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                    
$this->r['tpl']->assign ("Spots""sProfile_id"$this->r['key']);
                                    
/* Pagina navigatie + Gekke tikken? */

                                    
if(isset ($this->r['key3']) && ctype_digit ($this->r['key3'])) {
                                          
$sTip $this->r['sql']->query ("SELECT * FROM spots WHERE profile_id = '"mysql_real_escape_string ($this->r['key'])."' AND pid = '".mysql_real_escape_string ($this->r['key3'])."'");
                                          if(
$this->r['sql']->rows ($sTip)) {
                                                
$fTip $this->r['sql']->fetch ($sTip);

                                                      
$this->r['tpl']->assign ("Spot""sProfile_id"$this->r['functions']->strip ($fTip['profile_id']));
                                                      
$this->r['tpl']->assign ("Spot""sNaam"$this->r['functions']->strip ($fTip['naam']));
                                                      
$this->r['tpl']->assign ("Spot""sUitleg"$this->r['functions']->strip ($fTip['uitleg']));
                                                      
$this->r['tpl']->assign ("Spot""sDatum"date ("d-m-Y H:i"$this->r['functions']->strip ($fTip['datum'])));
                                                      
                                                      
$this->r['tpl']->Parse ("Spot");
                                          }
                                          else 
$this->r['functions']->redirect ('Fout''Deze spot bestaat niet (meer).'''3);
                                    }
                                    else {
                                          
$sSpots $this->r['sql']->query ("SELECT * FROM spots WHERE profile_id = '"mysql_real_escape_string ($this->r['key'])."'");
                                          if(
$this->r['sql']->rows ($sSpots)) {
                                                      
                                                while (
$fTips $this->r['sql']->fetch ($sSpots)) {
                                                      
$this->r['tpl']->assign ("Spots_R""sPid"$this->r['functions']->strip ($fTips['pid']));
                                                      
$this->r['tpl']->assign ("Spots_R""sUid"$this->r['functions']->strip ($fTips['profile_id']));

                                                      
$this->r['tpl']->assign ("Spots_R""sNaam"$this->r['functions']->strip ($fTips['naam']));
                                                      
$this->r['tpl']->assign ("Spots_R""sUitleg"$this->r['functions']->strip ($fTips['uitleg'], 100));
                                                      
$this->r['tpl']->assign ("Spots_R""sDatum"date ("d-m-Y H:i"$this->r['functions']->strip ($fTips['datum'])));

                                                      
$this->r['tpl']->Parse ("Spots""Spots_R");
                                                }
                                          }
                                          else 
$this->r['tpl']->Parse ("Spots""Spots_Geen");
                                          
                                          
$this->r['tpl']->Parse ("Spots");
                                    }
                              }
                              elseif(isset (
$this->r['key2']) && $this->r['key2'] == 'gadgets') {
                                    
$this->r['menu']->setTitle ('Gadgets van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                    
$this->r['tpl']->assign ("Gadgets""sProfile_id"$this->r['key']);
                                    
                                    
/* Pagina navigatie + Gekke tikken? */

                                          
$sGadgets $this->r['sql']->query ("SELECT * FROM gadgets WHERE profile_id = '"mysql_real_escape_string ($this->r['key'])."'");
                                          if(
$this->r['sql']->rows ($sGadgets)) {
                                                while (
$fGadgets $this->r['sql']->fetch ($sGadgets)) {

                                                      
$this->r['tpl']->assign ("Gadgets_R""sPid"$this->r['functions']->strip ($fGadgets['pid']));
                                                      
$this->r['tpl']->assign ("Gadgets_R""sUid"$this->r['functions']->strip ($fGadgets['profile_id']));
                                                      
$this->r['tpl']->assign ("Gadgets_R""sTitel"$this->r['functions']->strip ($fGadgets['titel']));
                                                      
                                                      if(
ctype_digit ($fGadgets['gadget'])) {
                                                            
$sGad $this->r['sql']->query ("SELECT * FROM voorbeelden WHERE pid = '".mysql_real_escape_string ($fGadgets['gadget'])."'");
                                                            if(
$this->r['sql']->rows ($sGad)) {
                                                                  
$fGad $this->r['sql']->fetch ($sGad);
                                                                  
                                                                  
$this->r['tpl']->assign ("Gadgets_R""sGadget"stripslashes ($fGad['voorbeeld']));
                                                            }
                                                            else 
$a 0;
                                                      }
                                                      else {
                                                            
$sUbb = new ubbparser ($fGadgets['gadget']);
                                                            
$this->r['tpl']->assign ("Gadgets_R""sGadget"$sUbb->printtoscreen ());
                                                      }
                                                      
$this->r['tpl']->assign ("Gadgets_R""sDatum"date ("d-m-Y H:i"$this->r['functions']->strip ($fGadgets['datum'])));
                                                      if(!isset (
$a)) $this->r['tpl']->Parse ("Gadgets""Gadgets_R");
                                                }
                                          }
                                          else 
$this->r['tpl']->Parse ("Gadgets""Gadgets_Geen");
                                          
                                          
$this->r['tpl']->Parse ("Gadgets");
                              }
                              else {
                                    
$this->r['menu']->setTitle ('Profiel van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                    
$sAfmetingen = @getimagesize ('upload/profielfotos/'.$fProfile['pid'].'/'.$fProfile['profielfoto']);
                                    
$this->r['tpl']->assign ("Profile""sProfielfoto_Groot", (isset ($fProfile['profielfoto']) && !empty ($fProfile['profielfoto']) ? '<img src="'.$this->r['cfg']->adres.'/upload/profielfotos/'.$this->r['functions']->strip ($fProfile['pid']).'/'.$this->r['functions']->strip ($fProfile['profielfoto']).'" width="'.($sAfmetingen[0] > 700 500 $sAfmetingen[0]).'" height="'.($sAfmetingen[1] > 700 600 $sAfmetingen[1]).'" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']).'" />' '<img src="'.$this->r['cfg']->adres.'/views/images/prof/pic2.png" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']).'" />'));    
                                    
                                    
                                    if(
$fProfile['contest'] == 1) {
                                          
$this->r['tpl']->assign ("cStemmen""sPid"$fProfile['pid']);
                                          
                                          
$sGestemd explode (", "$fProfile['contest_gestemd']);
                                          
                                          if(
$this->r['client']->ingelogd != 1
                                                
$this->r['tpl']->Parse ("sContest""cnIngelogd");
                                          else
                                                
$this->r['tpl']->Parse ("sContest""cStemmen");
                                          
                                          
$this->r['tpl']->Parse ("Profile""sContest");
                                    }
                                    
                                    
                                    
$this->r['tpl']->assign ("Profile""sProfile_id"$this->r['functions']->strip ($fProfile['pid']));
                                    
$this->r['tpl']->assign ("Profile""sGebruikersnaam"$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                    
$this->r['tpl']->assign ("Profile""sVoornaam"$this->r['functions']->strip ($fProfile['voornaam']));
                                    
$this->r['tpl']->assign ("Profile""sAchternaam"$this->r['functions']->strip ($fProfile['achternaam']));
                                    
$this->r['tpl']->assign ("Profile""sGeslacht"$this->r['functions']->strip ($fProfile['geslacht']));
                                    
$this->r['tpl']->assign ("Profile""sGeaardheid"$this->r['functions']->strip ($fProfile['geaardheid']));
                                    
$this->r['tpl']->assign ("Profile""sRelatie"$this->r['functions']->strip ($fProfile['relatie']));
                                    
$this->r['tpl']->assign ("Profile""sTelefoon"$this->r['functions']->strip ($fProfile['telefoon']));
                                    
$this->r['tpl']->assign ("Profile""sMobiel"$this->r['functions']->strip ($fProfile['mobiel']));

                                    if(!empty (
$fProfile['geboortedatum'])) {
                                          
$vDatum explode ("-"$this->r['functions']->strip ($fProfile['geboortedatum']));
                                          if(
date ('m') < $vDatum[1]) $sLeeftijd = ((date ('Y') - end($vDatum)) -1);
                                          else 
$sLeeftijd date ('Y') - end($vDatum);
                                          
$this->r['tpl']->assign ("Profile""sLeeftijd"$sLeeftijd);

                                          
$this->r['tpl']->assign ("Profile""sWoonplaats"$this->r['functions']->strip ($fProfile['woonplaats']));
                                    }
                                    else 
$this->r['tpl']->assign ("Profile""sWoonplaats"'-');

                                    
$this->r['tpl']->assign ("Profile""sDatum"date ("d-m-Y"$fProfile['datum']));
                                    
$this->r['tpl']->assign ("Profile""sBekeken"$fProfile['bekeken']);
                                    
$this->r['tpl']->assign ("Profile""sPassies"$this->r['functions']->strip ($fProfile['passies']));

                                    
$this->r['tpl']->assign ("Profile""sStatus", (isset ($fProfile['pagina']) && !empty ($fProfile['pagina']) ? '<font color="58c012">Online</font>' 'Offline'));
                                    
$this->r['tpl']->assign ("Profile""vStatus", (isset ($fProfile['pagina']) && !empty ($fProfile['pagina']) ? 'online' ''));

                                    
$this->r['tpl']->assign ("Profile""sLengte"$this->r['functions']->strip ($fProfile['extra_lengte']));
                                    
$this->r['tpl']->assign ("Profile""sGewicht"$this->r['functions']->strip ($fProfile['extra_gewicht']));
                                    
$this->r['tpl']->assign ("Profile""sSchoenmaat"$this->r['functions']->strip ($fProfile['extra_schoenmaat']));
                                    
$this->r['tpl']->assign ("Profile""sOogkleur"$this->r['functions']->strip ($fProfile['extra_kleur']));
                                    
$this->r['tpl']->assign ("Profile""sHaarkleur"$this->r['functions']->strip ($fProfile['extra_haarkleur']));
                                    
$this->r['tpl']->assign ("Profile""sRoken"$this->r['functions']->strip ($fProfile['extra_roken']));
                                    
$this->r['tpl']->assign ("Profile""sPiercing"$this->r['functions']->strip ($fProfile['extra_piercings']));
                                    
$this->r['tpl']->assign ("Profile""sTattoo"$this->r['functions']->strip ($fProfile['extra_tattoo']));
                                    
$this->r['tpl']->assign ("Profile""sDresscode"$this->r['functions']->strip ($fProfile['extra_dresscode']));
                                    
$this->r['tpl']->assign ("Profile""sGeaardheid"$this->r['functions']->strip ($fProfile['extra_geaardheid']));
                                    
$this->r['tpl']->assign ("Profile""sRelatie"$this->r['functions']->strip ($fProfile['extra_relatie']));
                                    
$this->r['tpl']->assign ("Profile""sHobbies"$this->r['functions']->strip ($fProfile['extra_hobbies']));
                                    
$this->r['tpl']->assign ("Profile""sSport"$this->r['functions']->strip ($fProfile['extra_sport']));
                                    
$this->r['tpl']->assign ("Profile""sMuzieksoort"$this->r['functions']->strip ($fProfile['extra_muzieksoort']));
                                    
$this->r['tpl']->assign ("Profile""sSchool"$this->r['functions']->strip ($fProfile['extra_school']));
                                    
$this->r['tpl']->assign ("Profile""sPartyplace"$this->r['functions']->strip ($fProfile['extra_partyplace']));
                                    
$this->r['tpl']->assign ("Profile""sTvserie"$this->r['functions']->strip ($fProfile['extra_tvserie']));
                                    
$this->r['tpl']->assign ("Profile""sFilm"$this->r['functions']->strip ($fProfile['extra_film']));
                                    
$this->r['tpl']->assign ("Profile""sDrank"$this->r['functions']->strip ($fProfile['extra_drank']));
                                    
$this->r['tpl']->assign ("Profile""sVervoer"$this->r['functions']->strip ($fProfile['extra_vervoer']));
                                    
$this->r['tpl']->assign ("Profile""sIdool"$this->r['functions']->strip ($fProfile['extra_idool']));
                                    
$this->r['tpl']->assign ("Profile""sVakantieland"$this->r['functions']->strip ($fProfile['extra_vakantieland']));
                                    
$this->r['tpl']->assign ("Profile""sDroom"$this->r['functions']->strip ($fProfile['extra_droom']));

 
                                    
## Interesses
                                    
$this->r['tpl']->assign ("Profile""Eten"$this->r['functions']->strip ($fProfile['eten']));
                                    
$this->r['tpl']->assign ("Profile""Muziek"$this->r['functions']->strip ($fProfile['muziek']));
                                    
$this->r['tpl']->assign ("Profile""Merken"$this->r['functions']->strip ($fProfile['merken']));

                                    
$sInteresses = array ('Eten''Muziek''Merken''Tv''Games''Reizen''Boeken');
                                    foreach (
$sInteresses AS $key => $content) {
                                          
$this->r['tpl']->assign ("Interesses_R""sNaam"$content);
                                          
$this->r['tpl']->assign ("Interesses_R""sInteresses"$this->r['functions']->strip ($fProfile[strtolower ($content)]).','.$this->r['functions']->strip ($fProfile[strtolower ($content.'_extra')]));
                                          
$this->r['tpl']->Parse ("Profile""Interesses_R");
                                    }


                                    if(isset (
$fProfile['ballon']) && !empty ($fProfile['ballon']) && $fProfile['vip'] == 1) {
                                          
$this->r['tpl']->assign ("sBallon""sTekst"$this->r['functions']->strip ($fProfile['ballon'], 70));
                                          
$this->r['tpl']->Parse ("Profile""sBallon");
                                    }
                                    
                                    
## Berichtjes -> 'krabbels'
                                    
$this->_berichten ('profiel''Berichten''Profile''members/profile/'.$fProfile['pid'].'/');                    

                                    
## Videos
                                    
$sVideo $this->r['sql']->query ("SELECT * FROM video WHERE profile_id = '".$fProfile['pid']."' ORDER BY datum DESC LIMIT 0, 3");
                                    if(
$this->r['sql']->rows ($sVideo)) {
                                          while (
$fVideo $this->r['sql']->fetch ($sVideo)) {
                                                if(
$this->r['client']->ingelogd == && $this->r['user']['pid'] != $fVideo['profile_id']) 
                                                      
$this->r['tpl']->assign ("Video_R""sToevoegen"'&nbsp;<a href="'.$this->r['cfg']->adres_met.'/panel/video_aanlijst/'.$fVideo['pid'].'"><img src="<global sAdres>/views/images/toevoegen.png" alt="Deze video op jouw profiel zetten" border="0" /></a>');

                                                if(
$this->r['client']->ingelogd == && ( $this->r['user']['pid'] == $fVideo['profile_id'] || $this->r['user']['status'] == 'Beheerder')) {
                                                      
$this->r['tpl']->assign ("vBeheer""sPid"$this->r['functions']->strip ($fVideo['pid']));
                                                      
$this->r['tpl']->Parse ("Video_R""vBeheer");
                                                }
                                                
$this->r['tpl']->assign ("Video_R""sUid"$this->r['functions']->strip ($fVideo['profile_id']));
                                                
$this->r['tpl']->assign ("Video_R""sTitel"$this->r['functions']->strip ($fVideo['titel']));
                                                
$this->r['tpl']->assign ("Video_R""sInhoud"stripslashes ($this->r['functions']->youtube_vriendelijk ($fVideo['inhoud'])));
                                                
$this->r['tpl']->Parse ("Profile""Video_R");
                                          }
                                    }
                                    else 
$this->r['tpl']->Parse ("Profile""Video_Geen");
                                    
                                    
## Bekeken + 1
                                    
$this->r['sql']->query ("UPDATE ##profielen SET bekeken = bekeken + 1 WHERE pid = '".mysql_real_escape_string ($fProfile['pid'])."'");
                                    
                                    
$this->r['tpl']->assign ("Profile""sProfieltekst"nl2br ($this->r['functions']->strip ($fProfile['omschrijving'])));
                                    
                                    if(
$this->r['client']->ingelogd == && $this->r['user']['status'] == 'Beheerder') {
                                          
$this->r['tpl']->assign ("Prbeheer""sProfile_id"$this->r['key']);
                                          
$this->r['tpl']->Parse ("Profile""Prbeheer");
                                    }

                                    if(
$fProfile['vip'] != 1) {
                                          
$sReclame $this->r['sql']->query ("SELECT * FROM reclame ORDER BY RAND()");
                                          if(
$this->r['sql']->rows ($sReclame)) {
                                                
$fReclame $this->r['sql']->fetch ($sReclame);

                                                
$this->r['tpl']->assign ("Profile""sReclame"''.stripslashes ($fReclame['reclame']));
                                          }    
                                    }
                                    
$this->r['tpl']->Parse ("Profile");

                                    
                                    

                              }
                        }
                 }
                 else 
$this->r['functions']->redirect ('Fout''Deze profielpagina bestaat niet (meer) of dit account is (nog) niet geactiveerd.'''3);

        }
        else 
$this->r['functions']->redirect ('Fout''Je hebt geen profielid meegegeven.'''3);
    echo 
$this->r['tpl']->_error (1);
    }
}
?>

Laatst gewijzigd door Lodewijk op 2011-06-05 17:29:41
05-06-2011 17:28
Dit topic is 413 keer bekeken door 53 verschillende leden
Reacties op: "Fout op lijn 262"
1
Vreemd
Berichten: 1246
avatar
Offline Stuur privébericht
De foutmelding geven zou wel zo aardig zijn.
Ik heb geen zin om een account aan te maken.
En ik zie op regel 262 niet een of andere syntax error, dus zou ik moeten raden wat de fout is. Waar ik geen zin ik heb.
05-06-2011 18:46
Berichten: 13
avatar
Offline Stuur privébericht
Sorry je hebt gelijk, dit is de fout die weergeven word.

Warning: Cookie names can not contain any of the following '=,; \t\r\n\013\014' in /home/chilple/domains/chilplek.nl/public_html/controllers/members.php on line 262
05-06-2011 22:24
thexeroxprojects.be
Berichten: 352
avatar
Offline Stuur privébericht
Allereerst, 1077 regels code op 1 pagina. Auwtch! Dit is echt niet te onderhouden!

+ De fout geeft aan dat je in de cookie een character probeert te steken die niet worden ondersteund in cookies ..
05-06-2011 22:42
Vreemd
Berichten: 1246
avatar
Offline Stuur privébericht
De waarde van $this->r['cfg']->cookie is dus niet geschikt als naam voor een cookie, doe hier iets aan.
05-06-2011 22:49
Berichten: 13
avatar
Offline Stuur privébericht
Hoe zou ik dat moeten doen?

K ben eigenlijk een noob met websites. Als iemand mij kan garanderen dat die de website online en werkend naar wensen kan maken, ben ik ook bereid daar voor een vergoeding te betalen.

Er moeten namelijk hier en daar wat kleine veranderingen plaats vinden.

Iemand die mij verder op weg kan helpen?
05-06-2011 22:57
Reageer op: "Fout op lijn 262"
1
Je kan niet reageren omdat je niet bent ingelogd. Inloggen of Aanmelden