Uchta sahifani bir biriga bog’lash

Uchta sahifani bir biriga bog’lash bet 4/4 Sana 10.01.2024 Hajmi 1,53 Mb. #133891
Bog'liq
Supermarket Uchta sahifani bir biriga bog’lash
Birinchi bosqich
DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
Sahifani bog’lash
1-qism
2-qism
Bu rasm matnlar orasida joylashadi. "Gipermurojaat.html" > Bu rasm matnlar orasida joylashadi.
Bu rasm matndan chapda joylashadi. "Gipermurojaat.html" > Bu rasm matndan chapda joylashadi. Bu rasm matndan chapda joylashadi. Bu rasm matndan chapda joylashadi. Bu rasm matndan chapda joylashadi. Bu rasm matndan chapda joylashadi. Bu rasm matndan chapda joylashadi.
echo '
Hello, World!
';
?>
"container">
"company-header container" style="z-index: 1;" >
"navbar navbar-expand-lg">
"container-fluid">
"navbar-brand immg" href=
"../html/Home.php" >
"color: rgb(0, 255, 0);">S uper "color: rgb(0, 255, 0);">M arket
"navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation" >
"navbar-toggler-icon" style="color: white" >"fa-sharp fa-solid fa-bars">
"collapse navbar-collapse" id=
"navbarSupportedContent" >
"navbar-nav me-auto mb-2 mb-lg-0">
foreach($categories as $category) {?>
"nav-item">
"nav-link active" aria-current="page" href="../html/products.php?category_id= =$category['id']?>" >=$category['name']?>
"nav-item">
"nav-link" href="../html/savat.php" >'fas fa-shopping-cart' style='font-size:26px' >
"sect">
"yon-menu">
foreach($categories as $category) {
$k++;?>
"#c=$k?>" >=$category['name']?>
"sss">
foreach($categories
as $category) {
$k++;
$products=show_count_products($category['id'],$mysqli)?>
"c=$k?>
" class=
"card-group" >
"card" style=
"width: 18rem;" >
"../=$products[0]['img']?>
" class=
"card-img-top" alt=
"..." >
"card-body">
"card-title" >=$products[0]['name']?>
"card-text">=$products[0]['sena']?> so'm
"add_savat.php?product_id==$products[0]['id']?>" class="btn btn-warning float-end mt-2" >Savatga
"card" style=
"width: 18rem;" >
"../=$products[1]['img']?>
" class=
"card-img-top" alt=
"milka" >
"card-body">
"card-title">=$products[1]['name']?>
"card-text">=$products[1]['sena']?> so'm
"add_savat.php?product_id==$products[1]['id']?>" class="btn btn-warning float-end mt-2" >Savatga
"card" style=
"width: 18rem;" >
"../=$products[2]['img']?>
" class=
"card-img-top" alt=
"nestle" >
"card-body">
"card-title">=$products[2]['name']?>
"card-text">=$products[2]['sena']?> so'm
"add_savat.php?product_id==$products[2]['id']?>" class="btn btn-warning float-end mt-2" >Savatga
"container">
"company-header container" style="z-index: 1;" >
"navbar navbar-expand-lg">
"container-fluid">
"navbar-brand immg" href=
"../html/Home.php" >
"color: rgb(0, 255, 0);">S uper "color: rgb(0, 255, 0);">M arket
"navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation" >
"navbar-toggler-icon" style="color: white" >"fa-sharp fa-solid fa-bars">
"collapse navbar-collapse" id=
"navbarSupportedContent" >
"navbar-nav me-auto mb-2 mb-lg-0">
foreach($categories as $category) {?>
"nav-item">
"nav-link active" aria-current="page" href="../html/products.php?category_id= =$category['id']?>" >=$category['name']?>
"nav-item">
"nav-link" href="../html/savat.php" >'fas fa-shopping-cart' style='font-size:26px' >
"sect">
"yon-menu">
foreach($categories as $category) {
$k++;?>
"Home.php#c1">=$category['name']?>
"sss">
for($i=0;$i<
count ((
is_countable ($products)?$products:[]));$i+=3) {?>
"card-group">
"card" style=
"width: 18rem;" >
"../=$products[$i]['img']?>
" class=
"card-img-top" alt=
"..." >
"card-body">
"card-title">=$products[$i]['name']?>
"card-text">=$products[$i]['sena']?> so'm
"add_savat.php?product_id==$products[$i]['id']?>" class="btn btn-warning float-end mt-2" >Savatga
if(
isset ($products[$i+1])){?>
"card" style=
"width: 18rem;" >
"../=$products[$i+1]['img']?>
" class=
"card-img-top" alt=
"milka" >
"card-body">
"card-title">=$products[$i+1]['name']?>
"card-text">=$products[$i+1]['sena']?> so'm
"add_savat.php?product_id==$products[$i+1]['id']?>" class="btn btn-warning float-end mt-2" >Savatga
if(
isset ($products[$i+2])){?>
"card" style=
"width: 18rem;" >
"../=$products[$i+2]['img']?>
" class=
"card-img-top" alt=
"nestle" >
"card-body">
"card-title">=$products[$i+2]['name']?>
"card-text">=$products[$i+2]['sena']?> so'm
"add_savat.php?product_id==$products[$i+2]['id']?>" class="btn btn-warning float-end mt-2" >Savatga
"container">
"company-header container" style="z-index: 1;" >
"navbar navbar-expand-lg">
"container-fluid">
"navbar-brand immg" href=
"../html/Home.php" >
"color: rgb(0, 255, 0);">S uper "color: rgb(0, 255, 0);">M arket
"navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation" >
"navbar-toggler-icon" style="color: white" >"fa-sharp fa-solid fa-bars">
"collapse navbar-collapse" id=
"navbarSupportedContent" >
"navbar-nav me-auto mb-2 mb-lg-0">
foreach($categories as $category) {?>
"nav-item">
"nav-link active" aria-current="page" href="../html/products.php?category_id= =$category['id']?>" >=$category['name']?>
"nav-item">
"nav-link" href="../html/savat.php" >'fas fa-shopping-cart' style='font-size:26px' >
"nav-item">
"nav-link">Hisobi: =$hisobot?>
"sect">
"yon-menu">
foreach($categories as $category) {
$k++;?>
"Home.php#c=$k?>" >=$category['name']?>
"sss">
foreach ($product_ids
as $key=>$product_id){
$l++;
if ($l%3==1){?>
"card-group">
"card" style=
"width: 18rem;" >
"../=show_product($product_id['id'],$mysqli)[0]['img']?>
" class=
"card-img-top" alt=
"..." >
"card-body">
"card-title">=show_product($product_id['id'],$mysqli)[0]['name']?>
"card-text">=show_product($product_id['id'],$mysqli)[0]['sena']?> so'm
"card-text">=$product_id['count']?> dona
$k=0;
foreach ($product_id['session'] as $key => $value){
if ($k==0){
$ochirish=$value;
}
$k++;
}
?>
"add_savat.php?ochirish_id==$ochirish?>" class="btn btn-warning float-end mt-2" >o'chirish
elseif($l%3==2){?>
"card" style=
"width: 18rem;" >
"../=show_product($product_id['id'],$mysqli)[0]['img']?>
" class=
"card-img-top" alt=
"milka" >
"card-body">
"card-title">=show_product($product_id['id'],$mysqli)[0]['name']?>
"card-text">=show_product($product_id['id'],$mysqli)[0]['sena']?> so'm
"card-text">=$product_id['count']?> dona
$k=0;
foreach ($product_id['session'] as $key => $value){
if ($k==0){
$ochirish=$value;
}
$k++;
}
?>
"add_savat.php?ochirish_id==$ochirish?>" class="btn btn-warning float-end mt-2" >o'chirish
elseif($l%3==0){?>
"card" style=
"width: 18rem;" >
"../=show_product($product_id['id'],$mysqli)[0]['img']?>
" class=
"card-img-top" alt=
"nestle" >
"card-body">
"card-title">=show_product($product_id['id'],$mysqli)[0]['name']?>
"card-text">=show_product($product_id['id'],$mysqli)[0]['sena']?> so'm
"card-text">=$product_id['count']?> dona
$k=0;
foreach ($product_id['session'] as $key => $value){
if ($k==0){
$ochirish=$value;
}
$k++;
}
?>
"add_savat.php?ochirish_id==$ochirish?>" class="btn btn-warning float-end mt-2" >o'chirish