HTH-C.com - Forum
Latest News Latest Threads
Neuerung: Persönliche Galerie
Informationen zur Übernahme der Erweite..
HTH Blog - Version 2.0
#HTH.Systems - Betatester gesucht
Neueröffnung - PHPKit-Award.de
HTH Webchat v3
Letzter Beitrag Happy Birthday Bottyline Weiblicher Benutzer Heute, 0:00 Zeit der letzten Antwort
Letzter Beitrag PHPKit 1.6.6 Treffnix Männlicher Benutzer 14.03.2024 - 06:20 Zeit der letzten Antwort
Letzter Beitrag Gibt es eigentlich noch jemand der PHPki.. Treffnix Männlicher Benutzer 14.03.2024 - 06:19 Zeit der letzten Antwort
Letzter Beitrag Herzlich Willkommen Botty Männlicher Benutzer 22.02.2024 - 13:50 Zeit der letzten Antwort
Letzter Beitrag PHPKit 1.6.6 ohne ASCE auf PHP8x Myrddin Männlicher Benutzer 22.03.2023 - 13:36 Zeit der letzten Antwort
 53.542 Posts & 4.945 Themen in 78 Foren
Forenübersicht » Support / Hilfe » PHPKit 1.6.03 & 1.6.1 » Support » Probleme mit Profil

Probleme mit Profil
3 Beiträge in diesem Thema
 Seiten (1):    1  
02.08.2007 - 00:35 Uhr
Beitrag: #1
Moin Leutz,

im Moment ist wieder der Wurm bei mir drin. Wenn ich auf mein Profil klicke und dann auf Optionen(Avatar und Foto und so) dann kommt ein weißer Bildschirm und diese Meldung:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /mnt/web4/52/04/51565604/htdocs/radio/login/extoption.php on line 87

@Webi
Nach dem Du die Datei zurechtgestrickt hast ,tread dazu ist hier ,habe ich nichts mehr geändert.

exoption.php



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106

Quellcode

