Jump to content
Sign in to follow this  
sebsimappus

Stop scroll in cart

Recommended Posts

Hello,

 

I come to you to see if anyone is how the scroll Stope at some point.

 

I joined the js code, in hope to have your help

 

thank you in advance

 

cordially

 

	$(document).ready(function () {	
		var $orderSummaryEl = jQuery("#scroll");
		if ($orderSummaryEl.length) {
			var offset = jQuery("#scrollingPanelContainer").parent('.row').offset();
			//var maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row').outerHeight() - 35;
			var maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row');
			var topPadding = 15;
			jQuery(window).resize(function() {
				offset = jQuery("#scrollingPanelContainer").parent('.row').offset();
				//maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row').outerHeight() - 35;
				maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row');
				repositionScrollingSidebar();
			});
			jQuery(window).scroll(function() {
				repositionScrollingSidebar();
			});
			repositionScrollingSidebar();
		}

		function repositionScrollingSidebar() {
			if (jQuery("#scrollingPanelContainer").css('float') != 'left') {
				$orderSummaryEl.stop().css('margin-top', '0');
				return false;
			}
			var heightOfOrderSummary =  $orderSummaryEl.outerHeight();
			var newTopOffset = jQuery(window).scrollTop() - offset.top + topPadding;
			if (newTopOffset > maxTopOffset - heightOfOrderSummary) {
				newTopOffset = maxTopOffset - heightOfOrderSummary;
			}
			if (jQuery(window).scrollTop() > offset.top) {
				$orderSummaryEl.stop().animate({
					marginTop: newTopOffset
				});
			} else {
				$orderSummaryEl.stop().animate({
					marginTop: 0
				});
			}
		}
                    }); 

