'https://www.facebook.com/swingfish12/', 'twitter' => 'https://twitter.com/swingfish12', 'youtube' => 'https://www.youtube.com/c/swingfish/videos?sub_confirmation=1', 'line' => 'https://line.me/R/ti/p/%40gaa1630d', 'reddit' => 'https://www.reddit.com/r/swingfish/', 'chatroom' => '#', 'google+' => 'https://plus.google.com/109474389193345810127', 'tiktok' => 'https://www.tiktok.com/@swingfish12', 'mastodon' => 'https://mastodon.social/@swingfish', 'ib-kawase' => 'https://open.ctrader.com?url=https%3A%2F%2Fct.kawase.com&lang=en&ctid=false&ibPlantId=kawase&ibEnvironmentName=live&ibUserId=232446', 'ib-pepperstone' => 'https://pepperstone.com/th/?a_aid=swighfish', ); $LINKS = $Links; $Colors = array( 'default' => 'f59216', 'bg' => '0034a6', 'bg2' => '40a0db' ); $AvaiableLanguages = array('en', 'de_', 'th_'); // Meta Data $Meta=array(); $Meta['en']['title'] = "SwingFish ~ ".(isset($load) ? $load : "") ."|".(isset($_SESSION['hl']) ? $_SESSION['hl'] : ""); $Meta['en']['summary'] = "We are a community dedicated to bringing traders and investors together by delivering a social environment for traders and a safe place for investors. The result is a risk-free investment offer provided exclusively by SwingFish"; $Meta['de']['title'] = "SwingFish ~ ".(isset($load) ? $load : "") ."|".(isset($_SESSION['hl']) ? $_SESSION['hl'] : ""); $Meta['de']['summary'] = "wir sind eine Gesellschaft mit dem ziehl trader und Investoren zusammen zu bringen auf einer Sicheren basis, schaffung eines sozialen umfeldes zum thema, und einen Sicheren platz das Risiko-freie Investitionen ermoeglicht, welche es in dieser vorm ausschliesslich bei SwingFish gibt."; // GLOBAL FUNCTIONS function GetUrl($url, $cachetime, $expected = null) { $cachefile = CACHE . 'geturl_' . md5($url) . '.cache'; $now = time(); if (file_exists($cachefile) && ($now - filemtime($cachefile) < $cachetime)) { $cached = @file_get_contents($cachefile); if ($cached !== false && $cached !== '') { return $cached; } } $data = @file_get_contents($url); if ($data === false) { $stale = @file_get_contents($cachefile); if ($stale !== false && $stale !== '') { return $stale; } return null; } if ($expected !== null && strpos($data, $expected) === false) { return $data; } $tmpfile = $cachefile . '.tmp.' . getmypid(); if (file_put_contents($tmpfile, $data, LOCK_EX) !== false) { rename($tmpfile, $cachefile); } return $data; }