process_form.inc
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:1k
源码类别:

WEB邮件程序

开发平台:

PHP

  1. <?php
  2. $action_success = '&nbsp;';
  3. $temp_user_obj               = new User();
  4. $temp_user_obj->user_name    = $target_username;
  5. $temp_user_obj->domain_id    = $target_domain_id;
  6. $ret_vals = $user_db->Get( $temp_user_obj );
  7. if( $ret_vals[ 0 ] == true ) {
  8.    $temp_user_obj = $ret_vals[ 1 ];
  9.    $customer_db = new CustomerInformation_Db();
  10.    $customer_db = $customer_db->Db(
  11.       $default->customer_db->driver,
  12.       $default->customer_db
  13.    );
  14.  $customer_db->address->Delete( $address_id );
  15.  $action_success = 'Address removed';
  16. } else {
  17.  $action_success = 'Failed user check!';
  18. }
  19. include( './manager/templates/user/user_navigator.inc' );
  20. ?>