Edited by sebsimappus

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By Cubeboy
      this is a snippet of my quote/contract script
      it seems to know the recurring but not the onetime, it shows the "unit price" but no the "total price
      I need to have the one time and payments show up in the contract
      the 2 hooks you need to add in
      //term is the call 
      // 1 displays the number of months
      [term: 1]
      [recur:36]
      <?php
      $pdf->Image(ROOTDIR.'/assets/img/rwclogo.png', 63,10,75,'c');
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','B',11);
      $pdf->Cell(175,40,"CONTRACT FOR $subject ONLINE MARKETING SERVICES",25,1,'C');
      $total_onetime = 0;
      $total_recur = array();
      foreach ($lineitems AS $item) {
       
      $description = $item["description"]; 

      # find term 
      $matches = array();
      preg_match('/\[term:(.*?)\]/i', $description, $matches); 
      if (empty($matches)) { 
      $term = ''; 
      }
      else { 
      $term = strtolower(trim($matches[1])); 
      $description = str_replace($matches[0], '', $description); 
      }

      # find recur 
      $matches = array();
      preg_match('/\[recur:(.*?)\]/i', $description, $matches); 
      if (empty($matches)) { 
      $recur = ''; 
      }
      else { 
      $recur = strtolower(trim($matches[1])); 
      $description = trim(str_replace($matches[0], '', $description)); 
      }

      # get unit price and total price 
      $matches = array(); 
      preg_match('/\d+\.\d+/', $item['unitprice'], $matches); 
      $item_unitprice = (float)$matches[0];
      $matches = array(); 
      preg_match('/\d+\.\d+/', $item['total'], $matches); 
      $item_total = (float)$matches[0];
       
      # add onetime and recurring totals
       
      if ($recur == '') { 
      $total_onetime += $item_total; 
      }
      else { 
      if (!array_key_exists($recur, $total_recur)) { 

      $total_recur[$recur] = 0; 
      }

      $total_recur[$recur] += $item_total; 
      }
      }
      $pdf->SetFont('freesans','B',9);
      if ($total_onetime > 0) { 
      }
      foreach (array('monthly', 'quarterly', 'semi-annually', 'annually', 'biennially') as $recur) { 
      if (isset($total_recur[$recur]) && $total_recur[$recur] > 0) { 
      }
      unset($total_recur[$recur]);
      }
      # any remaining recurs
      foreach ($total_recur as $recur => $amount) { 
      }
      #==========================================================================
      # determine weather to show the ONE TIME payment or not
      #if ( $total_onetime < 100 ) {
      #$ot_show = false;
      #} 
      #else {
      #$ot_show = true;
      #}

      #==========================================================================
      # determines weather or not to split the initial payment in half
      #if ( $total_onetime >= 10000 ) {
      #$bulk = $total_onetime / 2;
      #$addtl_payment_msg = 'and the second half of $' .$bulk. ', will be due within 60 days. ';
      #} else {
      #$bulk = $total_onetime;
      #$addtl_payment_msg = '';
      }
      #==========================================================================
      #calculate One time payment using monthly pymts as a varible
      #==========================================================================
      #$otpp = ( $total_recur[$recur] * $recur );
      #$ots = ( $otpp * .1);
      #$ots = round( $ots, 2, PHP_ROUND_HALF_UP );
      #$otp = $otpp - ($otpp * .1);
      #$otp = round( $otp, 2, PHP_ROUND_HALF_UP );
      #==========================================================================
      #calculate One time payment and monthly payment to come up with a total
      #$totalot = ( $total_recur[$recur] * $recur + $bulk );
      #$totalot10 = ( $totalot - $ots );
      #==========================================================================
      $pdf->SetDrawColor(255);
      $pdf->SetFillColor(255);
      $pdf->SetFont('freesans','B',9);
      $pdf->Cell(170,5,"Authorization:",0,0,'L');
      $pdf->SetFont('freesans','',9);
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','',9,C); 
      $pdf->MultiCell(170,5,"
      This document defines the TERMS AND CONDITIONS (T&C) of our working relationship. All projects or services (“the work”) that AGENCY (or “we”) RWC ME 04401 may be contracted to produce or provide for CLIENT ($clientsdetails[companyname]) will be subject to and you the undersigned agree to the following:
      The CLIENT authorizes the AGENCY access CLIENT's current website, webhost, and all digital materials to transfer as needed from the CLIENT for the purposes of completeing the work on the domain $subject. The CLIENT authorizes use of CLIENT's logo and all brand identification in the creation of the website. The CLIENT understands they are entering into a$pdf->Cell $recur month contract with THE AGENCY.    
      The Agency will only begin work after CLIENT’s approval of the project authorization to proceed,(ATP) and the terms and conditions,(T&C) and after receipt of payment of the initial invoice $".$total_onetime.  ". Your signature/execution of the ATP and the T&C will constitute an AGREEMENT between us. 
                                                                                                                       ");
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','B',9);
      $pdf->Cell(170,5,"Description of the work:",0,0,'L');
      $pdf->SetFont('freesans','',9);
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','',9,L); 
      $pdf->MultiCell(170,5,"$notes",0,1,'C');

      if ($proposal) {
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','B',9);
      $pdf->Cell(170,5,"Installment Plan:",0,0,'L');
      $pdf->SetFont('freesans','',9);
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','',9,L); 
      $pdf->MultiCell(170,5,$proposal                  );
      }
      $pdf->AddPage();
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','B',9);
      $pdf->Cell(170,5,"Approvals:",0,0,'L');
      $pdf->SetFont('freesans','',9);
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','',9,L); 
      $pdf->MultiCell(170,5,"
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','B',9);
      $pdf->Cell(170,5,"Additions and Alterations:",0,0,'L');
      $pdf->SetFont('freesans','',9);
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','',9,C); 
      $pdf->MultiCell(170,5,"                              ");
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','B',9);
      $pdf->Cell(170,5,"Payments:",0,0,'L');
      $pdf->SetFont('freesans','',9);
      $pdf->MultiCell(170,5,"");
      $pdf->SetFont('freesans','',9,L); 
      $pdf->MultiCell(170,5,"The AGENCY is providing Online Marketing Services in advance of total payment. The CLIENT will have an initial down payment of $" . $bulk . ". that is due at the signing of this contract, " .$addtl_payment_msg. "Then an ongoing payment of $pdf->Cell $$total_recur[$recur], on a monthly basis for the following$pdf->Cell $recur months, starting from the date of signing this agreement.                                " );
      $pdf->MultiCell(170,5,"");
      $pdf->AddPage();
      $pdf->Image(ROOTDIR.'/assets/img/rwclogo.png', 63,10,75,'c');
      $pdf->SetFont('freesans','B',11);
      $pdf->Ln();

      $pdf->SetFont('freesans','B',9);
      $pdf->Ln();
      $pdf->SetFont('freesans','',9);
      $pdf->MultiCell(39,5,"");
      $pdf->Ln();
      $pdf->SetFont('freesans','B',9);
      $pdf->SetDrawColor(200);
      $pdf->SetFillColor(239);
      $pdf->SetFont('freesans','',9);
      $pdf->Cell(10,6,"Qty",1,0,'C','1');
      $pdf->Cell(80,6,"Description",1,0,'C','1');
      $pdf->Cell(20,6,"Recur",1,0,'C','1');
      $pdf->Cell(20,6,"Term",1,0,'C','1');
      $pdf->Cell(20,6,"Unit Price",1,0,'C','1');
      $pdf->Cell(20,6,"Total",1,0,'C','1');
      $pdf->Ln();
      $pdf->SetFont('freesans','B',9);
      $total_onetime = 0;
      $total_recur = array();
      foreach ($lineitems AS $item) {
       
      $description = $item["description"]; 
      #==========================================================================
      # find term 
      #==========================================================================
      $matches = array();
      preg_match('/\[term:(.*?)\]/i', $description, $matches); 
      if (empty($matches)) { 
      $term = ''; 
      }
      else { 
      $term = strtolower(trim($matches[1])); 
      $description = str_replace($matches[0], '', $description); 
      }
      #==========================================================================
      # find recur 
      #==========================================================================
      $matches = array();
      preg_match('/\[recur:(.*?)\]/i', $description, $matches); 
      if (empty($matches)) { 
      $recur = ''; 
      }
      else { 
      $recur = strtolower(trim($matches[1])); 
      $description = trim(str_replace($matches[0], '', $description)); 
      }
      #==========================================================================
      # get unit price and total price 
      #==========================================================================
      $matches = array(); 
      preg_match('/\d+\.\d+/', $item['unitprice'], $matches); 
      $item_unitprice = (float)$matches[0];
      $matches = array(); 
      preg_match('/\d+\.\d+/', $item['total'], $matches); 
      $item_total = (float)$matches[0];
      #==========================================================================
      # add onetime and recurring totals
      #========================================================================== 
      if ($recur == '') { 
      $total_onetime += $item_total; 
      }
      else { 
      if (!array_key_exists($recur, $total_recur)) { 

      $total_recur[$recur] = 0; 
      }

      $total_recur[$recur] += $item_total; 
      }
      #==========================================================================
      # display line items
      #==========================================================================
      $numlines = ceil(strlen($description)/55); 
      $cellheight = $numlines * 8;
      $pdf->MultiCell(10,$cellheight,$item["qty"],1,'C','',0);
      $pdf->MultiCell(80,$cellheight,$description,1,'L','',0);
      $pdf->MultiCell(20,$cellheight,$recur,'1','C','',0);
      $pdf->MultiCell(20,$cellheight,$term,'1','C','',0);
      $pdf->MultiCell(20,$cellheight,sprintf('$%.2f',$item_unitprice),1,'C','',0);
      $pdf->MultiCell(20,$cellheight,sprintf('$%.2f',$item_total),1,'C','',1);
      }
      $pdf->SetFont('freesans','B',9);
      /*
      $pdf->Cell(145,6,"Subtotal",1,0,'R','1');
      $pdf->Cell(25,6,$currencysymbol.$subtotal,1,0,'C','1');
      $pdf->Ln();
      if ($taxlevel1["rate"]>0) {
          $pdf->Cell(145,6,$taxlevel1["name"]." @ ".$taxlevel1["rate"]."%",1,0,'R','1');
          $pdf->Cell(25,6,$currencysymbol.$tax1,1,0,'C','1');
          $pdf->Ln();
      }
      if ($taxlevel2["rate"]>0) {
          $pdf->Cell(145,6,$taxlevel2["name"]." @ ".$taxlevel2["rate"]."%",1,0,'R','1');
          $pdf->Cell(25,6,$currencysymbol.$tax2,1,0,'C','1');
          $pdf->Ln();
      }
      $pdf->Cell(145,6,"Total",1,0,'R','1');
      $pdf->Cell(25,6,$currencysymbol.$total,1,0,'C','1');
      $pdf->Ln();
      */
      if ($total_onetime > 0) { 
      $pdf->Cell(150,6,'Pre-Pay',1,0,'R',1);
      $pdf->Cell(20,6,sprintf('$%.2f',$total_onetime),1,0,'C',1);
      $pdf->Ln();
      }
      foreach (array('monthly', 'quarterly', 'semi-annually', 'annually', 'biennially') as $recur) { 
      if (isset($total_recur[$recur]) && $total_recur[$recur] > 0) { 
      $pdf->Cell(150,6,ucfirst($recur) . ' Monthly Payments',1,0,'R',1);

      $pdf->Cell(20,6,sprintf('$%.2f',$total_recur[$recur]),1,0,'C',1);

      $pdf->Ln();
      }
      unset($total_recur[$recur]);
      }
      #==========================================================================
      # any remaining recurs
      #==========================================================================
      foreach ($total_recur as $recur => $amount) { 
      $pdf->Cell(150,6,ucfirst($recur) . ' Monthly Payments',1,0,'R',1); 
      $pdf->Cell(20,6,sprintf('$%.2f',$amount),1,0,'C',1);
      $pdf->Ln();
      }

      $pdf->SetFont('freesans','',9,l);
      $pdf->MultiCell(170,5,"
       
       
    • By HancoEuropa
      I have tried changing out the theme, enabling/disabling several things ... 
      But my poor old clientarea lists have stopped loading for some reason (despite the cheery "loading" gif). 
      I can't imagine what I've done -- same behaviour in Six and Twenty-One ... although this seems to be a more /assets issue.
      Using WHMCS-Bridge, which reports (on page load) in the Debug Log:
      Debug Log 05 Jun 21 12:16:19 (0.32130400ms): Debug [C] Checking assets/img/clippy.svg 05 Jun 21 12:16:19 (0.31815900ms): Debug ajax1: js 05 Jun 21 12:16:19 (0.31400700ms): Debug 05 Jun 21 12:16:19 (0.31147400ms): Debug Call process completed in 3 microseconds 05 Jun 21 12:16:19 (0.30855300ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:19 (0.30547200ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:19 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 519\r\nContent-Type: image\/svg+xml" 05 Jun 21 12:16:19 (0.30219800ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:19 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 519\r\nContent-Type: image\/svg+xml" 05 Jun 21 12:16:19 (0.28694000ms): Debug RAW data: 05 Jun 21 12:16:19 (0.28445900ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:19 (0.28194800ms): Debug Server Software: Apache 05 Jun 21 12:16:19 (0.27940300ms): Debug CURL call: https://hancoglobal.com/services/assets/img/clippy.svg with [] 05 Jun 21 12:16:19 (0.27693300ms): Debug Not cached, processing file - https://hancoglobal.com/services/assets/img/clippy.svg 05 Jun 21 12:16:19 (0.27459200ms): Debug ajax 0 - {"ajax":"1","js":"assets\/img\/clippy.svg","ccce":"js"} 05 Jun 21 12:16:19 (0.26975800ms): Debug [URL 826] https://hancoglobal.com/services/assets/img/clippy.svg 05 Jun 21 12:16:16 (0.84854800ms): Debug [C] Checking assets/img/clippy.svg 05 Jun 21 12:16:16 (0.84593000ms): Debug ajax1: js 05 Jun 21 12:16:16 (0.84354200ms): Debug 05 Jun 21 12:16:16 (0.84164500ms): Debug Call process completed in 3 microseconds 05 Jun 21 12:16:16 (0.83820100ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:16 (0.83616200ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:16 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 519\r\nContent-Type: image\/svg+xml" 05 Jun 21 12:16:16 (0.83404400ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:16 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 519\r\nContent-Type: image\/svg+xml" 05 Jun 21 12:16:16 (0.81979500ms): Debug RAW data: 05 Jun 21 12:16:16 (0.81713200ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:16 (0.81524000ms): Debug Server Software: Apache 05 Jun 21 12:16:16 (0.81252500ms): Debug CURL call: https://hancoglobal.com/services/assets/img/clippy.svg with [] 05 Jun 21 12:16:16 (0.81016500ms): Debug Not cached, processing file - https://hancoglobal.com/services/assets/img/clippy.svg 05 Jun 21 12:16:16 (0.80838100ms): Debug ajax 0 - {"ajax":"1","js":"assets\/img\/clippy.svg","ccce":"js"} 05 Jun 21 12:16:16 (0.80509500ms): Debug [URL 166] https://hancoglobal.com/services/assets/img/clippy.svg 05 Jun 21 12:16:16 (0.38981800ms): Debug [C] Checking assets/js/dataTables.bootstrap.min.js 05 Jun 21 12:16:16 (0.38747100ms): Debug ajax1: js 05 Jun 21 12:16:16 (0.38551600ms): Debug 05 Jun 21 12:16:16 (0.38337200ms): Debug Call process completed in 3 microseconds 05 Jun 21 12:16:16 (0.38090700ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:16 (0.37813100ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:16 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 1942\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:16 (0.37548800ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:16 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 1942\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:16 (0.36282600ms): Debug RAW data: 05 Jun 21 12:16:16 (0.35876700ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:16 (0.35710500ms): Debug Server Software: Apache 05 Jun 21 12:16:16 (0.35347300ms): Debug CURL call: https://hancoglobal.com/services/assets/js/dataTables.bootstrap.min.js with [] 05 Jun 21 12:16:16 (0.35140700ms): Debug Not cached, processing file - https://hancoglobal.com/services/assets/js/dataTables.bootstrap.min.js 05 Jun 21 12:16:16 (0.34930500ms): Debug ajax 0 - {"ajax":"1","js":"assets\/js\/dataTables.bootstrap.min.js","ccce":"js"} 05 Jun 21 12:16:16 (0.34642900ms): Debug [URL 662] https://hancoglobal.com/services/assets/js/dataTables.bootstrap.min.js 05 Jun 21 12:16:16 (0.00978700ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:15 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 78980\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:16 (0.00667800ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:15 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 78980\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:15 (0.98106800ms): Debug RAW data: 05 Jun 21 12:16:15 (0.97920700ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:15 (0.97721500ms): Debug Server Software: Apache 05 Jun 21 12:16:15 (0.97430700ms): Debug CURL call: https://hancoglobal.com/services/assets/js/jquery.dataTables.min.js with [] 05 Jun 21 12:16:15 (0.94744300ms): Debug Not cached, processing file - https://hancoglobal.com/services/assets/js/jquery.dataTables.min.js 05 Jun 21 12:16:15 (0.94588100ms): Debug ajax 0 - {"ajax":"1","js":"assets\/js\/jquery.dataTables.min.js","ccce":"js"} 05 Jun 21 12:16:15 (0.94345400ms): Debug [URL 956] https://hancoglobal.com/services/assets/js/jquery.dataTables.min.js 05 Jun 21 12:16:15 (0.23816600ms): Debug [C] Checking templates/hanco/js/scripts.min.js 05 Jun 21 12:16:15 (0.21620200ms): Debug ajax1: js 05 Jun 21 12:16:15 (0.21380700ms): Debug 05 Jun 21 12:16:15 (0.21179300ms): Debug Call process completed in 3 microseconds 05 Jun 21 12:16:15 (0.21000400ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:15 (0.20814400ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:15 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 636556\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:15 (0.20579200ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:15 GMT\r\nServer: Apache\r\nLast-Modified: Thu, 25 Feb 2021 17:30:04 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 636556\r\nContent-Type: application\/javascript" 05 Jun 21 12:16:15 (0.18943100ms): Debug RAW data: 05 Jun 21 12:16:15 (0.18746600ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:15 (0.18576000ms): Debug Server Software: Apache 05 Jun 21 12:16:15 (0.18366100ms): Debug CURL call: https://hancoglobal.com/services/templates/hanco/js/scripts.min.js?v=07f587 with [] 05 Jun 21 12:16:15 (0.18170500ms): Debug Not cached, processing file - https://hancoglobal.com/services/templates/hanco/js/scripts.min.js?v=07f587 05 Jun 21 12:16:15 (0.17989800ms): Debug ajax 0 - {"ajax":"1","js":"templates\/hanco\/js\/scripts.min.js?v=07f587","ccce":"js"} 05 Jun 21 12:16:15 (0.17728900ms): Debug [URL 465] https://hancoglobal.com/services/templates/hanco/js/scripts.min.js?v=07f587 05 Jun 21 12:16:14 (0.76249900ms): Debug [C] Checking templates/hanco/css/custom.css 05 Jun 21 12:16:14 (0.75922700ms): Debug ajax1: js 05 Jun 21 12:16:14 (0.75707000ms): Debug 05 Jun 21 12:16:14 (0.75494500ms): Debug Call process completed in 3 microseconds 05 Jun 21 12:16:14 (0.75264900ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:14 (0.75028500ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:14 GMT\r\nServer: Apache\r\nLast-Modified: Sat, 05 Jun 2021 11:39:00 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 34159\r\nContent-Type: text\/css" 05 Jun 21 12:16:14 (0.74789600ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:14 GMT\r\nServer: Apache\r\nLast-Modified: Sat, 05 Jun 2021 11:39:00 GMT\r\nAccept-Ranges: bytes\r\nContent-Length: 34159\r\nContent-Type: text\/css" 05 Jun 21 12:16:14 (0.73038300ms): Debug RAW data: 05 Jun 21 12:16:14 (0.72882100ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:14 (0.72707900ms): Debug Server Software: Apache 05 Jun 21 12:16:14 (0.72476400ms): Debug CURL call: https://hancoglobal.com/services/templates/hanco/css/custom.css with [] 05 Jun 21 12:16:14 (0.72269200ms): Debug Not cached, processing file - https://hancoglobal.com/services/templates/hanco/css/custom.css 05 Jun 21 12:16:14 (0.72009000ms): Debug ajax 0 - {"ajax":"1","js":"templates\/hanco\/css\/custom.css","ccce":"js"} 05 Jun 21 12:16:14 (0.69477200ms): Debug [URL 588] https://hancoglobal.com/services/templates/hanco/css/custom.css 05 Jun 21 12:16:13 (0.28088300ms): Debug [529] Parser parsing pretty links completed. 05 Jun 21 12:16:13 (0.27896600ms): Debug 9 replacements done 05 Jun 21 12:16:13 (0.26494400ms): Debug Call process completed in 52 microseconds 05 Jun 21 12:16:13 (0.26325700ms): Debug Cookie after:" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly" 05 Jun 21 12:16:13 (0.26171700ms): Debug Processing headers: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:12 GMT\r\nServer: Apache\r\nExpires: Thu, 19 Nov 1981 08:52:00 GMT\r\nCache-Control: no-store, no-cache, must-revalidate\r\nPragma: no-cache\r\nTransfer-Encoding: chunked\r\nContent-Type: text\/html; charset=utf-8" 05 Jun 21 12:16:13 (0.26001600ms): Debug Head: "HTTP\/1.1 200 OK\r\nDate: Sat, 05 Jun 2021 12:16:12 GMT\r\nServer: Apache\r\nExpires: Thu, 19 Nov 1981 08:52:00 GMT\r\nCache-Control: no-store, no-cache, must-revalidate\r\nPragma: no-cache\r\nTransfer-Encoding: chunked\r\nContent-Type: text\/html; charset=utf-8" 05 Jun 21 12:16:12 (0.75100500ms): Debug RAW data: 05 Jun 21 12:16:12 (0.74958100ms): Debug Cookie before:[" WHMCSy551iLvnhYt7=78e243ae1a35ff4c59804e6d0060e927; path=\/; secure; HttpOnly; WHMCSlogin_auth_tk=eHJTZ1B3TDlwbU5aWUxZQ0p3RVhPMTY0K2NCWk5PQ25ERkp1ak4reXBSOEtDZ3hFamc1Qy9TdkYzbXpCYnhCY1o1cGV3K2JRcVpndHlhVExPR3ZaQUxGSGRmZzBleEJvM0xDaktleUdhc3dqR09qSHEwcnh6NlJCVmJDMVVOb3NLOEdobzRjVTF0ZDZ0ZFVUYllUV0l2ZXgzb2tMbnBwVSswT3daQjdyeFNySWlJUlQ2d1owclFoMEdEMy9ZYTlJMTBkV2NtSE82SzhUMDB0akI0SVRCNHZCMXFMdG5QMndLeDZCSmh2RTdDZG9WMzFVQm12SURLMWl4bExoQ0FPUFpIaGNHWm1RQm91MXQ0TGM3bjVicjE4cWFqdzJ6cXV3K3NsQU5WcjY5YVJXd21ZU1ZNSG0xRUJDdW01TTF5eVYyRzFnUTgycWJkUzR4S2tsUUxreGZGcnNpb2J2QlVUaWFmYkRIWW5NK0tUSlJ2elc3QnVNUW0xM29BOXJWRC9CQURabHl3dmNNUXo4bUpSd21SdzJIOGZIUWlXbFRVRFovd0R1YksvUA%3D%3D; expires=Sun, 05-Jun-2022 10:08:54 GMT; Max-Age=31536000; path=\/; secure; HttpOnly"] 05 Jun 21 12:16:12 (0.74777700ms): Debug Server Software: Apache 05 Jun 21 12:16:12 (0.74540100ms): Debug CURL call: https://hancoglobal.com/services/clientarea.php?action=quotes&ccce=clientarea&systpl=hanco with [] 05 Jun 21 12:16:12 (0.74364100ms): Debug Not cached, processing file - https://hancoglobal.com/services/clientarea.php?action=quotes&ccce=clientarea&systpl=hanco 05 Jun 21 12:16:12 (0.74116900ms): Debug [URL 868] https://hancoglobal.com/services/clientarea.php?action=quotes&ccce=clientarea&systpl=hanco 05 Jun 21 12:16:06 (0.42879600ms): Debug So looks like it is faithfully trying to do the dataTables stuff ... not sure why no data tables are appearing. 😥
      Could someone point me in a direction to look? 
      No idea what assets/img/clippy.svg is btw, or why it is so important :))   weird
      Thanks so much.

    • By JesusSuarz
      while working with the api I realized that getproducts (https://developers.whmcs.com/api-reference/getproducts/) does not bring up the field to know if the product is active or not.
      I saw someone post a similar idea several years ago: 
       
      so with a little engineer I made my own version of getproducts and uploaded it to /includes/api/
      Request Parameters "GetProductsActive"
      Parameter Type Description Required action string “GetProductsActive” Required pid int string Obtain a specific product id configuration. Can be a list of ids comma separated gid int Retrieve products in a specific group id Optional         Response Parameters
      Parameter Type Description result string The result of the operation: success or error totalresults int The total number of results available startnumber int The starting number for the returned results numreturned int The number of results returned products array An array of products matching the criteria passed I will leave the file called: getproductsactive.php
      however this may throw an api error, you have to give access in the table tblapi_roles in database, in the field: permissions add: ,"getproductsactive": 1 before closing }, This modification is due to WHMCS not showing the files added in includes/api as a role. (I do not know why).
      With this you can get the field: hidden which defines 0 if it is visible and 1 if it is hidden. (true or false also works)
      my code is a copy of includes/api/getproduct.php just add to show the hidden field (, "hidden" => $data["hidden"]), this would have been easier if WHMCS implemented it, it only took me 2 minutes to show this field.
       
      <?php if (!defined("WHMCS")) { exit("This file cannot be accessed directly"); } if (!function_exists("getCustomFields")) { require ROOTDIR . "/includes/customfieldfunctions.php"; } if (!function_exists("getCartConfigOptions")) { require ROOTDIR . "/includes/configoptionsfunctions.php"; } global $currency; $currency = getCurrency(); $pid = $whmcs->get_req_var("pid"); $gid = $whmcs->get_req_var("gid"); $module = $whmcs->get_req_var("module"); $where = array(); if ($pid) { if (is_numeric($pid)) { $where[] = "tblproducts.id=" . (int) $pid; } else { $pids = array(); foreach (explode(",", $pid) as $p) { $p = (int) trim($p); if ($p) { $pids[] = $p; } } if ($pids) { $where[] = "tblproducts.id IN (" . implode(",", $pids) . ")"; } } } if ($gid) { $where[] = "gid=" . (int) $gid; } if ($module && preg_match("/^[a-zA-Z0-9_\\.\\-]*\$/", $module)) { $where[] = "servertype='" . db_escape_string($module) . "'"; } $result = select_query("tblproducts", "tblproducts.*", implode(" AND ", $where), "tblproductgroups`.`order` ASC, `tblproductgroups`.`id` ASC, `tblproducts`.`order` ASC, `tblproducts`.`id", "ASC", "", "tblproductgroups ON tblproducts.gid = tblproductgroups.id"); $apiresults = array("result" => "success", "totalresults" => mysql_num_rows($result)); while ($data = mysql_fetch_array($result)) { $pid = $data["id"]; $productarray = array("pid" => $data["id"], "gid" => $data["gid"], "type" => $data["type"], "name" => $data["name"], "description" => $data["description"], "module" => $data["servertype"], "paytype" => $data["paytype"], "hidden" => $data["hidden"]); if ($language = $whmcs->get_req_var("language")) { $productarray["translated_name"] = WHMCS\Product\Product::getProductName($data["id"], $data["name"], $language); $productarray["translated_description"] = WHMCS\Product\Product::getProductDescription($data["id"], $data["description"], $language); } if ($data["stockcontrol"]) { $productarray["stockcontrol"] = "true"; $productarray["stocklevel"] = $data["qty"]; } $result2 = select_query("tblpricing", "tblcurrencies.code,tblcurrencies.prefix,tblcurrencies.suffix,tblpricing.msetupfee,tblpricing.qsetupfee,tblpricing.ssetupfee,tblpricing.asetupfee,tblpricing.bsetupfee,tblpricing.tsetupfee,tblpricing.monthly,tblpricing.quarterly,tblpricing.semiannually,tblpricing.annually,tblpricing.biennially,tblpricing.triennially", array("type" => "product", "relid" => $pid), "code", "ASC", "", "tblcurrencies ON tblcurrencies.id=tblpricing.currency"); while ($data = mysql_fetch_assoc($result2)) { $code = $data["code"]; unset($data["code"]); $productarray["pricing"][$code] = $data; } $customfieldsdata = array(); $customfields = getCustomFields("product", $pid, "", "", "on"); foreach ($customfields as $field) { $customfieldsdata[] = array("id" => $field["id"], "name" => $field["name"], "description" => $field["description"], "required" => $field["required"]); } $productarray["customfields"]["customfield"] = $customfieldsdata; $configoptiondata = array(); $configurableoptions = getCartConfigOptions($pid, array(), "", "", "", true); foreach ($configurableoptions as $option) { $options = array(); foreach ($option["options"] as $op) { $pricing = array(); $result4 = select_query("tblpricing", "code,msetupfee,qsetupfee,ssetupfee,asetupfee,bsetupfee,tsetupfee,monthly,quarterly,semiannually,annually,biennially,triennially", array("type" => "configoptions", "relid" => $op["id"]), "", "", "", "tblcurrencies ON tblcurrencies.id=tblpricing.currency"); while ($oppricing = mysql_fetch_assoc($result4)) { $currcode = $oppricing["code"]; unset($oppricing["code"]); $pricing[$currcode] = $oppricing; } $options["option"][] = array("id" => $op["id"], "name" => $op["name"], "rawName" => $op["rawName"], "recurring" => $op["recurring"], "required" => $op["required"], "pricing" => $pricing); } $configoptiondata[] = array("id" => $option["id"], "name" => $option["optionname"], "type" => $option["optiontype"], "options" => $options); } $productarray["configoptions"]["configoption"] = $configoptiondata; $apiresults["products"]["product"][] = $productarray; } $responsetype = "xml"; ?> Hope this helps others to show the field they need to show files and hidden products.
       
      getproductsactive.php
    • By JesusSuarz
      Hello,
      I'm trying to get some way to query if a user is online.
      I don't want to know the current user.
      if not something you can define for example $clientid or $userid or $emailclient ...
      I am making an external site. and i need to work with user sessions. (I am making a remote connection with the api).
      this function does not currently exist in the api available.
      I've been seeing this: https://developers.whmcs.com/advanced/authentication/
      however I do not see that it allows to define the user.
      I was also seeing this: https://docs.whmcs.com/Sessions
      I was able to save the cookie in the database, however I can't find any way to identify the one that belongs to each user.
      any idea how I can get (which users are online?) ..
      (please nothing to do with smarty, only php).

      postdata: forget to tell the method I use to get user authentication in my application.
      create the following code for my application:
      I first make a connection to the api: https://developers.whmcs.com/api/authentication/
      soon ValidateLogin: https://developers.whmcs.com/api-reference/validatelogin/
      soon GetClientsDetails: https://developers.whmcs.com/api-reference/getclientsdetails/
      soon CreateSsoToken: https://developers.whmcs.com/api-reference/createssotoken/
      // validar usuario $command = 'ValidateLogin'; $postData = array( 'email' => $email_user, //post 'password2' => $password_user, //post ); $api_login = localAPI($command, $postData); //var de id de usuario: $api_login["userid"]; // si se encuentra el user entonces traer detalles del usuario via email $clientid = array(); // array que tiene el id del cliente if ($api_login["userid"] == true) { $command = 'GetClientsDetails'; $postData = array( 'email' => $email_user, // email login ); $details_client = localAPI($command, $postData); $clientid[] = $details_client["client_id"]; } // variable del clientid es: $clientid[0]; // crear token de session $command = 'CreateSsoToken'; $postData = array( 'client_id' => $clientid[0], ); $results_ssotoken = localAPI($command, $postData); echo '<pre>'; var_dump($results_ssotoken); echo '</pre>'; this will create the url with (CreateSsoToken) where the user will be redirected for autologin, however the cookie is created only after entering the client area. that's why I don't know how to get the cookie, or identify the user.
       
      @brian! would you help me with this?
    • By JesusSuarz
      Hello
      I have a variable that is printed with {debug} in the tpl template.
      however I want to get the result in php of this variable.
      I need to get $customfields from a hook.
      how could you access $customfields that is printed inside a product
       
      @brian! could you help me?
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated