-
Notifications
You must be signed in to change notification settings - Fork 0
/
mesaj-gonder.php
137 lines (82 loc) · 4.61 KB
/
mesaj-gonder.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?php
require_once 'header.php';
islemkontrol();
$kullanicisor = $db->prepare("SELECT * FROM kullanici where kullanici_id=:id");
$kullanicisor->execute(array(
'id' => $_GET['kullanici_gel']
));
$kullanicicek = $kullanicisor->fetch(PDO::FETCH_ASSOC);
?>
<div class="pagination-area bg-secondary">
<div class="container">
<div class="pagination-wrapper">
</div>
</div>
</div>
<div class="settings-page-area bg-secondary section-space-bottom">
<div class="container">
<div class="row settings-wrapper">
<?php require_once 'hesap-sidebar.php' ?>
<div class="col-lg-9 col-md-9 col-sm-8 col-xs-12">
<?php
if (isset($_GET['durum']) and ($_GET['durum'] == "hata")) { ?>
<div class="alert alert-danger">
<strong>Hata!</strong> İşlem Başarısız
</div>
<?php } else if (isset($_GET['durum']) and ($_GET['durum'] == "ok")) { ?>
<div class="alert alert-success">
<strong>Bilgi!</strong> Mesajınız Başarıyla Gönderildi
</div>
<?php }
?>
<form action="nedmin/netting/kullanici.php" method="POST" enctype="multipart/form-data"
class="form-horizontal" id="personal-info-form">
<div class="settings-details tab-content">
<div class="tab-pane fade active in" id="Personal">
<h2 class="title-section">Mesaj Gönderme İşlemleri</h2>
<div class="personal-info inner-page-padding">
<div class="form-group">
<label class="col-sm-3 control-label">Gönderilen Kullanıcı</label>
<div class="col-sm-9">
<input disabled="" class="form-control" required="" name="urun_ad"
id="first-name"
value="<?php echo $kullanicicek['kullanici_ad'] . " " . $kullanicicek['kullanici_soyad'] ?>"
type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Mesajınız</label>
<div class="col-sm-9">
<textarea class="ckeditor" id="editor1" name="mesaj_detay"
placeholder="Ürün Açıklaması..."></textarea>
</div>
</div>
<script type="text/javascript">
CKEDITOR.replace('editor1',
{
filebrowserBrowseUrl: 'ckfinder/ckfinder.html',
filebrowserImageBrowseUrl: 'ckfinder/ckfinder.html?type=Images',
filebrowserFlashBrowseUrl: 'ckfinder/ckfinder.html?type=Flash',
filebrowserUploadUrl: 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
filebrowserImageUploadUrl: 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
filebrowserFlashUploadUrl: 'ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash',
forcePasteAsPlainText: true
}
);
</script>
<input type="hidden" name="kullanici_gel" value="<?php echo $_GET['kullanici_gel'] ?>">
<div class="form-group">
<div align="right" class="col-sm-12">
<button class="update-btn" name="mesajgonder" id="login-update">Mesaj Gönder
</button>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<?php require_once 'footer.php'; ?>