📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 15:08:35
📂
/ (Root)
/
home
/
apkbfjox
/
kattu.com.pk
/
wp-content
/
themes
/
appyn
/
includes
📍 /home/apkbfjox/kattu.com.pk/wp-content/themes/appyn/includes
🔄 Refresh
✏️
Editing: class-shortlinks.php
Writable
<?php if( ! defined( 'ABSPATH' ) ) die ( '✋' ); class ShortLink { var $apikey; var $url; public function __construct( $url ) { $this->url = $url; } public function Ouo() { $this->apikey = appyn_options( 'shortlink_ouo' ); try { $api_url = "http://ouo.io/api/{$this->apikey}?s=".urlencode($this->url); $result = file_get_contents($api_url); return $result; } catch (Exception $e) { return array('error' => $e->getMessage()); } } public function ShrinkEarn() { $this->apikey = appyn_options( 'shortlink_shrinkearn' ); try { $api_url = "https://shrinkearn.com/api?api={$this->apikey}&url=".urlencode($this->url); $result = json_decode(file_get_contents($api_url),TRUE); if( $result["status"] === 'error' ) { return array('error' => $result["message"]); } else { return $result["shortenedUrl"]; } } catch (Exception $e) { return array('error' => $e->getMessage()); } } public function ClicksFly() { $this->apikey = appyn_options( 'shortlink_clicksfly' ); try { $api_url = "https://clicksfly.com/api?api={$this->apikey}&url=".urlencode($this->url); $result = @json_decode(file_get_contents($api_url),TRUE); if( $result["status"] === 'error' ) { return array('error' => $result["message"]); } else { return $result["shortenedUrl"]; } } catch (Exception $e) { return array('error' => $e->getMessage()); } } public function ShrinkMe() { $this->apikey = appyn_options( 'shortlink_shrinkme' ); try { $api_url = "https://shrinkme.io/api?api={$this->apikey}&url=".urlencode($this->url); $result = json_decode(file_get_contents($api_url),TRUE); if( $result["status"] === 'error' ) { return array('error' => $result["message"]); } else { return $result["shortenedUrl"]; } } catch (Exception $e) { return array('error' => $e->getMessage()); } } }
💾 Save Changes
❌ Cancel