<?php  
$userinfo
=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['user']." WHERE user_name='".$USER['name']."' AND user_pw='".$USER['pass']."' AND user_id='".$USER['id']."' LIMIT 1"));  
if (
$userinfo['user_profillock']==1) {header ("location: include.php?event=40"); exit();}  
elseif (
$USER['id']!='' && $USER['id']!=0) {  
if (isset(
$_POST['action'])) $ACTION=$_POST['action'];  
else 
$ACTION='view';  
if (
$ACTION==$_POST['save']) {  
if (
$_POST['profil_delete']==1) {header ("location: include.php?path=login/extdelete.php"); exit();}  
session_unregister("USER['sigoption']");  
session_register ("USER['sigoption']");  
$HTTP_SESSION_VARS['USER']['sigoption']=$_SESSION['USER']['sigoption']=$_POST['new_sigoption'];  
session_unregister("USER['design']");  
session_register ("USER['design']");  
$HTTP_SESSION_VARS['USER']['design']=$_SESSION['USER']['design']=$_POST['user_design'];  
session_unregister("USER['imoption']");  
session_register ("USER['imoption']");  
$HTTP_SESSION_VARS['USER']['imoption']=$_SESSION['USER']['imoption']=$_POST['new_imoption'];  
$DB->query("UPDATE ".$db_tab['user']." SET user_design='".intval($_POST['user_design'])."', user_imoption='".intval($_POST['new_imoption'])."', user_imnotify='".intval($_POST['new_imnotify'])."', user_sigoption='".intval($_POST['new_sigoption'])."', user_nloption='".intval($_POST['new_nloption'])."', user_ghost='".intval($_POST['ghost_option'])."', user_quickpost='".intval($_POST['quickpost'])."' WHERE user_id='".$USER['id']."'");  
header ("location: include.php?path=login/extoption.php"); exit();  
}  
if (isset(
$_REQUEST['setavatar']) && $config['avatar_eod']!="0") {  
if (
$_REQUEST['unset']==1) {  
if (
strstr($_REQUEST['setavatar'],'avauser')) {  
$name=$config['avatar_path']."/avauser_".$USER['id'].".";  
@
unlink($name.'gif');  
@
unlink($name.'jpg');  
@
unlink($name.'png');  
}  
unset(
$_REQUEST['setavatar']);  
}  
$DB->query("UPDATE ".$db_tab['user']." SET user_avatar='".addslashes($_REQUEST['setavatar'])."' WHERE user_id='".$USER['id']."'");  
header ("location: include.php?path=login/extoption.php"); exit();  
}  
// Foto-Modifikation Start #1  
if (isset($_REQUEST['setfoto']) && getrights($config['foto_eod']) && $config['foto_eod']!="0") {  
if (
$_REQUEST['unset']==1) {  
if (
strstr($_REQUEST['setfoto'],'fotouser')) {  
$name=$config['avatar_path']."/fotouser_".$USER['id'].".";  
@
unlink($name.'gif');  
@
unlink($name.'jpg');  
@
unlink($name.'png');  
}  
unset(
$_REQUEST['setfoto']);  
}  
$DB->query("UPDATE ".$db_tab['user']." SET user_foto='".addslashes($_REQUEST['setfoto'])."' WHERE user_id='".$USER['id']."'");  
header ("location: include.php?path=login/extoption.php"); exit();  
}  
// Foto-Modifikation Ende #1  
if ($userinfo['user_imoption']==1$im_option1=' checked';  
else 
$im_option0=' checked';  
if (
$userinfo['user_imnotify']==1$im_imnotify1=' checked';  
else 
$im_imnotify0=' checked';  
if (
$userinfo['user_sigoption']==1$im_sigoption1=' checked';  
else 
$im_sigoption0='checked';  
if (
$userinfo['user_nloption']==1$nl_option1=' checked';  
else 
$nl_option0=' checked';  
/// quickpost start \\  
if($userinfo['user_quickpost']==0)  
$quickpost0='selected';  
elseif(
$userinfo['user_quickpost']==1)  
$quickpost1='selected';  
else  
$quickpost2='selected';  
/// quickpost ende \\  
if ($config['user_ghost']==1) {  
if (
$userinfo['user_ghost']==1$ghost_option1=' checked';  
else 
$ghost_option0=' checked';  
eval (
"\$ghost_eod= \"".getTemplate("extoption_ghost")."\";");  
}  
if (
$config['user_design']==1) {  
unset(
$style_option);  
$getstyles=$DB->query("SELECT style_id, style_name FROM ".$db_tab['style']." WHERE style_user=1 OR style_id='".$config['site_style']."' ORDER by style_name ASC");  
while(
$styleinfo=$DB->fetch_array($getstyles)) {  
$style_option.='<option value="'.$styleinfo['style_id'].'"';  
if (
$userinfo['user_design']==$styleinfo['style_id']) $style_option.=' selected';  
$style_option.='>'.$styleinfo['style_name'].'</option>';  
}  
if (
$style_option) eval ("\$style_option= \"".getTemplate("extoption_style")."\";");  
}  
if (
$config['avatar_eod']==or $config['avatar_eod']==2) {  
if (
$userinfo['user_avatar']!='' && @filecheck($config['avatar_path']."/".$userinfo['user_avatar'])) {  
$avatar_dimension=@getimagesize($config['avatar_path']."/".$userinfo['user_avatar']);  
eval (
"\$avatar_show= \"".getTemplate("user_avatar_show")."\";");  
eval (
"\$avatar_deselect= \"".getTemplate("extoption_avatar_deselect")."\";");  
}  
if (
$config['avatar_eod']==2) {eval ("\$avatar_upload= \"".getTemplate("extoption_avatar_upload")."\";");}  
eval (
"$avatar_eod= "".getTemplate("extoption_avatar")."";");  
}  
include (
"login/inc.nav_user.php");  
if (
$config['user_delete']==or $config['user_delete']==2) {eval ("\$extoption_delete= \"".getTemplate("extoption_delete")."\";");}  
// Foto-Modifikation Start #2  
if (getrights($config['foto_eod']) && $config['foto_eod']!="0" && $config['foto_eod']!="") {  
if (
$userinfo['user_foto']!='' && @filecheck($config['avatar_path']."/".$userinfo['user_foto']))  
{  
$foto_dimension=@getimagesize($config['avatar_path']."/".$userinfo['user_foto']);  
eval (
"\$foto_show= \"".getTemplate("user_foto_show")."\";");  
eval (
"\$foto_deselect= \"".getTemplate("extoption_foto_deselect")."\";");  
}  
eval (
"\$foto_upload= \"".getTemplate("extoption_foto_upload")."\";");  
eval (
"\$foto_eod= \"".getTemplate("extoption_foto")."\";");  
}  
// Foto-Modifikation Ende #2  
eval ("\$site_body.= \"".getTemplate("extoption")."\";");  
}  
else {
$event=1; include("admin/config/event.php");}  
?>   


 
Zum Anfang der Seite
02.08.2007 - 03:05 Uhr
Beitrag: #2
Nutze diesen Code:

Hier klicken zum aufklappen


mfG

 
Zum Anfang der Seite
02.08.2007 - 10:49 Uhr
Beitrag: #3
Jupp,

wie immer perfekten Support      

hth-c.com da werden Sie geholfen  zwinkern

Danke!

 
Zum Anfang der Seite
 Seiten (1):    1  

Ähnliche Themen
 
Support Support » probleme bei profil darstellung - Letzte Antwort von k!r!ka am 14.04.09, 00:28 probleme bei profil darstellung  (14.04.09, 00:28)
Support Support » Profil Ändern - Letzte Antwort von Jardin am 19.06.08, 08:30 Profil Ändern  (19.06.08, 08:30)
Modifikationen Modifikationen » skype im profil - Letzte Antwort von Freddie am 18.05.08, 23:17 skype im profil  (18.05.08, 23:17)
Support Support » Usermap Profil - Letzte Antwort von Skinamp am 18.08.07, 12:03 Usermap Profil  (18.08.07, 12:03)
Support Support » Profil probs - Letzte Antwort von spider02 am 14.03.09, 07:32 Profil probs  (14.03.09, 07:32)

HTH-C.com - Webmedien & Community