PNG  IHDR* pHYs+ IDATx]n#; cdLb Ǚ[at¤_:uP}>!Usă cag޿ ֵNu`ݼTâabO7uL&y^wFٝA"l[|ŲHLN밪4*sG3|Dv}?+y߉{OuOAt4Jj.u]Gz*҉sP'VQKbA1u\`& Af;HWj hsO;ogTu uj7S3/QzUr&wS`M$X_L7r2;aE+ώ%vikDA:dR+%KzƉo>eOth$z%: :{WwaQ:wz%4foɹE[9<]#ERINƻv溂E%P1i01 |Jvҗ&{b?9g=^wζXn/lK::90KwrюO\!ջ3uzuGv^;騢wq<Iatv09:tt~hEG`v;3@MNZD.1]L:{ծI3`L(÷ba")Y.iljCɄae#I"1 `3*Bdz>j<fU40⨬%O$3cGt]j%Fߠ_twJ;ABU8vP3uEԑwQ V:h%))LfraqX-ۿX]v-\9I gl8tzX ]ecm)-cgʒ#Uw=Wlێn(0hPP/ӨtQ“&J35 $=]r1{tLuǮ*i0_;NƝ8;-vݏr8+U-kruȕYr0RnC]*ެ(M:]gE;{]tg(#ZJ9y>utRDRMdr9㪩̞zֹb<ģ&wzJM"iI( .ꮅX)Qw:9,i좜\Ԛi7&N0:asϓc];=ΗOӣ APqz93 y $)A*kVHZwBƺnWNaby>XMN*45~ղM6Nvm;A=jֲ.~1}(9`KJ/V F9[=`~[;sRuk]rєT!)iQO)Y$V ی ۤmzWz5IM Zb )ˆC`6 rRa}qNmUfDsWuˤV{ Pݝ'=Kֳbg,UҘVz2ﴻnjNgBb{? ߮tcsͻQuxVCIY۠:(V뺕 ٥2;t`@Fo{Z9`;]wMzU~%UA蛚dI vGq\r82iu +St`cR.6U/M9IENDB` REDROOM
PHP 5.6.40
Preview: index.php Size: 17.53 KB
/home/ankaservis/public_html/app/views/contact/index.php

