Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.0.8.0
- * @ Author : DeZender
- * @ Release on : 25.09.2017
- * @ Official site : http://DeZender.Net
- *
- */
- if (!(defined( 'WHMCS' ))) {
- exit( 'This file cannot be accessed directly' );
- }
- if (!(function_exists( 'saveCustomFields' ))) {
- require ROOTDIR . '/includes/customfieldfunctions.php';
- }
- if (!(function_exists( 'openNewTicket' ))) {
- require ROOTDIR . '/includes/ticketfunctions.php';
- }
- $useMarkdown = (bool) (int) App::get_req_var( 'markdown' );
- $from = '';
- if ($clientid) {
- $result = select_query( 'tblclients', 'id', array( 'id' => $clientid ) );
- $data = mysql_fetch_array( $result );
- if (!($data['id'])) {
- $apiresults = array(
- 'result' => 'error',
- 'message' => 'Client ID Not Found'
- );
- return;
- }
- if ($contactid) {
- $result = select_query( 'tblcontacts', 'id', array(
- 'id' => $contactid,
- 'userid' => $clientid
- ) );
- $data = mysql_fetch_array( $result );
- if (!($data['id'])) {
- $apiresults = array(
- 'result' => 'error',
- .....................................................................
- ..........................................
- ..............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement