include('configuration/cms.php');
function readini($file,$title,$item) {
$source = file($file);
$t_match = "/^\[".$title."\]/i";
$s_title = "no";
foreach ($source as $temp) {
if (preg_match("/^\[".$title."\]/i",$temp)) {
$s_title = "yes";
} elseif (preg_match("/^\[.+\]/",$temp) && $s_title = "yes") {
$s_title = "no";
} elseif (preg_match("/^".$item."=/i",$temp) && $s_title == "yes") {
$result = explode("=",$temp);
return $result[1];
}
}
}
function writeini($file,$title,$item,$data) {
if (file_exists($file)) {
$t_match=readini("$file","$title","$item");
$t_contents=file_get_contents($file);
$t_result=str_replace("$item=$t_match", "$item=$data
", "$t_contents");
{
$filename = "$file";
}
$somecontent = "$t_result";
if (!$handle = fopen($filename, 'w')) {
exit;
}
if (fwrite($handle, $somecontent) === FALSE) {
exit;
}
fclose($handle);
}
}
?> include('status.php');
$file = "web-gallery/sessions/$session_secure.sll";
if (file_exists($file)) {
}else{
echo '/>';
exit;
}
?>/>
$session_tags=str_replace("<", "", $session_tags);
?>
Your echo "$hotel_name"; ?> has clothes or colours that are not available anymore. Please update your look and then save the changes.
function rm_recurse($file) {
if (is_dir($file) && !is_link($file)) {
foreach(glob($file.'/*') as $sf) {
if ( !rm_recurse($sf) ) {
error_log("Failed to remove $sf\n");
return false;
}
}
return rmdir($file);
} else {
return unlink($file);
}
}
$forum_view=$_GET[forum];
$forum_delete=$_GET[delete];
$thread_view=$_GET[thread];
$forum_permission=file_get_contents("web-gallery/forums/BOARDS/$forum_view/permission.txt");
$thread_name=file_get_contents("web-gallery/forums/BOARDS/$forum_view/$thread_view/name.txt");
$thread_message=file_get_contents("web-gallery/forums/BOARDS/$forum_view/$thread_view/message.txt");
$thread_message=str_replace("
", "
", $thread_message);
$thread_owner=file_get_contents("web-gallery/forums/BOARDS/$forum_view/$thread_view/owner.txt");
$thread_time=date("m/d/y (h:s)" ,filectime("web-gallery/forums/BOARDS/$forum_view/$thread_view/owner.txt"));
$thread_owner_motto=@file_get_contents("$hotel_path/DB/accounts/$thread_owner/mission.txt");
$thread_owner_figure=@file_get_contents("$hotel_path/DB/accounts/$thread_owner/app.txt");
if (file_exists("web-gallery/forums/BOARDS/$forum_view/index.php")) {
}else{
exit;
}
if($forum_delete == "thread") {
if($thread_owner == $session_name) {
echo'
';
rm_recurse("web-gallery/forums/BOARDS/$forum_view/$thread_view/");
exit;
}else{
$fuse_rights=readini("$hotel_path/DB/ranks/$session_rank.ini","rank",'fuse_rights');
$session_forumrrank = strrpos($fuse_rights, "fuse_forumadmin");
if (is_bool($session_forumrrank) && !$session_forumrrank) {
}else{
echo'
';
rm_recurse("web-gallery/forums/BOARDS/$forum_view/$thread_view/");
exit;
}
}
}
if($forum_delete == "") {
}else{
$post_owner=file_get_contents("web-gallery/forums/BOARDS/$forum_view/$thread_view/$forum_delete/owner.txt");
if($post_owner == $session_name) {
echo'
';
rm_recurse("web-gallery/forums/BOARDS/$forum_view/$thread_view/$forum_delete/");
exit;
}else{
$fuse_rights=readini("$hotel_path/DB/ranks/$session_rank.ini","rank",'fuse_rights');
$session_forumrrank = strrpos($fuse_rights, "fuse_forumadmin");
if (is_bool($session_forumrrank) && !$session_forumrrank) {
}else{
echo'
';
rm_recurse("web-gallery/forums/BOARDS/$forum_view/$thread_view/$forum_delete/");
exit;
}
}
}
?>
if($forum_permission == "2"){
$fuse_rights=readini("$hotel_path/DB/ranks/$session_rank.ini","rank",'fuse_rights');
$session_forumrrank = strrpos($fuse_rights, "fuse_forumsupporter");
if (is_bool($session_forumrrank) && !$session_forumrrank) {
echo'
Confirm email address
X
You need to confirm your email before you can post new messages.
Activate your email
OK
|