403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
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/vtigerversion80/modules/CTFacebookLeadIntegration/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vtigerversion80/modules/CTFacebookLeadIntegration/Add_Facebook_FormSync.php
<?php
$Vtiger_Utils_Log = true;
include_once('vtlib/Vtiger/Menu.php');
include_once('vtlib/Vtiger/Module.php');

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

$block1 = new Vtiger_Block();
$block1->label = 'LBL_LEAD_INFORMATION';
$block1 = $block1->getInstance($block1->label,$module);

$field1 = new Vtiger_Field();
$field1->name = 'facebook_page_name';
$field1->table = $module->basetable;
$field1->label = 'Facebook Page Name';
$field1->column = 'facebook_page_name';
$field1->columntype = 'VARCHAR(255)';
$field1->uitype = 2;
$field1->displaytype = 2;
$field1->typeofdata = 'V~O';
$block1->addField($field1);

$field2 = new Vtiger_Field();
$field2->name = 'facebook_form_name';
$field2->table = $module->basetable;
$field2->label = 'Facebook Form Name';
$field2->column = 'facebook_form_name';
$field2->columntype = 'VARCHAR(255)';
$field2->uitype = 2;
$field2->displaytype = 2;
$field2->typeofdata = 'V~O';
$block1->addField($field2);

$field3 = new Vtiger_Field();
$field3->name = 'facebook_lead_ads_name';
$field3->table = $module->basetable;
$field3->label = 'Facebook Leads Ads Name';
$field3->column = 'facebook_lead_ads_name';
$field3->columntype = 'LONGTEXT';
$field3->uitype = 19;
$field3->displaytype = 2;
$field3->typeofdata = 'V~O';
$block1->addField($field3);
?>

Youez - 2016 - github.com/yon3zu
LinuXploit