if ($whmcs->get_req_var("pending")) { check_token("WHMCS.admin.default"); changeOrderStatus($id, "Pending"); redir("action=view&id=" . $id . "&backpending=true"); exit; } if ($whmcs->get_req_var("cancelrefund")) { check_token("WHMCS.admin.default"); checkPermission("Refund Invoice Payments"); $error = cancelRefundOrder($id); redir("action=view&id=" . $id . "&cancelledrefunded=true&error=" . $error); exit; } if ($whmcs->get_req_var("activated") && isset($_COOKIE['WHMCSOrderAccept'])) { $errors = wGetCookie("OrderAccept", 1); wDelCookie("OrderAccept"); if (count($errors)) { infoBox($aInt->lang("orders", "statusaccepterror"), implode("<br>", $errors), "error"); } else { infoBox($aInt->lang("orders", "statusaccept"), $aInt->lang("orders", "statusacceptmsg"), "success"); } } if ($whmcs->get_req_var("cancelled")) { infoBox($aInt->lang("orders", "statuscancelled"), $aInt->lang("orders", "statuschangemsg")); } if ($whmcs->get_req_var("frauded")) { infoBox($aInt->lang("orders", "statusfraud"), $aInt->lang("orders", "statuschangemsg")); } if ($whmcs->get_req_var("backpending")) { infoBox($aInt->lang("orders", "statuspending"), $aInt->lang("orders", "statuschangemsg")); }
$blockedalready = get_query_val("tblticketspamfilters", "COUNT(*)", array("type" => "Sender", "content" => $email)); if ($blockedalready) { infoBox($aInt->lang("support", "spamupdatefailed"), $aInt->lang("support", "spamupdatefailedinfo")); } else { insert_query("tblticketspamfilters", array("type" => "Sender", "content" => $email)); infoBox($aInt->lang("support", "spamupdatesuccess"), $aInt->lang("support", "spamupdatesuccessinfo")); } } } } } } if ($autorefresh) { check_token("WHMCS.admin.default"); if ($autorefresh == "Never") { wDelCookie("AutoRefresh"); } else { wSetCookie("AutoRefresh", $autorefresh, time() + 90 * 24 * 60 * 60); } redir(); } if ($action == "viewticket") { $result = select_query("tbltickets", "", array("id" => $id)); $data = mysql_fetch_array($result); $replyingadmin = $data['replyingadmin']; if (!$replyingadmin) { $adminheaderbodyjs = "onunload=\"endMakingReply();\""; } } $supportdepts = getAdminDepartmentAssignments(); ob_start();
<?php /** * * @ WHMCS FULL DECODED & NULLED * * @ Version : 5.2.15 * @ Author : MTIMER * @ Release on : 2013-12-24 * @ Website : http://www.mtimer.cn * **/ define("CLIENTAREA", true); require "init.php"; if (!isset($_SESSION['uid'])) { redir("", "index.php"); } run_hook("ClientLogout", array("userid" => $_SESSION['uid'])); unset($_SESSION['uid']); unset($_SESSION['cid']); unset($_SESSION['upw']); wDelCookie("User"); $pagetitle = $_LANG['logouttitle']; $breadcrumbnav = "<a href=\"index.php\">" . $_LANG['globalsystemname'] . "</a> > <a href=\"clientarea.php\">" . $_LANG['clientareatitle'] . "</a> > <a href=\"logout.php\">" . $_LANG['logouttitle'] . "</a>"; $pageicon = "images/clientarea_big.gif"; $templatefile = "logout"; initialiseClientArea($pagetitle, $pageicon, $breadcrumbnav); outputClientArea($templatefile);
* **/ define("ADMINAREA", true); require "../init.php"; $aInt = new WHMCS_Admin("loginonly"); if ($a == "savenotes") { check_token("WHMCS.admin.default"); update_query("tbladmins", array("notes" => $notes), array("id" => $_SESSION['adminid'])); exit; } if ($a == "minsidebar") { wSetCookie("MinSidebar", "1"); exit; } if ($a == "maxsidebar") { wDelCookie("MinSidebar"); exit; } $matches = $tempmatches = $invoicematches = $ticketmatches = ""; if ($intellisearch) { check_token("WHMCS.admin.default"); $value = trim($_POST['value']); if (strlen($value) < 3 && !is_numeric($value)) { exit; } $value = db_escape_string($value); if (checkPermission("List Clients", true) || checkPermission("View Clients Summary", true)) { $query = "SELECT id,firstname,lastname,companyname,email,status FROM tblclients WHERE concat(firstname,' ',lastname) LIKE '%" . $value . "%' OR companyname LIKE '%" . $value . "%' OR address1 LIKE '%" . $value . "%' OR address2 LIKE '%" . $value . "%' OR postcode LIKE '%" . $value . "%' OR phonenumber LIKE '%" . $value . "%'"; if (is_numeric($value)) { $query .= " OR id='" . $value . "'"; }