├── .gitattributes ├── assets ├── images │ ├── .DS_Store │ ├── posts │ │ ├── 2022_10_29_21_43_03.jpg │ │ ├── 2022_10_29_22_02_42.png │ │ ├── 2022_10_29_22_18_46.png │ │ ├── 2022_10_29_22_27_18.jpg │ │ ├── 2022_10_29_23_29_56.png │ │ ├── 2022_10_29_23_38_08.png │ │ ├── 2022_10_30_00_01_15.jpg │ │ ├── 2022_10_30_00_02_18.png │ │ └── 2022_10_30_00_04_24.jpg │ └── screenshots │ │ ├── Screenshot-posts.png │ │ ├── Screenshot-Bussines.png │ │ ├── Screenshot-categories .png │ │ ├── Screenshot-Bit Blog all posts.png │ │ └── Screenshot-Marketing & social media.png ├── ckeditor │ ├── plugins │ │ ├── icons.png │ │ ├── icons_hidpi.png │ │ ├── link │ │ │ ├── images │ │ │ │ ├── anchor.png │ │ │ │ └── hidpi │ │ │ │ │ └── anchor.png │ │ │ └── dialogs │ │ │ │ └── anchor.js │ │ ├── image │ │ │ └── images │ │ │ │ └── noimage.png │ │ ├── magicline │ │ │ └── images │ │ │ │ ├── icon.png │ │ │ │ ├── hidpi │ │ │ │ ├── icon.png │ │ │ │ └── icon-rtl.png │ │ │ │ └── icon-rtl.png │ │ ├── widget │ │ │ └── images │ │ │ │ └── handle.png │ │ ├── about │ │ │ └── dialogs │ │ │ │ ├── logo_ckeditor.png │ │ │ │ ├── hidpi │ │ │ │ └── logo_ckeditor.png │ │ │ │ └── about.js │ │ ├── dialog │ │ │ ├── dialogDefinition.js │ │ │ └── styles │ │ │ │ └── dialog.css │ │ ├── scayt │ │ │ ├── skins │ │ │ │ └── moono-lisa │ │ │ │ │ └── scayt.css │ │ │ ├── dialogs │ │ │ │ ├── dialog.css │ │ │ │ └── toolbar.css │ │ │ ├── CHANGELOG.md │ │ │ └── LICENSE.md │ │ ├── specialchar │ │ │ └── dialogs │ │ │ │ └── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── ja.js │ │ │ │ ├── zh.js │ │ │ │ ├── zh-cn.js │ │ │ │ ├── ko.js │ │ │ │ ├── az.js │ │ │ │ ├── fr-ca.js │ │ │ │ ├── da.js │ │ │ │ ├── nb.js │ │ │ │ ├── no.js │ │ │ │ ├── sv.js │ │ │ │ ├── et.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── oc.js │ │ │ │ ├── fa.js │ │ │ │ ├── fr.js │ │ │ │ └── hu.js │ │ ├── a11yhelp │ │ │ └── dialogs │ │ │ │ ├── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── zh-cn.js │ │ │ │ ├── zh.js │ │ │ │ ├── ja.js │ │ │ │ ├── ko.js │ │ │ │ ├── si.js │ │ │ │ ├── he.js │ │ │ │ ├── az.js │ │ │ │ ├── gu.js │ │ │ │ ├── ar.js │ │ │ │ ├── tt.js │ │ │ │ ├── en.js │ │ │ │ └── fo.js │ │ │ │ └── a11yhelp.js │ │ ├── tableselection │ │ │ └── styles │ │ │ │ └── tableselection.css │ │ ├── wsc │ │ │ ├── skins │ │ │ │ └── moono-lisa │ │ │ │ │ └── wsc.css │ │ │ ├── dialogs │ │ │ │ ├── wsc.css │ │ │ │ ├── ciframe.html │ │ │ │ ├── tmpFrameset.html │ │ │ │ └── wsc_ie.js │ │ │ └── LICENSE.md │ │ ├── pastefromgdocs │ │ │ └── filter │ │ │ │ └── default.js │ │ └── clipboard │ │ │ └── dialogs │ │ │ └── paste.js │ ├── samples │ │ ├── img │ │ │ ├── logo.png │ │ │ ├── github-top.png │ │ │ ├── header-bg.png │ │ │ ├── navigation-tip.png │ │ │ └── header-separator.png │ │ ├── old │ │ │ ├── assets │ │ │ │ ├── sample.jpg │ │ │ │ ├── inlineall │ │ │ │ │ └── logo.png │ │ │ │ ├── uilanguages │ │ │ │ │ └── languages.js │ │ │ │ ├── posteddata.php │ │ │ │ └── outputxhtml │ │ │ │ │ └── outputxhtml.css │ │ │ ├── htmlwriter │ │ │ │ └── assets │ │ │ │ │ └── outputforflash │ │ │ │ │ ├── outputforflash.fla │ │ │ │ │ └── outputforflash.swf │ │ │ ├── sample_posteddata.php │ │ │ ├── dialog │ │ │ │ └── assets │ │ │ │ │ └── my_dialog.js │ │ │ ├── sample.js │ │ │ ├── appendto.html │ │ │ ├── tabindex.html │ │ │ ├── uicolor.html │ │ │ ├── ajax.html │ │ │ └── readonly.html │ │ ├── toolbarconfigurator │ │ │ ├── font │ │ │ │ ├── fontello.eot │ │ │ │ ├── fontello.ttf │ │ │ │ ├── fontello.woff │ │ │ │ ├── LICENSE.txt │ │ │ │ ├── config.json │ │ │ │ └── fontello.svg │ │ │ ├── lib │ │ │ │ └── codemirror │ │ │ │ │ ├── show-hint.css │ │ │ │ │ ├── neo.css │ │ │ │ │ └── LICENSE │ │ │ ├── css │ │ │ │ └── fontello.css │ │ │ └── js │ │ │ │ └── fulltoolbareditor.js │ │ └── js │ │ │ └── sample.js │ ├── skins │ │ └── moono-lisa │ │ │ ├── icons.png │ │ │ ├── icons_hidpi.png │ │ │ ├── images │ │ │ ├── arrow.png │ │ │ ├── close.png │ │ │ ├── lock.png │ │ │ ├── refresh.png │ │ │ ├── spinner.gif │ │ │ ├── hidpi │ │ │ │ ├── close.png │ │ │ │ ├── lock.png │ │ │ │ ├── refresh.png │ │ │ │ └── lock-open.png │ │ │ └── lock-open.png │ │ │ └── readme.md │ ├── config.js │ ├── README.md │ └── adapters │ │ └── jquery.js └── css │ └── style.css ├── functions ├── auth.php ├── pdo_connection.php └── helpers.php ├── auth ├── logout.php └── login.php ├── panel ├── layouts │ ├── sidebar.php │ └── top-nav.php ├── category │ ├── delete.php │ ├── create.php │ ├── edit.php │ └── index.php ├── post │ ├── delete.php │ └── change-status.php └── index.php ├── index.php ├── layouts └── top-nav.php ├── detail.php ├── category.php └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | *.html linguist-detectable=false 2 | -------------------------------------------------------------------------------- /assets/images/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MobinaJafarian/BitBlog/HEAD/assets/images/.DS_Store -------------------------------------------------------------------------------- /assets/ckeditor/plugins/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MobinaJafarian/BitBlog/HEAD/assets/ckeditor/plugins/icons.png -------------------------------------------------------------------------------- /assets/ckeditor/samples/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MobinaJafarian/BitBlog/HEAD/assets/ckeditor/samples/img/logo.png -------------------------------------------------------------------------------- /functions/auth.php: -------------------------------------------------------------------------------- 1 | 3 | 6 | 9 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /panel/category/delete.php: -------------------------------------------------------------------------------- 1 | prepare($query); 12 | $statement->execute([$_GET['cat_id']]); 13 | } 14 | 15 | redirect('panel/category'); -------------------------------------------------------------------------------- /assets/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css: -------------------------------------------------------------------------------- 1 | .scayt-lang-list > div 2 | { 3 | padding-bottom: 6px !important; 4 | } 5 | 6 | .scayt-lang-list > div input 7 | { 8 | margin-right: 4px; 9 | } 10 | 11 | #scayt_about_ 12 | { 13 | margin: 30px auto 0 auto; 14 | } 15 | 16 | #scayt_about_ p 17 | { 18 | text-align: center; 19 | margin-bottom: 10px; 20 | } 21 | 22 | .cke_dialog_contents_body div[name=dictionaries] .cke_dialog_ui_hbox_last > a.cke_dialog_ui_button 23 | { 24 | margin-top: 0; 25 | } 26 | -------------------------------------------------------------------------------- /assets/ckeditor/plugins/scayt/dialogs/dialog.css: -------------------------------------------------------------------------------- 1 | div.cke_dialog_ui_scaytItemList { 2 | border: 1px solid #c9cccf; 3 | } 4 | 5 | .cke_scaytItemList-child { 6 | position: relative; 7 | padding: 6px 30px 6px 5px; 8 | overflow: hidden; 9 | text-overflow: ellipsis; 10 | white-space: nowrap; 11 | } 12 | 13 | .cke_scaytItemList-child:hover { 14 | background: #ebebeb; 15 | } 16 | 17 | .cke_scaytItemList-child .cke_scaytItemList_remove { 18 | position: absolute; 19 | top: 0; 20 | right: 5px; 21 | width: 26px; 22 | height: 26px; 23 | } 24 | -------------------------------------------------------------------------------- /panel/layouts/top-nav.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /functions/pdo_connection.php: -------------------------------------------------------------------------------- 1 | PDO::ERRMODE_EXCEPTION, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_OBJ); 9 | $pdo = new PDO("mysql:host=$serverName;dbname=bit-blog", $userName, $password, $options); 10 | 11 | // $user->first_name 12 | // $user['first_name'] 13 | 14 | // set the PDO error mode to exception 15 | // $connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 16 | 17 | return $pdo; 18 | 19 | } catch(PDOException $e) { 20 | echo "Connection failed: " . $e->getMessage(); 21 | } -------------------------------------------------------------------------------- /functions/helpers.php: -------------------------------------------------------------------------------- 1 | '; 29 | var_dump($var); 30 | exit; 31 | } 32 | -------------------------------------------------------------------------------- /assets/ckeditor/samples/toolbarconfigurator/font/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "", 3 | "css_prefix_text": "icon-", 4 | "css_use_suffix": false, 5 | "hinting": true, 6 | "units_per_em": 1000, 7 | "ascent": 850, 8 | "glyphs": [ 9 | { 10 | "uid": "f48ae54adfb27d8ada53d0fd9e34ee10", 11 | "css": "trash-empty", 12 | "code": 59392, 13 | "src": "fontawesome" 14 | }, 15 | { 16 | "uid": "1c4068ed75209e21af36017df8871802", 17 | "css": "down-big", 18 | "code": 59393, 19 | "src": "fontawesome" 20 | }, 21 | { 22 | "uid": "95376bf082bfec6ce06ea1cda7bd7ead", 23 | "css": "up-big", 24 | "code": 59394, 25 | "src": "fontawesome" 26 | } 27 | ] 28 | } -------------------------------------------------------------------------------- /assets/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license 3 | 4 | cs.js Found: 118 Missing: 0 5 | cy.js Found: 118 Missing: 0 6 | de.js Found: 118 Missing: 0 7 | el.js Found: 16 Missing: 102 8 | eo.js Found: 118 Missing: 0 9 | et.js Found: 31 Missing: 87 10 | fa.js Found: 24 Missing: 94 11 | fi.js Found: 23 Missing: 95 12 | fr.js Found: 118 Missing: 0 13 | hr.js Found: 23 Missing: 95 14 | it.js Found: 118 Missing: 0 15 | nb.js Found: 118 Missing: 0 16 | nl.js Found: 118 Missing: 0 17 | no.js Found: 118 Missing: 0 18 | tr.js Found: 118 Missing: 0 19 | ug.js Found: 39 Missing: 79 20 | zh-cn.js Found: 118 Missing: 0 21 | -------------------------------------------------------------------------------- /assets/ckeditor/samples/old/sample_posteddata.php: -------------------------------------------------------------------------------- 1 |
2 | 3 | ------------------------------------------------------------------------------------------- 4 | CKEditor - Posted Data 5 | 6 | We are sorry, but your Web server does not support the PHP language used in this script. 7 | 8 | Please note that CKEditor can be used with any other server-side language than just PHP. 9 | To save the content created with CKEditor you need to read the POST data on the server 10 | side and write it to a file or the database. 11 | 12 | Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. 13 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license 14 | ------------------------------------------------------------------------------------------- 15 | 16 |