Text Update For Test

This commit is contained in:
sunshine255 2024-10-30 08:47:03 +08:00
parent ce4d28d241
commit 06db72dc5e

View File

@ -1,132 +1,132 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<?php include('../cms_admin/db_connection.php'); ?> <?php include('../cms_admin/db_connection.php'); ?>
<?php <?php
// Fetch products and categories // Fetch products and categories
$p_id = isset($_GET['id']) ? intval($_GET['id']) : 0; $p_id = isset($_GET['id']) ? intval($_GET['id']) : 0;
$result = mysqli_query($conn, " $result = mysqli_query($conn, "
SELECT p.id, p.title, p.icon, p.image, p.tracking_link, p.short_description, p.long_description, p.status, c.c_name as category_name SELECT p.id, p.title, p.icon, p.image, p.tracking_link, p.short_description, p.long_description, p.status, c.c_name as category_name
FROM products p FROM products p
JOIN categories c ON p.category_id = c.id JOIN categories c ON p.category_id = c.id
WHERE p.id = $p_id WHERE p.id = $p_id
"); ");
if ($result && mysqli_num_rows($result) > 0) { if ($result && mysqli_num_rows($result) > 0) {
$row = mysqli_fetch_assoc($result); $row = mysqli_fetch_assoc($result);
$product_title = htmlspecialchars($row['title']); $product_title = htmlspecialchars($row['title']);
$long_description = $row['long_description']; $long_description = $row['long_description'];
$short_description = htmlspecialchars($row['short_description']); $short_description = htmlspecialchars($row['short_description']);
$category_name = htmlspecialchars($row['category_name']); $category_name = htmlspecialchars($row['category_name']);
// SEO tags // SEO tags
$title = "Learn more about $product_title, including features and benefits - AI Tool Path"; $title = "Learn more about $product_title, including features and benefits - AI Tool Path";
$description = "$short_description"; $description = "$short_description";
$keywords = "$product_title, $category_name, AI Tools, Tool Directory, AI Tool Path, AIPT"; $keywords = "$product_title, $category_name, AI Tools, Tool Directory, AI Tool Path, AIPT";
// Output meta tags // Output meta tags
echo "<title>$title</title>"; echo "<title>$title</title>";
echo "<meta name='description' content='$description'>"; echo "<meta name='description' content='$description'>";
echo "<meta name='keywords' content='$keywords'>"; echo "<meta name='keywords' content='$keywords'>";
} else { } else {
// Redirect to the 404 page if no product is found // Redirect to the 404 page if no product is found
echo "<script>window.location.href = '404';</script>"; echo "<script>window.location.href = '404';</script>";
exit(); exit();
} }
?> ?>
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&amp;display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&amp;display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&amp;display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&amp;display=swap" rel="stylesheet">
<!--Color Switcher Mockup--> <!--Color Switcher Mockup-->
<link href="css/color-switcher-design.css" rel="stylesheet"> <link href="css/color-switcher-design.css" rel="stylesheet">
<!-- Color Themes --> <!-- Color Themes -->
<link id="theme-color-file" href="css/color-themes/default-color.css" rel="stylesheet"> <link id="theme-color-file" href="css/color-themes/default-color.css" rel="stylesheet">
<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon"> <link rel="shortcut icon" href="images/favicon.png" type="image/x-icon">
<link rel="icon" href="images/favicon.png" type="image/x-icon"> <link rel="icon" href="images/favicon.png" type="image/x-icon">
<!-- Responsive --> <!-- Responsive -->
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<!-- Stylesheets --> <!-- Stylesheets -->
<link href="css/bootstrap.css" rel="stylesheet"> <link href="css/bootstrap.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet">
<link href="css/responsive.css" rel="stylesheet"> <link href="css/responsive.css" rel="stylesheet">
<meta name="robots" content="index, follow"> <meta name="robots" content="index, follow">
<style> <style>
.career-page-top__content-box-two h3,h1,h2,h3,h4{ .career-page-top__content-box-two h3,h1,h2,h3,h4{
font-size:18px !important; font-size:18px !important;
color:#ad92df !important; color:#ad92df !important;
} }
</style> </style>
</head> </head>
<body class="body-bg-color"> <body class="body-bg-color">
<!-- Header --> <!-- Header -->
<?php include 'container/header.php'; ?> <?php include 'container/header.php'; ?>
<!-- Page Title Start --> <!-- Page Title Start -->
<section class="page-title"> <section class="page-title">
<div class="container"> <div class="container">
<div class="page-title__inner"> <div class="page-title__inner">
</div> </div>
</div> </div>
</section> </section>
<!-- Career Page Top Start --> <!-- Career Page Top Start -->
<section class="career-page-top"> <section class="career-page-top">
<div class="container"> <div class="container">
<div class="career-page-top__inner"> <div class="career-page-top__inner">
<div class="career-page-top__single"> <div class="career-page-top__single">
<div class="career-page-top__img"> <div class="career-page-top__img">
<img src="../cms_admin/<?php echo htmlspecialchars($row['image']); ?>" alt=""> <img src="../cms_admin/<?php echo htmlspecialchars($row['image']); ?>" alt="">
</div> </div>
<div class="career-page-top__content-box mt-5"> <div class="career-page-top__content-box mt-5">
<div class="career-page-top__job-apply-box"> <div class="career-page-top__job-apply-box">
<div class="career-page-top__job-apply-left"> <div class="career-page-top__job-apply-left">
<div class="career-page-top__job-apply-icon"> <div class="career-page-top__job-apply-icon">
<img src="../cms_admin/<?php echo htmlspecialchars($row['icon']); ?>" alt=""> <img src="../cms_admin/<?php echo htmlspecialchars($row['icon']); ?>" alt="">
</div> </div>
<div class="career-page-top__job-apply-details-box"> <div class="career-page-top__job-apply-details-box">
<h3 class="career-page-top__job-apply-title"><a href="#"><?php echo $product_title; ?></a></h3> <h3 class="career-page-top__job-apply-title"><a href="#"><?php echo $product_title; ?></a></h3>
<ul class="career-page-top__job-apply-theme-list list-unstyled"> <ul class="career-page-top__job-apply-theme-list list-unstyled">
<li><p><?php echo $category_name; ?></p></li> <li><p><?php echo $category_name; ?></p></li>
</ul> </ul>
</div> </div>
</div> </div>
<div class="career-page-top__job-apply-right"> <div class="career-page-top__job-apply-right">
<div class="career-page-top__job-apply-btn-box"> <div class="career-page-top__job-apply-btn-box">
<a href="<?php echo htmlspecialchars($row['tracking_link']); ?>" class="career-page-top__job-apply-btn thm-btn">Get It Now<span class="icon-arrow-right"></span></a> <a href="<?php echo htmlspecialchars($row['tracking_link']); ?>" class="career-page-top__job-apply-btn thm-btn">Get It Now<span class="icon-arrow-right"></span></a>
</div> </div>
</div> </div>
</div> </div>
<div class="career-page-top__content-box-two"> <div class="career-page-top__content-box-two">
<h3 class="career-page-top__title-1">Tool Description</h3> <h3 class="career-page-top__title-1">AI Tool Description </h3>
<p class="career-page-top__text-1" style="line-height:1.9;"><br><?php echo $long_description; ?></p> <p class="career-page-top__text-1" style="line-height:1.9;"><br><?php echo $long_description; ?></p>
</div> </div>
</div> </div>
</div> </div>
<div class="career-page-top__interested-job"> <div class="career-page-top__interested-job">
<div class="career-page-top__interested-job-title-box"> <div class="career-page-top__interested-job-title-box">
<h3 class="career-page-top__interested-job-title">Interested to get this tool?</h3> <h3 class="career-page-top__interested-job-title">Interested to get this tool?</h3>
<p class="career-page-top__interested-job-sub-title">Click on the button and enjoy AI at its best</p> <p class="career-page-top__interested-job-sub-title">Click on the button and enjoy AI at its best</p>
</div> </div>
<div class="career-page-top__interested-job-btn-box"> <div class="career-page-top__interested-job-btn-box">
<a href="<?php echo htmlspecialchars($row['tracking_link']); ?>" class="career-page-top__interested-job-btn thm-btn">Get It Now <span class="icon-arrow-right"></span></a> <a href="<?php echo htmlspecialchars($row['tracking_link']); ?>" class="career-page-top__interested-job-btn thm-btn">Get It Now <span class="icon-arrow-right"></span></a>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</section> </section>
<!-- Career Page End Start --> <!-- Career Page End Start -->
<!-- Free Trail Start --> <!-- Free Trail Start -->
<?php include 'container/free_trail.php'; ?> <?php include 'container/free_trail.php'; ?>
<!-- Free Trail End --> <!-- Free Trail End -->
<!-- Main Footer Start --> <!-- Main Footer Start -->
<?php include 'container/footer.php'; ?> <?php include 'container/footer.php'; ?>
<!-- Main Footer End --> <!-- Main Footer End -->
<?php include 'container/footer_links.php'; ?> <?php include 'container/footer_links.php'; ?>
</body> </body>
</html> </html>