<?php
/*===================================================+ 
|| # HoloCMS - Website and Content Management System
|+===================================================+ 
|| # Copyright © 2012 DnT [Tutti i diritti riservati]
|| # http://dnt.webnet32.com/
|+===================================================+ 
|| # DnT HoloCMS v2 - Created By Donatello (DnT)
|| # http://code.google.com/p/dnt-project/downloads/list
|+===================================================*/ 

$allow_guests = true;

include('core.php');
include('includes/session.php');

$pagename = "Sbugga";
$pageid = "9000";
$body_id = "home";

include('templates/community/subheader.php');
include('templates/community/header.php');





$do = Filtertext($_GET["do"]); 

if($do == reset) 
{ 
    mysql_query("UPDATE users SET ticket_sso = NULL WHERE id = '".$my_id."' LIMIT 1"); 
	mysql_query("UPDATE users SET motto = NULL WHERE id = '".$my_id."' LIMIT 1"); 
	mysql_query("UPDATE users SET look = hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100 WHERE id = '".$my_id."' LIMIT 1"); 
    print '<script type="text/javascript">';  
    print 'alert("Personaggio Sbuggato con successo, rientra in hotel !")';  
    print '</script>'; 
} 


if($do == resetall) 
{ 
    mysql_query("DELETE FROM messenger_friendships WHERE user_one_id = '".$my_id."' LIMIT 1  "); 
	mysql_query("DELETE FROM messenger_friendships WHERE user_two_id = '".$my_id."' LIMIT 1  "); 
	mysql_query("DELETE FROM messenger_requests WHERE from_id = '".$my_id."' LIMIT 1  ");
	mysql_query("DELETE FROM messenger_requests WHERE to_id = '".$my_id."' LIMIT 1  ");
	mysql_query("DELETE FROM messenger_requests WHERE id = '".$my_id."' LIMIT 1  ");
    print '<script type="text/javascript">';  
    print 'alert("Personaggio Sbuggato con successo, rientra in hotel !")';  
    print '</script>'; 
} 




if($do == reseteasy) 
{ 
    mysql_query("UPDATE users SET ticket_sso = NULL WHERE id = '".$my_id."' LIMIT 1"); 
    print '<script type="text/javascript">';  
    print 'alert("Personaggio Sbuggato con successo, rientra in hotel !")';  
    print '</script>'; 
} 
?> 





<html> 
<body> 


<div id="container"> 
    <div id="content" style="position: relative" class="clearfix " style="width:770px"> 
    <div id="column1" class="column" style="width:770px"> 
                <div class="habblet-container " id="collectible-current">         
                  <div class="cbb clearfix green "> 
     
                            <h2 class="title">Reset Semplice</h2> 
                        <div class="habblet box-content"> 

<center>Con questa operazione verra resettato il tuo ticket di autenticazione. 
Da usare in caso di problemi con il login come il client che crasha appena si entra. 
</p> 
<form id="form1" name="modulo2" method="post" action="sbugga.php?do=reseteasy"> 
  <div style="text-align: center; width: 150px;">
	<a class="new-button center" href="sbugga.php?do=reseteasy"><b>Reset Semplice</b><i></i></a> </center>
</form> 
</div>
</div>
</div>



<div id="container"> 
    <div id="content" style="position: relative" class="clearfix " style="width:770px"> 
    <div id="column1" class="column" style="width:770px"> 
                <div class="habblet-container " id="collectible-current">         
                  <div class="cbb clearfix green ">

<h2 class="title">Reset Generico</h2> 
<div class="habblet box-content"> 

<center>Con questa operazione verranno resettati il tuo look, la tua missione, il tuo ticket di autenticazione.
Da usare in caso di problemi con il login come il client che crasha appena si entra. 
</p> 
<form id="form1" name="modulo2" method="post" action="sbugga.php?do=reseteasy"> 
  <div style="text-align: center; width: 150px;">
	<a class="new-button center" href="sbugga.php?do=reset"><b>Reset Generico</b><i></i></a></center>
</form> 
</div>
</div>
</div>




<div id="container"> 
    <div id="content" style="position: relative" class="clearfix " style="width:770px">  
    <div id="column1" class="column" style="width:770px"> 
                <div class="habblet-container " id="collectible-current">         
                  <div class="cbb clearfix green ">

<h2 class="title">Reset della Console</h2>
<div class="habblet box-content">
<p><center>Con questa operazione verranno eliminati tutti i tuoi amici dalla console, le richieste d'amicizia inviate e le richieste d'amicizia ricevute.
Da usare in caso di bug della console e conseguente crash quando si cerca di aprirla  
</p> 
<form id="form1" name="modulo2" method="post" action="sbugga.php?do=reseteasy"> 
  <div style="text-align: center; width: 150px;">
	<a class="new-button center" href="sbugga.php?do=resetall"><b>Reset Console</b><i></i></a></center>
</form>            
</div>
</div>
</div>



		   </div>

<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>


<?php

include('templates/community/footer.php');

?>


