From 9744d6720254acc94fe1ab3d36ba438274716d3c Mon Sep 17 00:00:00 2001 From: Igor V Belousov Date: Mon, 23 Jan 2017 00:22:31 +0300 Subject: [PATCH] First --- .gitignore | 2 ++ .gitmodules | 6 ++++++ composer.json | 20 ++++++++++++++++++++ grunt/Gruntfile.js | 3 +++ grunt/css/ShortCSS | 1 + grunt/css/normalize | 1 + grunt/css/style.styl | 3 +++ grunt/package.json | 4 ++++ public/index.php | 7 +++++++ src/C/CAPTCHAController.php | 14 ++++++++++++++ src/C/IndexController.php | 14 ++++++++++++++ src/M/AdModel.php | 14 ++++++++++++++ src/start.php | 7 +++++++ 13 files changed, 96 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 composer.json create mode 100644 grunt/Gruntfile.js create mode 160000 grunt/css/ShortCSS create mode 160000 grunt/css/normalize create mode 100644 grunt/css/style.styl create mode 100644 grunt/package.json create mode 100644 public/index.php create mode 100644 src/C/CAPTCHAController.php create mode 100644 src/C/IndexController.php create mode 100644 src/M/AdModel.php create mode 100644 src/start.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..68633fb --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea/* +grunt/node_modules/* \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..895e6a4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "grunt/css/normalize"] + path = grunt/css/normalize + url = https://mygit.i2g.ru/normalize/ +[submodule "grunt/css/ShortCSS"] + path = grunt/css/ShortCSS + url = https://github.com/IgorVBelousov/ShortCSS.git diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..934cfcd --- /dev/null +++ b/composer.json @@ -0,0 +1,20 @@ +{ + "authors": + [ + { + "name": "Igor V Belousov", + "email": "igor@belousovv.ru", + "homepage": "http://belousovv.ru", + "role": "Developer" + } + + ], + "autoload": { + "psr-4": { + "PTEST\\": ["src/"] + } + }, + "require": { + "php": ">=5.6.0" + } +} \ No newline at end of file diff --git a/grunt/Gruntfile.js b/grunt/Gruntfile.js new file mode 100644 index 0000000..e37f898 --- /dev/null +++ b/grunt/Gruntfile.js @@ -0,0 +1,3 @@ +/** + * Created by Игорь on 23.01.2017. + */ diff --git a/grunt/css/ShortCSS b/grunt/css/ShortCSS new file mode 160000 index 0000000..0a278f4 --- /dev/null +++ b/grunt/css/ShortCSS @@ -0,0 +1 @@ +Subproject commit 0a278f438581f715d8a54ca8e821715ed30459b6 diff --git a/grunt/css/normalize b/grunt/css/normalize new file mode 160000 index 0000000..73488db --- /dev/null +++ b/grunt/css/normalize @@ -0,0 +1 @@ +Subproject commit 73488db24a3bac11761f7790beff895f966fd685 diff --git a/grunt/css/style.styl b/grunt/css/style.styl new file mode 100644 index 0000000..fd5776b --- /dev/null +++ b/grunt/css/style.styl @@ -0,0 +1,3 @@ +@import "ShortCSS/ShortCSS.styl" +@import "normalize/normalize.styl" + diff --git a/grunt/package.json b/grunt/package.json new file mode 100644 index 0000000..782f925 --- /dev/null +++ b/grunt/package.json @@ -0,0 +1,4 @@ +{ + "name": "ptest", + "version": "0.0.1" +} diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..4230403 --- /dev/null +++ b/public/index.php @@ -0,0 +1,7 @@ +