<?php

include_once '../include/include_class.php';
$musteriInclude = new IncludeClass();
$musteriInclude->musteriEkle_controller();
?>
<!DOCTYPE html>

<html>
    <head>
    <meta charset="UTF-8">
    <title>Doktor Müşteri</title>
    <?php 
$bootstrap = new Bootstrap();
$bootstrap->controller_vb();
?>
</head>
<body>
<?php 
if ($_POST) {
    $header = new Header();
    $header->kokSayfa_header();
    $musteri = new Musteri();
    $musteri->setAd(trim($_POST['ad']));
    $musteri->setSoyad(trim($_POST['soyad']));
    $musteri->setEmail(trim($_POST['email']));
    $musteri->setTel(trim($_POST['tel']));
    $musteri->setRandevuTarihi(trim($_POST['randevuTarihi']));
    $musteri->setSaatId(trim($_POST['saat']));
    $musteri->setMesaj($_POST['mesaj']);
    $musteridao = new MusteriDAO();
<?php

include_once './include/include_class.php';
$doktorInclude = new IncludeClass();
$doktorInclude->IncludeAll();
if (isset($_SESSION['doktor_id'])) {
    ?>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
    <title>Doktor Sayfası</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->index_vb();
    ?>
</head>
<body>
    <?php 
    $header = new Header();
    $header->setKey('Dok');
    $header->kokSayfa_header();
    $panel = new PanelInclude();
    $panel->doktorInclude();
    $header->footer();
    ?>
</body>
</html>
<?php 
} else {
<?php

include_once '../include/include_class.php';
$include = new IncludeClass();
$include->gunler();
if (isset($_SESSION['admin_id']) || isset($_SESSION['doktor_id'])) {
    ?>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
    <title>Geçmiş Randevular</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->setDizi('../');
    $bootstrap->controller_vb();
    ?>
</head>
<body>
    <?php 
    $header = new Header();
    $header->setDizin('../');
    $header->kokSayfa_header();
    $panel = new PanelInclude();
    $panel->setPath('../');
    if (isset($_SESSION['doktor_id'])) {
<?php

ob_start();
include_once '../include/include_class.php';
$musteriInclude = new IncludeClass();
$musteriInclude->musteriDetay_controller();
if (isset($_SESSION['admin_id'])) {
    ?>
<!DOCTYPE html>

<html>
    <head>
    <meta charset="UTF-8">
    <title>Müşteri Güncelle</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->controller_vb();
    $bootstrap->setDizi('../');
    $bootstrap->login_vb();
    ?>
</head>
<body>
    <?php 
    if ($_POST) {
        $header = new Header();
        $header->setDizin('../');
        $header->kokSayfa_header();
        $maxTarih = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") + 30, date("Y")));
        if (date('l') == 'Sunday') {
            $tarih = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") + 1, date("Y")));
        } else {
<?php

ob_start();
include_once './include/include_class.php';
$index = new IncludeClass();
$index->IncludeAll();
?>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
    <title>Ana Sayfa</title>
    <?php 
$bootstrap = new Bootstrap();
$bootstrap->index_vb();
$bootstrap->login_vb();
?>
    <script>
        $(document).ready(function () {
            $('#hclick').click(function () {
                $('#pclick').slideToggle("1000")
            });
        });
    </script>
</head>
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
<?php

ob_start();
include_once '../include/include_class.php';
$doktorInclude = new IncludeClass();
$doktorInclude->doktorGuncelle_controller_include();
if ($_POST) {
    ?>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
    <title>Doktor Güncelle</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->controller_vb();
    $bootstrap->setDizi('../');
    $bootstrap->login_vb();
    ?>
        
</head>
<body>
    <?php 
    $header = new Header();
    $header->setDizin('../');
    $header->kokSayfa_header();
    ?>
    <div class="container">
    <div class="wrapper">
        <form method="post" action="" class="form-signin">
<?php

include_once '../include/include_class.php';
$musteriInclude = new IncludeClass();
$musteriInclude->musteriSil_controller();
if (isset($_SESSION['admin_id'])) {
    ?>
<!DOCTYPE html>

<html>
    <head>
    <meta charset="UTF-8">
    <title>Müşteri Güncelle</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->controller_vb();
    ?>
</head>
<body>
<?php 
    if ($_POST) {
        $header = new Header();
        $header->kokSayfa_header();
        $musteri = new Musteri();
        $musteri->setMusteriId(trim($_POST['musteriId']));
        $musteridao = new MusteriDAO();
        $musteridao->musteriSil($musteri);
    }
}
<?php

include_once './include/include_class.php';
$hakkimizda = new IncludeClass();
$hakkimizda->IncludeAll();
?>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
    <title>Hakkımızda</title>
    <?php 
$bootstrap = new Bootstrap();
$bootstrap->index_vb();
?>
</head>
<body>
    <?php 
$header = new Header();
$header->setKey('Hak');
$header->kokSayfa_header();
?>
<div class="container marketing">
    
<center>
        <h2>Doktorlarımız</h2><hr>
</center><br/>
<div class="row">
    <?php 
$kuldao = new KullaniciGirisDAO();
Пример #9
0
<?php

include "models/function.php";
IncludeClass::inc(array("Pages"));
$param = "section";
$record = false;
if (isset($_POST["go"])) {
    $obj = new Pages();
    if (!$_POST["url"]) {
        $url = replaceStr(translitIt($_POST["name"]));
    } else {
        $url = $_POST["url"];
    }
    if ($_POST["go"] == "save") {
        $obj->insertSection($obj->insertSectionSql(), $_POST["section"], $url, trimStr($_POST["name"]));
        header("Location: " . $_SERVER['REQUEST_URI']);
    } else {
        $obj->updateSection($obj->updateSectionSql(), $_POST["section"], $url, trimStr($_POST["name"]), $_POST['go']);
        header("Location: " . $_SERVER['REQUEST_URI']);
    }
}
if (isset($_POST["pages"])) {
    if ($_POST["pages"] == "insert") {
        array_pop($_POST);
        DB::insert(DB::insertSql("pages", $_POST), $_POST);
        header("Location: " . $_SERVER['REQUEST_URI']);
    } else {
        array_pop($_POST);
        $id = array_pop($_POST);
        DB::update(DB::updateSql("pages", $_POST), $_POST, $id);
        header("Location: " . $_SERVER['REQUEST_URI']);
<?php

ob_start();
include_once '../include/include_class.php';
$musteriInclude = new IncludeClass();
$musteriInclude->musteriGuncelle_controller();
if (isset($_SESSION['admin_id'])) {
    ?>
<!DOCTYPE html>

<html>
    <head>
    <meta charset="UTF-8">
    <title>Müşteri Güncelle</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->controller_vb();
    $bootstrap->setDizi('../');
    $bootstrap->login_vb();
    ?>
</head>
<body>
    <?php 
    if ($_POST) {
        $header = new Header();
        $header->setDizin('../');
        $header->kokSayfa_header();
        $maxTarih = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") + 15, date("Y")));
        if (date('l') == 'Sunday') {
            $tarih = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") + 1, date("Y")));
        } else {
<?php

ob_start();
include_once './include/include_class.php';
$loginInclude = new IncludeClass();
$loginInclude->login_include();
?>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
    <meta charset="UTF-8">
    <title>Giriş Yapınız</title>
    <?php 
$bootsrap = new Bootstrap();
$bootsrap->index_vb();
$bootsrap->login_vb();
?>
</head>
<body>
    <?php 
$header = new Header();
$header->setKey('Yet');
$header->kokSayfa_header();
?>
    <div class = "container">
	<div class="wrapper">
<?php

ob_start();
include_once '../include/include_class.php';
$adminInclude = new IncludeClass();
$adminInclude->adminEkle_controller_include();
if (isset($_SESSION['admin_id'])) {
    if ($_POST) {
        ?>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
    <title>Admin Ekleme</title>
    <?php 
        $bootstrap = new Bootstrap();
        $bootstrap->controller_vb();
        ?>
</head>
<body>
    <?php 
        $header = new Header();
        $header->setKey('Yet');
        $header->kokSayfa_header();
        $admin = new Admin();
        $admindao = new AdminDAO();
        $admin->setAd(trim($_POST['ad']));
        $admin->setSoyad(trim($_POST['soyad']));
        $admin->setEmail(trim($_POST['email']));
        $admin->setUsername(trim($_POST['username']));
<?php

include_once '../include/include_class.php';
$doktorInclude = new IncludeClass();
$doktorInclude->kullaniciDoktorOlustur_controller();
if (isset($_SESSION['admin_id'])) {
    ?>
<!DOCTYPE html>

<html>
    <head>
    <meta charset="UTF-8">
    <title>Doktor Müşteri</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->controller_vb();
    ?>
</head>
<body>
<?php 
    if ($_POST) {
        $header = new Header();
        $header->kokSayfa_header();
        $sifre = $_POST['ad'] . $_POST['soyad'];
        $email = $_POST['email'];
        $kulgirisdao = new KullaniciGirisDAO();
        $yenisifre = $kulgirisdao->sifreleme($sifre);
        $kulgiris = new KullaniciGiris();
        $kulgiris->setEmail($email);
        $kulgiris->setSifre($yenisifre);
        $kulgiris->setYetkiId(0);
<?php

include_once './include/include_class.php';
$index = new IncludeClass();
$index->index_include();
?>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
    <meta charset="UTF-8">
    <title>Ana Sayfa</title>
    <?php 
$bootstrap = new Bootstrap();
$bootstrap->index_vb();
?>
</head>
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
    <?php 
$header = new Header();
$header->kokSayfa_header();
$slider = new Slider();
echo '<br><br>';
$slider->sliderOlustur();
$bootstrap->slider_vb();
$header->footer();
?>
<?php

ob_start();
include_once '../include/include_class.php';
$doktorInclude = new IncludeClass();
$doktorInclude->setIncDizin('../');
$doktorInclude->IncludeAll();
if (isset($_SESSION['admin_id'])) {
    ?>
<!DOCTYPE html>

<html>
    <head>
    <meta charset="UTF-8">
    <title>Doktor Müşteri</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->controller_vb();
    ?>
</head>
<body>
<?php 
    if ($_POST) {
        $header = new Header();
        $header->setDizin('../');
        $header->kokSayfa_header();
        $doktor = new Doktor();
        $durum = $_POST['durum'];
        $doktor->setDoktorId(trim($_POST['id']));
        $doktor->setEmail(trim($_POST['email']));
        $doktordao = new DoktorDAO();
<?php

include_once './include/include_class.php';
$doktorInclude = new IncludeClass();
$doktorInclude->doktorEkle_include();
if (isset($_SESSION['admin_id'])) {
    ?>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
    <title>Doktor Ekle</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->index_vb();
    $bootstrap->login_vb();
    ?>
    <script>
        $(document).ready(function () {
            $("#hclick").click(function () {
                $("#pclick").slideToggle("slow");
            });
        });
    </script>
<script>
$(document).ready(function()
Пример #17
0
include "models/function.php";
$param = "provider";
if (isset($_POST["go"])) {
    if ($_POST["go"] == "save") {
        array_pop($_POST);
        DB::insert(DB::insertSql($param, $_POST), $_POST);
        header("Location: pricelist.php");
    } else {
        $id = array_pop($_POST);
        DB::update(DB::updateSql($param, $_POST), $_POST, $id);
        header("Location: pricelist.php");
    }
}
if (isset($_POST["update"])) {
    IncludeClass::inc(array('Price'));
    Price::importPrice($_FILES, $_POST["update"]);
    header("Location: pricelist.php");
}
if (isset($_GET["delete"])) {
    Delete::del($_GET["title"], $_GET["delete"]);
    header("Location: pricelist.php");
}
$records = DB::select($param);
require_once 'view/tpl_top.php';
?>
<div class="app app-header-fixed">
    <?php 
include "view/tpl_popup_provider.php";
include "view/header.php";
$active_h = "class=\"active\"";
<?php

include_once './include/include_class.php';
$adminInclude = new IncludeClass();
$adminInclude->adminEkle_include();
?>
<!DOCTYPE html>

<html>
    <head>
    <meta charset="UTF-8">
    <title>Yönetici Ekle</title>
    <?php 
$bootstrap = new Bootstrap();
$bootstrap->index_vb();
$bootstrap->login_vb();
?>
<script>
$(document).ready(function()
{
    $('#email').keyup(email_check);
}); 
function email_check()
{   
    var email = $('#email').val();
    
    if (email == '') {
        document.getElementById("txtHint").innerHTML = '';
    } else {
    jQuery.ajax({
        type: "POST",
Пример #19
0
<?php

include "models/function.php";
IncludeClass::inc(array("Catalog"));
$param = "catalog";
$record = false;
if (isset($_GET['top'])) {
    $id_prod = $_GET['top'];
    $sql = "UPDATE price SET nn = 0 WHERE id = {$id_prod}";
    DB::updatePM($sql);
}
if (isset($_GET['down'])) {
    $id = $_GET['id'];
    $sql_count = "SELECT count(nn)as amount FROM price WHERE section={$id}";
    $count = DB::selectSql($sql_count);
    $id_prod = $_GET['down'];
    $sql = "UPDATE price SET nn =" . $count[0]['amount'] . " WHERE id = {$id_prod}";
    DB::updatePM($sql);
}
if (isset($_POST["go"])) {
    $table = $_POST["table"];
    if ($table == "catalog") {
        if (!$_POST["name_en"]) {
            $_POST["name_en"] = Rename::replace($_POST["name_ru"]);
        } else {
            $_POST["name_en"] = Rename::replace($_POST["name_en"]);
        }
        $array = array("name_ru" => $_POST['name_ru'], "name_en" => $_POST['name_en'], "parent" => $_POST['parent'], "title" => $_POST['title'], "desc" => $_POST['desc'], "keywords" => $_POST['keywords']);
    } else {
        $array = array("name_ru" => $_POST['name_ru'], "title" => $_POST['title'], "text" => $_POST['text'], "parent" => 0);
        $src = DB::filesUpload($_FILES['photo'], $_POST["table"]);
<?php

ob_start();
include_once '../include/include_class.php';
$doktorInclude = new IncludeClass();
$doktorInclude->doktorEkle_controller_include();
if (isset($_SESSION['admin_id'])) {
    ?>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
    <title>Admin Ekleme</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->controller_vb();
    ?>
</head>
<body>
<?php 
    if ($_POST) {
        $header = new Header();
        $header->kokSayfa_header();
        $doktorInclude->doktorEkle_controller_include();
        $doktor = new Doktor();
        $doktor->setAd(trim($_POST['ad']));
        $doktor->setSoyad(trim($_POST['soyad']));
        $doktor->setDogumTarihi(trim($_POST['dogumTarihi']));
        $doktor->setTel(trim($_POST['tel']));
        $doktor->setEmail(trim($_POST['email']));
<?php

include_once './include/include_class.php';
$hizmetInclude = new IncludeClass();
$hizmetInclude->hizmet_include();
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
    <title>Hizmetlerimiz</title>
    <?php 
$bootstrap = new Bootstrap();
$bootstrap->index_vb();
?>
</head>
<body>
    <?php 
$header = new Header();
$header->setKey('Hiz');
$header->kokSayfa_header();
?>
<div class="container">
    <div class="row featurette">
        <div class="col-md-7">
          <h2 class="featurette-heading">Doktor Kadromuz Hakkında<span class="text-muted"></span></h2>
          <p class="lead">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer a pellentesque ante. Nunc ut tortor auctor, malesuada purus vitae, iaculis nulla. Etiam laoreet tortor a aliquet aliquet. Sed volutpat aliquet vestibulum. Maecenas fringilla, quam accumsan consectetur malesuada, nisl nunc faucibus libero, non tristique orci arcu ut neque. Pellentesque vestibulum iaculis lacus nec auctor. Maecenas non leo justo. Vestibulum facilisis nunc in malesuada accumsan. Phasellus a nisl et lacus ornare malesuada. Proin ultrices ultricies neque, non pharetra purus accumsan interdum. Nulla elementum maximus nibh eget gravida. Morbi cursus condimentum odio, interdum sodales nisi mattis sed. Donec mattis rutrum dui at pharetra. Nulla facilisi. Vestibulum lacinia, sem at elementum rhoncus, tellus lacus convallis eros, a pellentesque enim purus mattis nibh
</p>
        </div>
        <div class="col-md-5"></div>
      <span class="col-md-5"><img src="" width="500" height="500"></span>      </div>
<?php

ob_start();
include_once '../include/include_class.php';
$profilInclude = new IncludeClass();
$profilInclude->profilGoruntule();
?>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
    <title>Şifre Değiştir</title>
    <?php 
$bootstrap = new Bootstrap();
$bootstrap->setDizi('../');
$bootstrap->controller_vb();
$bootstrap->login_vb();
?>
</head>
<body>
<?php 
$header = new Header();
$header->setDizin('../');
$header->kokSayfa_header();
?>
    <div class = "container">
	<div class="wrapper">
            <?php 
if ($_POST) {
    $kul = new KullaniciGiris();
<?php

include_once './include/include_class.php';
$musteriInclude = new IncludeClass();
$musteriInclude->musteriEkle_include();
?>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
    <title>Randevu Al</title>
    <?php 
$bootstrap = new Bootstrap();
$bootstrap->index_vb();
$bootstrap->login_vb();
?>
    <script>
        $(document).ready(function () {
            $("#hclick").click(function () {
                $("#pclick").slideToggle("slow");
            });
        });
    </script>
</head>
<body>
    <?php 
$header = new Header();
$header->setKey('Onl');
$header->kokSayfa_header();
$slider = new Slider();
<?php

include_once '../include/include_class.php';
$gunlerInclude = new IncludeClass();
$gunlerInclude->gunler();
if (!empty($_SESSION['doktor_id'])) {
    ?>
<!DOCTYPE html>


<html>
<head>
    <meta charset="UTF-8">
    <title>Müşteri Listesi</title>
    <?php 
    $bootstrap = new Bootstrap();
    $bootstrap->controller_vb();
    ?>
</head>
<body>
    <?php 
    $header = new Header();
    //$header->setKey('Dok');
    $header->setDizin('../');
    $header->kokSayfa_header();
    $panel = new PanelInclude();
    $panel->setPath('../');
    $panel->doktorInclude();
    echo '<br/><br/><br/>';
    for ($i = 0; $i < 7; $i++) {
        $tarih = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") + $i, date("Y")));
<?php

include_once '../include/include_class.php';
$inc = new IncludeClass();
$inc->setIncDizin('../');
$inc->IncludeAll();
if (isset($_SESSION['admin_id'])) {
    if ($_POST) {
        $ilt = new Iletisim();
        $ilt->setIletisimId($_POST['id']);
        $iltdao = new IletisimDAO();
        $iltdao->IletisimSil($ilt);
    }
}
Пример #26
0
<?php

include "models/function.php";
IncludeClass::inc(array("Product"));
if (isset($_POST["go"])) {
    $nn = DB::selectAI("price");
    $attr = AttrValue::conbine($_POST["attr"], $_POST["val"]);
    if (isset($_POST["related"]) and $_POST["related"]) {
        $related = array_slice($_POST["related"], 0, 3);
        $data_related = serialize($related);
    } else {
        $data_related = "";
    }
    $arrText = array("section" => $_POST['section'], "collection" => $_POST['collection'], "exclusive" => $_POST['exclusive'], "name" => $_POST['name'], "nomer" => $_POST['nomer'], "code" => $_POST['code'], "size" => $_POST['size'], "material" => $_POST['material'], "proba" => $_POST['proba'], "vstavki" => $_POST['vstavki'], "weight" => $_POST['weight'], "price" => $_POST['price'], "price_old" => $_POST['price_old'], "attr" => $attr, "related" => $data_related, "title" => $_POST['title'], "description" => $_POST['description'], "keywords" => $_POST['keywords']);
    if ($_POST["go"] == "save") {
        $arrText += array('nn' => $nn, 'sk40' => 0, 'sk50' => 0);
        if (isset($arrText['related']) && !empty($arrText['related'])) {
            //$next_sql = " AND NOT id=";
            $proverka = DB::selectParam('price', 'nomer', $arrText['nomer'], false, false, false, false);
            $arr_prov = array("related" => $arrText['related']);
            if ($proverka != false && empty($proverka['related'])) {
                foreach ($proverka as $prov) {
                    DB::update(DB::updateSql("price", $arr_prov), $arr_prov, $prov['id']);
                }
            }
        }
        $lastId = DB::insert(DB::insertSql("price", $arrText), $arrText);
    } else {
        $lastId = $_POST["go"];
        if (isset($arrText['related']) && !empty($arrText['related'])) {
            $next_sql = " AND NOT id=" . $lastId;
<?php

include_once '../include/include_class.php';
$doktorInclude = new IncludeClass();
$doktorInclude->doktorMusteri_controller();
?>
<!DOCTYPE html>

<html>
    <head>
        <meta charset="UTF-8">
    <title>Doktor Müşteri</title>
    <?php 
$bootstrap = new Bootstrap();
$bootstrap->controller_vb();
?>
    <script>
        $(document).ready(function () {
            $("#hclick").click(function () {
                $("#pclick").slideToggle("slow");
            });
        });
    </script>
</head>
<body>
    <?php 
if ($_POST) {
    $header = new Header();
    $header->kokSayfa_header();
    $doktor = new Doktor();
    $doktor->setDoktorId(trim($_POST['id']));