run:R W Run
992 By
2026-04-08 19:24:44
R W Run
656 By
2026-04-08 19:24:43
R W Run
810 By
2026-04-08 19:24:43
R W Run
1.73 KB
2026-04-08 19:24:43
R W Run
1.79 KB
2026-04-08 19:24:44
R W Run
39 By
2026-04-08 19:24:43
R W Run
4.49 KB
2026-04-08 19:24:45
R W Run
3.63 KB
2026-04-08 19:24:45
R W Run
error_log
📄carttotal.php
1<?php
2
3require("../init.php");
4require("../includes/clientfunctions.php");
5require("../includes/orderfunctions.php");
6require("../includes/invoicefunctions.php");
7require("../includes/configoptionsfunctions.php");
8require("../includes/cartfunctions.php");
9require("../includes/domainfunctions.php");
10
11/*
12*** USAGE SAMPLES ***
13
14<script language="javascript" src="feeds/carttotal.php"></script>
15
16*/
17
18$carttotals = calcCartTotals(Auth::client(), false, true);
19
20$total = ($carttotals['total']) ? $carttotals['total'] : formatCurrency(0);
21
22widgetoutput($total);
23
24function widgetoutput($value) {
25 echo "document.write('".addslashes($value)."');";
26 exit;
27}
28