├── inc ├── images │ ├── kullanici │ │ └── bos.txt │ ├── ayrac.png │ └── varsayilan.png ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ └── fontawesome-webfont.woff ├── js │ ├── lightbox │ │ └── img │ │ │ ├── close.png │ │ │ ├── next.png │ │ │ ├── prev.png │ │ │ └── loading.gif │ ├── syntaxhighlighter │ │ ├── scripts │ │ │ ├── shBrushPlain.js │ │ │ ├── shBrushDiff.js │ │ │ ├── shAutoloader.js │ │ │ ├── shBrushJScript.js │ │ │ ├── shLegacy.js │ │ │ ├── shBrushErlang.js │ │ │ ├── shBrushScala.js │ │ │ ├── shBrushXml.js │ │ │ ├── shBrushJava.js │ │ │ ├── shBrushRuby.js │ │ │ ├── shBrushJavaFX.js │ │ │ ├── shBrushVb.js │ │ │ ├── shBrushDelphi.js │ │ │ ├── shBrushAS3.js │ │ │ ├── shBrushPython.js │ │ │ ├── shBrushCSharp.js │ │ │ ├── shBrushBash.js │ │ │ ├── shBrushGroovy.js │ │ │ └── shBrushSql.js │ │ └── styles │ │ │ └── shThemeEmacs.css │ ├── sol-menu.min.js │ └── genel.min.js └── css │ └── sol-menu.min.css ├── favicon.png ├── tezgah ├── cheup │ ├── aga.png │ ├── space.png │ ├── avatar.png │ ├── copyright.png │ └── mopyright.png ├── chalishma │ ├── images │ │ ├── ekran-1.jpg │ │ ├── ekran-2.jpg │ │ ├── ekran-3.jpg │ │ └── ekran-4.jpg │ ├── scss │ │ ├── stil.scss │ │ ├── _alt-bar.scss │ │ ├── _degiskenler.scss │ │ ├── sol-menu.scss │ │ └── _menu.scss │ ├── yonetim │ │ ├── scss │ │ │ ├── _select2.scss │ │ │ ├── _degiskenler.scss │ │ │ ├── stil.scss │ │ │ ├── _login.scss │ │ │ ├── _makaleler.scss │ │ │ ├── _etiketler.scss │ │ │ ├── _yorumlar.scss │ │ │ ├── _ayarlar.scss │ │ │ ├── _makale.scss │ │ │ ├── _genel.scss │ │ │ ├── _anasayfa.scss │ │ │ ├── _body.scss │ │ │ └── _menu.scss │ │ └── js │ │ │ ├── app-makaleler.js │ │ │ ├── app-kullanicilar.js │ │ │ ├── app-anasayfa.js │ │ │ ├── app-yorumlar.js │ │ │ ├── syntaxhighlighter-plugin.js │ │ │ ├── app-etiketler.js │ │ │ ├── genel.js │ │ │ └── app-makale.js │ └── js │ │ ├── sol-menu.js │ │ └── genel.js ├── kaynaklar │ ├── tinyMCE │ │ ├── tinymce_4.0.28.zip │ │ └── tinymce_languages.zip │ ├── highcharts │ │ └── Highcharts-4.0.1.zip │ ├── bootstrap-datepicker │ │ └── datepicker.zip │ ├── bootstrap │ │ └── bootstrap-3.1.1-dist.zip │ ├── font-awesome │ │ └── font-awesome-4.1.0.zip │ ├── imgfix-by-hozakar │ │ └── imgfix-master.zip │ ├── lightbox-by-lokesh │ │ └── lightbox-2.7.1.zip │ ├── select2-by-ivaynberg │ │ └── select2-3.4.8.zip │ ├── jQuery-File-Upload-by-blueimp │ │ └── jQuery-File-Upload-9.5.7.zip │ ├── SyntaxHighlighter-by-alexgorbatchev │ │ └── syntaxhighlighter_3.0.83.zip │ ├── bootstrap-colorpicker-by-mjolnic │ │ └── bootstrap-colorpicker-master.zip │ └── imagebrowser-for-tinymce-by-hozakar │ │ └── imagebrowser-for-tinymce-1.0.0.zip ├── sablonlar │ └── standart │ │ └── eklemeler │ │ ├── altbar.html │ │ └── solmenu.html └── yedek │ └── app-makale.js ├── apple-touch-icon-precomposed.png ├── yonetim ├── inc │ ├── select2 │ │ ├── select2.png │ │ ├── select2x2.png │ │ ├── select2-spinner.gif │ │ └── select2_locale_tr.js │ ├── tinymce │ │ ├── skins │ │ │ └── lightgray │ │ │ │ ├── fonts │ │ │ │ ├── readme.md │ │ │ │ ├── tinymce.eot │ │ │ │ ├── tinymce.ttf │ │ │ │ ├── tinymce.woff │ │ │ │ ├── tinymce-small.eot │ │ │ │ ├── tinymce-small.ttf │ │ │ │ └── tinymce-small.woff │ │ │ │ ├── img │ │ │ │ ├── anchor.gif │ │ │ │ ├── loader.gif │ │ │ │ ├── object.gif │ │ │ │ └── trans.gif │ │ │ │ ├── content.inline.min.css │ │ │ │ └── content.min.css │ │ └── plugins │ │ │ ├── example_dependency │ │ │ └── plugin.min.js │ │ │ ├── media │ │ │ └── moxieplayer.swf │ │ │ ├── imagebrowser │ │ │ ├── loading.gif │ │ │ ├── fileupload │ │ │ │ └── images │ │ │ │ │ └── php │ │ │ │ │ ├── index.php │ │ │ │ │ └── files │ │ │ │ │ └── .htaccess │ │ │ ├── plugin.min.js │ │ │ ├── lang-empty.php │ │ │ ├── lang-tr_TR.php │ │ │ └── plugin.js │ │ │ ├── emoticons │ │ │ ├── img │ │ │ │ ├── smiley-cool.gif │ │ │ │ ├── smiley-cry.gif │ │ │ │ ├── smiley-kiss.gif │ │ │ │ ├── smiley-wink.gif │ │ │ │ ├── smiley-yell.gif │ │ │ │ ├── smiley-frown.gif │ │ │ │ ├── smiley-sealed.gif │ │ │ │ ├── smiley-smile.gif │ │ │ │ ├── smiley-innocent.gif │ │ │ │ ├── smiley-laughing.gif │ │ │ │ ├── smiley-surprised.gif │ │ │ │ ├── smiley-undecided.gif │ │ │ │ ├── smiley-embarassed.gif │ │ │ │ ├── smiley-money-mouth.gif │ │ │ │ ├── smiley-tongue-out.gif │ │ │ │ └── smiley-foot-in-mouth.gif │ │ │ └── plugin.min.js │ │ │ ├── example │ │ │ ├── dialog.html │ │ │ └── plugin.min.js │ │ │ ├── print │ │ │ └── plugin.min.js │ │ │ ├── hr │ │ │ └── plugin.min.js │ │ │ ├── anchor │ │ │ └── plugin.min.js │ │ │ ├── nonbreaking │ │ │ └── plugin.min.js │ │ │ ├── code │ │ │ └── plugin.min.js │ │ │ ├── directionality │ │ │ └── plugin.min.js │ │ │ ├── contextmenu │ │ │ └── plugin.min.js │ │ │ ├── stylebuttons │ │ │ └── plugin.min.js │ │ │ ├── syntaxhighlighter │ │ │ └── plugin.min.js │ │ │ ├── wordcount │ │ │ └── plugin.min.js │ │ │ ├── visualchars │ │ │ └── plugin.min.js │ │ │ ├── visualblocks │ │ │ └── plugin.min.js │ │ │ ├── save │ │ │ └── plugin.min.js │ │ │ ├── pagebreak │ │ │ └── plugin.min.js │ │ │ ├── advlist │ │ │ └── plugin.min.js │ │ │ ├── tabfocus │ │ │ └── plugin.min.js │ │ │ ├── preview │ │ │ └── plugin.min.js │ │ │ ├── legacyoutput │ │ │ └── plugin.min.js │ │ │ ├── fullscreen │ │ │ └── plugin.min.js │ │ │ ├── autoresize │ │ │ └── plugin.min.js │ │ │ ├── autolink │ │ │ └── plugin.min.js │ │ │ ├── importcss │ │ │ └── plugin.min.js │ │ │ ├── insertdatetime │ │ │ └── plugin.min.js │ │ │ ├── autosave │ │ │ └── plugin.min.js │ │ │ ├── textcolor │ │ │ └── plugin.min.js │ │ │ ├── layer │ │ │ └── plugin.min.js │ │ │ └── bbcode │ │ │ └── plugin.min.js │ ├── jquery-file-upload │ │ ├── img │ │ │ ├── loading.gif │ │ │ └── progressbar.gif │ │ ├── css │ │ │ ├── style.css │ │ │ ├── jquery.fileupload-ui-noscript.css │ │ │ ├── jquery.fileupload-noscript.css │ │ │ ├── jquery.fileupload.css │ │ │ └── jquery.fileupload-ui.css │ │ └── js │ │ │ └── main.js │ ├── bootstrap-colorpicker │ │ └── img │ │ │ └── bootstrap-colorpicker │ │ │ ├── hue.png │ │ │ ├── alpha.png │ │ │ ├── saturation.png │ │ │ ├── alpha-horizontal.png │ │ │ └── hue-horizontal.png │ ├── sistem │ │ ├── yonetim.php │ │ ├── ilk │ │ │ ├── profil.php │ │ │ ├── makaleler.php │ │ │ ├── yorumlar.php │ │ │ ├── etiketler.php │ │ │ └── kullanicilar.php │ │ ├── config.php │ │ └── functions.php │ └── js │ │ ├── app-makaleler.min.js │ │ ├── app-etiketler.min.js │ │ ├── app-kullanicilar.min.js │ │ ├── app-yorumlar.min.js │ │ ├── genel.min.js │ │ ├── app-makale.min.js │ │ ├── app-anasayfa.min.js │ │ └── app-ayarlar.min.js ├── sablon │ └── eklemeler │ │ ├── altbar.html │ │ └── solmenu.html ├── profil.php └── kullanicilar.php ├── apple-touch-icon-114x114-precomposed.png ├── apple-touch-icon-144x144-precomposed.png ├── apple-touch-icon-72x72-precomposed.png ├── robots.txt ├── .gitignore ├── nbproject ├── project.properties └── project.xml ├── aramayonlendir.php ├── upload ├── index.php ├── dosyaduzenle.php └── foto │ └── .htaccess ├── .htaccess ├── güvenlik açıkları.txt ├── rss.php ├── web.config ├── index.php ├── sitemap.php └── README.md /inc/images/kullanici/bos.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/favicon.png -------------------------------------------------------------------------------- /inc/images/ayrac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/inc/images/ayrac.png -------------------------------------------------------------------------------- /tezgah/cheup/aga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/cheup/aga.png -------------------------------------------------------------------------------- /tezgah/cheup/space.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/cheup/space.png -------------------------------------------------------------------------------- /inc/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/inc/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /inc/images/varsayilan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/inc/images/varsayilan.png -------------------------------------------------------------------------------- /tezgah/cheup/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/cheup/avatar.png -------------------------------------------------------------------------------- /tezgah/cheup/copyright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/cheup/copyright.png -------------------------------------------------------------------------------- /tezgah/cheup/mopyright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/cheup/mopyright.png -------------------------------------------------------------------------------- /inc/js/lightbox/img/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/inc/js/lightbox/img/close.png -------------------------------------------------------------------------------- /inc/js/lightbox/img/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/inc/js/lightbox/img/next.png -------------------------------------------------------------------------------- /inc/js/lightbox/img/prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/inc/js/lightbox/img/prev.png -------------------------------------------------------------------------------- /apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/apple-touch-icon-precomposed.png -------------------------------------------------------------------------------- /inc/js/lightbox/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/inc/js/lightbox/img/loading.gif -------------------------------------------------------------------------------- /yonetim/inc/select2/select2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/select2/select2.png -------------------------------------------------------------------------------- /inc/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/inc/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /inc/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/inc/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /inc/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/inc/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /tezgah/chalishma/images/ekran-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/chalishma/images/ekran-1.jpg -------------------------------------------------------------------------------- /tezgah/chalishma/images/ekran-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/chalishma/images/ekran-2.jpg -------------------------------------------------------------------------------- /tezgah/chalishma/images/ekran-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/chalishma/images/ekran-3.jpg -------------------------------------------------------------------------------- /tezgah/chalishma/images/ekran-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/chalishma/images/ekran-4.jpg -------------------------------------------------------------------------------- /yonetim/inc/select2/select2x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/select2/select2x2.png -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/readme.md: -------------------------------------------------------------------------------- 1 | Icons are generated and provided by the http://icomoon.io service. 2 | -------------------------------------------------------------------------------- /apple-touch-icon-114x114-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/apple-touch-icon-114x114-precomposed.png -------------------------------------------------------------------------------- /apple-touch-icon-144x144-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/apple-touch-icon-144x144-precomposed.png -------------------------------------------------------------------------------- /apple-touch-icon-72x72-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/apple-touch-icon-72x72-precomposed.png -------------------------------------------------------------------------------- /yonetim/inc/select2/select2-spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/select2/select2-spinner.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/example_dependency/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("example_dependency",function(){},["example"]); -------------------------------------------------------------------------------- /robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /inc/ 3 | Disallow: /tezgah/ 4 | Disallow: /upload/ 5 | Disallow: /yonetim/ 6 | Disallow: /*.php -------------------------------------------------------------------------------- /tezgah/kaynaklar/tinyMCE/tinymce_4.0.28.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/kaynaklar/tinyMCE/tinymce_4.0.28.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/tinyMCE/tinymce_languages.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/kaynaklar/tinyMCE/tinymce_languages.zip -------------------------------------------------------------------------------- /yonetim/inc/jquery-file-upload/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/jquery-file-upload/img/loading.gif -------------------------------------------------------------------------------- /tezgah/kaynaklar/highcharts/Highcharts-4.0.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/kaynaklar/highcharts/Highcharts-4.0.1.zip -------------------------------------------------------------------------------- /yonetim/inc/jquery-file-upload/img/progressbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/jquery-file-upload/img/progressbar.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/media/moxieplayer.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/media/moxieplayer.swf -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/skins/lightgray/img/anchor.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/skins/lightgray/img/loader.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/skins/lightgray/img/object.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/skins/lightgray/img/trans.gif -------------------------------------------------------------------------------- /tezgah/kaynaklar/bootstrap-datepicker/datepicker.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/kaynaklar/bootstrap-datepicker/datepicker.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/bootstrap/bootstrap-3.1.1-dist.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/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/HEAD/tezgah/kaynaklar/font-awesome/font-awesome-4.1.0.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/imgfix-by-hozakar/imgfix-master.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/kaynaklar/imgfix-by-hozakar/imgfix-master.zip -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/imagebrowser/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/imagebrowser/loading.gif -------------------------------------------------------------------------------- /tezgah/kaynaklar/lightbox-by-lokesh/lightbox-2.7.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/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/HEAD/tezgah/kaynaklar/select2-by-ivaynberg/select2-3.4.8.zip -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.eot -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.ttf -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce.woff -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-cool.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-cool.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-cry.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-cry.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-kiss.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-wink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-wink.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-yell.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-yell.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-frown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-frown.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-sealed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-sealed.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-smile.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/skins/lightgray/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /.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/ -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-innocent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-innocent.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-laughing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-laughing.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-surprised.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-surprised.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-undecided.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-undecided.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-embarassed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-embarassed.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-money-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-money-mouth.gif -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-tongue-out.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-tongue-out.gif -------------------------------------------------------------------------------- /yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/hue.png -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha.png -------------------------------------------------------------------------------- /aramayonlendir.php: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /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/kaynaklar/jQuery-File-Upload-by-blueimp/jQuery-File-Upload-9.5.7.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/kaynaklar/jQuery-File-Upload-by-blueimp/jQuery-File-Upload-9.5.7.zip -------------------------------------------------------------------------------- /yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/saturation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/saturation.png -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png -------------------------------------------------------------------------------- /yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/hue-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/yonetim/inc/bootstrap-colorpicker/img/bootstrap-colorpicker/hue-horizontal.png -------------------------------------------------------------------------------- /tezgah/kaynaklar/SyntaxHighlighter-by-alexgorbatchev/syntaxhighlighter_3.0.83.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/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/HEAD/tezgah/kaynaklar/bootstrap-colorpicker-by-mjolnic/bootstrap-colorpicker-master.zip -------------------------------------------------------------------------------- /tezgah/kaynaklar/imagebrowser-for-tinymce-by-hozakar/imagebrowser-for-tinymce-1.0.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hozakar/basitblog/HEAD/tezgah/kaynaklar/imagebrowser-for-tinymce-by-hozakar/imagebrowser-for-tinymce-1.0.0.zip -------------------------------------------------------------------------------- /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; -------------------------------------------------------------------------------- /yonetim/inc/sistem/yonetim.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/example/dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Custom dialog

