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
| /** | |
| * `keyProcessing` is function for catching keys down events and call functions appropriate each event | |
| * | |
| * @function | |
| * @name keyProcessing | |
| * @param {function(event):*} | |
| * @example | |
| * keyProcessing(some.event); | |
| * @return void | |
| */ |
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
| var version='1.0.3', | |
| pages={"back":"file:///home/web/services.html"}, | |
| def = {"lang":"en"}, | |
| current = { | |
| "mode": { | |
| "debug":false, // create a _log and insert into #debug div | |
| "emulate":false, // set "true" if you wanna test version in browser | |
| "show_all_keydowns":false | |
| }, | |
| "lang":"en", // system language |
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
| /** | |
| * `byID` is function for return element object | |
| * | |
| * @function | |
| * @name byID | |
| * @param {function(id):*} | |
| * @example | |
| * byID('frame'); | |
| * @return [object] | |
| */ |
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 | |
| /** | |
| * Master for storages. | |
| * | |
| * @package stalker_portal | |
| * @author [email protected] | |
| */ | |
| abstract class Master | |
| { |
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
| var app = {}; | |
| app.ctrls={ | |
| 'init':function(){ | |
| if(as.dvice_model == 'MAG200'){ | |
| views.home.child[0].child[2].attrs.id = 'button_search'; | |
| views.home.child[0].child[2].attrs.html = '{$cat_search$}'; | |
| views.home.child.splice(1, 1); | |
| } | |
| app.ctrls.drawScreen( | |
| function(){ |
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 | |
| class RESTCommandAccountSubscription extends RESTCommand | |
| { | |
| public function get(RESTRequest $request){ | |
| $identifiers = $request->getIdentifiers(); | |
| if (!empty($identifiers[0]) && strlen($identifiers[0]) >= 12){ | |
| $users_ids = Stb::getUidByMacs($identifiers); |
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 | |
| /** | |
| * Epg from XMLTV | |
| * | |
| * @package stalker_portal | |
| * @author [email protected] | |
| */ | |
| class Epg | |
| { |
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
| /** | |
| * `byID` is function for return element object | |
| * | |
| * @function | |
| * @name byID | |
| * @param {function(id):*} | |
| * @example | |
| * byID('frame'); | |
| * @return [object] | |
| */ |
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
| Index: add_itv.php | |
| =================================================================== | |
| --- add_itv.php (revision 3575) | |
| +++ add_itv.php (revision 3576) | |
| @@ -82,14 +82,12 @@ | |
| $enable_tv_archive = 0; | |
| } | |
| - $storage_name = empty($_POST['storage_name']) ? '' : $_POST['storage_name']; | |
| - |
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 | |
| class Kinopoisk | |
| { | |
| public static function getInfoById($id){ | |
| $movie_info = array('kinopoisk_id' => $id); | |
| $movie_url = 'http://www.kinopoisk.ru/film/'.$id.'/'; |