<!-- Vertically centered modal -->
<div class="modal fade" id="download" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content text-center">
<div class="modal-header">
<h5 class="modal-title bold-text" id="staticBackdropLabel">Скачать Orient Taxi</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p style="color: #000;">Для Android:</p>
<div class="d-flex justify-content-center align-items-center">
<a target="_blank"
href="https://play.google.com/store/apps/details?id=uz.orienttaxi.client"><img
src="../img/gp.png" alt="play market">
</a>
</div>
<p style="color: #000;">Для iOS:</p>
<div class="d-flex justify-content-center align-items-center">
<a target="_blank" href="https://apps.apple.com/ru/app/id1539592266"><img src="../img/ap.png"
alt="app store"></a>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Закрыть</button>
</div>
</div>
</div>
</div>
<?php
$dsn = 'mysql:host=localhost; dbname=id14206595_reg';
$pdo = new PDO($dsn, 'id14206595_lotvw','k~~^RlBz[7!7Sr~6');
$owner = $_SESSION['id'];
echo '<ul>';
$query = $pdo->query("SELECT * FROM `usertable1` WHERE `owner`='$owner'");
while($row = $query->fetch(PDO::FETCH_OBJ)) {
echo '<li><a href="/tables/new.php"><div class="box1"><h1>'.$row->title.'</h1><hr><p>Открыть <i class="fas fa-door-open"></i></p></div></a></li>';
}
echo '</ul>';
?>
"SELECT * FROM `usertable1` WHERE `owner`='$owner'"
@bot.callback_query_handler(func=lambda call: True)
def callback_inline(call):
if call.message:
if call.data == "question":
msg = bot.send_message(call.message.chat.id, "Напиши вопрос...")
bot.register_next_step_handler(msg, forward)
def forward(message):
bot.forward_message('твой id в тг', message.chat.id, message.message_id)