AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.114
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/www/lrsys_apps/imobles/application/plugins/module_imobles/helpers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/imobles/application/plugins/module_imobles/helpers/EuroamericaUnits.php
<?php

include_once __DIR__ . "/ConstructionCompanyTable.php";

class EuroamericaUnits extends ConstructionCompanyTable{

  public function europarkIbirapuera($csv, $enterprise_id) {
    $csv = explode("\n", $csv);
    $result_data = array();
    foreach($csv as $line) {
      $data = array();
      $line = str_getcsv($line);
      if ($this->isUnitNum($line[0])) {

        $data['unit_number'] = $line[0];
        $data['area'] = $line[3];
        $data['parking_spaces'] = $line[4];
        $data['parking_spaces_count'] = $this->countParkingSpaces($data['parking_spaces']);
        $data['price'] = $line[9];
        $data['availability'] = 1;
        $data['crawler_type_id'] = 4;
        $data['verified'] = 1;

        $data['entry'] = $line[10];
        $data['installment'] = null;
        $data['financing'] = $line[11];
        $data['enterprise_id'] = $enterprise_id;

      }else{
        continue;
      }
      array_push($result_data, $data);
    }
    $this->units_helper->batchOfUnits($result_data);
  }

  public function europarkNoronha($csv, $enterprise_id) {
    $csv = explode("\n", $csv);
    $result_data = array();
    foreach($csv as $line) {
      $data = array();
      $line = str_getcsv($line);
      if ($this->isUnitNum($line[0])) {

        $data['unit_number'] = $line[0];
        $data['area'] = $line[1];
        $data['parking_spaces'] = $line[6];
        $data['parking_spaces_count'] = $this->countParkingSpaces($data['parking_spaces']);
        $data['price'] = $line[9];
        $data['availability'] = 1;
        $data['crawler_type_id'] = 4;
        $data['verified'] = 1;

        $data['entry'] = $line[10];
        $data['installment'] = $line[11];
        $data['financing'] = $line[14];
        $data['enterprise_id'] = $enterprise_id;

      }else{
        continue;
      }
      array_push($result_data, $data);
    }
    $this->units_helper->batchOfUnits($result_data);
  }

  public function europarkTijucaTorreA($csv, $enterprise_id) {
    $csv = explode("\n", $csv);
    $result_data = array();
    foreach($csv as $line) {
      $data = array();
      $line = str_getcsv($line);
      if ($this->isUnitNum($line[0])) {

        $data['unit_number'] = $line[0];
        $data['area'] = $line[3];
        $data['parking_spaces'] = $line[7];
        $data['parking_spaces_count'] = $this->countParkingSpaces($data['parking_spaces']);
        $data['price'] = $line[9];
        $data['availability'] = 1;
        $data['crawler_type_id'] = 4;
        $data['verified'] = 1;

        $data['entry'] = $line[10];
        $data['installment'] = $line[11];
        $data['financing'] = $line[14];
        $data['enterprise_id'] = $enterprise_id;

      }else{
        continue;
      }
      array_push($result_data, $data);
    }
    $this->units_helper->batchOfUnits($result_data);
  }

  public function europarkTijucaTorreB($csv, $enterprise_id) {
    $csv = explode("\n", $csv);
    $result_data = array();
    foreach($csv as $line) {
      $data = array();
      $line = str_getcsv($line);
      if ($this->isUnitNum($line[0])) {

        $data['unit_number'] = $line[0];
        $data['area'] = $line[3];
        $data['parking_spaces'] = $line[6];
        $data['parking_spaces_count'] = $this->countParkingSpaces($data['parking_spaces']);
        $data['price'] = $line[9];
        $data['availability'] = 1;
        $data['crawler_type_id'] = 4;
        $data['verified'] = 1;

        $data['entry'] = $line[10];
        $data['installment'] = null;
        $data['financing'] = $line[12];
        $data['enterprise_id'] = $enterprise_id;

      }else{
        continue;
      }
      array_push($result_data, $data);
    }
    $this->units_helper->batchOfUnits($result_data);
  }

}

Anon7 - 2022
AnonSec Team