├── .gitignore ├── .htaccess ├── README.md ├── apple-touch-icon-114x114-precomposed.png ├── apple-touch-icon-144x144-precomposed.png ├── apple-touch-icon-72x72-precomposed.png ├── apple-touch-icon-precomposed.png ├── aramayonlendir.php ├── favicon.png ├── güvenlik açıkları.txt ├── inc ├── css │ ├── bootstrap.min.css │ ├── font-awesome.min.css │ ├── sol-menu.min.css │ └── stil.min.css ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ └── fontawesome-webfont.woff ├── images │ ├── ayrac.png │ ├── kullanici │ │ └── bos.txt │ └── varsayilan.png └── js │ ├── bootstrap.min.js │ ├── genel.min.js │ ├── imgfix.min.js │ ├── imgfix.min.js.map │ ├── lightbox │ ├── css │ │ ├── lightbox.css │ │ └── screen.css │ ├── img │ │ ├── close.png │ │ ├── loading.gif │ │ ├── next.png │ │ └── prev.png │ └── js │ │ ├── lightbox.min.js │ │ └── lightbox.min.map │ ├── sol-menu.min.js │ ├── sscr.js │ └── syntaxhighlighter │ ├── scripts │ ├── shAutoloader.js │ ├── shBrushAS3.js │ ├── shBrushAppleScript.js │ ├── shBrushBash.js │ ├── shBrushCSharp.js │ ├── shBrushColdFusion.js │ ├── shBrushCpp.js │ ├── shBrushCss.js │ ├── shBrushDelphi.js │ ├── shBrushDiff.js │ ├── shBrushErlang.js │ ├── shBrushGroovy.js │ ├── shBrushJScript.js │ ├── shBrushJava.js │ ├── shBrushJavaFX.js │ ├── shBrushPerl.js │ ├── shBrushPhp.js │ ├── shBrushPlain.js │ ├── shBrushPowerShell.js │ ├── shBrushPython.js │ ├── shBrushRuby.js │ ├── shBrushSass.js │ ├── shBrushScala.js │ ├── shBrushSql.js │ ├── shBrushVb.js │ ├── shBrushXml.js │ ├── shCore.js │ └── shLegacy.js │ └── styles │ ├── shCore.css │ ├── shCoreDefault.css │ ├── shCoreDjango.css │ ├── shCoreEclipse.css │ ├── shCoreEmacs.css │ ├── shCoreFadeToGrey.css │ ├── shCoreMDUltra.css │ ├── shCoreMidnight.css │ ├── shCoreRDark.css │ ├── shThemeDefault.css │ ├── shThemeDjango.css │ ├── shThemeEclipse.css │ ├── shThemeEmacs.css │ ├── shThemeFadeToGrey.css │ ├── shThemeMDUltra.css │ ├── shThemeMidnight.css │ └── shThemeRDark.css ├── index.php ├── nbproject ├── project.properties └── project.xml ├── robots.txt ├── rss.php ├── sitemap.php ├── tezgah ├── chalishma │ ├── images │ │ ├── ekran-1.jpg │ │ ├── ekran-2.jpg │ │ ├── ekran-3.jpg │ │ └── ekran-4.jpg │ ├── js │ │ ├── genel.js │ │ └── sol-menu.js │ ├── scss │ │ ├── _alt-bar.scss │ │ ├── _degiskenler.scss │ │ ├── _genel.scss │ │ ├── _ic-sayfa.scss │ │ ├── _menu.scss │ │ ├── _ust-bar.scss │ │ ├── sol-menu.scss │ │ └── stil.scss │ └── yonetim │ │ ├── js │ │ ├── app-anasayfa.js │ │ ├── app-ayarlar.js │ │ ├── app-etiketler.js │ │ ├── app-kullanicilar.js │ │ ├── app-makale.js │ │ ├── app-makaleler.js │ │ ├── app-yorumlar.js │ │ ├── genel.js │ │ └── syntaxhighlighter-plugin.js │ │ └── scss │ │ ├── _anasayfa.scss │ │ ├── _ayarlar.scss │ │ ├── _body.scss │ │ ├── _degiskenler.scss │ │ ├── _etiketler.scss │ │ ├── _genel.scss │ │ ├── _login.scss │ │ ├── _makale.scss │ │ ├── _makaleler.scss │ │ ├── _menu.scss │ │ ├── _select2.scss │ │ ├── _yorumlar.scss │ │ └── stil.scss ├── cheup │ ├── aga.png │ ├── avatar.png │ ├── copyright.png │ ├── makale-kod-iceriksiz.html │ ├── mopyright.png │ └── space.png ├── db │ └── basitblog_db.sql ├── kaynaklar │ ├── SyntaxHighlighter-by-alexgorbatchev │ │ └── syntaxhighlighter_3.0.83.zip │ ├── bootstrap-colorpicker-by-mjolnic │ │ └── bootstrap-colorpicker-master.zip │ ├── bootstrap-datepicker │ │ └── datepicker.zip │ ├── bootstrap │ │ └── bootstrap-3.1.1-dist.zip │ ├── font-awesome │ │ └── font-awesome-4.1.0.zip │ ├── highcharts │ │ └── Highcharts-4.0.1.zip │ ├── imagebrowser-for-tinymce-by-hozakar │ │ └── imagebrowser-for-tinymce-1.0.0.zip │ ├── imgfix-by-hozakar │ │ └── imgfix-master.zip │ ├── jQuery-File-Upload-by-blueimp │ │ └── jQuery-File-Upload-9.5.7.zip │ ├── lightbox-by-lokesh │ │ └── lightbox-2.7.1.zip │ ├── select2-by-ivaynberg │ │ └── select2-3.4.8.zip │ ├── sscr │ │ └── sscr.js │ └── tinyMCE │ │ ├── tinymce_4.0.28.zip │ │ └── tinymce_languages.zip ├── sablonlar │ └── standart │ │ ├── eklemeler │ │ ├── altbar.html │ │ └── solmenu.html │ │ ├── index.html │ │ ├── makale.html │ │ └── yapimasamasinda.html └── yedek │ ├── app-makale.js │ └── makale.php ├── upload ├── UploadHandler.php ├── dosyaduzenle.php ├── foto │ └── .htaccess └── index.php ├── web.config └── yonetim ├── anasayfa.php ├── arama.php ├── ayarlar.php ├── etiketler.php ├── ikonsablon.xml ├── inc ├── bootstrap-colorpicker │ ├── css │ │ └── bootstrap-colorpicker.min.css │ ├── img │ │ └── bootstrap-colorpicker │ │ │ ├── alpha-horizontal.png │ │ │ ├── alpha.png │ │ │ ├── hue-horizontal.png │ │ │ ├── hue.png │ │ │ └── saturation.png │ └── js │ │ └── bootstrap-colorpicker.min.js ├── css │ ├── datepicker.css │ └── stil.min.css ├── highcharts │ ├── exporting.js │ └── highcharts.js ├── jquery-file-upload │ ├── css │ │ ├── jquery.fileupload-noscript.css │ │ ├── jquery.fileupload-ui-noscript.css │ │ ├── jquery.fileupload-ui.css │ │ ├── jquery.fileupload.css │ │ └── style.css │ ├── img │ │ ├── loading.gif │ │ └── progressbar.gif │ └── js │ │ ├── app.js │ │ ├── cors │ │ ├── jquery.postmessage-transport.js │ │ └── jquery.xdr-transport.js │ │ ├── jquery.fileupload-angular.js │ │ ├── jquery.fileupload-audio.js │ │ ├── jquery.fileupload-image.js │ │ ├── jquery.fileupload-jquery-ui.js │ │ ├── jquery.fileupload-process.js │ │ ├── jquery.fileupload-ui.js │ │ ├── jquery.fileupload-validate.js │ │ ├── jquery.fileupload-video.js │ │ ├── jquery.fileupload.js │ │ ├── jquery.iframe-transport.js │ │ ├── main.js │ │ └── vendor │ │ └── jquery.ui.widget.js ├── js │ ├── app-anasayfa.min.js │ ├── app-ayarlar.min.js │ ├── app-etiketler.min.js │ ├── app-kullanicilar.min.js │ ├── app-makale.min.js │ ├── app-makaleler.min.js │ ├── app-yorumlar.min.js │ ├── bootstrap-datepicker.js │ └── genel.min.js ├── select2 │ ├── select2-bootstrap.css │ ├── select2-spinner.gif │ ├── select2.css │ ├── select2.min.js │ ├── select2.png │ ├── select2_locale_tr.js │ └── select2x2.png ├── sistem │ ├── commonclasses.php │ ├── config.php │ ├── functions.php │ ├── ilk │ │ ├── ayarlar.php │ │ ├── etiketler.php │ │ ├── kullanicilar.php │ │ ├── makale.php │ │ ├── makaleler.php │ │ ├── profil.php │ │ └── yorumlar.php │ └── yonetim.php └── tinymce │ ├── langs │ └── tr_TR.js │ ├── license.txt │ ├── plugins │ ├── advlist │ │ └── plugin.min.js │ ├── anchor │ │ └── plugin.min.js │ ├── autolink │ │ └── plugin.min.js │ ├── autoresize │ │ └── plugin.min.js │ ├── autosave │ │ └── plugin.min.js │ ├── bbcode │ │ └── plugin.min.js │ ├── charmap │ │ └── plugin.min.js │ ├── code │ │ └── plugin.min.js │ ├── contextmenu │ │ └── plugin.min.js │ ├── directionality │ │ └── plugin.min.js │ ├── emoticons │ │ ├── img │ │ │ ├── smiley-cool.gif │ │ │ ├── smiley-cry.gif │ │ │ ├── smiley-embarassed.gif │ │ │ ├── smiley-foot-in-mouth.gif │ │ │ ├── smiley-frown.gif │ │ │ ├── smiley-innocent.gif │ │ │ ├── smiley-kiss.gif │ │ │ ├── smiley-laughing.gif │ │ │ ├── smiley-money-mouth.gif │ │ │ ├── smiley-sealed.gif │ │ │ ├── smiley-smile.gif │ │ │ ├── smiley-surprised.gif │ │ │ ├── smiley-tongue-out.gif │ │ │ ├── smiley-undecided.gif │ │ │ ├── smiley-wink.gif │ │ │ └── smiley-yell.gif │ │ └── plugin.min.js │ ├── example │ │ ├── dialog.html │ │ └── plugin.min.js │ ├── example_dependency │ │ └── plugin.min.js │ ├── fullpage │ │ └── plugin.min.js │ ├── fullscreen │ │ └── plugin.min.js │ ├── hr │ │ └── plugin.min.js │ ├── image │ │ └── plugin.min.js │ ├── imagebrowser │ │ ├── fileupload │ │ │ ├── images │ │ │ │ └── php │ │ │ │ │ ├── UploadHandler.php │ │ │ │ │ ├── files │ │ │ │ │ └── .htaccess │ │ │ │ │ └── index.php │ │ │ ├── jquery.fileupload.js │ │ │ └── jquery.iframe-transport.js │ │ ├── fops.css │ │ ├── fops.min.js │ │ ├── fops.php │ │ ├── lang-empty.php │ │ ├── lang-tr_TR.php │ │ ├── loading.gif │ │ ├── plugin.js │ │ └── plugin.min.js │ ├── importcss │ │ └── plugin.min.js │ ├── insertdatetime │ │ └── plugin.min.js │ ├── layer │ │ └── plugin.min.js │ ├── legacyoutput │ │ └── plugin.min.js │ ├── link │ │ └── plugin.min.js │ ├── lists │ │ └── plugin.min.js │ ├── media │ │ ├── moxieplayer.swf │ │ └── plugin.min.js │ ├── nonbreaking │ │ └── plugin.min.js │ ├── noneditable │ │ └── plugin.min.js │ ├── pagebreak │ │ └── plugin.min.js │ ├── paste │ │ └── plugin.min.js │ ├── preview │ │ └── plugin.min.js │ ├── print │ │ └── plugin.min.js │ ├── save │ │ └── plugin.min.js │ ├── searchreplace │ │ └── plugin.min.js │ ├── spellchecker │ │ └── plugin.min.js │ ├── stylebuttons │ │ └── plugin.min.js │ ├── syntaxhighlighter │ │ └── plugin.min.js │ ├── tabfocus │ │ └── plugin.min.js │ ├── table │ │ └── plugin.min.js │ ├── template │ │ └── plugin.min.js │ ├── textcolor │ │ └── plugin.min.js │ ├── visualblocks │ │ ├── css │ │ │ └── visualblocks.css │ │ └── plugin.min.js │ ├── visualchars │ │ └── plugin.min.js │ └── wordcount │ │ └── plugin.min.js │ ├── skins │ └── lightgray │ │ ├── content.inline.min.css │ │ ├── content.min.css │ │ ├── fonts │ │ ├── readme.md │ │ ├── tinymce-small.dev.svg │ │ ├── tinymce-small.eot │ │ ├── tinymce-small.svg │ │ ├── tinymce-small.ttf │ │ ├── tinymce-small.woff │ │ ├── tinymce.dev.svg │ │ ├── tinymce.eot │ │ ├── tinymce.svg │ │ ├── tinymce.ttf │ │ └── tinymce.woff │ │ ├── img │ │ ├── anchor.gif │ │ ├── loader.gif │ │ ├── object.gif │ │ └── trans.gif │ │ ├── skin.ie7.min.css │ │ └── skin.min.css │ ├── themes │ └── modern │ │ └── theme.min.js │ └── tinymce.min.js ├── index.php ├── kullanicilar.php ├── kur.php ├── login.php ├── makale.php ├── makaleler.php ├── modals.php ├── profil.php ├── sablon ├── eklemeler │ ├── altbar.html │ └── solmenu.html ├── index-yapimasamasinda.html ├── index.html └── makale.html └── yorumlar.php /.gitignore: -------------------------------------------------------------------------------- 1 | gizle/ 2 | yonetim/inc/sistem/vtbilgi.php 3 | upload/foto/buyuk/* 4 | upload/foto/minik/* 5 | upload/foto/normal/* 6 | tezgah/chalishma/favicon/ 7 | /nbproject/private/ -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | Options +FollowSymlinks 2 | Options -Indexes 3 | RewriteEngine On 4 | ReWriteBase / 5 | 6 | RewriteRule ^ara/(.*)/(.*)$ index.php?ara=$2&sayfa=$1 7 | RewriteRule ^etiket/(.*)/(.*)$ index.php?etiket=$2&sayfa=$1 8 | RewriteRule ^ara/(.*)$ index.php?ara=$1&sayfa=1 9 | RewriteRule ^etiket/(.*)$ index.php?etiket=$1&sayfa=1 10 | 11 | RewriteRule ^sayfa/(.*)/$ index.php?sayfa=$1 12 | 13 | RewriteRule ^index.html$ index.php 14 | RewriteRule ^/$ index.php 15 | RewriteRule ^sitemap.xml$ sitemap.php 16 | RewriteRule ^rss.xml$ rss.php 17 | 18 | RewriteRule ^(.*).html$ index.php?url=$1 [QSA] 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Basit Blog 2 | ========================= 3 | 4 | ### Basit Blog ### 5 | >v1.0.0 6 | 7 | Basit Blog PHP tabanlı, kolay kullanımlı bir blog scriptidir. 8 | 9 | ### Kurulum 10 | * Öncelikle sunucunuzda boş bir MySQL veri tabanı oluşturmanız gerekli. Lütfen veri tabanı ismi, kullanıcı adı, şifresi ve sunucu adresini not alınız. 11 | * Basit Blog kaynağından indirdiğiniz dosyanın içeriğini sunucunuzun ana dizinine (root) kopyalayınız. 12 | * Şimdi tarayıcınızda adresinizi yazabilirsiniz. (Hala IE kullanıyor olamazsınız değil mi? Neyse onda da çalışır...) 13 | * Kurulum üç aşamada basitçe gerçekleştirilir: 14 | 15 | ![Ekran 1](http://beltslib.net/inc/images/kullanici/basitblog/ekran-1.jpg) 16 | 17 | Bu ekranda not almış olduğunuz veri tabanı bilgilerini giriniz. 18 | 19 | ![Ekran 2](http://beltslib.net/inc/images/kullanici/basitblog/ekran-2.jpg) 20 | 21 | Sitenizin ana kullanıcısını bu ekranda oluşturmalısınız. Daha sonra sitenize istediğiniz sayıda kullanıcı eklemeniz mümkündür. 22 | 23 | ![Ekran 3](http://beltslib.net/inc/images/kullanici/basitblog/ekran-3.jpg) 24 | 25 | Siteniz ile ilgili isim, başlık, ana sayfa başlığı gibi temel bilgileri girmeniz gereken ekran burasıdır. Bu bilgileri, istediğinizde yönetim panelinden değiştirebilirsiniz. 26 | 27 | ![Ekran 4](http://beltslib.net/inc/images/kullanici/basitblog/ekran-4.jpg) 28 | 29 | Evet, hepsi bu kadar. Artık yönetim panelinize girerek makalelerinizi yazmaya başlayabilirsiniz. Yine de başlamadan önce yönetim panelindeki site ayarları ekranından ayarlarınızı incelemeyi, özellikle sosyal medya adreslerinizi doğru bir şekilde girmeyi ihmal etmemenizi tavsiye ederim... 30 | 31 | ### Diller 32 | Basit Blog gerek kaynak kodu gerekse temel yapısı ile yalnızca Türkçe kullanım için tasarlanmıştır. 33 | 34 | ### Kaynaklar 35 | * [Bootstrap](http://getbootstrap.com/) 36 | * [Bootstrap Color Picker By mjolnic](https://github.com/mjolnic/bootstrap-colorpicker) 37 | * [Bootstrap Date Picker](http://www.eyecon.ro/bootstrap-datepicker) 38 | * [Font Awesome](http://fontawesome.io/) 39 | * [Highcharts](http://www.highcharts.com/) 40 | * [ImageBrowser For TinyMCE By hozakar](https://github.com/hozakar/imagebrowser-for-tinymce) 41 | * [imgfix By hozakar](https://github.com/hozakar/imgfix) 42 | * [jQuery](http://jquery.com/) 43 | * [jQuery File Upload By blueimp](https://github.com/blueimp/jQuery-File-Upload) 44 | * [lightbox By lokesh](https://github.com/lokesh/lightbox2) 45 | * [select2 By ivaynberg](https://github.com/ivaynberg/select2) 46 | * [smoothscroll By galambalazs](https://github.com/galambalazs/smoothscroll) 47 | * [SyntaxHighlighter By alexgorbatchev](https://github.com/alexgorbatchev/SyntaxHighlighter) 48 | * [TinyMCE](http://www.tinymce.com/) 49 | 50 | Lisans 51 | ------------ 52 | CC0 1.0 Universal Licence 53 | 54 | Not: Tüm kaynak dosyalar kendi lisanslarına sahiptir. Kullanmadan önce incelemeniz tavsiye edilir... 55 | -------------------------------------------------------------------------------- /apple-touch-icon-114x114-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/apple-touch-icon-114x114-precomposed.png -------------------------------------------------------------------------------- /apple-touch-icon-144x144-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/apple-touch-icon-144x144-precomposed.png -------------------------------------------------------------------------------- /apple-touch-icon-72x72-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/apple-touch-icon-72x72-precomposed.png -------------------------------------------------------------------------------- /apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/apple-touch-icon-precomposed.png -------------------------------------------------------------------------------- /aramayonlendir.php: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/favicon.png -------------------------------------------------------------------------------- /güvenlik açıkları.txt: -------------------------------------------------------------------------------- 1 | İlgili yazıda bahsedilen açıklar giderildi. 2 | 3 | Bunun dışında SQL injectiona karşı bazı fixler uygulandı. 4 | 5 | Düzenlenen dosyalar: 6 | /index.php 7 | /aramayonlendir.php 8 | /yonetim/index.php 9 | /yonetim/login.php 10 | /yonetim/inc/sistem/comonclasses.php 11 | 12 | Teşekkürler. 13 | 14 | ------------------------- 15 | 16 | Ek not: Kendi yönetim paneline kullanıcı adı ve şifre ile giriş yapıp, 17 | kendi sitesine xss ya da sql injection yapmak isteyen arkadaşların elini tutmayalım... 18 | 19 | ------------------------- 20 | 21 | Merhabalar, 22 | 23 | Aşağıdaki blog yazısında scriptteki zafiyetleri inceledim. 24 | 25 | http://xploithub.blogspot.com.tr/2016/08/basitblog-guvenlik-testi.html 26 | 27 | Umarım en kısa sürede kapatırsınız. 28 | 29 | İyi çalışmalar. 30 | -------------------------------------------------------------------------------- /inc/css/sol-menu.min.css: -------------------------------------------------------------------------------- 1 | .sol-menu-menu-wrapper{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:fixed;top:0;bottom:0;background:#222;z-index:9999;-webkit-transition:all .2s;transition:all .2s;color:#ddd;overflow:auto}.sol-menu-menu-wrapper a{color:inherit;text-decoration:none}.sol-menu-menu-wrapper.aktif{left:0!important}.sol-menu-body-cover{z-index:9989;position:fixed;left:0;top:0;width:0;height:0}.sol-menu-body-cover.aktif{width:auto;height:auto;right:0;bottom:0}.sol-menu-body-wrapper{-webkit-transition:all .2s;transition:all .2s}.sol-menu-body-wrapper.aktif{-webkit-filter:grayscale(100%);filter:grayscale(100%);filter:gray} -------------------------------------------------------------------------------- /inc/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/inc/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /inc/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/inc/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /inc/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/inc/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /inc/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/inc/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /inc/images/ayrac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/inc/images/ayrac.png -------------------------------------------------------------------------------- /inc/images/kullanici/bos.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/inc/images/kullanici/bos.txt -------------------------------------------------------------------------------- /inc/images/varsayilan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/inc/images/varsayilan.png -------------------------------------------------------------------------------- /inc/js/genel.min.js: -------------------------------------------------------------------------------- 1 | "use strict";$("body").append(''),$(".yukari-buton").click(function(){$("body").animate({scrollTop:0},400)}),$(window).scroll(function(){$(window).scrollTop()>$(".ust-bar .bar-bg").height()-$(".ust-bar .menu-bar").height()?($(".ust-bar .menu-bar").addClass("alt"),$(".yukari-buton").removeClass("hidden")):($(".ust-bar .menu-bar").removeClass("alt"),$(".yukari-buton").addClass("hidden")),$(".mousetakip").trigger("mouseleave")});for(var smbuton=$(".sosyal [data-color]"),i=0;i'),e("body").prepend('
'),o.appendTo(".sol-menu-menu-wrapper"),e("body").append('
'),n.cover=e(".sol-menu-body-cover"),n.menu=e(".sol-menu-menu-wrapper"),n.body=e(".sol-menu-body-wrapper"),n.cover.click(n.toggle),n.menuBtn.click(n.toggle)},toggle:function(){n.menu.toggleClass("aktif"),o()},open:function(){n.menu.addClass("aktif"),o()},close:function(){n.menu.removeClass("aktif"),o()}};e.fn.solMenu=function(e){n.init(this,e)}}(jQuery); -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shAutoloader.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(2(){1 h=5;h.I=2(){2 n(c,a){4(1 d=0;d)/g 47 | }); 48 | }; 49 | 50 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 51 | Brush.aliases = ['java']; 52 | 53 | SyntaxHighlighter.brushes.Java = Brush; 54 | 55 | // CommonJS 56 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 57 | })(); 58 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushJavaFX.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Patrick Webster 25 | // http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html 26 | var datatypes = 'Boolean Byte Character Double Duration ' 27 | + 'Float Integer Long Number Short String Void' 28 | ; 29 | 30 | var keywords = 'abstract after and as assert at before bind bound break catch class ' 31 | + 'continue def delete else exclusive extends false finally first for from ' 32 | + 'function if import in indexof init insert instanceof into inverse last ' 33 | + 'lazy mixin mod nativearray new not null on or override package postinit ' 34 | + 'protected public public-init public-read replace return reverse sizeof ' 35 | + 'step super then this throw true try tween typeof var where while with ' 36 | + 'attribute let private readonly static trigger' 37 | ; 38 | 39 | this.regexList = [ 40 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, 41 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, 42 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, 43 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, 44 | { regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // numbers 45 | { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes 46 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } 47 | ]; 48 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 49 | }; 50 | 51 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 52 | Brush.aliases = ['jfx', 'javafx']; 53 | 54 | SyntaxHighlighter.brushes.JavaFX = Brush; 55 | 56 | // CommonJS 57 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 58 | })(); 59 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushPlain.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | }; 25 | 26 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 27 | Brush.aliases = ['text', 'plain']; 28 | 29 | SyntaxHighlighter.brushes.Plain = Brush; 30 | 31 | // CommonJS 32 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 33 | })(); 34 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushPython.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Gheorghe Milas and Ahmad Sherif 25 | 26 | var keywords = 'and assert break class continue def del elif else ' + 27 | 'except exec finally for from global if import in is ' + 28 | 'lambda not or pass print raise return try yield while'; 29 | 30 | var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' + 31 | 'chr classmethod cmp coerce compile complex delattr dict dir ' + 32 | 'divmod enumerate eval execfile file filter float format frozenset ' + 33 | 'getattr globals hasattr hash help hex id input int intern ' + 34 | 'isinstance issubclass iter len list locals long map max min next ' + 35 | 'object oct open ord pow print property range raw_input reduce ' + 36 | 'reload repr reversed round set setattr slice sorted staticmethod ' + 37 | 'str sum super tuple type type unichr unicode vars xrange zip'; 38 | 39 | var special = 'None True False self cls class_'; 40 | 41 | this.regexList = [ 42 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, 43 | { regex: /^\s*@\w+/gm, css: 'decorator' }, 44 | { regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' }, 45 | { regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' }, 46 | { regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' }, 47 | { regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' }, 48 | { regex: /\b\d+\.?\w*/g, css: 'value' }, 49 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, 50 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, 51 | { regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' } 52 | ]; 53 | 54 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 55 | }; 56 | 57 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 58 | Brush.aliases = ['py', 'python']; 59 | 60 | SyntaxHighlighter.brushes.Python = Brush; 61 | 62 | // CommonJS 63 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 64 | })(); 65 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushRuby.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Erik Peterson. 25 | 26 | var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' + 27 | 'END end ensure false for if in module new next nil not or raise redo rescue retry return ' + 28 | 'self super then throw true undef unless until when while yield'; 29 | 30 | var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' + 31 | 'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' + 32 | 'ThreadGroup Thread Time TrueClass'; 33 | 34 | this.regexList = [ 35 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments 36 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 38 | { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants 39 | { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols 40 | { regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables 41 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 42 | { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins 43 | ]; 44 | 45 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 46 | }; 47 | 48 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 49 | Brush.aliases = ['ruby', 'rails', 'ror', 'rb']; 50 | 51 | SyntaxHighlighter.brushes.Ruby = Brush; 52 | 53 | // CommonJS 54 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 55 | })(); 56 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushScala.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Yegor Jbanov and David Bernard. 25 | 26 | var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' + 27 | 'override try lazy for var catch throw type extends class while with new final yield abstract ' + 28 | 'else do if return protected private this package false'; 29 | 30 | var keyops = '[_:=><%#@]+'; 31 | 32 | this.regexList = [ 33 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 34 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 35 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings 36 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 38 | { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers 39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 40 | { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword 41 | ]; 42 | } 43 | 44 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 45 | Brush.aliases = ['scala']; 46 | 47 | SyntaxHighlighter.brushes.Scala = Brush; 48 | 49 | // CommonJS 50 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 51 | })(); 52 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushSql.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var funcs = 'abs avg case cast coalesce convert count current_timestamp ' + 25 | 'current_user day isnull left lower month nullif replace right ' + 26 | 'session_user space substring sum system_user upper user year'; 27 | 28 | var keywords = 'absolute action add after alter as asc at authorization begin bigint ' + 29 | 'binary bit by cascade char character check checkpoint close collate ' + 30 | 'column commit committed connect connection constraint contains continue ' + 31 | 'create cube current current_date current_time cursor database date ' + 32 | 'deallocate dec decimal declare default delete desc distinct double drop ' + 33 | 'dynamic else end end-exec escape except exec execute false fetch first ' + 34 | 'float for force foreign forward free from full function global goto grant ' + 35 | 'group grouping having hour ignore index inner insensitive insert instead ' + 36 | 'int integer intersect into is isolation key last level load local max min ' + 37 | 'minute modify move name national nchar next no numeric of off on only ' + 38 | 'open option order out output partial password precision prepare primary ' + 39 | 'prior privileges procedure public read real references relative repeatable ' + 40 | 'restrict return returns revoke rollback rollup rows rule schema scroll ' + 41 | 'second section select sequence serializable set size smallint static ' + 42 | 'statistics table temp temporary then time timestamp to top transaction ' + 43 | 'translation trigger true truncate uncommitted union unique update values ' + 44 | 'varchar varying view when where with work'; 45 | 46 | var operators = 'all and any between cross in join like not null or outer some'; 47 | 48 | this.regexList = [ 49 | { regex: /--(.*)$/gm, css: 'comments' }, // one line and multiline comments 50 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 51 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 52 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions 53 | { regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such 54 | { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword 55 | ]; 56 | }; 57 | 58 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 59 | Brush.aliases = ['sql']; 60 | 61 | SyntaxHighlighter.brushes.Sql = Brush; 62 | 63 | // CommonJS 64 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 65 | })(); 66 | 67 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushVb.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' + 25 | 'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' + 26 | 'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' + 27 | 'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' + 28 | 'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' + 29 | 'Function Get GetType GoSub GoTo Handles If Implements Imports In ' + 30 | 'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' + 31 | 'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' + 32 | 'NotInheritable NotOverridable Object On Option Optional Or OrElse ' + 33 | 'Overloads Overridable Overrides ParamArray Preserve Private Property ' + 34 | 'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' + 35 | 'Return Select Set Shadows Shared Short Single Static Step Stop String ' + 36 | 'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' + 37 | 'Variant When While With WithEvents WriteOnly Xor'; 38 | 39 | this.regexList = [ 40 | { regex: /'.*$/gm, css: 'comments' }, // one line comments 41 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 42 | { regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 43 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword 44 | ]; 45 | 46 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 47 | }; 48 | 49 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 50 | Brush.aliases = ['vb', 'vbnet']; 51 | 52 | SyntaxHighlighter.brushes.Vb = Brush; 53 | 54 | // CommonJS 55 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 56 | })(); 57 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushXml.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | function process(match, regexInfo) 25 | { 26 | var constructor = SyntaxHighlighter.Match, 27 | code = match[0], 28 | tag = new XRegExp('(<|<)[\\s\\/\\?]*(?[:\\w-\\.]+)', 'xg').exec(code), 29 | result = [] 30 | ; 31 | 32 | if (match.attributes != null) 33 | { 34 | var attributes, 35 | regex = new XRegExp('(? [\\w:\\-\\.]+)' + 36 | '\\s*=\\s*' + 37 | '(? ".*?"|\'.*?\'|\\w+)', 38 | 'xg'); 39 | 40 | while ((attributes = regex.exec(code)) != null) 41 | { 42 | result.push(new constructor(attributes.name, match.index + attributes.index, 'color1')); 43 | result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string')); 44 | } 45 | } 46 | 47 | if (tag != null) 48 | result.push( 49 | new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword') 50 | ); 51 | 52 | return result; 53 | } 54 | 55 | this.regexList = [ 56 | { regex: new XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, // 57 | { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // 58 | { regex: new XRegExp('(<|<)[\\s\\/\\?]*(\\w+)(?.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process } 59 | ]; 60 | }; 61 | 62 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 63 | Brush.aliases = ['xml', 'xhtml', 'xslt', 'html']; 64 | 65 | SyntaxHighlighter.brushes.Xml = Brush; 66 | 67 | // CommonJS 68 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 69 | })(); 70 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shLegacy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('3 u={8:{}};u.8={A:4(c,k,l,m,n,o){4 d(a,b){2 a!=1?a:b}4 f(a){2 a!=1?a.E():1}c=c.I(":");3 g=c[0],e={};t={"r":K};M=1;5=8.5;9(3 j R c)e[c[j]]="r";k=f(d(k,5.C));l=f(d(l,5.D));m=f(d(m,5.s));o=f(d(o,5.Q));n=f(d(n,5["x-y"]));2{P:g,C:d(t[e.O],k),D:d(t[e.N],l),s:d({"r":r}[e.s],m),"x-y":d(4(a,b){9(3 h=T S("^"+b+"\\\\[(?\\\\w+)\\\\]$","U"),i=1,p=0;pquery("SELECT id FROM makaleler WHERE url = '$_REQUEST[url]'")->fetch_row()); 16 | if($mid) { 17 | $db->query("INSERT INTO yorumlar (mid, yorum, isim, eposta, web) VALUES( 18 | $mid, 19 | '".$db->real_escape_string(sql_filtre(htmlspecialchars(s_addslashes($_POST['yorum']))))."', 20 | '".$db->real_escape_string(sql_filtre(htmlspecialchars(s_addslashes($_POST['isim']))))."', 21 | '".$db->real_escape_string(sql_filtre(htmlspecialchars(s_addslashes($_POST['eposta']))))."', 22 | '".$db->real_escape_string(sql_filtre(htmlspecialchars(s_addslashes($_POST['web']))))."' 23 | )"); 24 | } 25 | header('location: '.$site->sb['anadizin'].$_REQUEST['url'].'.html'); 26 | return; 27 | } 28 | 29 | if($_REQUEST['url']) { 30 | $site->makale($_REQUEST['url']); 31 | $dosya = getDir('index.php')."yonetim/sablon/".$site->url['sablon']; 32 | } else { 33 | $dosya = getDir('index.php')."yonetim/sablon/".$anasayfasablon; 34 | } 35 | 36 | /* Log tutalım ileride lazım olur... 37 | ** Kullanıcı girişi yapılmışsa loglara 38 | ** dahil etmemeyi tercih ederim */ 39 | if(!$_SESSION['user']['id'] > 0) { 40 | $log_sayfa = 'anasayfa'; 41 | if($_GET['ara']) { 42 | $log_sayfa = 'arama'; 43 | $log_terim = $db->real_escape_string(strip_tags($_GET['ara'])); 44 | } 45 | if($_GET['etiket']) { 46 | $log_sayfa = 'etiket'; 47 | $log_terim = $db->real_escape_string(strip_tags($_GET['etiket'])); 48 | } 49 | $log_mid = $site->url['id']; 50 | if($log_mid) { 51 | $log_sayfa = 'makale'; 52 | $log_terim = ''; 53 | } else { 54 | $log_mid = "NULL"; 55 | } 56 | $log_tekil = $_SESSION['ziyaret'] ? 0 : 1; 57 | $_SESSION['ziyaret'] = 1; 58 | 59 | $db->query(" 60 | INSERT INTO log 61 | (sayfa, terim, mid, tekil) 62 | VALUES ( 63 | '$log_sayfa', 64 | '$log_terim', 65 | $log_mid, 66 | $log_tekil 67 | ) 68 | "); 69 | } 70 | 71 | /* File Open İşlemi ile yapmak istersek 72 | $handle = fopen($dosya, "rb"); 73 | $icerik = stream_get_contents($handle); 74 | fclose($handle); 75 | */ 76 | 77 | /* file_get_contents ile */ 78 | $icerik = file_get_contents($dosya); 79 | 80 | echo $site->sayfaisle($icerik); 81 | ?> -------------------------------------------------------------------------------- /nbproject/project.properties: -------------------------------------------------------------------------------- 1 | include.path=${php.global.include.path} 2 | php.version=PHP_54 3 | source.encoding=UTF-8 4 | src.dir=. 5 | tags.asp=false 6 | tags.short=false 7 | web.root=. 8 | -------------------------------------------------------------------------------- /nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.php.project 4 | 5 | 6 | basitblog 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /inc/ 3 | Disallow: /tezgah/ 4 | Disallow: /upload/ 5 | Disallow: /yonetim/ 6 | Disallow: /*.php -------------------------------------------------------------------------------- /rss.php: -------------------------------------------------------------------------------- 1 | xml version="1.0" encoding="UTF-8"";?> 4 | 5 | 6 | 7 | <?php echo $site->sb['isim'];?> 8 | sb['url'].'/';?> 9 | sb['aciklama'];?> 10 | query("SELECT makaleler.*, CONCAT(foto.id, foto.uzanti) as foto FROM makaleler INNER JOIN foto ON foto.mid = makaleler.id WHERE makaleler.sid = $_SESSION[sid] AND makaleler.aktif GROUP BY makaleler.id ORDER BY makaleler.yapiskan DESC, makaleler.tarih DESC, foto.sira LIMIT 10"); 12 | while($makale = $makaleler->fetch_assoc()) { 13 | $url = $site->sb['url'].'/'.$makale['url'].'.html'; 14 | $tarih = date('D, d M Y', strtotime($makale['tarih'])); 15 | ?> 16 | 17 | 18 | <?php echo $makale['baslik'];?> 19 | 20 | 21 | sb['url'].'/upload/foto/normal/'.$makale['foto'];?>"/>

23 |

24 |
29 | Tümü » 30 | ]]> 31 |
32 | 33 |
34 | 37 | 38 |
39 |
-------------------------------------------------------------------------------- /sitemap.php: -------------------------------------------------------------------------------- 1 | xml version="1.0" encoding="UTF-8""; ?> 4 | 5 | 6 | 7 | 8 | sb['url'].'/';?> 9 | query("SELECT tarih FROM makaleler WHERE sid = $_SESSION[sid] AND akis AND aktif ORDER BY tarih DESC LIMIT 1")->fetch_row()))); 11 | ?> 12 | 1 13 | 14 | sb['foto'], "://") > -1 ? '' : $site->sb['url']).$site->sb['foto'];?> 15 | 16 | 17 | query("SELECT etiketler.*, makaleler.tarih, CONCAT(foto.id, foto.uzanti) as foto FROM etiketler INNER JOIN etiketgruplari ON etiketgruplari.eid = etiketler.id INNER JOIN makaleler ON makaleler.id = etiketgruplari.mid AND makaleler.aktif AND makaleler.sid = $_SESSION[sid] INNER JOIN foto ON foto.mid = makaleler.id WHERE etiketler.menu GROUP BY etiketler.id ORDER BY makaleler.tarih DESC, foto.sira"); 19 | while($etiket = $etiketler->fetch_assoc()) { 20 | ?> 21 | 22 | 23 | sb['url'].'/etiket/'.$etiket['isim'];?> 24 | 27 | 0.8 28 | 29 | sb['url'].'/upload/foto/normal/'.$etiket['foto'];?> 30 | 31 | 32 | query("SELECT makaleler.*, CONCAT(foto.id, foto.uzanti) as foto FROM makaleler INNER JOIN foto ON foto.mid = makaleler.id WHERE makaleler.sid = $_SESSION[sid] AND makaleler.aktif GROUP BY makaleler.id ORDER BY makaleler.yapiskan DESC, makaleler.tarih DESC, foto.sira"); 35 | while($makale = $makaleler->fetch_assoc()) { 36 | ?> 37 | 38 | 39 | sb['url'].'/'.$makale['url'].'.html';?> 40 | 43 | 44 | 45 | sb['url'].'/upload/foto/normal/'.$makale['foto'];?> 46 | 47 | 48 | 51 | 52 | -------------------------------------------------------------------------------- /tezgah/chalishma/images/ekran-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/chalishma/images/ekran-1.jpg -------------------------------------------------------------------------------- /tezgah/chalishma/images/ekran-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/chalishma/images/ekran-2.jpg -------------------------------------------------------------------------------- /tezgah/chalishma/images/ekran-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/chalishma/images/ekran-3.jpg -------------------------------------------------------------------------------- /tezgah/chalishma/images/ekran-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/chalishma/images/ekran-4.jpg -------------------------------------------------------------------------------- /tezgah/chalishma/js/genel.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | /* !!! BU DOSYA HTML SAYFASININ SONUNDA YÜKLENMELİDİR !!! */ 4 | 5 | /* ********************************************************* 6 | ** Sayfa scroll edildiğinde menu barın rengi değişsin 7 | ** sağ alt köşede yukarı butonu çıksın 8 | ** Sosyal Medya butonlarının renkleri tersine dönsün 9 | ********************************************************* */ 10 | /* Yukarı butonunu yarat */ 11 | $('body').append(''); 12 | 13 | /* Yukarı butonuna tıklandığında */ 14 | $('.yukari-buton').click(function () { 15 | $('body').animate({scrollTop: 0}, 400); 16 | }); 17 | 18 | $(window).scroll(function () { 19 | if ($(window).scrollTop() > $('.ust-bar .bar-bg').height() - $('.ust-bar .menu-bar').height()) { 20 | $('.ust-bar .menu-bar').addClass('alt'); // Menu rengini değiştir 21 | $('.yukari-buton').removeClass('hidden'); // Yukarı butonunu sakla 22 | } else { 23 | $('.ust-bar .menu-bar').removeClass('alt'); // Menu rengini değiştir 24 | $('.yukari-buton').addClass('hidden'); // Yukarı butonunu göster 25 | } 26 | $('.mousetakip').trigger('mouseleave'); // SM butonlarını renk değişimi için trigger et 27 | }); 28 | 29 | /* ****************************************************** */ 30 | 31 | /* Sosyal Medya Butonlarının renk değişimleri */ 32 | var smbuton = $('.sosyal [data-color]'); 33 | 34 | for (var i = 0; i < smbuton.length; i++) { 35 | if ($(smbuton[i]).data('hover-color')) { 36 | $(smbuton[i]).mouseenter(function () { 37 | var color = $(this).data('hover-color'); 38 | var hcolor = $(this).data('color'); 39 | 40 | if ($(this).parents('.menu-bar').hasClass('alt')) { 41 | color = $(this).data('color'); 42 | hcolor = $(this).data('hover-color'); 43 | } 44 | 45 | $(this).css({ 46 | color: color, 47 | background: hcolor 48 | }); 49 | }); 50 | $(smbuton[i]).mouseleave(function () { 51 | $(smbuton[i]).addClass('mousetakip'); 52 | 53 | var color = $(this).data('color'); 54 | var hcolor = $(this).data('hover-color'); 55 | 56 | if ($(this).parents('.menu-bar').hasClass('alt')) { 57 | color = $(this).data('hover-color'); 58 | hcolor = $(this).data('color'); 59 | } 60 | 61 | $(this).css({ 62 | color: color, 63 | background: hcolor 64 | }); 65 | }); 66 | $(smbuton[i]).trigger('mouseleave'); 67 | } 68 | } 69 | /* ****************************************** */ 70 | 71 | /* Modal için başlık ata */ 72 | $('[data-baslik-id]').click(function () { 73 | $('#' + $(this).data('baslik-id')).html($(this).data('baslik') ? $(this).data('baslik') : $(this).html()); 74 | }); 75 | /* ********************* */ -------------------------------------------------------------------------------- /tezgah/chalishma/js/sol-menu.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | (function($) { 3 | var bl_menu = { 4 | menuBtn: $('.menu-buton'), 5 | width: 320, 6 | init: function(el, param) { 7 | if(param) { 8 | if(param.menuBtn) bl_menu.menuBtn = $(param.menuBtn); 9 | if(param.width) bl_menu.width = param.width; 10 | } 11 | 12 | /* Body'nin overflow'unu bir kenara yazalım */ 13 | $('body').data('overflow', $('body').css('overflow')); 14 | 15 | /* Tüm Body içeriğini taşımak için bir layer yarat */ 16 | $('body').wrapInner('
'); 17 | 18 | /* Sol menu içeriğini taşımak için bir layer yarat */ 19 | $('body').prepend('
'); 20 | el.appendTo('.sol-menu-menu-wrapper'); 21 | 22 | /* Sol menu açıkken bodynin üzerinde cover işlevi görecek 23 | ** layer yarat. Aynı zamanda tıklanıldığında menuyu kapatacak */ 24 | $('body').append('
'); 25 | 26 | bl_menu.cover = $('.sol-menu-body-cover'); 27 | bl_menu.menu = $('.sol-menu-menu-wrapper'); 28 | bl_menu.body = $('.sol-menu-body-wrapper'); 29 | 30 | bl_menu.cover.click(bl_menu.toggle); 31 | bl_menu.menuBtn.click(bl_menu.toggle); 32 | }, 33 | toggle: function() { 34 | bl_menu.menu.toggleClass('aktif'); 35 | setCover(); 36 | }, 37 | open: function() { 38 | bl_menu.menu.addClass('aktif'); 39 | setCover(); 40 | }, 41 | close: function() { 42 | bl_menu.menu.removeClass('aktif'); 43 | setCover(); 44 | } 45 | } 46 | 47 | function setCover() { 48 | if(bl_menu.menu.hasClass('aktif')) { 49 | bl_menu.cover.addClass('aktif'); 50 | bl_menu.body.addClass('aktif'); 51 | $('body').css('overflow', 'hidden'); 52 | } else { 53 | bl_menu.cover.removeClass('aktif'); 54 | bl_menu.body.removeClass('aktif'); 55 | $('body').css('overflow', $('body').data('overflow')); 56 | } 57 | } 58 | 59 | /* Plug-in Start */ 60 | $.fn.solMenu = function(parameters) { 61 | bl_menu.init(this, parameters); 62 | } 63 | /* End: Plug-in Start */ 64 | })(jQuery); 65 | -------------------------------------------------------------------------------- /tezgah/chalishma/scss/_alt-bar.scss: -------------------------------------------------------------------------------- 1 | .alt-bar { 2 | margin-top: 60px; 3 | background: #222; 4 | padding: 24px 0px; 5 | color: #eee; 6 | font-size: .75em; 7 | a { 8 | color: inherit; 9 | text-decoration: none; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /tezgah/chalishma/scss/_degiskenler.scss: -------------------------------------------------------------------------------- 1 | /* Fontlar */ 2 | $oswald: 'Oswald', sans-serif; 3 | $roboto: 'Roboto', sans-serif; 4 | 5 | /* Transition efektleri için birim süre */ 6 | $sure-birim: .2s; 7 | 8 | /* Üst Bar Yüksekliği */ 9 | $bar-ince: 440px; 10 | $bar-kalin: 600px; 11 | 12 | -------------------------------------------------------------------------------- /tezgah/chalishma/scss/_menu.scss: -------------------------------------------------------------------------------- 1 | .sol-menu { 2 | padding: 12px; 3 | margin: 0; 4 | list-style: none; 5 | li { 6 | .hizli-ara { 7 | margin: 12px 0px; 8 | .transparan { 9 | color: #fcfcfc; 10 | background: transparent; 11 | outline: none; 12 | border: none; 13 | box-shadow: none; 14 | } 15 | input { 16 | padding-left: 0; 17 | } 18 | .input-group-addon { 19 | color: #ccc; 20 | button { 21 | color: inherit; 22 | border: none; 23 | background: transparent; 24 | padding: 0; 25 | outline: none; 26 | margin-right: -4px; 27 | &:hover { 28 | color: #fcfcfc; 29 | } 30 | } 31 | } 32 | } 33 | 34 | .menu-ikon { 35 | display: inline-block; 36 | width: 24px; 37 | text-shadow: 0px 0px 2px rgba(240,240,240,.5); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /tezgah/chalishma/scss/sol-menu.scss: -------------------------------------------------------------------------------- 1 | .sol-menu-menu-wrapper { 2 | box-sizing: border-box; 3 | position: fixed; 4 | top: 0; 5 | bottom: 0; 6 | background: #222; 7 | z-index: 9999; 8 | transition: all .2s; 9 | color: #ddd; 10 | overflow: auto; 11 | a { 12 | color: inherit; 13 | text-decoration: none; 14 | } 15 | &.aktif { 16 | left: 0px !important; 17 | } 18 | } 19 | 20 | .sol-menu-body-cover { 21 | z-index: 9989; 22 | position: fixed; 23 | left: 0px; 24 | top: 0px; 25 | width: 0px; 26 | height: 0px; 27 | &.aktif { 28 | width: auto; 29 | height: auto; 30 | right: 0px; 31 | bottom: 0px; 32 | } 33 | } 34 | 35 | .sol-menu-body-wrapper { 36 | transition: all .2s; 37 | &.aktif { 38 | filter: grayscale(100%); 39 | filter: gray; 40 | } 41 | } -------------------------------------------------------------------------------- /tezgah/chalishma/scss/stil.scss: -------------------------------------------------------------------------------- 1 | @import "degiskenler"; 2 | 3 | @import "genel"; 4 | 5 | @import "ust-bar"; 6 | 7 | @import "menu"; 8 | 9 | @import "alt-bar"; 10 | 11 | @import "ic-sayfa"; -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/js/app-anasayfa.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $(function () { 5 | var baslik = $('.grafik .baslik').html(); 6 | var yBaslik = $('.grafik .yBaslik').html(); 7 | var kategoriler = $('.grafik .kategoriler').data('isim-liste').split(','); 8 | 9 | var dummy = $('.grafik .kategoriler ul'); 10 | var seriler = new Array(); 11 | for (var i = 0; i < dummy.length; i++) { 12 | seriler[i] = new Object(); 13 | seriler[i].name = $(dummy[i]).data('isim'); 14 | var liste = $(dummy[i]).find('li'); 15 | seriler[i].data = new Array(); 16 | for (var j = 0; j < liste.length; j++) seriler[i].data.push(parseInt($(liste[j]).html())); 17 | } 18 | 19 | $('.grafik').highcharts({ 20 | title: { 21 | text: baslik, 22 | x: -20 //center 23 | }, 24 | xAxis: { 25 | categories: kategoriler 26 | }, 27 | yAxis: { 28 | title: { 29 | text: yBaslik 30 | }, 31 | plotLines: [{ 32 | value: 0, 33 | width: 1, 34 | color: '#808080' 35 | }] 36 | }, 37 | tooltip: { 38 | valueSuffix: '' 39 | }, 40 | legend: { 41 | layout: 'vertical', 42 | align: 'right', 43 | verticalAlign: 'middle', 44 | borderWidth: 0 45 | }, 46 | series: seriler 47 | }); 48 | }); 49 | 50 | 51 | })(jQuery); -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/js/app-etiketler.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | /* Colorpicker */ 5 | $(function () { 6 | if ($('.renksec').length) { 7 | $('.renkseclink').click(function () { 8 | var $renksec = $(this).parents('li').find('.renksec'); 9 | if ($renksec.length) $renksec.focus(); 10 | }); 11 | 12 | $('.renksec').colorpicker() 13 | .on('changeColor', function (ev) { 14 | var $renkseclink = $(this).parents('li').find('.renkseclink'); 15 | if ($renkseclink.length) $renkseclink.css('color', ev.color.toHex()); 16 | }) 17 | .on('hidePicker', function () { 18 | var renk = $(this).val(); 19 | var id = $(this).data('id'); 20 | $.ajax({ 21 | url: "?sayfa=etiketler", 22 | method: 'post', 23 | data: { 24 | islem: 'renk', 25 | id: id, 26 | renk: renk 27 | } 28 | }); 29 | }); 30 | } 31 | }); 32 | /* Son: Colorpicker */ 33 | 34 | $('.kaldir').click(function () { 35 | var id = $(this).data('id'); 36 | $.ajax({ 37 | url: "?sayfa=etiketler", 38 | method: 'post', 39 | data: { 40 | islem: 'degistir', 41 | id: id 42 | } 43 | }).done(function () { 44 | location.reload(); 45 | }); 46 | }); 47 | 48 | $('.sil').click(function () { 49 | var id = $(this).data('id'); 50 | $.ajax({ 51 | url: "?sayfa=etiketler", 52 | method: 'post', 53 | data: { 54 | islem: 'sil', 55 | id: id 56 | } 57 | }).done(function () { 58 | location.reload(); 59 | }); 60 | }); 61 | 62 | })(jQuery); -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/js/app-kullanicilar.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $('.kullanicikayit').click(function () { 5 | $('#kullanici [name=id]').val($(this).data('kullanici-id')); 6 | $('#kullanici [name=isim]').val($(this).data('kullanici-isim')); 7 | $('#kullanici [name=eposta]').val($(this).data('kullanici-eposta')); 8 | if ($(this).data('kullanici-id') > 0) { 9 | $('#kullanici [name=duzey]').val($(this).data('kullanici-duzey')); 10 | $('#kullanici [name=sifre]').removeAttr('required'); 11 | } else { 12 | $('#kullanici [name=sifre]').attr('required', 'required'); 13 | } 14 | }); 15 | 16 | $('.kullanicisil').click(function () { 17 | if (!confirm('Bu Kullanıcıyı Silmek İstediğinize Emin misiniz?')) return; 18 | 19 | $.ajax({ 20 | url: "?sayfa=kullanicilar", 21 | method: 'post', 22 | data: { 23 | islem: 'sil', 24 | id: $(this).data('kullanici-id') 25 | } 26 | }).done(function () { 27 | location.reload(); 28 | }); 29 | }); 30 | 31 | $('.aktifdegistir').click(function () { 32 | $.ajax({ 33 | url: "?sayfa=kullanicilar", 34 | method: 'post', 35 | data: { 36 | islem: 'degistir', 37 | id: $(this).data('kullanici-id') 38 | } 39 | }).done(function () { 40 | location.reload(); 41 | }); 42 | }); 43 | })(jQuery); -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/js/app-makale.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | $('.cover>a').click(function () { 4 | if (!confirm('Bu Fotoğrafı Silmek İstediğinize Emin misiniz?')) return; 5 | var id = $(this).parents('li').data('id'); 6 | $.ajax({ 7 | url: "?sayfa=makale", 8 | method: 'post', 9 | data: { 10 | islem: 'fotosil', 11 | id: id 12 | } 13 | }).done(function (answer) { 14 | $('#makalekaydet').parents('form').append(''); 15 | $('#makalekaydet').click(); 16 | }); 17 | }); 18 | 19 | $(function () { 20 | /* FileUpload İşleri */ 21 | var url = $('input[name=id]').data('ana-dizin') + "upload/"; 22 | $('#fileupload').fileupload({ 23 | url: url, 24 | dataType: 'json', 25 | done: function (e, data) { 26 | $.each(data.result.files, function (index, file) { 27 | var dosya = file.name; 28 | $.ajax({ 29 | url: $('input[name=id]').data('ana-dizin') + "upload/dosyaduzenle.php", 30 | method: 'get', 31 | data: { 32 | dosya: dosya, 33 | id: $('input[name=id]').val(), 34 | yol: $('input[name=id]').data('ana-dizin') 35 | } 36 | }); 37 | }); 38 | }, 39 | stop: function () { 40 | $('#makalekaydet').parents('form').append(''); 41 | $('#makalekaydet').click(); 42 | }, 43 | start: function () { 44 | $('#progress').css('display', 'block'); 45 | }, 46 | progressall: function (e, data) { 47 | var progress = parseInt(data.loaded / data.total * 100, 10); 48 | $('#progress .progress-bar').css( 49 | 'width', 50 | progress + '%' 51 | ); 52 | } 53 | }).prop('disabled', !$.support.fileInput) 54 | .parent().addClass($.support.fileInput ? undefined : 'disabled'); 55 | /* Son: FileUpload İşleri */ 56 | 57 | $(".sirala").sortable({ 58 | stop: function () { 59 | var liste = $('.foto .sirala>li'); 60 | var sira = new Array(); 61 | for (var i = 0; i < liste.length; i++) { 62 | sira.push($(liste[i]).data('id')); 63 | } 64 | sira = sira.join(','); 65 | $.ajax({ 66 | url: "?sayfa=makale", 67 | method: 'post', 68 | data: { 69 | islem: 'fotosirala', 70 | sira: sira 71 | } 72 | }); 73 | } 74 | }); 75 | $(".sirala").disableSelection(); 76 | }); 77 | 78 | $(window).load(function () { 79 | if ($('#acilis').length) { 80 | $(window).scrollTop($('#acilis').offset().top); 81 | } 82 | }); 83 | 84 | })(jQuery); -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/js/app-makaleler.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $('.makalesil').click(function () { 5 | if (!confirm('Bu Makaleyi Silmek İstediğinize Emin misiniz?')) return; 6 | 7 | $.ajax({ 8 | url: "?sayfa=makaleler", 9 | method: 'post', 10 | data: { 11 | islem: 'sil', 12 | id: $(this).data('makale-id') 13 | } 14 | }).done(function () { 15 | location.reload(); 16 | }); 17 | }); 18 | 19 | $('.aktifdegistir').click(function () { 20 | $.ajax({ 21 | url: "?sayfa=makaleler", 22 | method: 'post', 23 | data: { 24 | islem: 'degistir', 25 | id: $(this).data('makale-id') 26 | } 27 | }).done(function () { 28 | location.reload(); 29 | }); 30 | }); 31 | 32 | })(jQuery); -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/js/app-yorumlar.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $('.yorumdetay').click(function () { 5 | $('#yorumdetay .modal-body').html($(this).parents('tr').find('.liste-uzun-metin').html()); 6 | }); 7 | 8 | $('.yorumsil').click(function () { 9 | if (!confirm('Bu Yorumu Silmek İstediğinize Emin misiniz?')) return; 10 | 11 | $.ajax({ 12 | url: "?sayfa=yorumlar", 13 | method: 'post', 14 | data: { 15 | islem: 'sil', 16 | id: $(this).data('yorum-id'), 17 | atab: $(this).data('tab') 18 | } 19 | }).done(function () { 20 | if ($('#makalekaydet').length) { 21 | $('#makalekaydet').parents('form').append(''); 22 | $('#makalekaydet').click(); 23 | } else { 24 | location.reload(); 25 | } 26 | }); 27 | }); 28 | 29 | $('.aktifdegistir').click(function () { 30 | $.ajax({ 31 | url: "?sayfa=yorumlar", 32 | method: 'post', 33 | data: { 34 | islem: 'degistir', 35 | id: $(this).data('yorum-id'), 36 | atab: $(this).data('tab') 37 | } 38 | }).done(function () { 39 | if ($('#makalekaydet').length) { 40 | $('#makalekaydet').parents('form').append(''); 41 | $('#makalekaydet').click(); 42 | } else { 43 | location.reload(); 44 | } 45 | }); 46 | }); 47 | })(jQuery); -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/js/genel.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | /* Kullanıcı Menu Aktivasyonu */ 5 | $('.isim').data('width', $('.isim').width()); 6 | $('.isim div').width($('.isim').data('width')); 7 | $('.isim').width(0); 8 | $('.kullanici').mouseenter(function () { 9 | $('.isim').width($('.isim').data('width')); 10 | }); 11 | $('.kullanici').mouseleave(function () { 12 | $('.isim').width(0); 13 | }); 14 | /* Son: Kullanıcı Menu Aktivasyonu */ 15 | 16 | /* Tooltip */ 17 | $('[data-toggle=tooltip]').tooltip(); 18 | /* Son: Tooltip */ 19 | 20 | /* Menu Aç Kapat */ 21 | $('.menu-ac-kapat').click(function () { 22 | $('.menu, .body').toggleClass('acik'); 23 | $('.body').unbind('click'); 24 | 25 | setTimeout(function () { 26 | $('.body').css('min-height', $(window).height() + 'px'); 27 | if ($('.body').hasClass('acik')) $('.body').click(function () { 28 | if ($('.menu-ac-kapat').css('display') == 'none') { 29 | $('.menu-ac-kapat').trigger('click'); 30 | } 31 | return false; 32 | }); 33 | }, 250); 34 | }); 35 | 36 | $('.menu-kapat').click(function () { 37 | $('.menu, .body').removeClass('acik'); 38 | $('.body').unbind('click'); 39 | }); 40 | 41 | $(window).resize(function () { 42 | if ($(window).width() > 1365) $('.menu, .body').removeClass('acik'); 43 | $('.body').css('min-height', $(window).height() + 'px'); 44 | }); 45 | /* Son: Menu Aç Kapat */ 46 | 47 | /* Tarih Kutusu */ 48 | /* Türkçeleştirmek için ilgi js dosyasında bazı değişiklikler yapıldı */ 49 | $('input.tarih').datepicker().on('changeDate', function (ev) { 50 | $(this).datepicker('hide'); 51 | }); 52 | $('.input-group-addon.tarih').click(function () { 53 | $(this).parents('.input-group').find('input.tarih').datepicker('show'); 54 | }); 55 | /* Son: Tarih Kutusu */ 56 | 57 | /* Select2 */ 58 | var s2 = $('.select2-etiket'); 59 | for (var i = 0; i < s2.length; i++) { 60 | $(s2[i]).select2({ 61 | tags: $(s2[i]).data('liste').split(',') 62 | }); 63 | } 64 | /* Son: Select2 */ 65 | })(jQuery); 66 | -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/js/syntaxhighlighter-plugin.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add('syntaxhighlighter', function (editor, url) { 2 | editor.addButton('syntaxhighlighter', { 3 | type: 'menubutton', 4 | text: 'Kod', 5 | icon: false, 6 | menu: [ 7 | { text: 'HTML / XML', onclick: function () { 8 | ekle("brush: xml", editor); 9 | } 10 | }, 11 | { text: 'HTML + PHP', onclick: function () { 12 | ekle("brush: php ; html-script: true", editor); 13 | } 14 | }, 15 | { text: 'HTML + CSS', onclick: function () { 16 | ekle("brush: css ; html-script: true", editor); 17 | } 18 | }, 19 | { text: 'HTML + JavaScript', onclick: function () { 20 | ekle("brush: js ; html-script: true", editor); 21 | } 22 | }, 23 | { text: 'PHP', onclick: function () { 24 | ekle("brush: php", editor); 25 | } 26 | }, 27 | { text: 'CSS', onclick: function () { 28 | ekle("brush: css", editor); 29 | } 30 | }, 31 | { text: 'JavaScript', onclick: function () { 32 | ekle("brush: js", editor); 33 | } 34 | }, 35 | { text: 'SQL', onclick: function () { 36 | ekle("brush: sql", editor); 37 | } 38 | } 39 | ] 40 | }); 41 | }); 42 | 43 | function ekle(cls, editor) { 44 | var kod = tinyMCE.activeEditor.selection.getContent() ? tinyMCE.activeEditor.selection.getContent() : '!!Kod Buraya!!'; 45 | editor.insertContent('
' + kod + '
'); 46 | } -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_anasayfa.scss: -------------------------------------------------------------------------------- 1 | .anasayfa { 2 | .panel { 3 | border-radius: 0px; 4 | .panel-heading { 5 | border-radius: 0px; 6 | padding: 8px 15px; 7 | } 8 | &.panel-success { 9 | &>.panel-heading { 10 | color: #f6f6f6; 11 | background-color: #3c763d; 12 | } 13 | } 14 | &.panel-warning { 15 | &>.panel-heading { 16 | color: #f6f6f6; 17 | background-color: #8a6d3b; 18 | } 19 | } 20 | &.panel-info { 21 | &>.panel-heading { 22 | color: #f6f6f6; 23 | background-color: #31708f; 24 | } 25 | } 26 | &.panel-danger { 27 | &>.panel-heading { 28 | color: #f6f6f6; 29 | background-color: #a94442; 30 | } 31 | } 32 | .panel-body { 33 | height: 300px; 34 | overflow: auto; 35 | } 36 | .panel-footer { 37 | font-size: .85em; 38 | padding: 3px 15px; 39 | border: none; 40 | background-color: #f8f8f8; 41 | a { 42 | text-decoration: none; 43 | } 44 | } 45 | } 46 | 47 | /* Grafik */ 48 | .grafik { 49 | width: 100%; 50 | height: 270px; 51 | ul { display: none; } 52 | } 53 | /* Son: Grafik */ 54 | 55 | /* Uzun Metin Ellipsis */ 56 | .liste-uzun-metin { 57 | white-space: nowrap; 58 | text-overflow: ellipsis; 59 | display: inline-block; 60 | width: 340px; 61 | overflow: hidden; 62 | } 63 | @media (max-width: 1199px) { 64 | .liste-uzun-metin { 65 | width: 300px; 66 | } 67 | } 68 | @media (max-width: 991px) { 69 | .liste-uzun-metin { 70 | width: 200px; 71 | } 72 | } 73 | @media (max-width: 767px) { 74 | .liste-uzun-metin { 75 | width: 340px; 76 | } 77 | } 78 | @media (max-width: 479px) { 79 | .liste-uzun-metin { 80 | width: 220px; 81 | } 82 | } 83 | /* Son: Uzun Metin Ellipsis */ 84 | } 85 | 86 | @media (max-width:1199px) { 87 | .anasayfa { 88 | margin-top: 30px; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_ayarlar.scss: -------------------------------------------------------------------------------- 1 | .ayarlar { 2 | label { 3 | line-height: 2; 4 | } 5 | .baglantilar { 6 | padding: 0; 7 | margin: 0; 8 | list-style: none; 9 | li { 10 | padding: 12px 0px 0px; 11 | position: relative; 12 | background: white; 13 | span { 14 | display: inline-block; 15 | margin: 0 1% 0 0; 16 | padding: 0; 17 | &.ikon { 18 | width: 28%; 19 | } 20 | &.adres { 21 | width: 27%; 22 | } 23 | &.renk { 24 | width: 13%; 25 | } 26 | &.buton { 27 | padding-top: 3px; 28 | margin-right: 0; 29 | float: right; 30 | } 31 | } 32 | } 33 | } 34 | textarea { 35 | height: 120px; 36 | resize: none; 37 | } 38 | } -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_body.scss: -------------------------------------------------------------------------------- 1 | .body { 2 | position: absolute; 3 | left: $menu-genislik; 4 | right: 0px; 5 | top: 0px; 6 | overflow: hidden; 7 | padding-top: 60px; 8 | z-index: 1; 9 | 10 | .body-icerik { 11 | font-size: 15px; 12 | @media (min-width: 1200px) { 13 | .container { 14 | width: 100%; 15 | max-width: 1520px; 16 | padding: 30px; 17 | } 18 | } 19 | } 20 | 21 | .ayrac { 22 | height: 30px; 23 | } 24 | 25 | .ust-bar { 26 | position: fixed; 27 | top: 0; 28 | left: $menu-genislik; 29 | right: 0; 30 | height: 60px; 31 | background: #f9f9f9; 32 | box-shadow: 0 0 2px rgba(0,0,0,.3); 33 | z-index: 1; 34 | transition: all $sure-birim; 35 | 36 | .body-menu-btn { 37 | float: left; 38 | margin: 12px; 39 | button { 40 | &:focus { 41 | outline: none; 42 | } 43 | } 44 | display: none; 45 | } 46 | 47 | .kullanici { 48 | float: right; 49 | position: relative; 50 | margin: 10px 12px; 51 | 52 | a { 53 | text-decoration: none; 54 | color: #aaa; 55 | .isim { 56 | float: right; 57 | display: block; 58 | margin-top: 5px; 59 | overflow: hidden; 60 | height: 1.6em; 61 | transition: all .4s; 62 | div { 63 | float: right; 64 | white-space: nowrap; 65 | } 66 | } 67 | img { 68 | float: right; 69 | width: 40px; 70 | margin-right: 3px; 71 | border-radius: 50%; 72 | border: 1px solid #ddd; 73 | background: #fff; 74 | } 75 | } 76 | .dropdown-menu { 77 | width: 220px; 78 | right: -12px; 79 | left: auto; 80 | margin-top: 10px; 81 | i { 82 | width: 18px; 83 | } 84 | } 85 | } 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_degiskenler.scss: -------------------------------------------------------------------------------- 1 | /* Fontlar */ 2 | $oswald: 'Oswald', sans-serif; 3 | $roboto: 'Roboto', sans-serif; 4 | 5 | /* Transition efektleri için birim süre */ 6 | $sure-birim: .2s; 7 | 8 | /* menu - body */ 9 | $menu-genislik: 290px; -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_etiketler.scss: -------------------------------------------------------------------------------- 1 | .etiketler { 2 | ul { 3 | list-style: none; 4 | padding: 0; 5 | margin: 0 -6px; 6 | li { 7 | float: left; 8 | margin: 6px; 9 | padding: 6px 6px 6px 9px; 10 | border-radius: 3px; 11 | border: 1px solid #ddd; 12 | .kaldir { 13 | display: inline-block; 14 | margin-left: 3px; 15 | } 16 | } 17 | } 18 | } 19 | 20 | /* Bu classlar ayarlar sayfası ile ortak kullanılıyor */ 21 | .renksec { 22 | border: none; 23 | outline: none; 24 | padding: 0; 25 | margin: 0; 26 | min-width: auto; 27 | width: 0; 28 | opacity: 0; 29 | } 30 | .renkseclink { 31 | display: inline-block; 32 | margin-left: 18px; 33 | text-shadow: 0px 0px 2px #000; 34 | } -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_genel.scss: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: $roboto; 3 | font-size: 18px; 4 | line-height: 1.6; 5 | position: relative; 6 | } 7 | 8 | h1, h2, h3, h4 { 9 | font-family: $oswald; 10 | span.small { 11 | font-family: $roboto; 12 | font-size: .5em; 13 | color: #aaa; 14 | } 15 | } 16 | 17 | .modal-body { 18 | label { 19 | font-size: .8em; 20 | } 21 | } 22 | 23 | /* Menu Aç Kapat */ 24 | @media (max-width: 1365px) { 25 | .menu { 26 | left: -1 * $menu-genislik; 27 | .menu-kapat { 28 | display: block !important; 29 | } 30 | } 31 | 32 | .body { 33 | left: 0; 34 | .ust-bar { 35 | left: 0; 36 | .body-menu-btn { 37 | display: block; 38 | } 39 | } 40 | } 41 | } 42 | 43 | .acik { 44 | &.menu { 45 | left: 0; 46 | } 47 | 48 | &.body { 49 | transition: all $sure-birim; 50 | filter: blur(3px); 51 | 52 | .ust-bar { 53 | left: $menu-genislik; 54 | .body-menu-btn { 55 | display: none; 56 | } 57 | } 58 | } 59 | } 60 | /* Son: Menu Aç Kapat */ 61 | 62 | /* Mobil boyutunda kapanacak elementler */ 63 | @media (max-width: 767px) { 64 | .xs-kapat { 65 | display: none !important; 66 | } 67 | } 68 | /* Son: Mobil boyutunda kapanacak elementler */ 69 | 70 | /* Orta boyutta kapanacak elementler */ 71 | @media (max-width: 991px) { 72 | .md-kapat { 73 | display: none !important; 74 | } 75 | } 76 | /* Son: Orta boyutta kapanacak elementler */ -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_login.scss: -------------------------------------------------------------------------------- 1 | body.login { 2 | background: #f0f0f0; 3 | .container { 4 | margin-top: 90px; 5 | form { 6 | background: #fff; 7 | box-shadow: 4px 4px 8px rgba(0,0,0,.6); 8 | border-radius: 6px; 9 | .baslik { 10 | color: #aaa; 11 | border-bottom: 1px solid #ccc; 12 | padding-bottom: 3px; 13 | } 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_makale.scss: -------------------------------------------------------------------------------- 1 | .makale { 2 | .icerik { 3 | height: 420px; 4 | } 5 | .baslik { 6 | font-size: 1.1em; 7 | font-weight: bold; 8 | } 9 | 10 | .tarih { 11 | z-index: inherit; 12 | } 13 | 14 | &.foto { 15 | ul { 16 | list-style: none; 17 | padding: 0; 18 | margin: 0; 19 | 20 | li { 21 | float: left; 22 | position: relative; 23 | width: 180px; 24 | height: 135px; 25 | padding: 0; 26 | margin: 6px; 27 | .makalefoto { 28 | width: 180px; 29 | height: 135px; 30 | .cover { 31 | width: 180px; 32 | height: 135px; 33 | line-height: 140px; 34 | text-align: center; 35 | background: rgba(0,0,0,.4); 36 | 37 | a { 38 | color: #fff; 39 | } 40 | } 41 | } 42 | } 43 | } 44 | } 45 | 46 | #progress { 47 | margin-top: 6px; 48 | display: none; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_makaleler.scss: -------------------------------------------------------------------------------- 1 | .makaleler { 2 | /* Uzun Metin Ellipsis */ 3 | .liste-uzun-metin { 4 | white-space: nowrap; 5 | text-overflow: ellipsis; 6 | display: inline-block; 7 | width: 500px; 8 | overflow: hidden; 9 | } 10 | @media (max-width: 1199px) { 11 | .liste-uzun-metin { 12 | width: 355px; 13 | } 14 | } 15 | @media (max-width: 991px) { 16 | .liste-uzun-metin { 17 | width: 270px; 18 | } 19 | } 20 | @media (max-width: 479px) { 21 | .liste-uzun-metin { 22 | width: 180px; 23 | } 24 | } 25 | /* Son: Uzun Metin Ellipsis */ 26 | } -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_menu.scss: -------------------------------------------------------------------------------- 1 | .menu { 2 | font-family: $oswald; 3 | width: $menu-genislik; 4 | background: #222; 5 | position: fixed; 6 | top: 0px; 7 | bottom: 0px; 8 | left: 0px; 9 | overflow: hidden; 10 | transition: all $sure-birim; 11 | z-index: 2; 12 | 13 | ul { 14 | padding: 0; 15 | margin: 10px 0px 0px 0px; 16 | list-style: none; 17 | 18 | li { 19 | padding: 3px 9px; 20 | color: #ddd; 21 | border-top: 1px solid #2c2c2c; 22 | 23 | &.menu-kapat { 24 | display: none; 25 | margin-bottom: 12px; 26 | .btn-default { 27 | background: #f3f3f3; 28 | } 29 | i { width: auto; } 30 | } 31 | 32 | i { 33 | display: inline-block; 34 | width: 30px; 35 | font-size: 1.1em; 36 | } 37 | a { 38 | color: inherit; 39 | text-decoration: none; 40 | font-size: .8em; 41 | &:hover { 42 | color: #fcfcfc; 43 | } 44 | } 45 | 46 | .badge { 47 | font-family: $roboto; 48 | color: #333; 49 | background: #f3f3f3; 50 | font-size: .75em; 51 | } 52 | 53 | &.cercevesiz { 54 | border: none; 55 | } 56 | &.aktif { 57 | background: #2c2c2c; 58 | a { color: #fcfcfc; } 59 | &:after { 60 | float: right; 61 | font-family: FontAwesome; 62 | font-style: normal; 63 | font-weight: normal; 64 | font-smoothing: antialiased; 65 | font-size: .8em; 66 | line-height: 2; 67 | display: inline-block; 68 | color: #f0f0f0; 69 | padding-right: .25em; 70 | text-shadow: 0 0 3px rgba(240,240,240,.9); 71 | content: "\f111"; 72 | } 73 | } 74 | .input-group-addon { 75 | button { 76 | border: none; 77 | outline: none; 78 | padding: 0; 79 | margin: 0; 80 | background: transparent; 81 | } 82 | } 83 | } 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_select2.scss: -------------------------------------------------------------------------------- 1 | .select2-search-choice { 2 | background: transparent !important; 3 | padding: 4px 6px 5px 18px !important; 4 | margin: 4px 0 3px 5px !important; 5 | } -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/_yorumlar.scss: -------------------------------------------------------------------------------- 1 | .yorumlar { 2 | .nav-tabs li { 3 | a, a:hover { 4 | border-radius: 0; 5 | border-top: 3px solid #ccc; 6 | } 7 | &.active { 8 | a, a:hover { 9 | border-top: 3px solid #d9534f; 10 | } 11 | } 12 | } 13 | 14 | /* Uzun Metin Ellipsis */ 15 | .liste-uzun-metin { 16 | white-space: nowrap; 17 | text-overflow: ellipsis; 18 | display: inline-block; 19 | width: 500px; 20 | overflow: hidden; 21 | } 22 | @media (max-width: 1199px) { 23 | .liste-uzun-metin { 24 | width: 355px; 25 | } 26 | } 27 | @media (max-width: 991px) { 28 | .liste-uzun-metin { 29 | width: 270px; 30 | } 31 | } 32 | @media (max-width: 479px) { 33 | .liste-uzun-metin { 34 | width: 180px; 35 | } 36 | } 37 | /* Son: Uzun Metin Ellipsis */ 38 | } -------------------------------------------------------------------------------- /tezgah/chalishma/yonetim/scss/stil.scss: -------------------------------------------------------------------------------- 1 | @import "degiskenler"; 2 | 3 | @import "login"; 4 | 5 | @import "menu"; 6 | 7 | @import "body"; 8 | 9 | @import "genel"; 10 | 11 | @import "makale"; 12 | 13 | @import "makaleler"; 14 | 15 | @import "select2"; 16 | 17 | @import "etiketler"; 18 | 19 | @import "yorumlar"; 20 | 21 | @import "ayarlar"; 22 | 23 | @import "anasayfa"; -------------------------------------------------------------------------------- /tezgah/cheup/aga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/cheup/aga.png -------------------------------------------------------------------------------- /tezgah/cheup/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/cheup/avatar.png -------------------------------------------------------------------------------- /tezgah/cheup/copyright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/cheup/copyright.png -------------------------------------------------------------------------------- /tezgah/cheup/mopyright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/cheup/mopyright.png -------------------------------------------------------------------------------- /tezgah/cheup/space.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/cheup/space.png -------------------------------------------------------------------------------- /tezgah/kaynaklar/SyntaxHighlighter-by-alexgorbatchev/syntaxhighlighter_3.0.83.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/SyntaxHighlighter-by-alexgorbatchev/syntaxhighlighter_3.0.83.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/bootstrap-colorpicker-by-mjolnic/bootstrap-colorpicker-master.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/bootstrap-colorpicker-by-mjolnic/bootstrap-colorpicker-master.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/bootstrap-datepicker/datepicker.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/bootstrap-datepicker/datepicker.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/bootstrap/bootstrap-3.1.1-dist.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/bootstrap/bootstrap-3.1.1-dist.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/font-awesome/font-awesome-4.1.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/font-awesome/font-awesome-4.1.0.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/highcharts/Highcharts-4.0.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/highcharts/Highcharts-4.0.1.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/imagebrowser-for-tinymce-by-hozakar/imagebrowser-for-tinymce-1.0.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/imagebrowser-for-tinymce-by-hozakar/imagebrowser-for-tinymce-1.0.0.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/imgfix-by-hozakar/imgfix-master.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/imgfix-by-hozakar/imgfix-master.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/jQuery-File-Upload-by-blueimp/jQuery-File-Upload-9.5.7.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/jQuery-File-Upload-by-blueimp/jQuery-File-Upload-9.5.7.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/lightbox-by-lokesh/lightbox-2.7.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/lightbox-by-lokesh/lightbox-2.7.1.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/select2-by-ivaynberg/select2-3.4.8.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/select2-by-ivaynberg/select2-3.4.8.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/tinyMCE/tinymce_4.0.28.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/tinyMCE/tinymce_4.0.28.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/tinyMCE/tinymce_languages.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/tezgah/kaynaklar/tinyMCE/tinymce_languages.zip -------------------------------------------------------------------------------- /tezgah/sablonlar/standart/eklemeler/altbar.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 8 | 11 |
12 |
13 |
14 | -------------------------------------------------------------------------------- /tezgah/sablonlar/standart/eklemeler/solmenu.html: -------------------------------------------------------------------------------- 1 | 2 | 34 | 35 | -------------------------------------------------------------------------------- /tezgah/yedek/app-makale.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $('#fileupload') 5 | .bind('fileuploaddone', function (e, data) { 6 | var dosya = data.files[0].name; 7 | $.ajax({ 8 | url: $('input[name=id]').data('ana-dizin') + "upload/dosyaduzenle.php", 9 | method: 'get', 10 | data: { 11 | dosya: dosya, 12 | id: $('input[name=id]').val(), 13 | yol: $('input[name=id]').data('ana-dizin') 14 | } 15 | }); 16 | }) 17 | .bind('fileuploadstop', function (e) { 18 | $('#makalekaydet').parents('form').append(''); 19 | $('#makalekaydet').click(); 20 | }); 21 | 22 | $('.cover>a').click(function () { 23 | if (!confirm('Bu Fotoğrafı Silmek İstediğinize Emin misiniz?')) return; 24 | var id = $(this).parents('li').data('id'); 25 | $.ajax({ 26 | url: "?sayfa=makale", 27 | method: 'post', 28 | data: { 29 | islem: 'fotosil', 30 | id: id 31 | } 32 | }).done(function () { 33 | $('#makalekaydet').parents('form').append(''); 34 | $('#makalekaydet').click(); 35 | }); 36 | }); 37 | 38 | $(function () { 39 | $(".sirala").sortable({ 40 | stop: function () { 41 | var liste = $('.foto .sirala>li'); 42 | var sira = new Array(); 43 | for (var i = 0; i < liste.length; i++) { 44 | sira.push($(liste[i]).data('id')); 45 | } 46 | sira = sira.join(','); 47 | $.ajax({ 48 | url: "?sayfa=makale", 49 | method: 'post', 50 | data: { 51 | islem: 'fotosirala', 52 | sira: sira 53 | } 54 | }); 55 | } 56 | }); 57 | $(".sirala").disableSelection(); 58 | }); 59 | 60 | $(window).load(function () { 61 | if ($('#acilis').length) { 62 | $(window).scrollTop($('#acilis').offset().top); 63 | } 64 | }); 65 | 66 | })(jQuery); -------------------------------------------------------------------------------- /upload/dosyaduzenle.php: -------------------------------------------------------------------------------- 1 | query("INSERT INTO foto (mid, uzanti) VALUES($id, '.".end(explode('.', $dosya))."')"); 10 | $foto = current($db->query("SELECT LAST_INSERT_ID() FROM foto")->fetch_row()).".".end(explode('.', $dosya)); 11 | 12 | unlink("foto/".$dosya); 13 | 14 | $klasorler = explode(',', 'buyuk,normal,minik'); 15 | foreach($klasorler as $klasor) { 16 | rename("foto/".$klasor."/".$dosya, "foto/".$klasor."/".$foto); 17 | } 18 | ?> -------------------------------------------------------------------------------- /upload/foto/.htaccess: -------------------------------------------------------------------------------- 1 | # The following directives force the content-type application/octet-stream 2 | # and force browsers to display a download dialog for non-image files. 3 | # This prevents the execution of script files in the context of the website: 4 | ForceType application/octet-stream 5 | Header set Content-Disposition attachment 6 | 7 | ForceType none 8 | Header unset Content-Disposition 9 | 10 | 11 | # The following directive prevents browsers from MIME-sniffing the content-type. 12 | # This is an important complement to the ForceType directive above: 13 | Header set X-Content-Type-Options nosniff 14 | 15 | # Uncomment the following lines to prevent unauthorized download of files: 16 | #AuthName "Authorization required" 17 | #AuthType Basic 18 | #require valid-user 19 | -------------------------------------------------------------------------------- /upload/index.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 | -------------------------------------------------------------------------------- /yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png -------------------------------------------------------------------------------- /yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha.png -------------------------------------------------------------------------------- /yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/hue-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/hue-horizontal.png -------------------------------------------------------------------------------- /yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/hue.png -------------------------------------------------------------------------------- /yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/saturation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/saturation.png -------------------------------------------------------------------------------- /yonetim/inc/jquery-file-upload/css/jquery.fileupload-noscript.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload Plugin NoScript CSS 1.2.0 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2013, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .fileinput-button input { 14 | position: static; 15 | opacity: 1; 16 | filter: none; 17 | font-size: inherit; 18 | direction: inherit; 19 | } 20 | .fileinput-button span { 21 | display: none; 22 | } 23 | -------------------------------------------------------------------------------- /yonetim/inc/jquery-file-upload/css/jquery.fileupload-ui-noscript.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload UI Plugin NoScript CSS 8.8.5 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2012, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .fileinput-button i, 14 | .fileupload-buttonbar .delete, 15 | .fileupload-buttonbar .toggle { 16 | display: none; 17 | } 18 | -------------------------------------------------------------------------------- /yonetim/inc/jquery-file-upload/css/jquery.fileupload-ui.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload UI Plugin CSS 9.0.0 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2010, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .fileupload-buttonbar .btn, 14 | .fileupload-buttonbar .toggle { 15 | margin-bottom: 5px; 16 | } 17 | .progress-animated .progress-bar, 18 | .progress-animated .bar { 19 | background: url("../img/progressbar.gif") !important; 20 | filter: none; 21 | } 22 | .fileupload-process { 23 | float: right; 24 | display: none; 25 | } 26 | .fileupload-processing .fileupload-process, 27 | .files .processing .preview { 28 | display: block; 29 | width: 32px; 30 | height: 32px; 31 | background: url("../img/loading.gif") center no-repeat; 32 | background-size: contain; 33 | } 34 | .files audio, 35 | .files video { 36 | max-width: 300px; 37 | } 38 | 39 | @media (max-width: 767px) { 40 | .fileupload-buttonbar .toggle, 41 | .files .toggle, 42 | .files .btn span { 43 | display: none; 44 | } 45 | .files .name { 46 | width: 80px; 47 | word-wrap: break-word; 48 | } 49 | .files audio, 50 | .files video { 51 | max-width: 80px; 52 | } 53 | .files img, 54 | .files canvas { 55 | max-width: 100%; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /yonetim/inc/jquery-file-upload/css/jquery.fileupload.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload Plugin CSS 1.3.0 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2013, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | .fileinput-button { 14 | position: relative; 15 | overflow: hidden; 16 | } 17 | .fileinput-button input { 18 | position: absolute; 19 | top: 0; 20 | right: 0; 21 | margin: 0; 22 | opacity: 0; 23 | -ms-filter: 'alpha(opacity=0)'; 24 | font-size: 200px; 25 | direction: ltr; 26 | cursor: pointer; 27 | } 28 | 29 | /* Fixes for IE < 8 */ 30 | @media screen\9 { 31 | .fileinput-button input { 32 | filter: alpha(opacity=0); 33 | font-size: 100%; 34 | height: 100%; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /yonetim/inc/jquery-file-upload/css/style.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload Plugin CSS Example 8.8.2 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2013, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | 13 | body { 14 | padding-top: 60px; 15 | } 16 | -------------------------------------------------------------------------------- /yonetim/inc/jquery-file-upload/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/jquery-file-upload/img/loading.gif -------------------------------------------------------------------------------- /yonetim/inc/jquery-file-upload/img/progressbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/jquery-file-upload/img/progressbar.gif -------------------------------------------------------------------------------- /yonetim/inc/jquery-file-upload/js/main.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery File Upload Plugin JS Example 8.9.1 3 | * https://github.com/blueimp/jQuery-File-Upload 4 | * 5 | * Copyright 2010, Sebastian Tschan 6 | * https://blueimp.net 7 | * 8 | * Licensed under the MIT license: 9 | * http://www.opensource.org/licenses/MIT 10 | */ 11 | 12 | /* global $, window */ 13 | 14 | $(function () { 15 | 'use strict'; 16 | 17 | // Initialize the jQuery File Upload widget: 18 | $('#fileupload').fileupload({ 19 | // Uncomment the following to send cross-domain cookies: 20 | //xhrFields: {withCredentials: true}, 21 | url: '/upload/' 22 | }); 23 | 24 | // Enable iframe cross-domain access via redirect option: 25 | $('#fileupload').fileupload( 26 | 'option', 27 | 'redirect', 28 | window.location.href.replace( 29 | /\/[^\/]*$/, 30 | '/cors/result.html?%s' 31 | ) 32 | ); 33 | 34 | if (window.location.hostname === 'blueimp.github.io') { 35 | // Demo settings: 36 | $('#fileupload').fileupload('option', { 37 | url: '//jquery-file-upload.appspot.com/', 38 | // Enable image resizing, except for Android and Opera, 39 | // which actually support image resizing, but fail to 40 | // send Blob objects via XHR requests: 41 | disableImageResize: /Android(?!.*Chrome)|Opera/ 42 | .test(window.navigator.userAgent), 43 | maxFileSize: 5000000, 44 | acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i 45 | }); 46 | // Upload server status check for browsers with CORS support: 47 | if ($.support.cors) { 48 | $.ajax({ 49 | url: '//jquery-file-upload.appspot.com/', 50 | type: 'HEAD' 51 | }).fail(function () { 52 | $('
') 53 | .text('Upload server currently unavailable - ' + 54 | new Date()) 55 | .appendTo('#fileupload'); 56 | }); 57 | } 58 | } else { 59 | // Load existing files: 60 | $('#fileupload').addClass('fileupload-processing'); 61 | $.ajax({ 62 | // Uncomment the following to send cross-domain cookies: 63 | //xhrFields: {withCredentials: true}, 64 | url: $('#fileupload').fileupload('option', 'url'), 65 | dataType: 'json', 66 | context: $('#fileupload')[0] 67 | }).always(function () { 68 | $(this).removeClass('fileupload-processing'); 69 | }).done(function (result) { 70 | $(this).fileupload('option', 'done') 71 | .call(this, $.Event('done'), { result: result }); 72 | }); 73 | } 74 | 75 | }); 76 | -------------------------------------------------------------------------------- /yonetim/inc/js/app-anasayfa.min.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $(function () { 5 | var baslik = $('.grafik .baslik').html(); 6 | var yBaslik = $('.grafik .yBaslik').html(); 7 | var kategoriler = $('.grafik .kategoriler').data('isim-liste').split(','); 8 | 9 | var dummy = $('.grafik .kategoriler ul'); 10 | var seriler = new Array(); 11 | for (var i = 0; i < dummy.length; i++) { 12 | seriler[i] = new Object(); 13 | seriler[i].name = $(dummy[i]).data('isim'); 14 | var liste = $(dummy[i]).find('li'); 15 | seriler[i].data = new Array(); 16 | for (var j = 0; j < liste.length; j++) seriler[i].data.push(parseInt($(liste[j]).html())); 17 | } 18 | 19 | $('.grafik').highcharts({ 20 | title: { 21 | text: baslik, 22 | x: -20 //center 23 | }, 24 | xAxis: { 25 | categories: kategoriler 26 | }, 27 | yAxis: { 28 | title: { 29 | text: yBaslik 30 | }, 31 | plotLines: [{ 32 | value: 0, 33 | width: 1, 34 | color: '#808080' 35 | }] 36 | }, 37 | tooltip: { 38 | valueSuffix: '' 39 | }, 40 | legend: { 41 | layout: 'vertical', 42 | align: 'right', 43 | verticalAlign: 'middle', 44 | borderWidth: 0 45 | }, 46 | series: seriler 47 | }); 48 | }); 49 | 50 | 51 | })(jQuery); -------------------------------------------------------------------------------- /yonetim/inc/js/app-ayarlar.min.js: -------------------------------------------------------------------------------- 1 | !function(n){"use strict";n(function(){n(".renksec").length&&(n(".renkseclink").click(function(){var a=n(this).parents("span").find(".renksec");a.length&&a.focus()}),n(".renksec").colorpicker().on("changeColor",function(a){var e=n(this).parents("span").find(".renkseclink");e.length&&e.css("color",a.color.toHex()),n(this).parents("span").find("input.renksec").attr("value",a.color.toHex())}))}),n(".baglantilar").sortable({stop:function(){for(var a=n(".baglantilar li"),e=0;e '),n(".sosyalsil").unbind("click").click(function(){if(confirm("Bu Kaydı Silmek İstediğinize Emin misiniz?")){var a=n(this).parents("li")[0];n(a).slideToggle(),n(a).find(".sil").val(1)}}),n(".renkseclink").unbind("click").click(function(){var a=n(this).parents("span").find(".renksec");a.length&&a.focus()}),n(".renksec").colorpicker().off("changeColor").on("changeColor",function(a){var e=n(this).parents("span").find(".renkseclink");e.length&&e.css("color",a.color.toHex()),n(this).parents("span").find("input.renksec").val(a.color.toHex())})})}(jQuery); -------------------------------------------------------------------------------- /yonetim/inc/js/app-etiketler.min.js: -------------------------------------------------------------------------------- 1 | !function(i){"use strict";i(function(){i(".renksec").length&&(i(".renkseclink").click(function(){var e=i(this).parents("li").find(".renksec");e.length&&e.focus()}),i(".renksec").colorpicker().on("changeColor",function(e){var t=i(this).parents("li").find(".renkseclink");t.length&&t.css("color",e.color.toHex())}).on("hidePicker",function(){var e=i(this).val(),t=i(this).data("id");i.ajax({url:"?sayfa=etiketler",method:"post",data:{islem:"renk",id:t,renk:e}})}))}),i(".kaldir").click(function(){var e=i(this).data("id");i.ajax({url:"?sayfa=etiketler",method:"post",data:{islem:"degistir",id:e}}).done(function(){location.reload()})}),i(".sil").click(function(){var e=i(this).data("id");i.ajax({url:"?sayfa=etiketler",method:"post",data:{islem:"sil",id:e}}).done(function(){location.reload()})})}(jQuery); -------------------------------------------------------------------------------- /yonetim/inc/js/app-kullanicilar.min.js: -------------------------------------------------------------------------------- 1 | !function(i){"use strict";i(".kullanicikayit").click(function(){i("#kullanici [name=id]").val(i(this).data("kullanici-id")),i("#kullanici [name=isim]").val(i(this).data("kullanici-isim")),i("#kullanici [name=eposta]").val(i(this).data("kullanici-eposta")),i(this).data("kullanici-id")>0?(i("#kullanici [name=duzey]").val(i(this).data("kullanici-duzey")),i("#kullanici [name=sifre]").removeAttr("required")):i("#kullanici [name=sifre]").attr("required","required")}),i(".kullanicisil").click(function(){confirm("Bu Kullanıcıyı Silmek İstediğinize Emin misiniz?")&&i.ajax({url:"?sayfa=kullanicilar",method:"post",data:{islem:"sil",id:i(this).data("kullanici-id")}}).done(function(){location.reload()})}),i(".aktifdegistir").click(function(){i.ajax({url:"?sayfa=kullanicilar",method:"post",data:{islem:"degistir",id:i(this).data("kullanici-id")}}).done(function(){location.reload()})})}(jQuery); -------------------------------------------------------------------------------- /yonetim/inc/js/app-makale.min.js: -------------------------------------------------------------------------------- 1 | !function(a){"use strict";a(".cover>a").click(function(){if(confirm("Bu Fotoğrafı Silmek İstediğinize Emin misiniz?")){var i=a(this).parents("li").data("id");a.ajax({url:"?sayfa=makale",method:"post",data:{islem:"fotosil",id:i}}).done(function(){a("#makalekaydet").parents("form").append(''),a("#makalekaydet").click()})}}),a(function(){var i=a("input[name=id]").data("ana-dizin")+"upload/";a("#fileupload").fileupload({url:i,dataType:"json",done:function(i,t){a.each(t.result.files,function(i,t){var e=t.name;a.ajax({url:a("input[name=id]").data("ana-dizin")+"upload/dosyaduzenle.php",method:"get",data:{dosya:e,id:a("input[name=id]").val(),yol:a("input[name=id]").data("ana-dizin")}})})},stop:function(){a("#makalekaydet").parents("form").append(''),a("#makalekaydet").click()},start:function(){a("#progress").css("display","block")},progressall:function(i,t){var e=parseInt(t.loaded/t.total*100,10);a("#progress .progress-bar").css("width",e+"%")}}).prop("disabled",!a.support.fileInput).parent().addClass(a.support.fileInput?void 0:"disabled"),a(".sirala").sortable({stop:function(){for(var i=a(".foto .sirala>li"),t=new Array,e=0;e'),a("#makalekaydet").click()):location.reload()})}),a(".aktifdegistir").click(function(){a.ajax({url:"?sayfa=yorumlar",method:"post",data:{islem:"degistir",id:a(this).data("yorum-id"),atab:a(this).data("tab")}}).done(function(){a("#makalekaydet").length?(a("#makalekaydet").parents("form").append(''),a("#makalekaydet").click()):location.reload()})})}(jQuery); -------------------------------------------------------------------------------- /yonetim/inc/js/genel.min.js: -------------------------------------------------------------------------------- 1 | !function(i){"use strict";i(".isim").data("width",i(".isim").width()),i(".isim div").width(i(".isim").data("width")),i(".isim").width(0),i(".kullanici").mouseenter(function(){i(".isim").width(i(".isim").data("width"))}),i(".kullanici").mouseleave(function(){i(".isim").width(0)}),i("[data-toggle=tooltip]").tooltip(),i(".menu-ac-kapat").click(function(){i(".menu, .body").toggleClass("acik"),i(".body").unbind("click"),setTimeout(function(){i(".body").css("min-height",i(window).height()+"px"),i(".body").hasClass("acik")&&i(".body").click(function(){return"none"==i(".menu-ac-kapat").css("display")&&i(".menu-ac-kapat").trigger("click"),!1})},250)}),i(".menu-kapat").click(function(){i(".menu, .body").removeClass("acik"),i(".body").unbind("click")}),i(window).resize(function(){i(window).width()>1365&&i(".menu, .body").removeClass("acik"),i(".body").css("min-height",i(window).height()+"px")}),i("input.tarih").datepicker().on("changeDate",function(){i(this).datepicker("hide")}),i(".input-group-addon.tarih").click(function(){i(this).parents(".input-group").find("input.tarih").datepicker("show")});for(var t=i(".select2-etiket"),n=0;n 5 | */ 6 | (function ($) { 7 | "use strict"; 8 | 9 | $.extend($.fn.select2.defaults, { 10 | formatNoMatches: function () { return "Sonuç bulunamadı"; }, 11 | formatInputTooShort: function (input, min) { var n = min - input.length; return "En az " + n + " karakter daha girmelisiniz"; }, 12 | formatInputTooLong: function (input, max) { var n = input.length - max; return n + " karakter azaltmalısınız"; }, 13 | formatSelectionTooBig: function (limit) { return "Sadece " + limit + " seçim yapabilirsiniz"; }, 14 | formatLoadMore: function (pageNumber) { return "Daha fazla…"; }, 15 | formatSearching: function () { return "Aranıyor…"; } 16 | }); 17 | })(jQuery); 18 | -------------------------------------------------------------------------------- /yonetim/inc/select2/select2x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/select2/select2x2.png -------------------------------------------------------------------------------- /yonetim/inc/sistem/config.php: -------------------------------------------------------------------------------- 1 | query("SELECT * FROM sitebilgi".($_SESSION['sid'] ? " WHERE id = ".$_SESSION['sid'] : "")." ORDER BY aktif DESC, id LIMIT 1"); 16 | 17 | $sb = $rs->fetch_assoc(); 18 | $_SESSION['sid'] = $sb['id']; 19 | 20 | $anasayfasablon = 'index'.(!$sb['aktif'] ? '-yapimasamasinda' : '').'.html'; 21 | 22 | $satirsayi = 15; // Yönetim Panelinde Liste Sayfalarında Sayfa Başına Kayıt Sayısı 23 | 24 | date_default_timezone_set($sb['zamandilimi']); 25 | ?> -------------------------------------------------------------------------------- /yonetim/inc/sistem/functions.php: -------------------------------------------------------------------------------- 1 | -1) { 10 | $h = $f; 11 | break; 12 | } 13 | } 14 | if($h) { 15 | $h = explode($dosya, $h); 16 | $h = $h[0]; 17 | } else { 18 | $h = ''; 19 | } 20 | 21 | /* 22 | ** Sunucuyu yapılandıran kişinin o anda ne içtiğine bağlı olarak 23 | ** document_root bilgisini ayrıca ayıklamak gerekebilir 24 | ** Teşekkürler isimtescil 25 | */ 26 | $h = mb_strtolower(str_replace('\\', '/', $h), "UTF-8"); 27 | $dr = mb_strtolower(str_replace('\\', '/', $_SERVER['DOCUMENT_ROOT']), "UTF-8"); 28 | $h = $dr.end(explode($dr, $h)); 29 | 30 | return $h; 31 | } 32 | 33 | function seo($s, $id){ 34 | /* ************************************************ ** 35 | ** Neden bilmiyorum, regex'ten hiç hazzetmiyorum... ** 36 | ** ************************************************ */ 37 | 38 | $tr = array('ş','Ş','ı','İ','ğ','Ğ','ü','Ü','ö','Ö','ç','Ç'); 39 | $en = array('s','s','i','i','g','g','u','u','o','o','c','c'); 40 | $s = str_replace($tr,$en,$s); 41 | $s = strtolower($s); 42 | 43 | $s = charReplace($s); 44 | $s = lCase($s); 45 | $s = str_replace("--","-",$s); 46 | $s = trim($s, '-'); 47 | 48 | /* Belirlenen URL kullanımda mı? */ 49 | global $db; 50 | $kntr = 0; 51 | while($hoy = current($db->query("SELECT id FROM makaleler WHERE url = '".$s.($kntr ? '-'.$kntr : '')."' AND id <> $id")->fetch_row())) $kntr++; // Ürkütücü 52 | 53 | return $s.($kntr ? '-'.$kntr : ''); 54 | } 55 | 56 | function lCase($gelen) { 57 | /* Biraz pirimitif bir yöntem, aslında mb_strtolower kullansam daha modern görünür :( */ 58 | $first = explode(',', 'A,B,C,Ç,D,E,F,G,Ğ,H,I,İ,J,K,L,M,N,O,Ö,P,Q,R,S,Ş,T,U,Ü,V,W,X,Y,Z'); 59 | $last = explode(',', 'a,b,c,ç,d,e,f,g,ğ,h,i,i,j,k,l,m,n,o,ö,p,q,r,s,ş,t,u,ü,v,w,x,y,z'); 60 | $answer = str_replace($first,$last,$gelen); 61 | return $answer; 62 | } 63 | 64 | function charReplace($gelen) { 65 | $first = explode(',', '",é,!,\',^,#,+,$,%,&,/,{,(,[,),],=,},?,*,\\,_,+,@,€,¨,~,´,;,\,,`,.,:,<,>,|, '); 66 | $first[] = ','; 67 | $answer = str_replace($first,'-',$gelen); 68 | return $answer; 69 | } 70 | 71 | function filtre($gelen){ 72 | $yasak = explode(",", "SELECT,INSERT,CREATE,UPDATE,JOIN,CONCAT,DELETE"); 73 | $filtre = str_replace($yasak, '', $gelen); 74 | return $filtre; 75 | } 76 | 77 | function s_addslashes($gelen) { 78 | global $slashkullan; 79 | if($slashkullan) $gelen = addslashes($gelen); 80 | return $gelen; 81 | } 82 | 83 | function sql_filtre($gelen, $reverse = FALSE) { 84 | $filtre = explode(',', '*,SELECT,UPDATE,DELETE,INSERT,INTO,VALUE,FROM,LEFT,RIGHT,INNER,JOIN,WHERE,LIMIT,ORDER,CREATE'); 85 | $son = explode(',', '*|,S|ELECT,U|PDATE,D|ELETE,I|NSERT,I|NTO,V|ALUE,F|ROM,L|EFT,R|IGHT,I|NNER,J|OIN,W|HERE,L|IMIT,O|RDER,C|REATE'); 86 | $gelen = $reverse ? str_ireplace($son, $filtre, $gelen) : str_ireplace($filtre, $son, $gelen); 87 | return $gelen; 88 | } 89 | ?> -------------------------------------------------------------------------------- /yonetim/inc/sistem/ilk/etiketler.php: -------------------------------------------------------------------------------- 1 | query("UPDATE etiketler SET renk = '".$_POST['renk']."' WHERE id = $_POST[id]"); 11 | } 12 | break; 13 | case 'degistir': 14 | if($_POST['id']) { 15 | $db->query("UPDATE etiketler SET menu = NOT menu WHERE id = $_POST[id]"); 16 | } 17 | break; 18 | case 'sil': 19 | if($_POST['id']) { 20 | $db->query("DELETE FROM etiketler WHERE id = $_POST[id]"); 21 | } 22 | break; 23 | } 24 | ?> -------------------------------------------------------------------------------- /yonetim/inc/sistem/ilk/kullanicilar.php: -------------------------------------------------------------------------------- 1 | query("UPDATE kullanicilar SET isim = '$_POST[isim]', eposta = '$_POST[eposta]', duzey = $_POST[duzey]".($_POST['sifre'] ? ", sifre = '".md5($_POST['sifre'])."'" : "")." WHERE id = $_POST[id]"); 7 | } else { 8 | $db->query("INSERT INTO kullanicilar (isim, eposta, duzey, sifre) VALUES('$_POST[isim]', '$_POST[eposta]', $_POST[duzey], '".md5($_POST['sifre'])."')"); 9 | } 10 | if($_SESSION['user']['id'] == $_POST['id']) { 11 | $kullanici = $db->query("SELECT * FROM kullanicilar WHERE id = $_POST[id]"); 12 | $_SESSION['user'] = $kullanici->fetch_assoc(); 13 | } 14 | header('location: ?sayfa=kullanicilar'); 15 | break; 16 | case 'sil': 17 | if($_POST['id']) { 18 | $db->query("DELETE FROM kullanicilar WHERE id = $_POST[id]"); 19 | } 20 | break; 21 | case 'degistir': 22 | if($_POST['id']) { 23 | $db->query("UPDATE kullanicilar SET aktif = NOT aktif WHERE id = $_POST[id]"); 24 | } 25 | break; 26 | } 27 | $returndummy = TRUE; 28 | ?> -------------------------------------------------------------------------------- /yonetim/inc/sistem/ilk/makaleler.php: -------------------------------------------------------------------------------- 1 | query("DELETE FROM makaleler WHERE id = $_POST[id]"); 7 | } 8 | break; 9 | case 'degistir': 10 | if($_POST['id']) { 11 | $db->query("UPDATE makaleler SET aktif = NOT aktif WHERE id = $_POST[id]"); 12 | } 13 | break; 14 | } 15 | $returndummy = TRUE; 16 | ?> -------------------------------------------------------------------------------- /yonetim/inc/sistem/ilk/profil.php: -------------------------------------------------------------------------------- 1 | query("UPDATE kullanicilar SET isim = '$_POST[isim]', eposta = '$_POST[eposta]'".($_POST['sifre'] ? ", sifre = '".md5($_POST['sifre'])."'" : "")." WHERE id = $_POST[id]"); 4 | $kullanici = $db->query("SELECT * FROM kullanicilar WHERE id = $_POST[id]"); 5 | $_SESSION['user'] = $kullanici->fetch_assoc(); 6 | header('location: ?sayfa=profil'); 7 | return; 8 | ?> -------------------------------------------------------------------------------- /yonetim/inc/sistem/ilk/yorumlar.php: -------------------------------------------------------------------------------- 1 | query("DELETE FROM yorumlar WHERE id = $_POST[id]"); 9 | } 10 | break; 11 | case 'degistir': 12 | if($_POST['id']) { 13 | $db->query("UPDATE yorumlar SET aktif = NOT aktif WHERE id = $_POST[id]"); 14 | } 15 | break; 16 | } 17 | 18 | $returndummy = TRUE; 19 | ?> -------------------------------------------------------------------------------- /yonetim/inc/sistem/yonetim.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/advlist/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("advlist",function(t){function e(t,e){var n=[];return tinymce.each(e.split(/[ ,]/),function(t){n.push({text:t.replace(/\-/g," ").replace(/\b\w/g,function(t){return t.toUpperCase()}),data:"default"==t?"":t})}),n}function n(e,n){var o,l=t.dom,a=t.selection;o=l.getParent(a.getNode(),"ol,ul"),o&&o.nodeName==e&&n!==!1||t.execCommand("UL"==e?"InsertUnorderedList":"InsertOrderedList"),n=n===!1?i[e]:n,i[e]=n,o=l.getParent(a.getNode(),"ol,ul"),o&&(l.setStyle(o,"listStyleType",n),o.removeAttribute("data-mce-style")),t.focus()}function o(e){var n=t.dom.getStyle(t.dom.getParent(t.selection.getNode(),"ol,ul"),"listStyleType")||"";e.control.items().each(function(t){t.active(t.settings.data===n)})}var l,a,i={};l=e("OL",t.getParam("advlist_number_styles","default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman")),a=e("UL",t.getParam("advlist_bullet_styles","default,circle,disc,square")),t.addButton("numlist",{type:"splitbutton",tooltip:"Numbered list",menu:l,onshow:o,onselect:function(t){n("OL",t.control.settings.data)},onclick:function(){n("OL",!1)}}),t.addButton("bullist",{type:"splitbutton",tooltip:"Bullet list",menu:a,onshow:o,onselect:function(t){n("UL",t.control.settings.data)},onclick:function(){n("UL",!1)}})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/anchor/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("anchor",function(n){function e(){var e=n.selection.getNode();n.windowManager.open({title:"Anchor",body:{type:"textbox",name:"name",size:40,label:"Name",value:e.name||e.id},onsubmit:function(e){n.execCommand("mceInsertContent",!1,n.dom.createHTML("a",{id:e.data.name}))}})}n.addButton("anchor",{icon:"anchor",tooltip:"Anchor",onclick:e,stateSelector:"a:not([href])"}),n.addMenuItem("anchor",{icon:"anchor",text:"Anchor",context:"insert",onclick:e})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/autolink/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("autolink",function(t){function n(t){o(t,-1,"(",!0)}function e(t){o(t,0,"",!0)}function i(t){o(t,-1,"",!1)}function o(t,n,e){function i(t,n){if(0>n&&(n=0),3==t.nodeType){var e=t.data.length;n>e&&(n=e)}return n}function o(t,n){f.setStart(t,i(t,n))}function r(t,n){f.setEnd(t,i(t,n))}var f,d,a,s,c,l,u,g,h;if(f=t.selection.getRng(!0).cloneRange(),f.startOffset<5){if(g=f.endContainer.previousSibling,!g){if(!f.endContainer.firstChild||!f.endContainer.firstChild.nextSibling)return;g=f.endContainer.firstChild.nextSibling}if(h=g.length,o(g,h),r(g,h),f.endOffset<5)return;d=f.endOffset,s=g}else{if(s=f.endContainer,3!=s.nodeType&&s.firstChild){for(;3!=s.nodeType&&s.firstChild;)s=s.firstChild;3==s.nodeType&&(o(s,0),r(s,s.nodeValue.length))}d=1==f.endOffset?2:f.endOffset-1-n}a=d;do o(s,d>=2?d-2:0),r(s,d>=1?d-1:0),d-=1;while(" "!=f.toString()&&""!==f.toString()&&160!=f.toString().charCodeAt(0)&&d-2>=0&&f.toString()!=e);f.toString()==e||160==f.toString().charCodeAt(0)?(o(s,d),r(s,a),d+=1):0===f.startOffset?(o(s,0),r(s,a)):(o(s,d),r(s,a)),l=f.toString(),"."==l.charAt(l.length-1)&&r(s,a-1),l=f.toString(),u=l.match(/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+\-]+@)(.+)$/i),u&&("www."==u[1]?u[1]="http://www.":/@$/.test(u[1])&&!/^mailto:/.test(u[1])&&(u[1]="mailto:"+u[1]),c=t.selection.getBookmark(),t.selection.setRng(f),t.execCommand("createlink",!1,u[1]+u[2]),t.selection.moveToBookmark(c),t.nodeChanged())}var r;return t.on("keydown",function(n){return 13==n.keyCode?i(t):void 0}),tinymce.Env.ie?void t.on("focus",function(){if(!r){r=!0;try{t.execCommand("AutoUrlDetect",!1,!0)}catch(n){}}}):(t.on("keypress",function(e){return 41==e.keyCode?n(t):void 0}),void t.on("keyup",function(n){return 32==n.keyCode?e(t):void 0}))}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/autoresize/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("autoresize",function(e){function t(){return e.plugins.fullscreen&&e.plugins.fullscreen.isFullscreen()}function i(n){var s,r,g,u,l,m,h,d,f=tinymce.DOM;if(r=e.getDoc()){if(g=r.body,u=r.documentElement,l=o.autoresize_min_height,!g||n&&"setcontent"===n.type&&n.initial||t())return void(g&&u&&(g.style.overflowY="auto",u.style.overflowY="auto"));h=e.dom.getStyle(g,"margin-top",!0),d=e.dom.getStyle(g,"margin-bottom",!0),m=g.offsetHeight+parseInt(h,10)+parseInt(d,10),(isNaN(m)||0>=m)&&(m=tinymce.Env.ie?g.scrollHeight:tinymce.Env.webkit&&0===g.clientHeight?0:g.offsetHeight),m>o.autoresize_min_height&&(l=m),o.autoresize_max_height&&m>o.autoresize_max_height?(l=o.autoresize_max_height,g.style.overflowY="auto",u.style.overflowY="auto"):(g.style.overflowY="hidden",u.style.overflowY="hidden",g.scrollTop=0),l!==a&&(s=l-a,f.setStyle(f.get(e.id+"_ifr"),"height",l+"px"),a=l,tinymce.isWebKit&&0>s&&i(n))}}function n(e,t,o){setTimeout(function(){i({}),e--?n(e,t,o):o&&o()},t)}var o=e.settings,a=0;e.settings.inline||(o.autoresize_min_height=parseInt(e.getParam("autoresize_min_height",e.getElement().offsetHeight),10),o.autoresize_max_height=parseInt(e.getParam("autoresize_max_height",0),10),e.on("init",function(){var t=e.getParam("autoresize_overflow_padding",1);e.dom.setStyles(e.getBody(),{paddingBottom:e.getParam("autoresize_bottom_margin",50),paddingLeft:t,paddingRight:t})}),e.on("nodechange setcontent keyup FullscreenStateChanged",i),e.getParam("autoresize_on_init",!0)&&e.on("init",function(){n(20,100,function(){n(5,1e3)})}),e.addCommand("mceAutoResize",i))}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/autosave/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("autosave",function(e){function t(e,t){var n={s:1e3,m:6e4};return e=/^(\d+)([ms]?)$/.exec(""+(e||t)),(e[2]?n[e[2]]:1)*parseInt(e,10)}function n(){var e=parseInt(l.getItem(d+"time"),10)||0;return(new Date).getTime()-e>v.autosave_retention?(a(!1),!1):!0}function a(t){l.removeItem(d+"draft"),l.removeItem(d+"time"),t!==!1&&e.fire("RemoveDraft")}function r(){!c()&&e.isDirty()&&(l.setItem(d+"draft",e.getContent({format:"raw",no_events:!0})),l.setItem(d+"time",(new Date).getTime()),e.fire("StoreDraft"))}function o(){n()&&(e.setContent(l.getItem(d+"draft"),{format:"raw"}),e.fire("RestoreDraft"))}function i(){m||(setInterval(function(){e.removed||r()},v.autosave_interval),m=!0)}function s(){var t=this;t.disabled(!n()),e.on("StoreDraft RestoreDraft RemoveDraft",function(){t.disabled(!n())}),i()}function u(){e.undoManager.beforeChange(),o(),a(),e.undoManager.add()}function f(){var e;return tinymce.each(tinymce.editors,function(t){t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&t.getParam("autosave_ask_before_unload",!0)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))}),e}function c(t){var n=e.settings.forced_root_block;return t=tinymce.trim("undefined"==typeof t?e.getBody().innerHTML:t),""===t||new RegExp("^<"+n+"[^>]*>(( | |[ ]|]*>)+?|)|
$","i").test(t)}var d,m,v=e.settings,l=tinymce.util.LocalStorage;d=v.autosave_prefix||"tinymce-autosave-{path}{query}-{id}-",d=d.replace(/\{path\}/g,document.location.pathname),d=d.replace(/\{query\}/g,document.location.search),d=d.replace(/\{id\}/g,e.id),v.autosave_interval=t(v.autosave_interval,"30s"),v.autosave_retention=t(v.autosave_retention,"20m"),e.addButton("restoredraft",{title:"Restore last draft",onclick:u,onPostRender:s}),e.addMenuItem("restoredraft",{text:"Restore last draft",onclick:u,onPostRender:s,context:"file"}),e.settings.autosave_restore_when_empty!==!1&&(e.on("init",function(){n()&&c()&&o()}),e.on("saveContent",function(){a()})),window.onbeforeunload=f,this.hasDraft=n,this.storeDraft=r,this.restoreDraft=o,this.removeDraft=a,this.isEmpty=c}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/bbcode/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){tinymce.create("tinymce.plugins.BBCodePlugin",{init:function(o){var e=this,t=o.getParam("bbcode_dialect","punbb").toLowerCase();o.on("beforeSetContent",function(o){o.content=e["_"+t+"_bbcode2html"](o.content)}),o.on("postProcess",function(o){o.set&&(o.content=e["_"+t+"_bbcode2html"](o.content)),o.get&&(o.content=e["_"+t+"_html2bbcode"](o.content))})},getInfo:function(){return{longname:"BBCode Plugin",author:"Moxiecode Systems AB",authorurl:"http://www.tinymce.com",infourl:"http://www.tinymce.com/wiki.php/Plugin:bbcode"}},_punbb_html2bbcode:function(o){function e(e,t){o=o.replace(e,t)}return o=tinymce.trim(o),e(/(.*?)<\/a>/gi,"[url=$1]$2[/url]"),e(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),e(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),e(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),e(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),e(/(.*?)<\/span>/gi,"[color=$1]$2[/color]"),e(/(.*?)<\/font>/gi,"[color=$1]$2[/color]"),e(/(.*?)<\/span>/gi,"[size=$1]$2[/size]"),e(/(.*?)<\/font>/gi,"$1"),e(//gi,"[img]$1[/img]"),e(/(.*?)<\/span>/gi,"[code]$1[/code]"),e(/(.*?)<\/span>/gi,"[quote]$1[/quote]"),e(/(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]"),e(/(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]"),e(/(.*?)<\/em>/gi,"[code][i]$1[/i][/code]"),e(/(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]"),e(/(.*?)<\/u>/gi,"[code][u]$1[/u][/code]"),e(/(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]"),e(/<\/(strong|b)>/gi,"[/b]"),e(/<(strong|b)>/gi,"[b]"),e(/<\/(em|i)>/gi,"[/i]"),e(/<(em|i)>/gi,"[i]"),e(/<\/u>/gi,"[/u]"),e(/(.*?)<\/span>/gi,"[u]$1[/u]"),e(//gi,"[u]"),e(/]*>/gi,"[quote]"),e(/<\/blockquote>/gi,"[/quote]"),e(/
/gi,"\n"),e(//gi,"\n"),e(/
/gi,"\n"),e(/

/gi,""),e(/<\/p>/gi,"\n"),e(/ |\u00a0/gi," "),e(/"/gi,'"'),e(/</gi,"<"),e(/>/gi,">"),e(/&/gi,"&"),o},_punbb_bbcode2html:function(o){function e(e,t){o=o.replace(e,t)}return o=tinymce.trim(o),e(/\n/gi,"
"),e(/\[b\]/gi,""),e(/\[\/b\]/gi,""),e(/\[i\]/gi,""),e(/\[\/i\]/gi,""),e(/\[u\]/gi,""),e(/\[\/u\]/gi,""),e(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,'$2'),e(/\[url\](.*?)\[\/url\]/gi,'$1'),e(/\[img\](.*?)\[\/img\]/gi,''),e(/\[color=(.*?)\](.*?)\[\/color\]/gi,'$2'),e(/\[code\](.*?)\[\/code\]/gi,'$1 '),e(/\[quote.*?\](.*?)\[\/quote\]/gi,'$1 '),o}}),tinymce.PluginManager.add("bbcode",tinymce.plugins.BBCodePlugin)}(); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/code/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("code",function(e){function o(){e.windowManager.open({title:"Source code",body:{type:"textbox",name:"code",multiline:!0,minWidth:e.getParam("code_dialog_width",600),minHeight:e.getParam("code_dialog_height",Math.min(tinymce.DOM.getViewPort().h-200,500)),value:e.getContent({source_view:!0}),spellcheck:!1,style:"direction: ltr; text-align: left"},onSubmit:function(o){e.focus(),e.undoManager.transact(function(){e.setContent(o.data.code)}),e.selection.setCursorLocation(),e.nodeChanged()}})}e.addCommand("mceCodeEditor",o),e.addButton("code",{icon:"code",tooltip:"Source code",onclick:o}),e.addMenuItem("code",{icon:"code",text:"Source code",context:"tools",onclick:o})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/contextmenu/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("contextmenu",function(e){var n,t=e.settings.contextmenu_never_use_native;e.on("contextmenu",function(i){var o;if(!i.ctrlKey||t){if(i.preventDefault(),o=e.settings.contextmenu||"link image inserttable | cell row column deletetable",n)n.show();else{var c=[];tinymce.each(o.split(/[ ,]/),function(n){var t=e.menuItems[n];"|"==n&&(t={text:n}),t&&(t.shortcut="",c.push(t))});for(var a=0;a'}),t+=""}),t+=""}var i=[["cool","cry","embarassed","foot-in-mouth"],["frown","innocent","kiss","laughing"],["money-mouth","sealed","smile","surprised"],["tongue-out","undecided","wink","yell"]];t.addButton("emoticons",{type:"panelbutton",panel:{role:"application",autohide:!0,html:a,onclick:function(e){var a=t.dom.getParent(e.target,"a");a&&(t.insertContent(''+a.getAttribute('),this.hide())}},tooltip:"Emoticons"})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/example/dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Custom dialog

5 | Input some text: 6 | 7 | 8 | -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/example/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("example",function(t,e){t.addButton("example",{text:"My button",icon:!1,onclick:function(){t.windowManager.open({title:"Example plugin",body:[{type:"textbox",name:"title",label:"Title"}],onsubmit:function(e){t.insertContent("Title: "+e.data.title)}})}}),t.addMenuItem("example",{text:"Example plugin",context:"tools",onclick:function(){t.windowManager.open({title:"TinyMCE site",url:e+"/dialog.html",width:600,height:400,buttons:[{text:"Insert",onclick:function(){var e=t.windowManager.getWindows()[0];t.insertContent(e.getContentWindow().document.getElementById("content").value),e.close()}},{text:"Close",onclick:"close"}]})}})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/example_dependency/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("example_dependency",function(){},["example"]); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/fullscreen/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("fullscreen",function(e){function t(){var e,t,n=window,i=document,l=i.body;return l.offsetWidth&&(e=l.offsetWidth,t=l.offsetHeight),n.innerWidth&&n.innerHeight&&(e=n.innerWidth,t=n.innerHeight),{w:e,h:t}}function n(){function n(){d.setStyle(a,"height",t().h-(h.clientHeight-a.clientHeight))}var u,h,a,f,m=document.body,g=document.documentElement;s=!s,h=e.getContainer(),u=h.style,a=e.getContentAreaContainer().firstChild,f=a.style,s?(i=f.width,l=f.height,f.width=f.height="100%",c=u.width,o=u.height,u.width=u.height="",d.addClass(m,"mce-fullscreen"),d.addClass(g,"mce-fullscreen"),d.addClass(h,"mce-fullscreen"),d.bind(window,"resize",n),n(),r=n):(f.width=i,f.height=l,c&&(u.width=c),o&&(u.height=o),d.removeClass(m,"mce-fullscreen"),d.removeClass(g,"mce-fullscreen"),d.removeClass(h,"mce-fullscreen"),d.unbind(window,"resize",r)),e.fire("FullscreenStateChanged",{state:s})}var i,l,r,c,o,s=!1,d=tinymce.DOM;return e.settings.inline?void 0:(e.on("init",function(){e.addShortcut("Ctrl+Alt+F","",n)}),e.on("remove",function(){r&&d.unbind(window,"resize",r)}),e.addCommand("mceFullScreen",n),e.addMenuItem("fullscreen",{text:"Fullscreen",shortcut:"Ctrl+Alt+F",selectable:!0,onClick:n,onPostRender:function(){var t=this;e.on("FullscreenStateChanged",function(e){t.active(e.state)})},context:"view"}),e.addButton("fullscreen",{tooltip:"Fullscreen",shortcut:"Ctrl+Alt+F",onClick:n,onPostRender:function(){var t=this;e.on("FullscreenStateChanged",function(e){t.active(e.state)})}}),{isFullscreen:function(){return s}})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/hr/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("hr",function(n){n.addCommand("InsertHorizontalRule",function(){n.execCommand("mceInsertContent",!1,"
")}),n.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),n.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/imagebrowser/fileupload/images/php/files/.htaccess: -------------------------------------------------------------------------------- 1 | # The following directives force the content-type application/octet-stream 2 | # and force browsers to display a download dialog for non-image files. 3 | # This prevents the execution of script files in the context of the website: 4 | ForceType application/octet-stream 5 | Header set Content-Disposition attachment 6 | 7 | ForceType none 8 | Header unset Content-Disposition 9 | 10 | 11 | # The following directive prevents browsers from MIME-sniffing the content-type. 12 | # This is an important complement to the ForceType directive above: 13 | Header set X-Content-Type-Options nosniff 14 | 15 | # Uncomment the following lines to prevent unauthorized download of files: 16 | #AuthName "Authorization required" 17 | #AuthType Basic 18 | #require valid-user 19 | -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/imagebrowser/fileupload/images/php/index.php: -------------------------------------------------------------------------------- 1 | "", 17 | "Image" => "", 18 | "Float" => "", 19 | "Width" => "", 20 | "Free" => "", 21 | "None" => "", 22 | "Left" => "", 23 | "Right" => "", 24 | "Alt" => "", 25 | "UPLOAD" => "", 26 | "DELETE" => "", 27 | "CUT" => "", 28 | "COPY" => "", 29 | "PASTE" => "", 30 | "Add Directory" => "", 31 | "Delete" => "", 32 | "Are You Sure You Want To Delete This Directory?" => "", 33 | "Are you sure you want to delete this file?" => "", 34 | "Are you sure you want to delete selected file(s)?" => "" 35 | ); 36 | ?> -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/imagebrowser/lang-tr_TR.php: -------------------------------------------------------------------------------- 1 | "Dizin Silinemedi!", 17 | "Image" => "İmaj", 18 | "Float" => "Konum", 19 | "Width" => "Genişlik", 20 | "Free" => "Serbest", 21 | "None" => "Yok", 22 | "Left" => "Sol", 23 | "Right" => "Sağ", 24 | "Alt" => "Alt", 25 | "UPLOAD" => "YÜKLE", 26 | "DELETE" => "SİL", 27 | "CUT" => "KES", 28 | "COPY" => "KOPYALA", 29 | "PASTE" => "YAPIŞTIR", 30 | "Add Directory" => "Dizin Ekle", 31 | "Delete" => "Sil", 32 | "Are You Sure You Want To Delete This Directory?" => "Bu Dizini Silmek İstediğinize Emin misiniz?", 33 | "Are You Sure You Want To Delete This File?" => "Bu Dosyayı Silmek İstediğinize Emin misiniz", 34 | "Are You Sure You Want To Delete Selected File(s)?" => "Seçili Dosya(lar)ı Silmek İstediğinize Emin misiniz?" 35 | ); 36 | ?> -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/imagebrowser/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/plugins/imagebrowser/loading.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/imagebrowser/plugin.js: -------------------------------------------------------------------------------- 1 | /* 2 | ** Image Browser 1.0.0 3 | ** Plugin for TinyMCE 4 | ** https://github.com/hozakar/imagebrowser-for-tinymce 5 | ** 6 | ** Copyright 2014, Hakan Özakar 7 | ** http://beltslib.net 8 | ** 9 | ** Licensed under CC0 1.0 Universal Licence: 10 | ** https://creativecommons.org/publicdomain/zero/1.0/ 11 | */ 12 | 13 | "use strict"; 14 | 15 | tinymce.PluginManager.add('imagebrowser', function (editor, url) { 16 | editor.addButton('imagebrowser', { 17 | icon: 'image', 18 | onclick: function () { 19 | editor.windowManager.open({ 20 | title: editor.getParam("imagebrowser")["windowcaption"] ? editor.getParam("imagebrowser")["windowcaption"] : 'Image Browser', 21 | url: url + '/fops.php?lang=' + (editor.getParam("language") ? editor.getParam("language") : '') + '&ow=' + editor.getParam("imagebrowser")["overwrite"] + '&root=' + editor.getParam("imagebrowser")["root"] + '&settoplimit=true', 22 | width: $(window).width() * .7, 23 | height: $(window).height() * .7, 24 | buttons: [ 25 | { 26 | text: tinymce.translate("Ok"), 27 | active: true, 28 | classes: 'widget btn primary okbtn', 29 | onclick: function () { 30 | var $doc = $(tinyMCE.activeEditor.windowManager.getWindows()[0].getContentWindow().document); 31 | if ($doc.find('input[name=selfile]').val()) { 32 | var width = $doc.find('input[name=width]').val(); 33 | var margin = 'margin: 1%;' 34 | if (width) { 35 | if (width == parseInt(width)) { 36 | width = width + 'px;'; 37 | } else { 38 | width = width; 39 | } 40 | margin = (width == 'auto' ? '1' : parseInt(width) * .03) + '%;'; 41 | width = 'width: ' + width; 42 | } 43 | var float = 'float: ' + ($doc.find('input[name=float]').val() == 'none' ? 'none;' : ($doc.find('input[name=float]').val() == 'left' ? 'left; margin-right: ' : 'right; margin-left: ') + margin); 44 | tinyMCE.activeEditor.insertContent('' + $doc.find('input[name=alt]').val() + ''); 45 | } 46 | tinyMCE.activeEditor.windowManager.close(); 47 | } 48 | }, 49 | { 50 | text: tinymce.translate("Cancel"), 51 | onclick: function () { 52 | tinyMCE.activeEditor.windowManager.close(); 53 | } 54 | } 55 | ] 56 | }); 57 | } 58 | }); 59 | }); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/imagebrowser/plugin.min.js: -------------------------------------------------------------------------------- 1 | "use strict";tinymce.PluginManager.add("imagebrowser",function(t,n){t.addButton("imagebrowser",{icon:"image",onclick:function(){t.windowManager.open({title:t.getParam("imagebrowser").windowcaption?t.getParam("imagebrowser").windowcaption:"Image Browser",url:n+"/fops.php?lang="+(t.getParam("language")?t.getParam("language"):"")+"&ow="+t.getParam("imagebrowser").overwrite+"&root="+t.getParam("imagebrowser").root+"&settoplimit=true",width:.7*$(window).width(),height:.7*$(window).height(),buttons:[{text:tinymce.translate("Ok"),active:!0,classes:"widget btn primary okbtn",onclick:function(){var t=$(tinyMCE.activeEditor.windowManager.getWindows()[0].getContentWindow().document);if(t.find("input[name=selfile]").val()){var n=t.find("input[name=width]").val(),i="margin: 1%;";n&&(n==parseInt(n)?n+="px;":n=n,i=("auto"==n?"1":.03*parseInt(n))+"%;",n="width: "+n);var e="float: "+("none"==t.find("input[name=float]").val()?"none;":("left"==t.find("input[name=float]").val()?"left; margin-right: ":"right; margin-left: ")+i);tinyMCE.activeEditor.insertContent(''+t.find(')}tinyMCE.activeEditor.windowManager.close()}},{text:tinymce.translate("Cancel"),onclick:function(){tinyMCE.activeEditor.windowManager.close()}}]})}})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/importcss/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("importcss",function(t){function e(t){return"string"==typeof t?function(e){return-1!==e.indexOf(t)}:t instanceof RegExp?function(e){return t.test(e)}:t}function n(e,n){function i(t,e){var c,o=t.href;if(o&&n(o,e)){s(t.imports,function(t){i(t,!0)});try{c=t.cssRules||t.rules}catch(a){}s(c,function(t){t.styleSheet?i(t.styleSheet,!0):t.selectorText&&s(t.selectorText.split(","),function(t){r.push(tinymce.trim(t))})})}}var r=[],c={};s(t.contentCSS,function(t){c[t]=!0}),n||(n=function(t,e){return e||c[t]});try{s(e.styleSheets,function(t){i(t)})}catch(o){}return r}function i(e){var n,i=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(e);if(i){var r=i[1],s=i[2].substr(1).split(".").join(" "),c=tinymce.makeMap("a,img");return i[1]?(n={title:e},t.schema.getTextBlockElements()[r]?n.block=r:t.schema.getBlockElements()[r]||c[r.toLowerCase()]?n.selector=r:n.inline=r):i[2]&&(n={inline:"span",title:e.substr(1),classes:s}),t.settings.importcss_merge_classes!==!1?n.classes=s:n.attributes={"class":s},n}}var r=this,s=tinymce.each;t.on("renderFormatsMenu",function(c){var o=t.settings,a={},l=o.importcss_selector_converter||i,f=e(o.importcss_selector_filter),m=c.control;t.settings.importcss_append||m.items().remove();var u=[];tinymce.each(o.importcss_groups,function(t){t=tinymce.extend({},t),t.filter=e(t.filter),u.push(t)}),s(n(c.doc||t.getDoc(),e(o.importcss_file_filter)),function(e){if(-1===e.indexOf(".mce-")&&!a[e]&&(!f||f(e))){var n,i=l.call(r,e);if(i){var s=i.name||tinymce.DOM.uniqueId();if(u)for(var c=0;c'+n+"";var i=e.dom.getParent(e.selection.getStart(),"time");if(i)return void e.dom.setOuterHTML(i,n)}e.insertContent(n)}var n,r,i="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),d="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),c="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),m="January February March April May June July August September October November December".split(" "),u=[];e.addCommand("mceInsertDate",function(){a(e.getParam("insertdatetime_dateformat",e.translate("%Y-%m-%d")))}),e.addCommand("mceInsertTime",function(){a(e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S")))}),e.addButton("insertdatetime",{type:"splitbutton",title:"Insert date/time",onclick:function(){a(n||r)},menu:u}),tinymce.each(e.settings.insertdatetime_formats||["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"],function(e){r||(r=e),u.push({text:t(e),onclick:function(){n=e,a(e)}})}),e.addMenuItem("insertdatetime",{icon:"date",text:"Insert date/time",menu:u,context:"insert"})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/layer/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("layer",function(e){function t(e){do if(e.className&&-1!=e.className.indexOf("mceItemLayer"))return e;while(e=e.parentNode)}function o(t){var o=e.dom;tinymce.each(o.select("div,p",t),function(e){/^(absolute|relative|fixed)$/i.test(e.style.position)&&(e.hasVisual?o.addClass(e,"mceItemVisualAid"):o.removeClass(e,"mceItemVisualAid"),o.addClass(e,"mceItemLayer"))})}function d(o){var d,n,a=[],i=t(e.selection.getNode()),s=-1,l=-1;for(n=[],tinymce.walk(e.getBody(),function(e){1==e.nodeType&&/^(absolute|relative|static)$/i.test(e.style.position)&&n.push(e)},"childNodes"),d=0;ds&&n[d]==i&&(s=d);if(0>o){for(d=0;d-1?(n[s].style.zIndex=a[l],n[l].style.zIndex=a[s]):a[s]>0&&(n[s].style.zIndex=a[s]-1)}else{for(d=0;da[s]){l=d;break}l>-1?(n[s].style.zIndex=a[l],n[l].style.zIndex=a[s]):n[s].style.zIndex=a[s]+1}e.execCommand("mceRepaint")}function n(){var t=e.dom,o=t.getPos(t.getParent(e.selection.getNode(),"*")),d=e.getBody();e.dom.add(d,"div",{style:{position:"absolute",left:o.x,top:o.y>20?o.y:20,width:100,height:100},"class":"mceItemVisualAid mceItemLayer"},e.selection.getContent()||e.getLang("layer.content")),tinymce.Env.ie&&t.setHTML(d,d.innerHTML)}function a(){var o=t(e.selection.getNode());o||(o=e.dom.getParent(e.selection.getNode(),"DIV,P,IMG")),o&&("absolute"==o.style.position.toLowerCase()?(e.dom.setStyles(o,{position:"",left:"",top:"",width:"",height:""}),e.dom.removeClass(o,"mceItemVisualAid"),e.dom.removeClass(o,"mceItemLayer")):(o.style.left||(o.style.left="20px"),o.style.top||(o.style.top="20px"),o.style.width||(o.style.width=o.width?o.width+"px":"100px"),o.style.height||(o.style.height=o.height?o.height+"px":"100px"),o.style.position="absolute",e.dom.setAttrib(o,"data-mce-style",""),e.addVisual(e.getBody())),e.execCommand("mceRepaint"),e.nodeChanged())}e.addCommand("mceInsertLayer",n),e.addCommand("mceMoveForward",function(){d(1)}),e.addCommand("mceMoveBackward",function(){d(-1)}),e.addCommand("mceMakeAbsolute",function(){a()}),e.addButton("moveforward",{title:"layer.forward_desc",cmd:"mceMoveForward"}),e.addButton("movebackward",{title:"layer.backward_desc",cmd:"mceMoveBackward"}),e.addButton("absolute",{title:"layer.absolute_desc",cmd:"mceMakeAbsolute"}),e.addButton("insertlayer",{title:"layer.insertlayer_desc",cmd:"mceInsertLayer"}),e.on("init",function(){tinymce.Env.ie&&e.getDoc().execCommand("2D-Position",!1,!0)}),e.on("mouseup",function(o){var d=t(o.target);d&&e.dom.setAttrib(d,"data-mce-style","")}),e.on("mousedown",function(o){var d,n=o.target,a=e.getDoc();tinymce.Env.gecko&&(t(n)?"on"!==a.designMode&&(a.designMode="on",n=a.body,d=n.parentNode,d.removeChild(n),d.appendChild(n)):"on"==a.designMode&&(a.designMode="off"))}),e.on("NodeChange",o)}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/legacyoutput/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(e){e.on("AddEditor",function(e){e.editor.settings.inline_styles=!1}),e.PluginManager.add("legacyoutput",function(t){t.on("init",function(){var i="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",n=e.explode(t.settings.font_size_style_values),l=t.schema;t.formatter.register({alignleft:{selector:i,attributes:{align:"left"}},aligncenter:{selector:i,attributes:{align:"center"}},alignright:{selector:i,attributes:{align:"right"}},alignjustify:{selector:i,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all"},{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all"},{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all"},{inline:"span",styles:{textDecoration:"underline"},exact:!0}],strikethrough:[{inline:"strike",remove:"all"},{inline:"span",styles:{textDecoration:"line-through"},exact:!0}],fontname:{inline:"font",attributes:{face:"%value"}},fontsize:{inline:"font",attributes:{size:function(t){return e.inArray(n,t.value)+1}}},forecolor:{inline:"font",attributes:{color:"%value"}},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"}}}),e.each("b,i,u,strike".split(","),function(e){l.addValidElements(e+"[*]")}),l.getElementRule("font")||l.addValidElements("font[face|size|color|style]"),e.each(i.split(","),function(e){var t=l.getElementRule(e);t&&(t.attributes.align||(t.attributes.align={},t.attributesOrder.push("align")))})})})}(tinymce); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/media/moxieplayer.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/plugins/media/moxieplayer.swf -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/nonbreaking/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("nonbreaking",function(n){var e=n.getParam("nonbreaking_force_tab");if(n.addCommand("mceNonBreaking",function(){n.insertContent(n.plugins.visualchars&&n.plugins.visualchars.state?' ':" "),n.dom.setAttrib(n.dom.select("span.mce-nbsp"),"data-mce-bogus","1")}),n.addButton("nonbreaking",{title:"Insert nonbreaking space",cmd:"mceNonBreaking"}),n.addMenuItem("nonbreaking",{text:"Nonbreaking space",cmd:"mceNonBreaking",context:"insert"}),e){var a=+e>1?+e:3;n.on("keydown",function(e){if(9==e.keyCode){if(e.shiftKey)return;e.preventDefault();for(var t=0;a>t;t++)n.execCommand("mceNonBreaking")}})}}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/pagebreak/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("pagebreak",function(e){var a="mce-pagebreak",t=e.getParam("pagebreak_separator",""),n=new RegExp(t.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(e){return"\\"+e}),"gi"),r='';e.addCommand("mcePageBreak",function(){e.insertContent(e.settings.pagebreak_split_block?"

"+r+"

":r)}),e.addButton("pagebreak",{title:"Page break",cmd:"mcePageBreak"}),e.addMenuItem("pagebreak",{text:"Page break",icon:"pagebreak",cmd:"mcePageBreak",context:"insert"}),e.on("ResolveName",function(t){"IMG"==t.target.nodeName&&e.dom.hasClass(t.target,a)&&(t.name="pagebreak")}),e.on("click",function(t){t=t.target,"IMG"===t.nodeName&&e.dom.hasClass(t,a)&&e.selection.select(t)}),e.on("BeforeSetContent",function(e){e.content=e.content.replace(n,r)}),e.on("PreInit",function(){e.serializer.addNodeFilter("img",function(a){for(var n,r,c=a.length;c--;)if(n=a[c],r=n.attr("class"),r&&-1!==r.indexOf("mce-pagebreak")){var o=n.parent;if(e.schema.getBlockElements()[o.name]&&e.settings.pagebreak_split_block){o.type=3,o.value=t,o.raw=!0,n.remove();continue}n.type=3,n.value=t,n.raw=!0}})})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/preview/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("preview",function(e){var t=e.settings,i=!tinymce.Env.ie;e.addCommand("mcePreview",function(){e.windowManager.open({title:"Preview",width:parseInt(e.getParam("plugin_preview_width","650"),10),height:parseInt(e.getParam("plugin_preview_height","500"),10),html:'",buttons:{text:"Close",onclick:function(){this.parent().parent().close()}},onPostRender:function(){var n,a="";a+='',tinymce.each(e.contentCSS,function(t){a+=''});var r=t.body_id||"tinymce";-1!=r.indexOf("=")&&(r=e.getParam("body_id","","hash"),r=r[e.id]||r);var d=t.body_class||"";-1!=d.indexOf("=")&&(d=e.getParam("body_class","","hash"),d=d[e.id]||"");var o=e.settings.directionality?' dir="'+e.settings.directionality+'"':"";if(n=""+a+'"+e.getContent()+"",i)this.getEl("body").firstChild.src="data:text/html;charset=utf-8,"+encodeURIComponent(n);else{var s=this.getEl("body").firstChild.contentWindow.document;s.open(),s.write(n),s.close()}}})}),e.addButton("preview",{title:"Preview",cmd:"mcePreview"}),e.addMenuItem("preview",{text:"Preview",cmd:"mcePreview",context:"view"})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/print/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("print",function(t){t.addCommand("mcePrint",function(){t.getWin().print()}),t.addButton("print",{title:"Print",cmd:"mcePrint"}),t.addShortcut("Ctrl+P","","mcePrint"),t.addMenuItem("print",{text:"Print",cmd:"mcePrint",icon:"print",shortcut:"Ctrl+P",context:"file"})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/save/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("save",function(e){function a(){var a;return a=tinymce.DOM.getParent(e.id,"form"),!e.getParam("save_enablewhendirty",!0)||e.isDirty()?(tinymce.triggerSave(),e.getParam("save_onsavecallback")?void(e.execCallback("save_onsavecallback",e)&&(e.startContent=tinymce.trim(e.getContent({format:"raw"})),e.nodeChanged())):void(a?(e.isNotDirty=!0,(!a.onsubmit||a.onsubmit())&&("function"==typeof a.submit?a.submit():e.windowManager.alert("Error: Form submit field collision.")),e.nodeChanged()):e.windowManager.alert("Error: No form element found."))):void 0}function n(){var a=tinymce.trim(e.startContent);return e.getParam("save_oncancelcallback")?void e.execCallback("save_oncancelcallback",e):(e.setContent(a),e.undoManager.clear(),void e.nodeChanged())}function t(){var a=this;e.on("nodeChange",function(){a.disabled(e.getParam("save_enablewhendirty",!0)&&!e.isDirty())})}e.addCommand("mceSave",a),e.addCommand("mceCancel",n),e.addButton("save",{icon:"save",text:"Save",cmd:"mceSave",disabled:!0,onPostRender:t}),e.addButton("cancel",{text:"Cancel",icon:!1,cmd:"mceCancel",disabled:!0,onPostRender:t}),e.addShortcut("ctrl+s","","mceSave")}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/stylebuttons/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinyMCE.PluginManager.add('stylebuttons', function(editor, url) { 2 | ['pre', 'p', 'code', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'].forEach(function(name){ 3 | editor.addButton("style-" + name, { 4 | tooltip: "Toggle " + name, 5 | text: name.toUpperCase(), 6 | onClick: function() { editor.execCommand('mceToggleFormat', false, name); }, 7 | onPostRender: function() { 8 | var self = this, setup = function() { 9 | editor.formatter.formatChanged(name, function(state) { 10 | self.active(state); 11 | }); 12 | }; 13 | editor.formatter ? setup() : editor.on('init', setup); 14 | } 15 | }) 16 | }); 17 | }); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/syntaxhighlighter/plugin.min.js: -------------------------------------------------------------------------------- 1 | function ekle(t,e){var n=tinyMCE.activeEditor.selection.getContent()?tinyMCE.activeEditor.selection.getContent():"!!Kod Buraya!!";e.insertContent('
'+n+"
")}tinymce.PluginManager.add("syntaxhighlighter",function(t){t.addButton("syntaxhighlighter",{type:"menubutton",text:"Kod",icon:!1,menu:[{text:"HTML / XML",onclick:function(){ekle("brush: xml",t)}},{text:"HTML + PHP",onclick:function(){ekle("brush: php ; html-script: true",t)}},{text:"HTML + CSS",onclick:function(){ekle("brush: css ; html-script: true",t)}},{text:"HTML + JavaScript",onclick:function(){ekle("brush: js ; html-script: true",t)}},{text:"PHP",onclick:function(){ekle("brush: php",t)}},{text:"CSS",onclick:function(){ekle("brush: css",t)}},{text:"JavaScript",onclick:function(){ekle("brush: js",t)}},{text:"SQL",onclick:function(){ekle("brush: sql",t)}}]})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/tabfocus/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("tabfocus",function(e){function n(e){9!==e.keyCode||e.ctrlKey||e.altKey||e.metaKey||e.preventDefault()}function t(n){function t(n){function t(e){return"BODY"===e.nodeName||"hidden"!=e.type&&"none"!=e.style.display&&"hidden"!=e.style.visibility&&t(e.parentNode)}function r(e){return e.tabIndex||"INPUT"==e.nodeName||"TEXTAREA"==e.nodeName}function c(e){return!r(e)&&"-1"!=e.getAttribute("tabindex")&&t(e)}if(u=i.select(":input:enabled,*[tabindex]:not(iframe)"),o(u,function(n,t){return n.id==e.id?(a=t,!1):void 0}),n>0){for(d=a+1;d=0;d--)if(c(u[d]))return u[d];return null}var a,u,c,d;if(!(9!==n.keyCode||n.ctrlKey||n.altKey||n.metaKey)&&(c=r(e.getParam("tab_focus",e.getParam("tabfocus_elements",":prev,:next"))),1==c.length&&(c[1]=c[0],c[0]=":prev"),u=n.shiftKey?":prev"==c[0]?t(-1):i.get(c[0]):":next"==c[1]?t(1):i.get(c[1]))){var y=tinymce.get(u.id||u.name);u.id&&y?y.focus():window.setTimeout(function(){tinymce.Env.webkit||window.focus(),u.focus()},10),n.preventDefault()}}var i=tinymce.DOM,o=tinymce.each,r=tinymce.explode;e.on("init",function(){e.inline&&tinymce.DOM.setAttrib(e.getBody(),"tabIndex",null)}),e.on("keyup",n),tinymce.Env.gecko?e.on("keypress keydown",t):e.on("keydown",t)}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/textcolor/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("textcolor",function(e){function t(){var t,o,l=[];for(o=e.settings.textcolor_map||["000000","Black","993300","Burnt orange","333300","Dark olive","003300","Dark green","003366","Dark azure","000080","Navy Blue","333399","Indigo","333333","Very dark gray","800000","Maroon","FF6600","Orange","808000","Olive","008000","Green","008080","Teal","0000FF","Blue","666699","Grayish blue","808080","Gray","FF0000","Red","FF9900","Amber","99CC00","Yellow green","339966","Sea green","33CCCC","Turquoise","3366FF","Royal blue","800080","Purple","999999","Medium gray","FF00FF","Magenta","FFCC00","Gold","FFFF00","Yellow","00FF00","Lime","00FFFF","Aqua","00CCFF","Sky blue","993366","Red violet","C0C0C0","Silver","FF99CC","Pink","FFCC99","Peach","FFFF99","Light yellow","CCFFCC","Pale green","CCFFFF","Pale cyan","99CCFF","Light sky blue","CC99FF","Plum","FFFFFF","White"],t=0;t',a=o.length-1,c=e.settings.textcolor_rows||5,i=e.settings.textcolor_cols||8,F=0;c>F;F++){for(r+="",n=0;i>n;n++)d=F*i+n,d>a?r+="":(l=o[d],r+='
');r+=""}return r+=""}function l(t){var o,l=this.parent();(o=t.target.getAttribute("data-mce-color"))&&(this.lastId&&document.getElementById(this.lastId).setAttribute("aria-selected",!1),t.target.setAttribute("aria-selected",!0),this.lastId=t.target.id,l.hidePanel(),o="#"+o,l.color(o),e.execCommand(l.settings.selectcmd,!1,o))}function r(){var t=this;t._color&&e.execCommand(t.settings.selectcmd,!1,t._color)}e.addButton("forecolor",{type:"colorbutton",tooltip:"Text color",selectcmd:"ForeColor",panel:{role:"application",ariaRemember:!0,html:o,onclick:l},onclick:r}),e.addButton("backcolor",{type:"colorbutton",tooltip:"Background color",selectcmd:"HiliteColor",panel:{role:"application",ariaRemember:!0,html:o,onclick:l},onclick:r})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/visualblocks/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("visualblocks",function(e,s){function o(){var s=this;s.active(a),e.on("VisualBlocks",function(){s.active(e.dom.hasClass(e.getBody(),"mce-visualblocks"))})}var l,t,a;window.NodeList&&(e.addCommand("mceVisualBlocks",function(){var o,c=e.dom;l||(l=c.uniqueId(),o=c.create("link",{id:l,rel:"stylesheet",href:s+"/css/visualblocks.css"}),e.getDoc().getElementsByTagName("head")[0].appendChild(o)),e.on("PreviewFormats AfterPreviewFormats",function(s){a&&c.toggleClass(e.getBody(),"mce-visualblocks","afterpreviewformats"==s.type)}),c.toggleClass(e.getBody(),"mce-visualblocks"),a=e.dom.hasClass(e.getBody(),"mce-visualblocks"),t&&t.active(c.hasClass(e.getBody(),"mce-visualblocks")),e.fire("VisualBlocks")}),e.addButton("visualblocks",{title:"Show blocks",cmd:"mceVisualBlocks",onPostRender:o}),e.addMenuItem("visualblocks",{text:"Show blocks",cmd:"mceVisualBlocks",onPostRender:o,selectable:!0,context:"view",prependToContext:!0}),e.on("init",function(){e.settings.visualblocks_default_state&&e.execCommand("mceVisualBlocks",!1,null,{skip_focus:!0})}),e.on("remove",function(){e.dom.removeClass(e.getBody(),"mce-visualblocks")}))}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/visualchars/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("visualchars",function(e){function a(a){var t,s,i,r,c,d,l=e.getBody(),m=e.selection;if(n=!n,o.state=n,e.fire("VisualChars",{state:n}),a&&(d=m.getBookmark()),n)for(s=[],tinymce.walk(l,function(e){3==e.nodeType&&e.nodeValue&&-1!=e.nodeValue.indexOf(" ")&&s.push(e)},"childNodes"),i=0;i$1
'),c=e.dom.create("div",null,r);t=c.lastChild;)e.dom.insertAfter(t,s[i]);e.dom.remove(s[i])}else for(s=e.dom.select("span.mce-nbsp",l),i=s.length-1;i>=0;i--)e.dom.remove(s[i],1);m.moveToBookmark(d)}function t(){var a=this;e.on("VisualChars",function(e){a.active(e.state)})}var n,o=this;e.addCommand("mceVisualChars",a),e.addButton("visualchars",{title:"Show invisible characters",cmd:"mceVisualChars",onPostRender:t}),e.addMenuItem("visualchars",{text:"Show invisible characters",cmd:"mceVisualChars",onPostRender:t,selectable:!0,context:"view",prependToContext:!0}),e.on("beforegetcontent",function(e){n&&"raw"!=e.format&&!e.draft&&(n=!0,a(!1))})}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/wordcount/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("wordcount",function(e){function t(){e.theme.panel.find("#wordcount").text(["Words: {0}",a.getCount()])}var n,o,a=this;n=e.getParam("wordcount_countregex",/[\w\u2019\x27\-\u00C0-\u1FFF]+/g),o=e.getParam("wordcount_cleanregex",/[0-9.(),;:!?%#$?\x27\x22_+=\\\/\-]*/g),e.on("init",function(){var n=e.theme.panel&&e.theme.panel.find("#statusbar")[0];n&&window.setTimeout(function(){n.insert({type:"label",name:"wordcount",text:["Words: {0}",a.getCount()],classes:"wordcount",disabled:e.settings.readonly},0),e.on("setcontent beforeaddundo",t),e.on("keyup",function(e){32==e.keyCode&&t()})},0)}),a.getCount=function(){var t=e.getContent({format:"raw"}),a=0;if(t){t=t.replace(/\.\.\./g," "),t=t.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," "),t=t.replace(/(\w+)(&#?[a-z0-9]+;)+(\w+)/i,"$1$3").replace(/&.+?;/g," "),t=t.replace(o,"");var r=t.match(n);r&&(a=r.length)}return a}}); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/content.inline.min.css: -------------------------------------------------------------------------------- 1 | .mce-object{border:1px dotted #3A3A3A;background:#d5d5d5 url(img/object.gif) no-repeat center}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0px}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#d5d5d5 url(img/anchor.gif) no-repeat center}.mce-nbsp{background:#AAA}hr{cursor:default}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid #F00;cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td.mce-item-selected,th.mce-item-selected{background-color:#3399ff !important}.mce-edit-focus{outline:1px dotted #333} -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/content.min.css: -------------------------------------------------------------------------------- 1 | body{background-color:#FFFFFF;color:#000000;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;scrollbar-3dlight-color:#F0F0EE;scrollbar-arrow-color:#676662;scrollbar-base-color:#F0F0EE;scrollbar-darkshadow-color:#DDDDDD;scrollbar-face-color:#E0E0DD;scrollbar-highlight-color:#F0F0EE;scrollbar-shadow-color:#F0F0EE;scrollbar-track-color:#F5F5F5}td,th{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px}.mce-object{border:1px dotted #3A3A3A;background:#d5d5d5 url(img/object.gif) no-repeat center}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0px}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#d5d5d5 url(img/anchor.gif) no-repeat center}.mce-nbsp{background:#AAA}hr{cursor:default}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid #F00;cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td.mce-item-selected,th.mce-item-selected{background-color:#3399ff !important}.mce-edit-focus{outline:1px dotted #333} -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/readme.md: -------------------------------------------------------------------------------- 1 | Icons are generated and provided by the http://icomoon.io service. 2 | -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.eot -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.ttf -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.woff -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/skins/lightgray/img/anchor.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/skins/lightgray/img/loader.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/skins/lightgray/img/object.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/397a1c7155672c21e3f389e0434c7bcce0f3c6ad/yonetim/inc/tinymce/skins/lightgray/img/trans.gif -------------------------------------------------------------------------------- /yonetim/kullanicilar.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |

KULLANICILAR

6 |
7 |
8 | 9 |
10 | 11 |
12 |
13 | Yeni Kullanıcı Oluştur 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | query("SELECT * FROM kullanicilar WHERE sid = $_SESSION[sid]"); 27 | while($row = $rs->fetch_assoc()) { 28 | ?> 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 43 | 44 |
#Kullanıcı AdıE-PostaDüzey
35 | 36 | query("SELECT COUNT(*) FROM makaleler WHERE kullanici = $row[id]")->fetch_row()) > 0) echo 'disabled';?> data-kullanici-id="" data-toggle="tooltip" data-placement="top" title="Sil"> 37 | 38 |
45 |
46 |
47 |
48 | -------------------------------------------------------------------------------- /yonetim/profil.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |
5 |
6 |

7 | PROFİL  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 |
-------------------------------------------------------------------------------- /yonetim/sablon/eklemeler/altbar.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 8 | 11 |
12 |
13 |
14 | -------------------------------------------------------------------------------- /yonetim/sablon/eklemeler/solmenu.html: -------------------------------------------------------------------------------- 1 | 2 | 34 | 35 | --------------------------------------------------------------------------------