This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="product_filter"> | |
<?php | |
$order = get_query_var('order') ? get_query_var('order') : false; | |
$orderby = get_query_var('meta_key') ? get_query_var('meta_key') : false; | |
$ord_asc = ''; | |
$ord_desc = ''; | |
if(($orderby != false && $orderby == '_price') && $order != false){ | |
if($order == 'ASC') $ord_asc = 'order_active_link'; | |
if($order == 'DESC') $ord_desc = 'order_active_link'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Here is the snippet code: | |
<?php | |
$output = ''; | |
$groupTag = $scriptProperties['groupTag']; | |
$snip = $scriptProperties['snippet']; | |
if(!isset($scriptProperties['outputSeparator'])) { | |
$scriptProperties['outputSeparator'] = '||'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class nameExp extends Exception{ | |
function __construct($msg){ | |
$msg .= " name!<br />"; | |
parent::__construct($msg); | |
} | |
} | |
class loginExp extends Exception{ | |
function __construct($msg){ | |
$msg .= " login!<br />";/ |