Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 71 lines (69 sloc) 3.579 kb
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
<?php
/** Ofuz Open Source version is released under the GNU Affero General Public License, please read the full license at: http://www.gnu.org/licenses/agpl-3.0.html **/
// Copyright 2008 - 2010 all rights reserved, SQLFusion LLC, info@sqlfusion.com
/** Ofuz Open Source version is released under the GNU Affero General Public License, please read the full license at: http://www.gnu.org/licenses/agpl-3.0.html **/

    $pageTitle = 'Ofuz :: My Information';
    $Author = 'SQLFusion LLC';
    $Keywords = 'Keywords for search engine';
    $Description = 'Description for search engine';
    $background_color = 'white';
    include_once('config.php');
    include_once('includes/ofuz_check_access.script.inc.php');
    include_once('includes/header.inc.php');
?>
<?php $do_feedback = new Feedback(); $do_feedback->createFeedbackBox(); ?>
<table class="layout_columns"><tr><td class="layout_lmargin"></td><td>
<div class="layout_content">
<?php $thistab = ''; include_once('includes/ofuz_navtabs.php'); ?>
<?php $do_breadcrumb = new Breadcrumb(); $do_breadcrumb->getBreadcrumbs(); ?>
<div class="grayline1"></div>
<div class="spacerblock_20"></div>
<table class="layout_columns"><tr><td class="layout_lcolumn settingsbg">
<div class="settingsbar"><div class="spacerblock_16"></div>
<?php
$GLOBALS['thistabsetting'] = 'Cancel Account';
include_once('includes/setting_tabs.php');
             ?>
<div class="settingsbottom"></div></div>
</td><td class="layout_rcolumn">
<div class="banner60 pad020 text32"><?php echo _('Cancel Account'); ?></div>
<div class="banner50 pad020 text16 fuscia_text"><?php echo _('Please give us the reason for Cancellation'); ?></div>
<div class="contentfull">
<?php
            if($_SESSION['in_page_message'] != ''){
                  echo '<div style="margin-left:0px;">';
                  echo '<div class="messages_unauthorized">';
                  echo htmlentities($_SESSION['in_page_message']);
                  $_SESSION['in_page_message'] = '';
                  echo '</div></div><br /><br />';
            }else{
                $msg = new Message();
                $msg->getMessage("Account Cacel");
                 echo '<div class="percent95">',$msg->displayMessage(),'</div>';
            }
            //$f_user = new User();
            //$f_user->getId($_SESSION['do_User']->iduser);
            //$f_user->form();
            $CancelAccount = new OfuzCancelAccount();
            //$CancelAccount->setRegistry('ofuz_cancel_account')
            $e_cancel_account = new Event("OfuzCancelAccount->eventCancelAccount");
            $e_cancel_account->setLevel(20);
            $e_cancel_account->addEventAction("do_User->eventLogout",50);
            echo $e_cancel_account->getFormHeader();
            echo $e_cancel_account->getFormEvent();
            $CancelAccount->setFields("ofuz_cancel_account");
            $CancelAccount->setApplyRegistry(true, "Form");
            echo '<br />'.$CancelAccount->reason;
            echo '<br /><input type="submit" value="'._('Yes Cancel and delete all my information').'" />';

         ?>
</div>
<div class="solidline"></div>
</td></tr></table>
<div class="spacerblock_40"></div>
<div class="layout_footer"></div>
</div>
</td><td class="layout_rmargin"></td></tr></table>
<?php include_once('includes/ofuz_facebook.php'); ?>
<?php include_once('includes/ofuz_analytics.inc.php'); ?>
</body>
</html>
Something went wrong with that request. Please try again.