This file contains hidden or 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 | |
/** | |
* @param string $string ๅๆๆ่ ๅฏๆ | |
* @param string $operation ๆไฝ(ENCODE | DECODE), ้ป่ฎคไธบ DECODE | |
* @param string $key ๅฏ้ฅ | |
* @param int $expiry ๅฏๆๆๆๆ, ๅ ๅฏๆถๅๆๆ๏ผ ๅไฝ ็ง๏ผ0 ไธบๆฐธไน ๆๆ | |
* @return string ๅค็ๅ็ ๅๆๆ่ ็ป่ฟ base64_encode ๅค็ๅ็ๅฏๆ | |
* | |
**/ | |
function authcode($string, $operation = 'DECODE', $key = '', $expiry = 3600) |
This file contains hidden or 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
/*! | |
* jstemplate: a light & fast js tamplate engine | |
* License MIT (c) ๅฒๅฎ | |
*/ | |
var name = "jae"; | |
;(function (name, definition) { | |
if (typeof define == 'function') define(definition); | |
else if (typeof module != 'undefined') module.exports = definition(); | |
else this[name] = definition(); | |
})('jstemplate', function () { |