PATH:
home
/
lab2454c
/
keebchat.com
/
apps
/
native
/
api
/
publish_swift
<?php # @*************************************************************************@ # @ @author Mansur Altamirov (Mansur_TL) @ # @ @author_url 1: https://www.instagram.com/mansur_tl @ # @ @author_url 2: http://codecanyon.net/user/mansur_tl @ # @ @author_email: highexpresstore@gmail.com @ # @*************************************************************************@ # @ ColibriSM - The Ultimate Modern Social Media Sharing Platform @ # @ Copyright (c) 21.03.2020 ColibriSM. All rights reserved. @ # @*************************************************************************@ if (empty($cl['is_logged'])) { $data = array( 'code' => 401, 'data' => array(), 'message' => 'Unauthorized Access' ); } else { $swift_data = $me['swift']; $swift_text = fetch_or_get($_POST['swift_text'], ""); $swift_text = cl_croptxt($swift_text, 200); if (not_empty($me["last_swift"]) && isset($swift_data[$me["last_swift"]])) { $swift_data[$me["last_swift"]]["status"] = "active"; $swift_data[$me["last_swift"]]["time"] = time(); $swift_data[$me["last_swift"]]["exp_time"] = (time() + (24 * 3600)); $swift_data[$me["last_swift"]]["text"] = ""; if (not_empty($swift_text)) { $swift_data[$me["last_swift"]]["text"] = cl_text_secure($swift_text); } cl_update_user_data($me["id"], array( "swift" => cl_minify_js(json($swift_data, true)), "last_swift" => "", "swift_update" => (time() + (24 * 3600)) )); $data['code'] = 200; $data['message'] = "Swift published successfully"; $data["data"] = array(); } }
[+]
..
[-] content.php
[edit]