예제 #1
0
								<div>Total Referrals</div>
							</div>
						</div>
					</div>
					<div class="panel-body">
						<span class="pull-left">View History</span>
						<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
						<div class="clearfix"></div>
					</div>
				</div>
			</a>
		</div>
		
		<div class="col-sm-4">
			<?php 
$last_order = get_last_order();
?>
			<a href="<?php 
echo $last_order ? '../purchase-history' : '../shop';
?>
">
				<div class="panel panel-default">
					<div class="panel-heading">
						<div class="row">
							<div class="col-xs-3">
								<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAATR0lEQVR4Xu2d/XXcRBeHZ1YFABWQVICQCsCpgFABpgKSCggVvE4FJBWQVBCnAI1FBQkVkBQgzXsmyOAYr3dGGs3ns+fk+I/M53OvfntXuroj+77XIoOP1vpXpdSzDJbKEiGQDQGZkQC8V0o9zIYsC4VABgSyEQDDUmv9k1LqRQZcWSIEsiCQlQAIIcZhGL7NgiyLhEAGBHITADFN06NxHC8zYMsSIZA8gewEQAhxOQzDo+TJskAIZEAgRwEwUcDDcRzfZ8CXJUIgaQJZCoAQ4uUwDOdJk2VxEMiAQK4CYKKAr8Zx/JABY5YIgWQJZCsAJAYl61MsLCMCOQvAh3mezb0AooCMHI6lpkUgWwEwGEkMSsuZWE1+BHIXANKD8/M5VpwQgawFYOH4wzAMrxJiylIgkA2BEgSAxKBs3I2FpkagBAEgPTg1r2I92RAoQgBIDMrG31hoYgRKEQDSgxNzLJaTB4FiBEBr/Vwp9SQP7KwSAmkQKEkASAxKw6dYRUYEihGAJTGIuoEZOR9LjU+gNAEgMSi+T7GCjAgUJQBLFEDdwIwckKXGJVCcAFA3MK5DMXteBEoUABKD8vJBVhuRgOy6bvfDNqSUrRDi+4D7HLXWvB8QEDhTxScgpXw/z/OnUnlXV1dvbVYkbRptbdO27ZdN05iFfbF1LPpDAALWBEz17FfTNL08VjcjiACY5ZpIQ0r5i/XSaQgBCHghoLU2RXMulFK/3h4wmAAQBXixJYN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PzTaNHCzra9MqM+2M/e83XPECYLbftm3bNI05ejspEeCufxhVwf7HOVchAIsImOPCzR32JETAXPzzPJ+R8RdMBLD/HairEYDEIoHX0zSdc/GHufivZ0koEkjG/lUJwLUIHA6HF7FuDGqtnyulnoR1fWa7KQLY/19/qE4AFhH48nA4mEeEIQ8R/SiEOCfRJ74YmdeGsf/fdqhSAG58G5wdDgdTRmzXx4TmW3+e52eE/PEv/psrMCnDtdu/agG4doau60zxjfMdDhV5OU2TufDfp+X6rOYmgZrtjwDc8ITlJpH5fW4OGV31tMDc3RdCvJjn+QXf+HkJTY32RwCO+KhxhsPhYHLzTW0+84beAynl1zebLxf7ByGEOZJsnKbpkos+r4v+2Gprsf//ATCyPUTWelt3AAAAAElFTkSuQmCC"/>
							</div>
							<div class="col-xs-9 text-right">
								<?php 
if ($last_order) {
    echo "<div class='huge'>#{$last_order}</div>";
예제 #2
0
function coupon_validation($valid, $coupon)
{
    global $woocommerce;
    $level = strtolower(get_user_info('loyalty_status'));
    $order = get_last_order();
    $code = $coupon->code;
    if (preg_match("/^[a-zA-Z]{2}[0-9]{2}\$/", $code) && $order > 0) {
        $valid = false;
    } elseif (strstr(" silver, gold, platinum ", $code) && $level != $code) {
        $valid = false;
    } else {
        $valid = true;
    }
    return $valid;
}
예제 #3
0
					</div>
				</div>
			</a>
		</div>
		
		<div class="col-sm-4">
			<a href="../purchase-history">
				<div class="panel panel-default">
					<div class="panel-heading">
						<div class="row">
							<div class="col-xs-3">
								<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAATR0lEQVR4Xu2d/XXcRBeHZ1YFABWQVICQCsCpgFABpgKSCggVvE4FJBWQVBCnAI1FBQkVkBQgzXsmyOAYr3dGGs3ns+fk+I/M53OvfntXuroj+77XIoOP1vpXpdSzDJbKEiGQDQGZkQC8V0o9zIYsC4VABgSyEQDDUmv9k1LqRQZcWSIEsiCQlQAIIcZhGL7NgiyLhEAGBHITADFN06NxHC8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ve9SaIxhT2z/5Aa7G5C7O/OrCgB6LruUkr5nTuG9HogAO42wf7uzBAAd2ZBeiAA7pgRAHdmCIA7syA9eBTojrkkAQhlfwTA3c+C9CACcMdckgCEsj8C4O5nQXqEcoAgmwk0CQLgDro0Acg+DfjahAiAuzOXkAYc2v6lCQB5AO7XTTE9yANwN2VRApBhFZg7LWaOHldKmVOJ+TgQwP4OsJampQmAOeG3hHcBXg7DYE4p5uNAoKB3AYLZvygBML5Swo0gioI4XPW3mmJ/N3YlCoA55vt/bhjSaj1N01ccFrLOJl3XYX8HdMUJQAEVYXgV2MGBbzfF/m7wihMAs/2+718JIb53Q5FGax7/bbcD9rdnWKQA5Ho3WGv9h1Iq62pG9q63X0vsb8+2SAHI+GbgD8MwmOiFz0YCmd4MDG7/YgUgt9+CWuu3SqksS5lvvFZ36Y797bAWKwBLFJBLZuDHaZpaKgHbOa1tq4wyA6PZv2gBWERglFJ+Y+s0Mdrx3H8/6l3XYf978BYvAEsoOAohvtjPzTaNHCzra9MqM+2M/e83XPECYLbftm3bNI05ejspEeCufxhVwf7HOVchAIsImOPCzR32JETAXPzzPJ+R8RdMBLD/HairEYDEIoHX0zSdc/GHufivZ0koEkjG/lUJwLUIHA6HF7FuDGqtnyulnoR1fWa7KQLY/19/qE4AFhH48nA4mEeEIQ8R/SiEOCfRJ74YmdeGsf/fdqhSAG58G5wdDgdTRmzXx4TmW3+e52eE/PEv/psrMCnDtdu/agG4doau60zxjfMdDhV5OU2TufDfp+X6rOYmgZrtjwDc8ITlJpH5fW4OGV31tMDc3RdCvJjn+QXf+HkJTY32RwCO+KhxhsPhYHLzTW0+84beAynl1zebLxf7ByGEOZJsnKbpkos+r4v+2Gprsf//ATCyPUTWelt3AAAAAElFTkSuQmCC"/>
							</div>
							<div class="col-xs-9 text-right">
								<div class="huge">#<?php 
echo get_last_order();
?>
</div>
								<div>Last Order</div>
							</div>
						</div>
					</div>
					<div class="panel-body">
						<span class="pull-left">View History</span>
						<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
						<div class="clearfix"></div>
					</div>
				</div>
			</a>
		</div>