Location: PHPKode > projects > Open Rent Stock > rentstock/ext/smarty/smarty_extensions/function.checksum.php
<?php
function smarty_function_checksum($params, &$smarty){
	if (empty($params['value'])) {
        $smarty->trigger_error("checksum: missing 'value' parameter");
        return;
    } else {
        $art_id = $params['value'];
    }
	return md5(SECRET_WORD . strval(LOGIN_ID) . strval(PROJECT_ID) . strval(CLIENT_ID) . strval($art_id));
}
?>
Return current item: Open Rent Stock