%PDF- %PDF-
Direktori : /home/cargonizer/domains/cargonizer.com.tr/public_html/admin/ |
Current File : /home/cargonizer/domains/cargonizer.com.tr/public_html/admin/settings.php |
<?php if(!defined('BASE')) die(); $action = clean($_POST['action']); switch($action) { case 'save': $s = clean($_POST['s']); if(!$s['smtp']) $s['smtp']='0'; insert2lang(LANG,'settings',1,$s); echo message('Bilgiler başarı ile güncellenmiştir.','success'); break; } $settings = getTable('settings',"WHERE id=1",LANG); ?> <div class="row"> <div class="col-md-12"> <h3 class="page-title"> Site Ayarları </h3> <ul class="page-breadcrumb breadcrumb"> <li> <i class="fa fa-home"></i> <a href="index.php"> Anasayfa </a> <i class="fa fa-angle-right"></i> </li> <li> <a>Genel Ayarlar</a> <i class="fa fa-angle-right"></i> </li> <li> <a href="?s=settings"> Site Ayarları </a> <i class="fa fa-angle-right"></i> </li> </ul> </div> </div> <form class="form-horizontal form-bordered form-row-stripped" method="post"> <div class="form-body"> <div class="form-group"> <label class="control-label col-md-3">Site Başlığı</label> <div class="col-md-9"> <input type="text" placeholder="Site Başlığı" class="form-control" name="s[title]" id="title" value="<?php echo $settings['title']; ?>"> </div> </div> <div class="form-group"> <label class="control-label col-md-3">SEO Keywords</label> <div class="col-md-9"> <input type="text" placeholder="Anahtar Kelime" class="form-control tags" name="s[keywords]" id="keywords" value="<?php echo $settings['keywords']; ?>"> <span class="help-block"> Google SEO Anahtar Kelime </span> </div> </div> <div class="form-group"> <label class="control-label col-md-3">SEO Açıklama</label> <div class="col-md-9"> <textarea rows="2" placeholder="Test Descriptions" class="form-control" name="s[description]" id="description"><?php echo $settings['description']; ?></textarea> <span class="help-block"> Sitenizi 2 cümle ile özetleyiniz. </span> </div> </div> <div class="form-group"> <label class="control-label col-md-3">Site Eposta</label> <div class="col-md-9"> <input type="text" placeholder="info@domain.com" class="form-control" name="s[email]" value="<?php echo $settings['email']; ?>"> <span class="help-block"> Sitenizin iletişim adresidir. </span> </div> </div> <div class="form-group"> <label class="control-label col-md-3">Meta Etiketleri</label> <div class="col-md-9"> <textarea rows="4" class="form-control" name="s[metatag]" id="metatag"><?php echo $settings['metatag']; ?></textarea> <span class="help-block"> Sitenize koyacağınız meta etiketlerini girebilirsiniz. </span> </div> </div> <div class="form-group"> <label class="control-label col-md-3">Footer Etiketleri</label> <div class="col-md-9"> <textarea rows="4" class="form-control" name="s[analytics]" id="analytics"><?php echo $settings['analytics']; ?></textarea> <span class="help-block"> Google Analytics, Zoopim, Yandex etiketleri gibi kodları koyabilirsiniz. </span> </div> </div> <div class="form-group"> <label class="col-md-3 control-label">Üye/Bayi Otomotik Onaylı</label> <div class="col-md-9"> <input type="checkbox" data-off-label="Hayır" data-on-label="Evet" value="1" class="make-switch" name="f[userStatus]" <?php if($settings['userStatus']==1) echo 'checked="checked"';?>> </div> </div> <div class="form-group"> <label class="col-md-3 control-label">SMTP</label> <div class="col-md-9"> <input type="checkbox" data-off-label="Pasif" data-on-label="Aktif" value="1" class="make-switch" name="s[smtp]" <?php if($settings['smtp']==1) echo 'checked="checked"';?>> </div> </div> <div class="form-group"> <label class="control-label col-md-3">SMTP Sunucu</label> <div class="col-md-9"> <input type="text" class="form-control" name="s[smtphost]" id="smtphost" value="<?php echo $settings['smtphost']; ?>"> </div> </div> <div class="form-group"> <label class="control-label col-md-3">SMTP Kullanıcı Adı</label> <div class="col-md-9"> <input type="text" class="form-control" name="s[smtpuser]" id="smtpuser" value="<?php echo $settings['smtpuser']; ?>"> </div> </div> <div class="form-group"> <label class="control-label col-md-3">SMTP Şifresi</label> <div class="col-md-9"> <input type="text" class="form-control" name="s[smtppass]" id="smtppass" value="<?php echo $settings['smtppass']; ?>"> </div> </div> <div class="form-group"> <label class="control-label col-md-3">SMTP Portu</label> <div class="col-md-9"> <input type="text" class="form-control" name="s[smtpport]" id="smtpport" value="<?php echo $settings['smtpport']; ?>"> </div> </div> </div> <div class="form-actions fluid"> <div class="row"> <div class="col-md-12"> <div class="col-md-offset-3 col-md-9"> <input type="hidden" name="action" value="save" /> <button class="btn green" type="submit"><i class="fa fa-check"></i> KAYDET</button> </div> </div> </div> </div> </form>