This file contains 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 | |
set_time_limit(0); //Включаю ошибки и убираю лимит по времени | |
error_reporting(E_ALL); | |
ini_set('php_flag display_errors','on'); | |
ini_set('php_value error_reporting', E_ALL); | |
ini_set('display_errors','on'); | |
ini_set('error_reporting', E_ALL); | |
$handles_out = fopen('assets/xml/comand.sh', 'a+'); | |
$import_type = "assets/xml/Parametrs.xml"; |
This file contains 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
#!/bin/bash | |
D=$(date +%Y-%m-%d) | |
T=$(date +%H:%M:%S) | |
echo "$D"_"$T"_comand1_start >> /assets/csv/output.date | |
curl -XPOST localhost:9200/modx_shop/towar_base/93144 -d '{"Артикул":"93144","Имя товара":"Товар 3","Цена":"124323","Категория":"2","Парметр_1":"ещё больше текста","Параметр_2":"43","Параметр_3":"41","Параметр_4":"просто текст","Параметр_n":"и снова текст"}' | |
curl -XPOST localhost:9200/modx_shop/towar_base/93145 -d '{"Артикул":"93145","Имя товара":"Товар 1","Цена":"1232","Категория":"1","Парметр_1":"текст","Параметр_2":"23","Параметр_3":"25","Параметр_4":"ещё больше текста","Параметр_n":"текст о парметре"}' | |
curl -XPOST localhost:9200/modx_shop/towar_base/93146 -d '{"Артикул":"93146","Имя товара":"Товар 2","Цена":"1234","Категория":"1","Парметр_1":"много текста","Параметр_2":"12","Параметр_3":"12","Параметр_4":"текст","Параметр_n":"параметр с текстом"}' | |
curl -XPOST localhost:9200/modx_shop/towar_base/93147 -d '{"Артикул":"93147","Имя товара":"Товар 3","Цена":"124323","Категория":"2","Парметр_1":"ещё |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains 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
Артикул;Имя товара;Цена;Категория;Парметр_1;Параметр_2;Параметр_3;Параметр_4;Параметр_n | |
164987;Товар 2;1234;1;много текста;12;12;текст;параметр с текстом | |
164988;Товар 3;124323;2;ещё больше текста;43;41;просто текст;и снова текст | |
164989;Товар 1;1232;1;текст;23;25;ещё больше текста;текст о парметре | |
164990;Товар 2;1234;1;много текста;12;12;текст;параметр с текстом | |
164991;Товар 3;124323;2;ещё больше текста;43;41;просто текст;и снова текст | |
164992;Товар 1;1232;1;текст;23;25;ещё больше текста;текст о парметре | |
164993;Товар 2;1234;1;много текста;12;12;текст;параметр с текстом | |
164994;Товар 3;124323;2;ещё больше текста;43;41;просто текст;и снова текст | |
164995;Товар 1;1232;1;текст;23;25;ещё больше текста;текст о парметре |
This file contains 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 | |
$start = microtime(true); | |
$n = $_GET['keyssssss'];//Получаем текущий номер файла | |
if($n == "") | |
{ | |
unset($_SESSION['position']); | |
unset($_SESSION['arr']); | |
} | |
$n = (int)$_GET['fnumber']; |
This file contains 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 | |
// @authot language file Ivan Klimchuk <modx.by> and Aliaksandr Pashkevich | |
$_lang['seopro.keywords'] = 'Keywords'; | |
$_lang['seopro.characters'] = 'Символов'; | |
$_lang['seopro.characters.allowed'] = 'Осталось символов'; | |
$_lang['seopro.tips'] = 'SEO-PRO Подсказка!'; | |
$_lang['seopro.focuskeywords'] = 'Выделенные ключевые слова'; | |
$_lang['seopro.focuskeywords_desc'] = 'Разделённые запятыми'; | |
$_lang['seopro.prevbox'] = 'Как это выглядит в Google?'; |
This file contains 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 | |
/** | |
* StercSEO Russian language file | |
* | |
* @author Wieger Sloot <[email protected]> - Sterc Internet & Marketing | |
* | |
* @authot language file Ivan Klimchuk <modx.by> and Aliaksandr Pashkevich | |
* | |
* @package stercseo | |
* @subpackage lexicon |