$x) { unset($_SESSION[$p]); } header('location: '.$ssl.$_SERVER['SERVER_NAME'].root_dir.'/login.php'); exit; } $self_account_id = get_setting('self_account_id'); $pname = get_setting_account('profile_tg',$self_account_id); $bot_token = get_setting_account('bot_token',$self_account_id); $bot_username = get_setting_account('bot_username',$self_account_id); if((empty($bot_username)) or (empty($bot_token))){ $bot_username = "Указать: API Token Telegram"; } else{ $bot_username = '@'.$bot_username; } $chk = query_get("https://cdn.tposter.top/vers.info"); if(!empty($chk)) { $data_vers = json_decode($chk,true); $last_vers = $data_vers['v']; $rx = mysqli_query($db,"SHOW COLUMNS FROM `setting` LIKE 'v'"); $check = mysqli_num_rows($rx); if(($check == 0) ){ mysqli_query($db,"ALTER TABLE `setting` ADD `v` INT NOT NULL AFTER `user_id`;"); $v = 0; } else{ $v = get_setting('v');} $update_all = 0; $columns = query_get("https://cdn.tposter.top/update_x.info"); $columns_data = json_decode($columns,true); $colums_add = ''; $table_add = 0; foreach($columns_data as $table=>$cols) { foreach($cols as $name=>$type) { $r = mysqli_query($db,"SHOW TABLES LIKE '$table'"); $is_table = mysqli_num_rows($r); if($is_table > 0) { $rx = mysqli_query($db,"SHOW COLUMNS FROM `$table` LIKE '$name'"); $exist = mysqli_num_rows($rx); if($exist == 0) { mysqli_query($db,"ALTER TABLE `$table` ADD `$name` $type NOT NULL"); $update_all++; } }else { if($name == 'user_id'){ $def = " DEFAULT '1'"; }else { $def = ''; } $colums_add .= "`$name` $type NOT NULL $def,"; } } if($is_table == 0) { mysqli_query($db,"CREATE TABLE `$table` (`id` int NOT NULL AUTO_INCREMENT,$colums_add PRIMARY KEY (id)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci"); $table_add++; } } mysqli_query($db,"UPDATE `setting` SET `v` = '$last_vers'"); } ?> Telegram АвтоПостер / v8.3 [Alone] Kostolom
0) or ($table_add > 0)){?> '>




0){ echo "style='display:none;'";}?>>
>
1){ echo "style='display:none;'";}?>>
Мануал по настройке


Переименовать канал(раскрыть)

>
>
>
>
>
>

0)){ echo 'checked'; }?>>
>

Настройка работы с vk.com
Инструкция(спойлер)

Manager AutoClear tmp data


Завершить сессию
❓
>

>

>
Переименовывать медиа-файлы(имя|замена) в посте:
>
.PNG
Cоздать .png: Link_1 | Link_2 | Link_3
>
.PNG\JPG
Пересылка: Фото\Видео\Аудио\Файлы\Альбомы(без inline)\Текстовые.
Макс размер: 50MB.
Выполнить: админом в Канал Публикации.

>
>
>
>
>

- Укажите: API KEY ChatGTP!"; } else { $info_w = ''; } ?>

>
>
>
>
>
>
>
>
>
>

>
>
>
>


>
>
>


>
>
>
>
>
>
' min='1' style='width:102px;'>
' min='1' style='width:102px;'>
>
>
' min='20' style='width:102px;'>


>


>
>
>
>
>

>

$val) { $config_gpt .= "$name=$val\n"; } } $config_gpt_ya = json_decode($config_gpt_yandex,true); if((empty($config_gpt_yandex)) or (empty($config_gpt_ya))) { $config_gpt_param = "stream=false\nmaxTokens=1024\ntemperature=0.5\n"; }else { $config_gpt_param = ''; foreach($config_gpt_ya as $name=>$val) { $config_gpt_param .= "$name=$val\n"; } } if($type_filter_gpt == 1){ $dis_filt = ''; $dis_content = 'disabled';$css_faq = 'style="opacity:0.4;"'; } elseif($type_filter_gpt == 2){ $dis_filt = 'disabled'; $dis_content = '';$css_faq = ''; } else{ $dis_filt = 'disabled'; $dis_content = 'disabled';$css_faq = 'style="opacity:0.4;"'; } ?>
>

>

value="">
0){ echo "style='display:none'";}?>>
1){ echo "style='display:none'";}?>>
>
>


Экспорт данных:



0) { while($list = mysqli_fetch_assoc($rx)) { $all_post = $all_post + $list['all_post']; } } $rx = mysqli_query($db,"SELECT `id` FROM `channels_origin` WHERE `account_id` = '$self_account_id'"); $channel_all_ = mysqli_num_rows($rx); ?>
Общие данные:





Данные работы:



Данные лицензии юзера: