Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/theyoungdesigners_com/storage/handlebars/ |
Upload File : |
<?php function lcr685999c1709f4encq($cx, $var)
{
// Use full namespace classname for more specific code export/match in Exporter.php replaceSafeString.
if ($var instanceof LS) {
return (string)$var;
}
return str_replace(array('=', '`', '''), array('=', '`', '''), htmlspecialchars(lcr685999c1709f4raw($cx, $var), ENT_QUOTES, 'UTF-8'));
}
function lcr685999c1709f4wi($cx, $v, $bp, $in, $cb, $else = null)
{
if (isset($bp[0])) {
$v = lcr685999c1709f4m($cx, $v, array($bp[0] => $v));
}
if (($v === false) || ($v === null) || (is_array($v) && (count($v) === 0))) {
return $else ? $else($cx, $in) : '';
}
if ($v === $in) {
$ret = $cb($cx, $v);
} else {
$cx['scopes'][] = $in;
$ret = $cb($cx, $v);
array_pop($cx['scopes']);
}
return $ret;
}
function lcr685999c1709f4hbbch(&$cx, $ch, $vars, &$_this, $inverted, $cb, $else = null)
{
$options = array(
'name' => $ch,
'hash' => $vars[1],
'contexts' => count($cx['scopes']) ? $cx['scopes'] : array(null),
'fn.blockParams' => 0,
'_this' => &$_this,
);
if ($cx['flags']['spvar']) {
$options['data'] = &$cx['sp_vars'];
}
if (isset($vars[2])) {
$options['fn.blockParams'] = count($vars[2]);
}
// $invert the logic
if ($inverted) {
$tmp = $else;
$else = $cb;
$cb = $tmp;
}
$options['fn'] = function ($context = '_NO_INPUT_HERE_', $data = null) use ($cx, &$_this, $cb, $options, $vars) {
if ($cx['flags']['echo']) {
ob_start();
}
if (isset($data['data'])) {
$old_spvar = $cx['sp_vars'];
$cx['sp_vars'] = array_merge(array('root' => $old_spvar['root']), $data['data'], array('_parent' => $old_spvar));
}
$ex = false;
if (isset($data['blockParams']) && isset($vars[2])) {
$ex = array_combine($vars[2], array_slice($data['blockParams'], 0, count($vars[2])));
array_unshift($cx['blparam'], $ex);
} elseif (isset($cx['blparam'][0])) {
$ex = $cx['blparam'][0];
}
if (($context === '_NO_INPUT_HERE_') || ($context === $_this)) {
$ret = $cb($cx, is_array($ex) ? lcr685999c1709f4m($cx, $_this, $ex) : $_this);
} else {
$cx['scopes'][] = $_this;
$ret = $cb($cx, is_array($ex) ? lcr685999c1709f4m($cx, $context, $ex) : $context);
array_pop($cx['scopes']);
}
if (isset($data['data'])) {
$cx['sp_vars'] = $old_spvar;
}
return $cx['flags']['echo'] ? ob_get_clean() : $ret;
};
if ($else) {
$options['inverse'] = function ($context = '_NO_INPUT_HERE_') use ($cx, $_this, $else) {
if ($cx['flags']['echo']) {
ob_start();
}
if ($context === '_NO_INPUT_HERE_') {
$ret = $else($cx, $_this);
} else {
$cx['scopes'][] = $_this;
$ret = $else($cx, $context);
array_pop($cx['scopes']);
}
return $cx['flags']['echo'] ? ob_get_clean() : $ret;
};
} else {
$options['inverse'] = function () {
return '';
};
}
return lcr685999c1709f4exch($cx, $ch, $vars, $options);
}
function lcr685999c1709f4sec($cx, $v, $bp, $in, $each, $cb, $else = null)
{
$push = ($in !== $v) || $each;
$isAry = is_array($v) || ($v instanceof \ArrayObject);
$isTrav = $v instanceof \Traversable;
$loop = $each;
$keys = null;
$last = null;
$isObj = false;
if ($isAry && $else !== null && count($v) === 0) {
return $else($cx, $in);
}
// #var, detect input type is object or not
if (!$loop && $isAry) {
$keys = array_keys($v);
$loop = (count(array_diff_key($v, array_keys($keys))) == 0);
$isObj = !$loop;
}
if (($loop && $isAry) || $isTrav) {
if ($each && !$isTrav) {
// Detect input type is object or not when never done once
if ($keys == null) {
$keys = array_keys($v);
$isObj = (count(array_diff_key($v, array_keys($keys))) > 0);
}
}
$ret = array();
if ($push) {
$cx['scopes'][] = $in;
}
$i = 0;
if ($cx['flags']['spvar']) {
$old_spvar = $cx['sp_vars'];
$cx['sp_vars'] = array_merge(array('root' => $old_spvar['root']), $old_spvar, array('_parent' => $old_spvar));
if (!$isTrav) {
$last = count($keys) - 1;
}
}
$isSparceArray = $isObj && (count(array_filter(array_keys($v), 'is_string')) == 0);
foreach ($v as $index => $raw) {
if ($cx['flags']['spvar']) {
$cx['sp_vars']['first'] = ($i === 0);
$cx['sp_vars']['last'] = ($i == $last);
$cx['sp_vars']['key'] = $index;
$cx['sp_vars']['index'] = $isSparceArray ? $index : $i;
$i++;
}
if (isset($bp[0])) {
$raw = lcr685999c1709f4m($cx, $raw, array($bp[0] => $raw));
}
if (isset($bp[1])) {
$raw = lcr685999c1709f4m($cx, $raw, array($bp[1] => $index));
}
$ret[] = $cb($cx, $raw);
}
if ($cx['flags']['spvar']) {
if ($isObj) {
unset($cx['sp_vars']['key']);
} else {
unset($cx['sp_vars']['last']);
}
unset($cx['sp_vars']['index']);
unset($cx['sp_vars']['first']);
$cx['sp_vars'] = $old_spvar;
}
if ($push) {
array_pop($cx['scopes']);
}
return join('', $ret);
}
if ($each) {
if ($else !== null) {
$ret = $else($cx, $v);
return $ret;
}
return '';
}
if ($isAry) {
if ($push) {
$cx['scopes'][] = $in;
}
$ret = $cb($cx, $v);
if ($push) {
array_pop($cx['scopes']);
}
return $ret;
}
if ($cx['flags']['mustsec']) {
return $v ? $cb($cx, $in) : '';
}
if ($v === true) {
return $cb($cx, $in);
}
if (($v !== null) && ($v !== false)) {
return $cb($cx, $v);
}
if ($else !== null) {
$ret = $else($cx, $in);
return $ret;
}
return '';
}
function lcr685999c1709f4ifvar($cx, $v, $zero)
{
return ($v !== null) && ($v !== false) && ($zero || ($v !== 0) && ($v !== 0.0)) && ($v !== '') && (is_array($v) ? (count($v) > 0) : true);
}
function lcr685999c1709f4raw($cx, $v, $ex = 0)
{
if ($ex) {
return $v;
}
if ($v === true) {
if ($cx['flags']['jstrue']) {
return 'true';
}
}
if (($v === false)) {
if ($cx['flags']['jstrue']) {
return 'false';
}
}
if (is_array($v)) {
if ($cx['flags']['jsobj']) {
if (count(array_diff_key($v, array_keys(array_keys($v)))) > 0) {
return '[object Object]';
} else {
$ret = array();
foreach ($v as $k => $vv) {
$ret[] = lcr685999c1709f4raw($cx, $vv);
}
return join(',', $ret);
}
} else {
return 'Array';
}
}
return "$v";
}
function lcr685999c1709f4m($cx, $a, $b)
{
if (is_array($b)) {
if ($a === null) {
return $b;
} elseif (is_array($a)) {
return array_merge($a, $b);
} elseif ($cx['flags']['method'] || $cx['flags']['prop']) {
if (!is_object($a)) {
$a = new StringObject($a);
}
foreach ($b as $i => $v) {
$a->$i = $v;
}
}
}
return $a;
}
function lcr685999c1709f4exch($cx, $ch, $vars, &$options)
{
$args = $vars[0];
$args[] = &$options;
$r = true;
try {
$r = call_user_func_array($cx['helpers'][$ch], $args);
} catch (\Throwable $E) {
lcr685999c1709f4err($cx, "Runtime: call custom helper '$ch' error: " . $E->getMessage());
}
return $r;
}
function lcr685999c1709f4err($cx, $err)
{
if ($cx['flags']['debug'] & $cx['constants']['DEBUG_ERROR_LOG']) {
error_log($err);
return;
}
if ($cx['flags']['debug'] & $cx['constants']['DEBUG_ERROR_EXCEPTION']) {
throw new \Exception($err);
}
}
if (!class_exists("LS")) {
class LS {
public static $jsContext = array (
'flags' =>
array (
'jstrue' => 1,
'jsobj' => 1,
),
);
public function __construct($str, $escape = false)
{
$this->string = $escape ? (($escape === 'encq') ? static::encq(static::$jsContext, $str) : static::enc(static::$jsContext, $str)) : $str;
}
public function __toString()
{
return $this->string;
}
public static function stripExtendedComments($template)
{
return preg_replace(static::EXTENDED_COMMENT_SEARCH, '{{! }}', $template);
}
public static function escapeTemplate($template)
{
return addcslashes(addcslashes($template, '\\'), "'");
}
public static function raw($cx, $v, $ex = 0)
{
if ($ex) {
return $v;
}
if ($v === true) {
if ($cx['flags']['jstrue']) {
return 'true';
}
}
if (($v === false)) {
if ($cx['flags']['jstrue']) {
return 'false';
}
}
if (is_array($v)) {
if ($cx['flags']['jsobj']) {
if (count(array_diff_key($v, array_keys(array_keys($v)))) > 0) {
return '[object Object]';
} else {
$ret = array();
foreach ($v as $k => $vv) {
$ret[] = static::raw($cx, $vv);
}
return join(',', $ret);
}
} else {
return 'Array';
}
}
return "$v";
}
public static function enc($cx, $var)
{
return htmlspecialchars(static::raw($cx, $var), ENT_QUOTES, 'UTF-8');
}
public static function encq($cx, $var)
{
return str_replace(array('=', '`', '''), array('=', '`', '''), htmlspecialchars(static::raw($cx, $var), ENT_QUOTES, 'UTF-8'));
}
}
}
return function ($in = null, $options = null) {
$helpers = array( 'ifeq' => function($arg1, $arg2, $options) {
if ($arg1 == $arg2) {
return $options['fn']();
} else {
return $options['inverse']();
}
},
);
$partials = array();
$cx = array(
'flags' => array(
'jstrue' => false,
'jsobj' => false,
'jslen' => false,
'spvar' => true,
'prop' => false,
'method' => false,
'lambda' => false,
'mustlok' => false,
'mustlam' => false,
'mustsec' => false,
'echo' => true,
'partnc' => false,
'knohlp' => false,
'debug' => isset($options['debug']) ? $options['debug'] : 1,
),
'constants' => array(
'DEBUG_ERROR_LOG' => 1,
'DEBUG_ERROR_EXCEPTION' => 2,
'DEBUG_TAGS' => 4,
'DEBUG_TAGS_ANSI' => 12,
'DEBUG_TAGS_HTML' => 20,
),
'helpers' => isset($options['helpers']) ? array_merge($helpers, $options['helpers']) : $helpers,
'partials' => isset($options['partials']) ? array_merge($partials, $options['partials']) : $partials,
'scopes' => array(),
'sp_vars' => isset($options['data']) ? array_merge(array('root' => $in), $options['data']) : array('root' => $in),
'blparam' => array(),
'partialid' => 0,
'runtime' => '\LightnCandy\Runtime',
);
$inary=is_array($in);
ob_start();echo '<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
body {
font-family: Arial;
}
.footer-container,
.header2-container,
.total-container,
.header-container {
display: table;
width: 100%;
max-width: 1000px;
margin-bottom: 20px;
}
.total-container .column,
.table-container .column,
.header2-container .column,
.header-container .column {
display: table-cell;
vertical-align: top;
}
.header-container .column1 {
font-size: 32px;
color: #000;
}
.header-container .column2 {
width: 200px;
text-align: right;
font-size: 32px;
color: #003962;
font-weight: bold;
}
.header2-container .column1 {
width: 250px;
}
.header2-container .column3 {
width: 300px;
text-align: right;
}
.hilited {
background-color: #003962;
color: #fff;
padding: 4px 10px;
margin: 5px 0;
}
.header2-container .address {
padding: 4px 10px;
margin: 5px 0;
line-height: 1.5;
}
.header2-container .item-row {
padding: 4px 0px;
}
.header2-container .item-key {
display: inline-block;
width: 150px;
text-align: left;
}
.header2-container .item-value {
display: inline-block;
width: 150px;
text-align: right;
}
.table-container {
display: table;
width: 100%;
max-width: 1000px;
}
.total-container .column1,
.table-container .column1 {
width: 100px;
text-align: left;
}
.total-container .column3,
.table-container .column3 {
width: 80px;
text-align: right;
}
.total-container .column2 {
text-align: right;
}
.body-container > div.table-container:nth-child(even) {
background-color: #ececec;
}
.body-container .table-container .column {
border-left: 1px solid #cccccc;
padding: 3px 10px;
}
.body-container .table-container .column3 {
border-right: 1px solid #cccccc;
}
.body-container > div.table-container:last-child {
border-bottom: 1px solid #cccccc;
}
.total-container {
margin-top: 10px;
}
.total-container .column {
padding: 3px 10px;
}
.total-container .column2 {
font-size: 12px;
font-weight: bold;
}
.footer-container {
margin-top: 20px;
text-align: center;
font-size: 12px;
}
.footer-container .message {
font-size: 14px;
font-weight: bold;
}
</style>
</head>
<body>
<div class="header-container">
<div class="column column1">',lcr685999c1709f4encq($cx, (($inary && isset($in['company_name'])) ? $in['company_name'] : null)),'</div>
<div class="column column2">Packing Slip</div>
</div>
<div class="header2-container">
<div class="column column1">
<div class="hilited">Ship To:</div>
<div class="address">',lcr685999c1709f4wi($cx, (($inary && isset($in['address'])) ? $in['address'] : null), null, $in, function($cx, $in) {$inary=is_array($in);echo '
',lcr685999c1709f4encq($cx, (($inary && isset($in['name'])) ? $in['name'] : null)),'<br>
',lcr685999c1709f4encq($cx, (($inary && isset($in['del_a'])) ? $in['del_a'] : null)),'<br>
',lcr685999c1709f4hbbch($cx, 'ifeq', array(array((($inary && isset($in['addr2'])) ? $in['addr2'] : null),''),array()), $in, false, function($cx, $in) {$inary=is_array($in);echo '';}, function($cx, $in) {$inary=is_array($in);echo '',lcr685999c1709f4encq($cx, (($inary && isset($in['addr2'])) ? $in['addr2'] : null)),'<br>';}),'
',lcr685999c1709f4encq($cx, (($inary && isset($in['town'])) ? $in['town'] : null)),', ',lcr685999c1709f4encq($cx, (($inary && isset($in['state'])) ? $in['state'] : null)),' ',lcr685999c1709f4encq($cx, (($inary && isset($in['zip'])) ? $in['zip'] : null)),'<br>
',lcr685999c1709f4encq($cx, (($inary && isset($in['country_name'])) ? $in['country_name'] : null)),'
';}),'</div>
</div>
<div class="column column2">
</div>
<div class="column column3">
<div class="item-row"><span class="item-key">Order Number:</span><span class="item-value">',lcr685999c1709f4encq($cx, (($inary && isset($in['ordernum'])) ? $in['ordernum'] : null)),'</span></div>
<div class="item-row"><span class="item-key">Order Date:</span><span class="item-value">',lcr685999c1709f4encq($cx, (($inary && isset($in['orderdate'])) ? $in['orderdate'] : null)),'</span></div>
<div class="item-row"><span class="item-key">Carrier:</span><span class="item-value">',lcr685999c1709f4encq($cx, (($inary && isset($in['carrier_abbr'])) ? $in['carrier_abbr'] : null)),'</span></div>
<div class="item-row"><span class="item-key">Carrier Service:</span><span class="item-value">',lcr685999c1709f4encq($cx, (($inary && isset($in['carrier_service'])) ? $in['carrier_service'] : null)),'</span></div>
</div>
</div>
<div class="table-container">
<div class="column column1 hilited">SKU #</div>
<div class="column column2 hilited">Description</div>
<div class="column column3 hilited">Quantity</div>
</div>
<div class="body-container">
',lcr685999c1709f4sec($cx, (($inary && isset($in['tableline'])) ? $in['tableline'] : null), null, $in, true, function($cx, $in) {$inary=is_array($in);echo '<div class="table-container">
<div class="column column1">',lcr685999c1709f4encq($cx, (($inary && isset($in['sku'])) ? $in['sku'] : null)),'</div>
<div class="column column2">';if (lcr685999c1709f4ifvar($cx, (($inary && isset($in['html'])) ? $in['html'] : null), false)){echo '',lcr685999c1709f4raw($cx, (($inary && isset($in['html'])) ? $in['html'] : null)),'';}else{echo '',lcr685999c1709f4encq($cx, (($inary && isset($in['desc'])) ? $in['desc'] : null)),'';}echo '</div>
<div class="column column3">',lcr685999c1709f4encq($cx, (($inary && isset($in['qty'])) ? $in['qty'] : null)),'</div>
</div>
';}),'</div>
<div class="total-container">
<div class="column column1"> </div>
<div class="column column2">Total Quantity</div>
<div class="column column3">',lcr685999c1709f4encq($cx, (($inary && isset($in['total_qty'])) ? $in['total_qty'] : null)),'</div>
</div>
<br>
<div class="footer-container">
<div class="message">Thank you for your business!</div>
<div>Should you have any enquiries concerning this packing slip or your goods, please contact us.</div>
<div> </div>
<div>Tel: ',lcr685999c1709f4encq($cx, (($inary && isset($in['cophone'])) ? $in['cophone'] : null)),' // E-mail: ',lcr685999c1709f4encq($cx, (($inary && isset($in['coemail'])) ? $in['coemail'] : null)),' // Web: ',lcr685999c1709f4encq($cx, (($inary && isset($in['hostname'])) ? $in['hostname'] : null)),' // ',lcr685999c1709f4encq($cx, (($inary && isset($in['freight'])) ? $in['freight'] : null)),'</div>
</div>
</body>
</html>
';return ob_get_clean();
};