fehler beim öffnen von PN center
Hallo,
habe folgendes problem: sobald ich auf pn center klicke kommt folgende meldung:
Parse error: syntax error, unexpected $end in /usr/export/www/vhosts/funnetwork/hosting/fighters11/page/pkinc/public/privatemessages.php on line 532
ich weiß nicht woher... das einzige was ich dort geändert habe ist den cautions hack hinzugefügt! habe auch den popup generator wenn eine neue mail kommt, aber der hat mit dieser datei die im fehler kommt nichts zu tun...
hat jemand eine idee woran es liegen könnte?
habe folgendes problem: sobald ich auf pn center klicke kommt folgende meldung:
Parse error: syntax error, unexpected $end in /usr/export/www/vhosts/funnetwork/hosting/fighters11/page/pkinc/public/privatemessages.php on line 532
ich weiß nicht woher... das einzige was ich dort geändert habe ist den cautions hack hinzugefügt! habe auch den popup generator wenn eine neue mail kommt, aber der hat mit dieser datei die im fehler kommt nichts zu tun...
hat jemand eine idee woran es liegen könnte?
also das hier ist die datei privatmessages.php:
und das hier die stelle der anleitung:
alles was ich eingefügt habe ist doch vollständig ?
|
|
Quellcode |
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 |
<?php
# PHPKIT WCMS | Web Content Management System
#
#
# YOU ARE NOT AUTHORISED TO CREATE ILLEGAL COPIES OF THIS
# FILE AND/OR TO REMOVE THIS INFORMATION
#
# SIE SIND NICHT BERECHTIGT, UNRECHTMÄSSIGE KOPIEN DIESER
# DATEI ZU ERSTELLEN UND/ODER DIESE INFORMATIONEN ZU ENTFERNEN
#
# This file / the PHPKIT software is no freeware! For further
# information please visit our website or contact us via email:
#
# Diese Datei / die PHPKIT Software ist keine Freeware! Für weitere
# Informationen besuchen Sie bitte unsere Website oder kontaktieren uns per E-Mail:
#
# email : info@phpkit.com
# website : http://www.phpkit.com
# licence : http://www.phpkit.com/licence/phpkit
# copyright : Copyright (c) 2002-2009 mxbyte gbr | http://www.mxbyte.com
if(!defined('pkFRONTEND') || pkFRONTEND!='public')
die('Direct access to this location is not permitted.');
if(!intval(pkGetUservalue('id')))
{
pkEvent('access_refused');
return;
}
if(intval(pkGetUservalue('id')) && !pkGetUservalue('imoption'))
{
pkEvent('privatemessages_disabled',false);
return;
}
$imid=(isset($_REQUEST['imid']) && intval($_REQUEST['imid'])>0) ? intval($_REQUEST['imid']) : ((isset($_REQUEST['imid']) && $_REQUEST['imid']=='new') ? 'new' : 0);
$view=(isset($_REQUEST['view']) ? (intval($_REQUEST['view'])>0 ? intval($_REQUEST['view']) : ($_REQUEST['view']=='receive' || $_REQUEST['view']=='send' ? $_REQUEST['view'] : 'all')) : 'all');
pkLoadFunc('user');
$user_navigation=pkUserNavigation();
if(intval($_REQUEST['userid'])>0)
$_REQUEST['writeim']=1;
if(isset($_POST['action']))
$ACTION=$_POST['action'];
elseif(isset($_REQUEST['show']))
{
$imid=addslashes($_REQUEST['show']);
$ACTION=$_REQUEST['show'];
}
else
$ACTION='view';
if($ACTION==$_POST['cancel'])
{
header("location: include.php?path=privatemessages");
exit();
}
elseif($ACTION==$_POST['reply'] && isset($imid))
{
header("location: include.php?path=privatemessages&reply=".$imid."&writeim=1");
exit();
}
elseif($ACTION==$_POST['forward'] && isset($imid))
{
header("location: include.php?path=privatemessages&reply=".$imid."&forward=1&writeim=1");
exit();
}
elseif($ACTION==$_POST['next'])
{
header("location: include.php?path=privatemessages&imid=new");
exit();
}
elseif($ACTION==$_POST['delete'])
{
unset($sqlcommand);
if(is_array($_POST['delim_received']))
{
foreach ($_POST['delim_received'] as $id)
{
if($sqlcommand)
$sqlcommand.=" OR im_id='".intval($id)."'";
/********************* CAUTION Anfang *********************/
else {
$sqlcommand="UPDATE ".pkSQLTAB_USER_PRIVATEMESSAGE." SET im_del=1 WHERE im_to='".$SQL->i(pkGetUservalue('id'))."' AND (im_id='".intval($id)."'";
$SQL->query("UPDATE `".pkSQLTAB_WARNSYS."` SET `warn_im_delete`=1, `warn_im_delete_time`='".pkTIME."' WHERE `warn_im_id`='".$id."'");
}
/********************* CAUTION Ende ***********************/
if($sqlcommand)
$SQL->query($sqlcommand.")");
}
unset($sqlcommand);
if(is_array($_POST['delim_send']))
{
foreach($_POST['delim_send'] as $id)
{
if($sqlcommand)
$sqlcommand.=" OR im_id='".intval($id)."'";
else
$sqlcommand="UPDATE ".pkSQLTAB_USER_PRIVATEMESSAGE." SET im_delautor=1 WHERE im_autor='".$SQL->i(pkGetUservalue('id'))."' AND (im_id='".intval($id)."'";
}
if($sqlcommand)
$SQL->query($sqlcommand.")");
}
/********************* CAUTION Anfang *********************/
if(isset($imid) && $_REQUEST['deltype']=='to'){
$SQL->query("UPDATE ".pkSQLTAB_USER_PRIVATEMESSAGE." SET im_del=1 WHERE im_to='".$SQL->i(pkGetUservalue('id'))."' AND im_id='".$imid."'");
$SQL->query("UPDATE `".pkSQLTAB_WARNSYS."` SET `warn_im_delete`=1, `warn_im_delete_time`='".pkTIME."' WHERE `warn_im_id`='".$imid."'");
}
/********************* CAUTION Ende ***********************/
if(isset($imid) && $_REQUEST['deltype']=='autor')
$SQL->query("UPDATE ".pkSQLTAB_USER_PRIVATEMESSAGE." SET im_delautor=1 WHERE im_autor='".$SQL->i(pkGetUservalue('id'))."' AND im_id='".$imid."'");
pkHeaderLocation('privatemessages');
}
#(auto)prune function
if(mt_rand(1,20)==7)
{
$SQL->query("DELETE FROM ".pkSQLTAB_USER_PRIVATEMESSAGE." WHERE (im_del=1 AND im_delautor=1) ".
(pkGetConfig('user_pndelete') ? " OR im_time<'".(pkTIME - pkGetConfig('user_pndelete')*86400)."'" : ''));
}
if($imid)
{
if($imid=='new')
$sqlcommand="im_to='".$SQL->i(pkGetUservalue('id'))."' AND im_view=0 ORDER BY im_id DESC";
else
$sqlcommand="im_id='".$imid."' AND (im_to='".$SQL->i(pkGetUservalue('id'))."' OR im_autor='".$SQL->i(pkGetUservalue('id'))."')";
if($iminfo=$SQL->fetch_assoc($SQL->query("SELECT * FROM ".pkSQLTAB_USER_PRIVATEMESSAGE." WHERE ".$sqlcommand." LIMIT 1")))
{
pkLoadClass($BBCODE,'bbcode');
if($iminfo['im_to']!=pkGetUservalue('id'))
$userid=$iminfo['im_to'];
else
{
$userid=$iminfo['im_autor'];
/********************* CAUTION Anfang *********************/
if ($iminfo['im_view']!=1) {
$SQL->query("UPDATE ".pkSQLTAB_USER_PRIVATEMESSAGE." SET im_view=1, im_viewtime='".pkTIME."' WHERE im_id='".$iminfo['im_id']."'");
$SQL->query("UPDATE `".pkSQLTAB_WARNSYS."` SET `warn_aktiv`=1, `warn_im_read`='".pkTIME."' WHERE `warn_im_id`='".$iminfo['im_id']."'");
}
/********************* CAUTION Ende ***********************/
unset($imstatus_info);
if(intval($imstatus_info=imstatus())>0)
eval("\$im_nextnew= \"".pkTpl("imcenter_show_nextnew")."\";");
eval("\$im_option= \"".pkTpl("imcenter_show_received_option")."\";");
}
if($userid>0)
$userinfo=$SQL->fetch_array($SQL->query("SELECT user_id, user_nick FROM ".pkSQLTAB_USER." WHERE user_id='".$userid."' LIMIT 1"));
else
$userinfo='system';
if($userinfo!='system')
{
$userinfo['user_nick']=pkEntities($userinfo['user_nick']);
eval("\$im_autor= \"".pkTpl("member_showprofil_textlink")."\";");
}
else
$im_autor=$lang['system_message'];
$im_time=formattime($iminfo['im_time']);
$im_title=pkEntities($iminfo['im_title']);
$im_text=$BBCODE->parse($iminfo['im_text'],0,$config['text_ubb'],$config['text_smilies'],$config['text_images'],1,pkGetConfig('user_imageresize'),pkGetConfig('user_textwrap'));
if($im_option=='')
{
eval("\$im_option= \"".pkTpl("imcenter_show_delete_option")."\";");
}
$lang_pn_message_fromto = $iminfo['im_to']==$userid ? $lang['receiver'] : $lang['sender'];
$lang_pn_message_title = $iminfo['im_to']==$userid ? $lang['private_message_sent'] : $lang['private_message_received'];
eval("\$site_body.= \"".pkTpl("imcenter_show")."\";");
}
else
{
pkEvent('privatemessage_not_found');
}
}
elseif(isset($_REQUEST['writeim']))
{
if($ACTION==$_POST['send'])
{
pkLoadLang('error');
$userinfo = array('user_id' => 0);
$im_receiver=$_POST['im_receiver'];
$im_title=$_POST['im_title'];
$im_text=$_POST['content'];
if(trim($im_receiver)!='')
{
$userinfo = $SQL->fetch_assoc($SQL->query("SELECT
user_id,
user_imoption,
user_imnotify,
user_email,
user_nick
FROM ".pkSQLTAB_USER."
WHERE user_nick='".$SQL->f($im_receiver)."' LIMIT 1"));
}
if($userinfo['user_id'] && $userinfo['user_id']!=pkGetUserValue('id'))
{
if($userinfo['user_imoption']==1)
{
if(trim($im_title)!='' && trim($im_text)!='')
{
if($_POST['im_savemessage']==1)
$delmessage=0;
else
$delmessage=1;
$SQL->query("INSERT INTO ".pkSQLTAB_USER_PRIVATEMESSAGE."
(im_to, im_autor, im_title, im_text, im_time, im_delautor) VALUES
('".$userinfo['user_id']."','".$SQL->i(pkGetUservalue('id'))."','".$SQL->f($im_title)."','".$SQL->f($im_text)."',
'".pkTIME."','".$delmessage."')");
$newimid=$SQL->insert_id();
pkLoadLang('email');
$usernick = $userinfo['user_nick'];
$author = pkGetUservalue('nick');
$link = pkGetConfig('site_url').'/include.php?path=privatemessages&imid='.$newimid;
$imnotify_text = pkGetSpecialLang('pncenter_mail_notify',$usernick,pkGetConfig('site_name'),$author,$im_title,$link);
if($userinfo['user_imnotify']==1)
{
mailsender($userinfo['user_email'],$config['site_name'].': '.$lang['new_instantmessage'],$imnotify_text);
}
pkHeaderLocation('privatemessages');
}
else
{
# title or text empty
$write_error=$lang['error_privatemessages_data_incomplete'];
}
}
else
{
# receiver does not accept pn's
$write_error=$lang['error_privatemessages_receiving_disabled'];
}
}
elseif($userinfo['user_id'] == pkGetUserValue('id'))
{ # cant send pns to yourself
$write_error = $lang['error_privatemessages_no_send_self'];
}
else
{
# receiver not found
$write_error=$lang['error_privatemessages_receiver_not_found'];
}
eval("\$write_error= \"".pkTpl("imcenter_write_error")."\";");
}
if(intval($_REQUEST['reply'])>0)
{
if($iminfo=$SQL->fetch_assoc($SQL->query("SELECT im_text, im_time, im_autor, im_title
FROM ".pkSQLTAB_USER_PRIVATEMESSAGE."
WHERE im_to='".$SQL->i(pkGetUservalue('id'))."' AND im_id='".$SQL->i($_REQUEST['reply'])."' LIMIT 1")))
{
list($iminfo_autor)=$SQL->fetch_row($SQL->query("SELECT user_nick FROM ".pkSQLTAB_USER." WHERE
user_id='".$iminfo['im_autor']."' LIMIT 1"));
$iminfo_autor=$iminfo_autor;
$iminfo_time=formattime($iminfo['im_time']);
$iminfo_title=$iminfo['im_title'];
$iminfo_text=pkEntities($iminfo['im_text']);
if(isset($_REQUEST['forward']))
$im_title="Fw: ".pkEntities($iminfo_title);
else
{
$im_title="Re: ". pkEntities($iminfo_title);
$im_autor=$iminfo_autor;
}
eval("\$iminfo_text= \"".pkTpl("imcenter_writeform_reply")."\";");
}
}
if(intval($_REQUEST['postid'])>0 && intval($_REQUEST['threadid'])>0)
{
$im_title=pkGetLang('report_forumsposting_title');
$iminfo_text='[url=include.php?path=forumsthread&threadid='.intval($_REQUEST['threadid']).'&postid='.intval($_REQUEST['postid']).']'.pkGetLang('report_forumsposting_namelink').'[/url]';
}
if(intval($_REQUEST['userid'])>0)
{
$userinfo=$SQL->fetch_array($SQL->query("SELECT user_nick FROM ".pkSQLTAB_USER." WHERE user_id='".intval($_REQUEST['userid'])."' LIMIT 1"));
$im_autor=$userinfo['user_nick'];
}
if(trim($_POST['im_receiver'])=='')
$im_receiver=pkEntities($im_autor);
else
$im_receiver=pkEntities($_POST['im_receiver']);
if(trim($_POST['im_title'])=='')
$im_title=$im_title;
else
$im_title=pkEntities($_POST['im_title']);
if(trim($_POST['content'])=='')
$im_text=$iminfo_text;
else
$im_text=pkEntities($_POST['content']);
if($_POST['im_savemessage']==1)
$savemessage='checked';
if($config['text_ubb']==1)
eval("\$sign_format.= \"".pkTpl("format_text")."\";");
if($config['text_smilies']==1)
{
$smilies=new smilies();
$sign_format.=$smilies->getSmilies("1");
}
if($sign_format!="")
eval("\$sign_format= \"".pkTpl("format_table")."\";");
eval("\$site_body.= \"".pkTpl("imcenter_writeform")."\";");
}
else
{
pkLoadLang('profile');
if($_REQUEST['order']=='time')
{
$order1="up";
$order="ASC";
}
else
{
$order="DESC";
}
unset($sqlcommand);
$counternew=0;
$getiminfo=$SQL->query("SELECT
*
FROM ".pkSQLTAB_USER_PRIVATEMESSAGE."
WHERE ((im_to='".$SQL->i(pkGetUservalue('id'))."' AND im_del<>1) OR
(im_autor='".$SQL->i(pkGetUservalue('id'))."' AND im_delautor<>1))".
(pkGetConfig('user_pndelete') ? " AND im_time>'".(pkTIME - pkGetConfig('user_pndelete')*86400)."'" : '')."
ORDER by im_time ".$order);
while($iminfo=$SQL->fetch_array($getiminfo))
{
if($iminfo['im_to']==pkGetUservalue('id') && $iminfo['im_del']!=1)
{
if($iminfo['im_view']==0)
$counternew++;
$iminfo_receive_hash[]=$iminfo;
if($iminfo['im_autor']>0)
{
if($sqlcommand)
$sqlcommand.=" OR user_id='".$iminfo['im_autor']."'";
else
$sqlcommand="SELECT * FROM ".pkSQLTAB_USER." WHERE user_id='".$SQL->i($iminfo['im_autor'])."'";
}
}
if($iminfo['im_autor']==pkGetUservalue('id') && $iminfo['im_delautor']!=1)
{
$iminfo_send_hash[]=$iminfo;
if($sqlcommand)
$sqlcommand.=" OR user_id='".$iminfo['im_to']."'";
else
$sqlcommand="SELECT * FROM ".pkSQLTAB_USER." WHERE user_id='".$SQL->i($iminfo['im_to'])."'";
}
}
if($sqlcommand)
{
$getuserinfo=$SQL->query($sqlcommand);
while($userinfo=$SQL->fetch_array($getuserinfo))
{
$userinfo_hash[$userinfo['user_id']]=$userinfo;
}
}
if($view!='send')
{
unset($receive_body);
unset($row);
if(is_array($iminfo_receive_hash))
{
foreach($iminfo_receive_hash as $iminfo)
{
$row=rowcolor($row);
$iminfo_title=pkEntities(pkStringCut($iminfo['im_title'],25));
$iminfo_time=formattime($iminfo['im_time']);
if($iminfo['im_autor']>0)
{
$userinfo=$userinfo_hash[$iminfo['im_autor']];
$userinfo['user_nick']=pkEntities($userinfo['user_nick']);
eval("\$iminfo_autor= \"".pkTpl("member_showprofil_textlink")."\";");
}
else
$iminfo_autor=$lang['system_message'];
if($iminfo['im_view']==1)
{
$im_viewtime=formattime($iminfo['im_viewtime']);
eval("\$im_status= \"".pkTpl("imcenter_received_status_viewed")."\";");
}
else
eval("\$im_status= \"".pkTpl("imcenter_received_status_new")."\";");
eval("\$receive_body.= \"".pkTpl("imcenter_receive_row")."\";");
}
}
if(!isset($receive_body))
eval("\$receive_body= \"".pkTpl("imcenter_empty")."\";");
else
eval("\$receive_body= \"".pkTpl("imcenter_receive_body")."\";");
eval("\$imcenter_receive= \"".pkTpl("imcenter_receive")."\";");
}
if($view!='receive')
{
unset($send_body);
unset($row);
if(is_array($iminfo_send_hash))
{
foreach($iminfo_send_hash as $iminfo)
{
$row=rowcolor($row);
$iminfo_title=pkEntities(pkStringCut($iminfo['im_title'],25));
$iminfo_time=formattime($iminfo['im_time']);
$userinfo=$userinfo_hash[$iminfo['im_to']];
$userinfo['user_nick']=pkEntities($userinfo['user_nick']);
if($iminfo['im_view']==1)
{
$im_viewtime=formattime($iminfo['im_viewtime']);
eval("\$im_status= \"".pkTpl("imcenter_send_status_viewed")."\";");
}
else
eval("\$im_status= \"".pkTpl("imcenter_send_status_new")."\";");
eval("\$im_autor= \"".pkTpl("member_showprofil_textlink")."\";");
eval("\$send_body.= \"".pkTpl("imcenter_send_row")."\";");
}
}
if(!isset($send_body))
eval("\$send_body= \"".pkTpl("imcenter_empty")."\";");
else
eval("\$send_body= \"".pkTpl("imcenter_send_body")."\";");
eval("\$imcenter_send= \"".pkTpl("imcenter_send")."\";");
}
$h=array();
if($view=='send') {$h[4]='<b>'; $h[5]='</b>';}
elseif($view=='receive') {$h[2]='<b>'; $h[3]='</b>';}
else {$h[0]='<b>'; $h[1]='</b>';}
$countertotal=0;
$countersend=0;
$counterreceive=0;
if(is_array($iminfo_receive_hash))
$countertotal+=$counterreceive=count($iminfo_receive_hash);
if(is_array($iminfo_send_hash))
$countertotal+=$countersend=count($iminfo_send_hash);
if($counternew>0)
eval("\$imcenter_new= \"".pkTpl("imcenter_new")."\";");
$lang_pncenter_message=pkGetLang('pncenter_message').
pkGetSpecialLang('pncenter_message_delete',pkGetConfig('user_pndelete'));
eval("\$site_body.= \"".pkTpl("imcenter")."\";");
}
?>
|
und das hier die stelle der anleitung:
|
|
Quellcode |
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 |
----------->
Editiere die pkinc/public/privatemessages.php
----------->
SUCHE:
else
$sqlcommand="UPDATE ".pkSQLTAB_USER_PRIVATEMESSAGE." SET im_del=1 WHERE im_to='".$SQL->i(pkGetUservalue('id'))."' AND (im_id='".intval($id)."'";
ERSETZE ALLES HIERMIT:
/********************* CAUTION Anfang *********************/
else {
$sqlcommand="UPDATE ".pkSQLTAB_USER_PRIVATEMESSAGE." SET im_del=1 WHERE im_to='".$SQL->i(pkGetUservalue('id'))."' AND (im_id='".intval($id)."'";
$SQL->query("UPDATE `".pkSQLTAB_WARNSYS."` SET `warn_im_delete`=1, `warn_im_delete_time`='".pkTIME."' WHERE `warn_im_id`='".$id."'");
}
/********************* CAUTION Ende ***********************/
SUCHE:
if(isset($imid) && $_REQUEST['deltype']=='to')
$SQL->query("UPDATE ".pkSQLTAB_USER_PRIVATEMESSAGE." SET im_del=1 WHERE im_to='".$SQL->i(pkGetUservalue('id'))."' AND im_id='".$imid."'");
ERSETZE ALLES HIERMIT:
/********************* CAUTION Anfang *********************/
if(isset($imid) && $_REQUEST['deltype']=='to'){
$SQL->query("UPDATE ".pkSQLTAB_USER_PRIVATEMESSAGE." SET im_del=1 WHERE im_to='".$SQL->i(pkGetUservalue('id'))."' AND im_id='".$imid."'");
$SQL->query("UPDATE `".pkSQLTAB_WARNSYS."` SET `warn_im_delete`=1, `warn_im_delete_time`='".pkTIME."' WHERE `warn_im_id`='".$imid."'");
}
/********************* CAUTION Ende ***********************/
SUCHE:
if($iminfo['im_view']!=1)
$SQL->query("UPDATE ".pkSQLTAB_USER_PRIVATEMESSAGE." SET im_view=1, im_viewtime='".pkTIME."' WHERE im_id='".$iminfo['im_id']."'");
ERSETZE ALLES HIERMIT:
/********************* CAUTION Anfang *********************/
if ($iminfo['im_view']!=1) {
$SQL->query("UPDATE ".pkSQLTAB_USER_PRIVATEMESSAGE." SET im_view=1, im_viewtime='".pkTIME."' WHERE im_id='".$iminfo['im_id']."'");
$SQL->query("UPDATE `".pkSQLTAB_WARNSYS."` SET `warn_aktiv`=1, `warn_im_read`='".pkTIME."' WHERE `warn_im_id`='".$iminfo['im_id']."'");
}
/********************* CAUTION Ende ***********************/
|
alles was ich eingefügt habe ist doch vollständig ?
Ähnliche Themen
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
1.6.1 Navi-Grafik und zerstörtes Layout
(4. September 2009, 03:52)
-
pkSM Support »-
1.6.5 Login fehler
(3. September 2009, 23:39)
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
problem bei naxbox.nocheat.php
(23. Mai 2008, 23:11)
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
pns beim versenden auch autmoatisch speichern
(12. März 2008, 19:27)
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
Probleme mit Partnerbox
(17. Januar 2008, 15:40)


