403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.122
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/soltelcocrm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/soltelcocrm/add_centerfield_user.php
<?php

include_once 'vtlib/Vtiger/Module.php';
include_once 'vtlib/Vtiger/Menu.php';
$Vtiger_Utils_Log = true;


$module = new Vtiger_Module();
$module->name = "Users";
$module=$module->getInstance('Users');

$block1 = new Vtiger_Block();
$block1->label = "LBL_USERLOGIN_ROLE";
$block1=$block1->getInstance($block1->label,$module);

$field6 = new Vtiger_Field();
$field6->name = 'item_center';
$field6->label= 'Center';
$field6->uitype= 15;
$field6->displaytype = 1;
$field6->column = $field6->name;
$field6->columntype = 'VARCHAR(100)';
$field6->typeofdata = 'V~O';
$field6->setPicklistValues( Array ('CER - Ceerigaabo', 'BUH - Buuhoodle', 'LAAS - Laasaanood', 'BRO - Burco' , 'BER -Berbera', 'HRG - Hargeisa', 'GAB - Gabilay', 'WAJ - Wajaale', 'BRM - Borama') );
$block1->addField($field6);

?>

Youez - 2016 - github.com/yon3zu
LinuXploit