code == 100){ $contents = $oJson->data[0]->image_path; $ogTitle = $oJson->data[0]->title; if ( $_SERVER['REMOTE_ADDR'] == '124.60.195.75'){ try{ $stibee_url = trim($oJson->data[0]->stibee_url); $inData = ""; $stibee = getCurlJsonData($stibee_url,$inData,'GET'); //var_dump($stibee->plaintext); if ( $stibee !=''){ $strContent = substr($stibee,strpos($stibee,'
'),3000); $ogDescription = addslashes(strip_tags($strContent)); } } catch(Exception $e){ echo $e->getMessage(); } } if ( $contents !='')$ogImg = 'https://admin.mobislive.com'.$contents; } } ?>