<section class="py-16 tech-bg-pattern dark:bg-gray-800">
    <div class="container mx-auto px-4">
        <div class="text-center mb-12">
            <h1 class="text-3xl md:text-4xl font-bold text-anka-gray dark:text-white mb-4">Ankara Beyaz Eşya Kombi Servisi İletişim</h1>
            <p class="text-anka-orange font-semibold"><?php echo defined('COMPANY_NAME') ? COMPANY_NAME : ''; ?></p>
            <div class="w-24 h-1 bg-gradient-to-r from-anka-orange-dark to-anka-orange mx-auto mt-4 rounded"></div>
        </div>
        
        <!-- Form Seçenekleri -->
        <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12">
            <a href="<?php echo Helper::url('/iletisim/servis-formu'); ?>" class="bg-gradient-to-br from-gray-50 via-white to-gray-50 dark:bg-gray-700 p-6 rounded-xl shadow-lg hover:shadow-xl transition-all transform hover:-translate-y-2 border-2 border-transparent hover:border-anka-orange">
                <div class="text-center">
                    <div class="w-16 h-16 bg-gradient-to-br from-anka-orange-dark to-anka-orange rounded-full flex items-center justify-center mx-auto mb-4">
                        <svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"></path>
                        </svg>
                    </div>
                    <h3 class="text-xl font-bold text-anka-gray dark:text-white mb-2">Servis Formu</h3>
                    <p class="text-gray-600 dark:text-gray-300 text-sm">Servis talebinizi oluşturun</p>
                </div>
            </a>
            
            <a href="tel:03124660667" class="bg-gradient-to-br from-gray-50 via-white to-gray-50 dark:bg-gray-700 p-6 rounded-xl shadow-lg hover:shadow-xl transition-all transform hover:-translate-y-2 border-2 border-transparent hover:border-anka-orange">
                <div class="text-center">
                    <div class="w-16 h-16 bg-gradient-to-br from-anka-orange-dark to-anka-orange rounded-full flex items-center justify-center mx-auto mb-4">
                        <svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"></path>
                        </svg>
                    </div>
                    <h3 class="text-xl font-bold text-anka-gray dark:text-white mb-2">Hemen Ara</h3>
                    <p class="text-gray-600 dark:text-gray-300 text-sm">Telefon ile hemen ulaşın</p>
                </div>
            </a>
            
            <a href="#iletisim-formu" class="bg-gradient-to-br from-gray-50 via-white to-gray-50 dark:bg-gray-700 p-6 rounded-xl shadow-lg hover:shadow-xl transition-all transform hover:-translate-y-2 border-2 border-transparent hover:border-anka-orange">
                <div class="text-center">
                    <div class="w-16 h-16 bg-gradient-to-br from-anka-orange-dark to-anka-orange rounded-full flex items-center justify-center mx-auto mb-4">
                        <svg class="w-8 h-8 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path>
                        </svg>
                    </div>
                    <h3 class="text-xl font-bold text-anka-gray dark:text-white mb-2">İletişim Formu</h3>
                    <p class="text-gray-600 dark:text-gray-300 text-sm">Genel mesaj gönderin</p>
                </div>
            </a>
        </div>
        
        <?php if (isset($_SESSION['success'])): ?>
            <div class="bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded-lg mb-6">
                <?php echo $_SESSION['success']; unset($_SESSION['success']); ?>
            </div>
        <?php endif; ?>
        
        <?php if (isset($_SESSION['error'])): ?>
            <div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded-lg mb-6">
                <?php echo $_SESSION['error']; unset($_SESSION['error']); ?>
            </div>
        <?php endif; ?>
        
        <?php if (isset($_SESSION['errors'])): ?>
            <div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded-lg mb-6">
                <ul class="list-disc list-inside">
                    <?php foreach ($_SESSION['errors'] as $error): ?>
                        <li><?php echo $error; ?></li>
                    <?php endforeach; ?>
                </ul>
            </div>
            <?php unset($_SESSION['errors']); ?>
        <?php endif; ?>

        <div id="iletisim-formu" class="grid grid-cols-1 lg:grid-cols-2 gap-8">
            <div class="bg-gradient-to-br from-gray-50 via-white to-gray-50 dark:bg-gray-700 p-8 rounded-xl shadow-lg">
                <h2 class="text-2xl font-bold text-anka-gray dark:text-white mb-6">İletişim Formu</h2>
                <form method="POST" action="<?php echo Helper::url('/iletisim/gonder'); ?>">
                    <input type="hidden" name="csrf_token" value="<?php echo Helper::csrfToken(); ?>">
                    
                    <div class="hidden" aria-hidden="true">
                        <label for="website_contact" class="sr-only">Website</label>
                        <input type="text" id="website_contact" name="website" tabindex="-1" autocomplete="off">
                    </div>
                    
                    <div class="mb-6">
                        <label for="name" class="block text-gray-700 dark:text-gray-300 font-semibold mb-2">Ad Soyad *</label>
                        <input type="text" id="name" name="name" required 
                               value="<?php echo isset($_SESSION['form_data']['name']) ? Helper::escape($_SESSION['form_data']['name']) : ''; ?>"
                               class="w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-anka-orange focus:border-transparent dark:bg-gray-800 dark:text-white">
                    </div>
                    
                    <div class="mb-6">
                        <label for="email" class="block text-gray-700 dark:text-gray-300 font-semibold mb-2">E-posta</label>
                        <input type="email" id="email" name="email"
                               value="<?php echo isset($_SESSION['form_data']['email']) ? Helper::escape($_SESSION['form_data']['email']) : ''; ?>"
                               class="w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-anka-orange focus:border-transparent dark:bg-gray-800 dark:text-white">
                    </div>
                    
                    <div class="mb-6">
                        <label for="phone" class="block text-gray-700 dark:text-gray-300 font-semibold mb-2">Telefon *</label>
                        <input type="tel" id="phone" name="phone" required
                               placeholder="0532 123 45 67 veya 532 123 45 67"
                               pattern="[0-9\s\+\-\(\)]{10,15}"
                               value="<?php echo isset($_SESSION['form_data']['phone']) ? Helper::escape($_SESSION['form_data']['phone']) : ''; ?>"
                               class="w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-anka-orange focus:border-transparent dark:bg-gray-800 dark:text-white">
                        <p class="text-xs text-gray-500 mt-1">0 ile başlaması zorunlu değil, otomatik eklenir</p>
                    </div>
                    
                    <div class="mb-6">
                        <label for="subject" class="block text-gray-700 dark:text-gray-300 font-semibold mb-2">Konu</label>
                        <input type="text" id="subject" name="subject"
                               value="<?php echo isset($_SESSION['form_data']['subject']) ? Helper::escape($_SESSION['form_data']['subject']) : ''; ?>"
                               class="w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-anka-orange focus:border-transparent dark:bg-gray-800 dark:text-white">
                    </div>
                    
                    <div class="mb-6">
                        <label for="message" class="block text-gray-700 dark:text-gray-300 font-semibold mb-2">Mesaj *</label>
                        <textarea id="message" name="message" rows="5" required
                                  class="w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-anka-orange focus:border-transparent dark:bg-gray-800 dark:text-white"><?php echo isset($_SESSION['form_data']['message']) ? Helper::escape($_SESSION['form_data']['message']) : ''; ?></textarea>
                    </div>
                    
                    <?php unset($_SESSION['form_data']); ?>
                    
                    <button type="submit" class="w-full bg-gradient-to-r from-anka-orange-dark to-anka-orange text-white px-6 py-3 rounded-lg font-bold hover:from-anka-orange hover:to-anka-orange-light transition-all shadow-lg hover:shadow-xl">
                        Gönder
                    </button>
                </form>
            </div>
            
            <div class="bg-gradient-to-br from-gray-50 via-white to-gray-50 dark:bg-gray-700 p-8 rounded-xl shadow-lg">
                <h2 class="text-2xl font-bold text-anka-gray dark:text-white mb-6">Şubelerimiz</h2>
                <div class="space-y-6 mb-8">
                    <!-- Çankaya Genel Merkez -->
                    <div class="border border-gray-200 dark:border-gray-600 rounded-lg p-4 hover:border-anka-orange transition">
                        <div class="flex items-center space-x-3 mb-3">
                            <div class="w-10 h-10 bg-gradient-to-br from-anka-orange-dark to-anka-orange rounded-lg flex items-center justify-center">
                                <svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"></path>
                                </svg>
                            </div>
                            <div>
                                <h3 class="font-bold text-anka-gray dark:text-white">Çankaya > Genel Merkez</h3>
                            </div>
                        </div>
                        <div class="space-y-2 text-sm text-gray-600 dark:text-gray-300 pl-13">
                            <div class="flex items-start space-x-2">
                                <svg class="w-4 h-4 text-anka-orange mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"></path>
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"></path>
                                </svg>
                                <span><?php echo defined('BRANCH_CANKAYA') ? BRANCH_CANKAYA['address'] : $contact_address; ?></span>
                            </div>
                            <div class="flex items-center space-x-2">
                                <svg class="w-4 h-4 text-anka-orange flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"></path>
                                </svg>
                                <a href="tel:<?php echo str_replace(' ', '', $contact_phone); ?>" class="hover:text-anka-orange transition"><?php echo $contact_phone; ?></a>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Keçiören Şubesi -->
                    <div class="border border-gray-200 dark:border-gray-600 rounded-lg p-4 hover:border-anka-orange transition">
                        <div class="flex items-center space-x-3 mb-3">
                            <div class="w-10 h-10 bg-gradient-to-br from-anka-orange-dark to-anka-orange rounded-lg flex items-center justify-center">
                                <svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"></path>
                                </svg>
                            </div>
                            <div>
                                <h3 class="font-bold text-anka-gray dark:text-white">Keçiören > Şube</h3>
                            </div>
                        </div>
                        <div class="space-y-2 text-sm text-gray-600 dark:text-gray-300 pl-13">
                            <div class="flex items-start space-x-2">
                                <svg class="w-4 h-4 text-anka-orange mt-0.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"></path>
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"></path>
                                </svg>
                                <span><?php echo defined('BRANCH_KECIOREN') ? BRANCH_KECIOREN['address'] : 'İncirli Mah. Sezgin Cd. 19-A, Keçiören, Ankara'; ?></span>
                            </div>
                            <div class="flex items-center space-x-2">
                                <svg class="w-4 h-4 text-anka-orange flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"></path>
                                </svg>
                                <a href="tel:<?php echo str_replace(' ', '', $contact_phone); ?>" class="hover:text-anka-orange transition"><?php echo $contact_phone; ?></a>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="border-t border-gray-200 dark:border-gray-600 pt-6">
                    <h3 class="font-bold text-anka-gray dark:text-white mb-4">Çalışma Saatleri</h3>
                    <ul class="space-y-2 text-sm text-gray-600 dark:text-gray-300">
                        <li class="flex items-center space-x-2">
                            <svg class="w-4 h-4 text-anka-orange" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                            </svg>
                            <span><?php echo defined('WORKING_HOURS_WEEKDAYS') ? WORKING_HOURS_WEEKDAYS : 'Hafta İçi: 08:30 - 20:00'; ?></span>
                        </li>
                        <li class="flex items-center space-x-2">
                            <svg class="w-4 h-4 text-anka-orange" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                            </svg>
                            <span><?php echo defined('WORKING_HOURS_SATURDAY') ? WORKING_HOURS_SATURDAY : 'Cumartesi: 09:30 - 18:00'; ?></span>
                        </li>
                        <li class="flex items-center space-x-2">
                            <svg class="w-4 h-4 text-anka-orange" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                            </svg>
                            <span><?php echo defined('WORKING_HOURS_SUNDAY') ? WORKING_HOURS_SUNDAY : 'Pazar: Nöbetçi Ekip'; ?></span>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</section>

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
0 B lrw-r--r-- 2026-02-08 14:29:07
Edit Download
9.60 KB lrw-r--r-- 2025-12-03 23:07:11
Edit Download
17.53 KB lrw-r--r-- 2025-11-17 19:50:46
Edit Download
14.42 KB lrw-r--r-- 2025-12-03 23:07:11
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 REDROOM — Secure File Manager. All rights reserved. Built with ❤️ & Red Dark UI