| 750 | | |
| 751 | | |
| 752 | | /** |
| 753 | | @package oscss |
| 754 | | @author oscim - OscssTeam |
| 755 | | @version 1.0 |
| | 750 | /** |
| | 751 | @fn DataForceStatus($clause) |
| | 752 | @brief this function force status on datatype Required for admin view off data |
| | 753 | @note use in sql Requete, next clause where and prev other clause |
| | 754 | @param $clause string clause normal control status ( c.status='1' AND ) |
| | 755 | @return normal clause status or empty string |
| | 756 | */ |
| | 757 | function DataForceStatus($clause){ |
| | 758 | global $SecuKey; |
| | 759 | if ( ( !empty($SecuKey) && (strlen($SecuKey)==40) && isset($_GET['forceview']) && (string)$_GET['forceview'] ==md5($SecuKey)) ) |
| | 760 | return ''; |
| | 761 | else |
| | 762 | return ' '.$clause.' '; |
| | 763 | } |
| | 764 | |
| | 765 | /** |
| | 766 | @fn tep_cst_menu_conf($cst) |