Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 58 lines (53 sloc) 2.212 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
<?php

/**
* delete inactive users.php
* Inactive user which are not logged in from past 2 to 6 months and user with 10 contact / task / project tasks / invoices.
* Get their information backup to an xml file with all the contacts,task,projects,invoices,reccurant invoices,paymets and tags and delete all the related data for the user from the database.
* @see class/User.class.php
* @see class/ofuzExportXML.class.php
* @see class/Task.class.php
* @see class/ofuzCancelAccount.class.php
*
*/


    $pageTitle = 'Ofuz :: Delete Inactive Users';
    $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'] = 'Delete Inactive Users';
include_once('includes/setting_tabs.php');
        ?>
<div class="settingsbottom"></div></div>
</td><td class="layout_rcolumn">
<div class="banner60 pad020 text32"><?php echo _('Settings'); ?></div>
<div class="banner50 pad020 text16 fuscia_text"><?php echo _('Delete Inactive Users'); ?></div>
<div class="contentfull">
<?php
$du = new user();
$y=$du->eventDeleteInactiveUsers();
echo $y;
?>
</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'); ?>
</body>
</html>
Something went wrong with that request. Please try again.