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/mequitecbeta.crmtiger.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/mequitecbeta.crmtiger.com/SyncStatus.php
<?php

require_once('data/CRMEntity.php');
include_once 'include/utils/VtlibUtils.php';
require_once('include/utils/utils.php');


global $adb;

$sql = "SELECT 1 FROM `wc_product_sync` WHERE status = ?";
$result = $adb->pquery($sql,array('Processed'));
$no_of_rows = $adb->num_rows($result);
if($no_of_rows > 0){
  $status = 1;
}else{
  $status = 0;
}

$result = array('success'=>true,'is_processed' => $status);
       $response = json_encode($result);
       echo $response;

Youez - 2016 - github.com/yon3zu
LinuXploit