5 | Input some text: 6 | 7 | 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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"})}); -------------------------------------------------------------------------------- /nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.php.project 4 | 5 | 6 | basitblog 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /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"; -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /upload/index.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 | ?> -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/imagebrowser/fileupload/images/php/index.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/sablon/eklemeler/altbar.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 8 | 11 |
12 |
13 |
14 | -------------------------------------------------------------------------------- /tezgah/sablonlar/standart/eklemeler/altbar.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 | 8 | 11 |
12 |
13 |
14 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /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 | ?> -------------------------------------------------------------------------------- /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} -------------------------------------------------------------------------------- /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/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")}})}}); -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /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 | ?> -------------------------------------------------------------------------------- /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/directionality/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("directionality",function(t){function e(e){var i,n=t.dom,r=t.selection.getSelectedBlocks();r.length&&(i=n.getAttrib(r[0],"dir"),tinymce.each(r,function(t){n.getParent(t.parentNode,"*[dir='"+e+"']",n.getRoot())||(i!=e?n.setAttrib(t,"dir",e):n.setAttrib(t,"dir",null))}),t.nodeChanged())}function i(t){var e=[];return tinymce.each("h1 h2 h3 h4 h5 h6 div p".split(" "),function(i){e.push(i+"[dir="+t+"]")}),e.join(",")}t.addCommand("mceDirectionLTR",function(){e("ltr")}),t.addCommand("mceDirectionRTL",function(){e("rtl")}),t.addButton("ltr",{title:"Left to right",cmd:"mceDirectionLTR",stateSelector:i("ltr")}),t.addButton("rtl",{title:"Right to left",cmd:"mceDirectionRTL",stateSelector:i("rtl")})}); -------------------------------------------------------------------------------- /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;aquery("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 | ?> -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/select2/select2_locale_tr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Turkish translation. 3 | * 4 | * Author: Salim KAYABAŞI 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/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 | ?> -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /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/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/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)}}]})}); -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /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-yorumlar.min.js: -------------------------------------------------------------------------------- 1 | !function(a){"use strict";a(".yorumdetay").click(function(){a("#yorumdetay .modal-body").html(a(this).parents("tr").find(".liste-uzun-metin").html())}),a(".yorumsil").click(function(){confirm("Bu Yorumu Silmek İstediğinize Emin misiniz?")&&a.ajax({url:"?sayfa=yorumlar",method:"post",data:{islem:"sil",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()})}),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); -------------------------------------------------------------------------------- /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); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/emoticons/plugin.min.js: -------------------------------------------------------------------------------- 1 | tinymce.PluginManager.add("emoticons",function(t,e){function a(){var t;return t='',tinymce.each(i,function(a){t+="",tinymce.each(a,function(a){var i=e+"/img/smiley-"+a+".gif";t+=''}),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/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}}); -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/_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 | } -------------------------------------------------------------------------------- /inc/js/sol-menu.min.js: -------------------------------------------------------------------------------- 1 | "use strict";!function(e){function o(){n.menu.hasClass("aktif")?(n.cover.addClass("aktif"),n.body.addClass("aktif"),e("body").css("overflow","hidden")):(n.cover.removeClass("aktif"),n.body.removeClass("aktif"),e("body").css("overflow",e("body").data("overflow")))}var n={menuBtn:e(".menu-buton"),width:320,init:function(o,s){s&&(s.menuBtn&&(n.menuBtn=e(s.menuBtn)),s.width&&(n.width=s.width)),e("body").data("overflow",e("body").css("overflow")),e("body").wrapInner('
'),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); -------------------------------------------------------------------------------- /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/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/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/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")}); -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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 2 | 34 | 35 | -------------------------------------------------------------------------------- /yonetim/sablon/eklemeler/solmenu.html: -------------------------------------------------------------------------------- 1 | 2 | 34 | 35 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushDiff.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 | this.regexList = [ 25 | { regex: /^\+\+\+.*$/gm, css: 'color2' }, 26 | { regex: /^\-\-\-.*$/gm, css: 'color2' }, 27 | { regex: /^\s.*$/gm, css: 'color1' }, 28 | { regex: /^@@.*@@$/gm, css: 'variable' }, 29 | { regex: /^\+[^\+]{1}.*$/gm, css: 'string' }, 30 | { regex: /^\-[^\-]{1}.*$/gm, css: 'comments' } 31 | ]; 32 | }; 33 | 34 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 35 | Brush.aliases = ['diff', 'patch']; 36 | 37 | SyntaxHighlighter.brushes.Diff = Brush; 38 | 39 | // CommonJS 40 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 41 | })(); 42 | -------------------------------------------------------------------------------- /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/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)}); -------------------------------------------------------------------------------- /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')}tinyMCE.activeEditor.windowManager.close()}},{text:tinymce.translate("Cancel"),onclick:function(){tinyMCE.activeEditor.windowManager.close()}}]})}})}); -------------------------------------------------------------------------------- /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/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/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/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/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;e35?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 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); -------------------------------------------------------------------------------- /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))}); -------------------------------------------------------------------------------- /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 */ -------------------------------------------------------------------------------- /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); -------------------------------------------------------------------------------- /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-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); -------------------------------------------------------------------------------- /yonetim/inc/tinymce/plugins/imagebrowser/lang-empty.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 | ?> -------------------------------------------------------------------------------- /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 |
-------------------------------------------------------------------------------- /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}))}); -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /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;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;p'+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/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 | ?> -------------------------------------------------------------------------------- /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); -------------------------------------------------------------------------------- /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/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}); -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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})}); -------------------------------------------------------------------------------- /web.config: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/shBrushJava.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 = 'abstract assert boolean break byte case catch char class const ' + 25 | 'continue default do double else enum extends ' + 26 | 'false final finally float for goto if implements import ' + 27 | 'instanceof int interface long native new null ' + 28 | 'package private protected public return ' + 29 | 'short static strictfp super switch synchronized this throw throws true ' + 30 | 'transient try void volatile while'; 31 | 32 | this.regexList = [ 33 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 34 | { regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments 35 | { regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments 36 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 38 | { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers 39 | { regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno 40 | { regex: /\@interface\b/g, css: 'color2' }, // @interface keyword 41 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword 42 | ]; 43 | 44 | this.forHtmlScript({ 45 | left : /(<|<)%[@!=]?/g, 46 | right : /%(>|>)/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 | -------------------------------------------------------------------------------- /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); -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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); -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushDelphi.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 = 'abs addr and ansichar ansistring array as asm begin boolean byte cardinal ' + 25 | 'case char class comp const constructor currency destructor div do double ' + 26 | 'downto else end except exports extended false file finalization finally ' + 27 | 'for function goto if implementation in inherited int64 initialization ' + 28 | 'integer interface is label library longint longword mod nil not object ' + 29 | 'of on or packed pansichar pansistring pchar pcurrency pdatetime pextended ' + 30 | 'pint64 pointer private procedure program property pshortstring pstring ' + 31 | 'pvariant pwidechar pwidestring protected public published raise real real48 ' + 32 | 'record repeat set shl shortint shortstring shr single smallint string then ' + 33 | 'threadvar to true try type unit until uses val var varirnt while widechar ' + 34 | 'widestring with word write writeln xor'; 35 | 36 | this.regexList = [ 37 | { regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *) 38 | { regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { } 39 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line 40 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 41 | { regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags 42 | { regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345 43 | { regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3 44 | { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword 45 | ]; 46 | }; 47 | 48 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 49 | Brush.aliases = ['delphi', 'pascal', 'pas']; 50 | 51 | SyntaxHighlighter.brushes.Delphi = Brush; 52 | 53 | // CommonJS 54 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 55 | })(); 56 | -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushAS3.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 | // Created by Peter Atoria @ http://iAtoria.com 25 | 26 | var inits = 'class interface function package'; 27 | 28 | var keywords = '-Infinity ...rest Array as AS3 Boolean break case catch const continue Date decodeURI ' + 29 | 'decodeURIComponent default delete do dynamic each else encodeURI encodeURIComponent escape ' + 30 | 'extends false final finally flash_proxy for get if implements import in include Infinity ' + 31 | 'instanceof int internal is isFinite isNaN isXMLName label namespace NaN native new null ' + 32 | 'Null Number Object object_proxy override parseFloat parseInt private protected public ' + 33 | 'return set static String super switch this throw true try typeof uint undefined unescape ' + 34 | 'use void while with' 35 | ; 36 | 37 | this.regexList = [ 38 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 39 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 40 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 41 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 42 | { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers 43 | { regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations 44 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 45 | { regex: new RegExp('var', 'gm'), css: 'variable' }, // variable 46 | { regex: new RegExp('trace', 'gm'), css: 'color1' } // trace 47 | ]; 48 | 49 | this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags); 50 | }; 51 | 52 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 53 | Brush.aliases = ['actionscript3', 'as3']; 54 | 55 | SyntaxHighlighter.brushes.AS3 = Brush; 56 | 57 | // CommonJS 58 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 59 | })(); 60 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | query("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 | ?> -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | }); -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushCSharp.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 = 'abstract as base bool break byte case catch char checked class const ' + 25 | 'continue decimal default delegate do double else enum event explicit ' + 26 | 'extern false finally fixed float for foreach get goto if implicit in int ' + 27 | 'interface internal is lock long namespace new null object operator out ' + 28 | 'override params private protected public readonly ref return sbyte sealed set ' + 29 | 'short sizeof stackalloc static string struct switch this throw true try ' + 30 | 'typeof uint ulong unchecked unsafe ushort using virtual void while'; 31 | 32 | function fixComments(match, regexInfo) 33 | { 34 | var css = (match[0].indexOf("///") == 0) 35 | ? 'color1' 36 | : 'comments' 37 | ; 38 | 39 | return [new SyntaxHighlighter.Match(match[0], match.index, css)]; 40 | } 41 | 42 | this.regexList = [ 43 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments 44 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 45 | { regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings 46 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 47 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 48 | { regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 49 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword 50 | { regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keyword: 'partial' 51 | { regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield' 52 | ]; 53 | 54 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 55 | }; 56 | 57 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 58 | Brush.aliases = ['c#', 'c-sharp', 'csharp']; 59 | 60 | SyntaxHighlighter.brushes.CSharp = Brush; 61 | 62 | // CommonJS 63 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 64 | })(); 65 | 66 | -------------------------------------------------------------------------------- /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/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)}); -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | /* ********************* */ -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushBash.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 = 'if fi then elif else for do done until while break continue case function return in eq ne ge le'; 25 | var commands = 'alias apropos awk basename bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' + 26 | 'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' + 27 | 'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' + 28 | 'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' + 29 | 'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' + 30 | 'import install join kill less let ln local locate logname logout look lpc lpr lprint ' + 31 | 'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' + 32 | 'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' + 33 | 'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' + 34 | 'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' + 35 | 'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' + 36 | 'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' + 37 | 'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' + 38 | 'vi watch wc whereis which who whoami Wget xargs yes' 39 | ; 40 | 41 | this.regexList = [ 42 | { regex: /^#!.*$/gm, css: 'preprocessor bold' }, 43 | { regex: /\/[\w-\/]+/gm, css: 'plain' }, 44 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments 45 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 46 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 47 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 48 | { regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' } // commands 49 | ]; 50 | } 51 | 52 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 53 | Brush.aliases = ['bash', 'shell']; 54 | 55 | SyntaxHighlighter.brushes.Bash = Brush; 56 | 57 | // CommonJS 58 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 59 | })(); 60 | -------------------------------------------------------------------------------- /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/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 | ?> -------------------------------------------------------------------------------- /inc/js/syntaxhighlighter/scripts/shBrushGroovy.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 Andres Almiray 25 | // http://jroller.com/aalmiray/entry/nice_source_code_syntax_highlighter 26 | 27 | var keywords = 'as assert break case catch class continue def default do else extends finally ' + 28 | 'if in implements import instanceof interface new package property return switch ' + 29 | 'throw throws try while public protected private static'; 30 | var types = 'void boolean byte char short int long float double'; 31 | var constants = 'null'; 32 | var methods = 'allProperties count get size '+ 33 | 'collect each eachProperty eachPropertyName eachWithIndex find findAll ' + 34 | 'findIndexOf grep inject max min reverseEach sort ' + 35 | 'asImmutable asSynchronized flatten intersect join pop reverse subMap toList ' + 36 | 'padRight padLeft contains eachMatch toCharacter toLong toUrl tokenize ' + 37 | 'eachFile eachFileRecurse eachB yte eachLine readBytes readLine getText ' + 38 | 'splitEachLine withReader append encodeBase64 decodeBase64 filterLine ' + 39 | 'transformChar transformLine withOutputStream withPrintWriter withStream ' + 40 | 'withStreams withWriter withWriterAppend write writeLine '+ 41 | 'dump inspect invokeMethod print println step times upto use waitForOrKill '+ 42 | 'getText'; 43 | 44 | this.regexList = [ 45 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 46 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 47 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 48 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 49 | { regex: /""".*"""/g, css: 'string' }, // GStrings 50 | { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers 51 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword 52 | { regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type 53 | { regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants 54 | { regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods 55 | ]; 56 | 57 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 58 | } 59 | 60 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 61 | Brush.aliases = ['groovy']; 62 | 63 | SyntaxHighlighter.brushes.Groovy = Brush; 64 | 65 | // CommonJS 66 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 67 | })(); 68 | -------------------------------------------------------------------------------- /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); -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/styles/shThemeEmacs.css: -------------------------------------------------------------------------------- 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 | .syntaxhighlighter { 18 | background-color: black !important; 19 | } 20 | .syntaxhighlighter .line.alt1 { 21 | background-color: black !important; 22 | } 23 | .syntaxhighlighter .line.alt2 { 24 | background-color: black !important; 25 | } 26 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 27 | background-color: #2a3133 !important; 28 | } 29 | .syntaxhighlighter .line.highlighted.number { 30 | color: white !important; 31 | } 32 | .syntaxhighlighter table caption { 33 | color: #d3d3d3 !important; 34 | } 35 | .syntaxhighlighter .gutter { 36 | color: #d3d3d3 !important; 37 | } 38 | .syntaxhighlighter .gutter .line { 39 | border-right: 3px solid #990000 !important; 40 | } 41 | .syntaxhighlighter .gutter .line.highlighted { 42 | background-color: #990000 !important; 43 | color: black !important; 44 | } 45 | .syntaxhighlighter.printing .line .content { 46 | border: none !important; 47 | } 48 | .syntaxhighlighter.collapsed { 49 | overflow: visible !important; 50 | } 51 | .syntaxhighlighter.collapsed .toolbar { 52 | color: #ebdb8d !important; 53 | background: black !important; 54 | border: 1px solid #990000 !important; 55 | } 56 | .syntaxhighlighter.collapsed .toolbar a { 57 | color: #ebdb8d !important; 58 | } 59 | .syntaxhighlighter.collapsed .toolbar a:hover { 60 | color: #ff7d27 !important; 61 | } 62 | .syntaxhighlighter .toolbar { 63 | color: white !important; 64 | background: #990000 !important; 65 | border: none !important; 66 | } 67 | .syntaxhighlighter .toolbar a { 68 | color: white !important; 69 | } 70 | .syntaxhighlighter .toolbar a:hover { 71 | color: #9ccff4 !important; 72 | } 73 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 74 | color: #d3d3d3 !important; 75 | } 76 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 77 | color: #ff7d27 !important; 78 | } 79 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 80 | color: #ff9e7b !important; 81 | } 82 | .syntaxhighlighter .keyword { 83 | color: aqua !important; 84 | } 85 | .syntaxhighlighter .preprocessor { 86 | color: #aec4de !important; 87 | } 88 | .syntaxhighlighter .variable { 89 | color: #ffaa3e !important; 90 | } 91 | .syntaxhighlighter .value { 92 | color: #009900 !important; 93 | } 94 | .syntaxhighlighter .functions { 95 | color: #81cef9 !important; 96 | } 97 | .syntaxhighlighter .constants { 98 | color: #ff9e7b !important; 99 | } 100 | .syntaxhighlighter .script { 101 | font-weight: bold !important; 102 | color: aqua !important; 103 | background-color: none !important; 104 | } 105 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 106 | color: #ebdb8d !important; 107 | } 108 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 109 | color: #ff7d27 !important; 110 | } 111 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 112 | color: #aec4de !important; 113 | } 114 | --------------------------------------------------------------------------------