27 lines
903 B
PHP
27 lines
903 B
PHP
<?php
|
|
require_once("inc_common.php");
|
|
setCookie("c_hash", $c_hash, time() + 2678400);
|
|
unset($messages_to_show);
|
|
$messages_to_show = array();
|
|
$def_color = $registered_colors[$default_color][1];
|
|
$flood_protection = 0;
|
|
include($engine_path."logout.php");
|
|
include($ld_engine_path."rooms_get_list.php");
|
|
|
|
if ($exists)
|
|
$messages_to_show[] = array(MESG_TIME=>my_time(),
|
|
MESG_ROOM=>$cu_array[USER_ROOM],
|
|
MESG_FROM=>$rooms[$cu_array[USER_ROOM]]["bot"],
|
|
MESG_FROMWOTAGS=>$rooms[$cu_array[USER_ROOM]]["bot"],
|
|
MESG_FROMSESSION=>"",
|
|
MESG_FROMID=>0,
|
|
MESG_FROMAVATAR=>"",
|
|
MESG_TO=>"",
|
|
MESG_TOSESSION=>"",
|
|
MESG_TOID=>"",
|
|
MESG_BODY=>"<font color=\"$def_color\">".str_replace("~", $cu_array[USER_NICKNAME], $sw_rob_logout)."</font>");
|
|
|
|
include($engine_path."messages_put.php");
|
|
include($file_path."designes/".$design."/logout.php");
|
|
?>
|