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
| <script> | |
| fixedHeader = () => { | |
| this.fix = () => { | |
| if (window.innerWidth < 768) { | |
| window.onscroll = function () { | |
| myFunction() | |
| }; | |
| var header = document.querySelector(".header"); |
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
| listMethod = document.querySelector('.help-page-table'); | |
| var str = []; | |
| listMethod.querySelectorAll(' tr').forEach((index) => { | |
| let row = []; | |
| let td = index.querySelectorAll('td').forEach((index)=>{ | |
| var str = index.textContent.replace(/[\n\t' ']/g,'') | |
| row.push({str}) | |
| }); | |
| str.push(row) |
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
| document.getElementById('read').addEventListener('click',file=>{ | |
| readFile(document.getElementById('file')) | |
| }) | |
| function readFile(input) { | |
| console.log(input) | |
| let file = input.files[0]; | |
| let reader = new FileReader(); | |
| let readerText = new FileReader(); |
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 | |
| $str = '/ru/rensoria62 | |
| /ru/rubi102 | |
| /ru/milton86 | |
| /ru/sorrento96 | |
| /ru/samanta164 | |
| /ru/citywood97 | |
| /ru/casablanca249 | |
| /ru/finwood236 | |
| /ru/moris163 |
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 | |
| json_encode($array, JSON_UNESCAPED_UNICODE) |
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
| RewriteCond %{THE_REQUEST} \s/+(.*?)/{2,}([^\s]*) | |
| RewriteRule ^ %1/%2 [R=301,L,NE] |
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
| INSERT INTO `oc_seo_url` (`store_id`, `language_id`, `query`, `keyword`) VALUES ('0', '1', 'common/home', ''); | |
| INSERT INTO `oc_seo_url` (`store_id`, `language_id`, `query`, `keyword`) VALUES ('0', '1', 'account/wishlist', 'wishlist'); | |
| INSERT INTO `oc_seo_url` (`store_id`, `language_id`, `query`, `keyword`) VALUES ('0', '1', 'account/account', 'my-account'); | |
| INSERT INTO `oc_seo_url` (`store_id`, `language_id`, `query`, `keyword`) VALUES ('0', '1', 'checkout/cart', 'shopping-cart'); | |
| INSERT INTO `oc_seo_url` (`store_id`, `language_id`, `query`, `keyword`) VALUES ('0', '1', 'checkout/checkout', 'checkout'); | |
| INSERT INTO `oc_seo_url` (`store_id`, `language_id`, `query`, `keyword`) VALUES ('0', '1', 'account/login', 'login'); | |
| INSERT INTO `oc_seo_url` (`store_id`, `language_id`, `query`, `keyword`) VALUES ('0', '1', 'account/logout', 'logout'); | |
| INSERT INTO `oc_seo_url` (`store_id`, `language_id`, `query`, `keyword`) VALUES ('0', '1', 'account/order', 'order-history'); | |
| INSERT INTO `oc_seo_url` (`store_id`, `language_i |
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
| elseif ($key == 'route') { | |
| $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "seo_url WHERE `query` = '" . $this->db->escape($value) . "' AND store_id = '" . (int)$this->config->get('config_store_id') . "' AND language_id = '" . (int)$this->config->get('config_language_id') . "'"); | |
| if ($query->num_rows && $query->row['keyword']) { | |
| $url .= '/' . $query->row['keyword']; | |
| unset($data[$key]); | |
| } else if ($data['route'] == "common/home") { | |
| $url .= '/'; | |
| } |
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 | |
| add_action( 'admin_init', 'wpse_57647_register_settings' ); | |
| /* | |
| * Register settings | |
| */ | |
| function wpse_57647_register_settings() | |
| { | |
| register_setting( | |
| 'general', |
OlderNewer