diff --git a/config/application.config.php b/config/application.config.php
index c5ec4b7d..386d551b 100644
--- a/config/application.config.php
+++ b/config/application.config.php
@@ -13,7 +13,7 @@
'VictorAtanassov', // <-- Add this line
'Elena', // <-- Add this line
'AntonTonev',
- // 'MargaritaKrushkova',
+ 'MargaritaKrushkova',
'StoyanAtanasoff',
'IvelinaVelcheva',
'MihaelaKerkenekova',
diff --git a/module/MargaritaKrushkova/config/module.config.php b/module/MargaritaKrushkova/config/module.config.php
index b4b7e2b3..f0c3e82d 100644
--- a/module/MargaritaKrushkova/config/module.config.php
+++ b/module/MargaritaKrushkova/config/module.config.php
@@ -27,16 +27,11 @@
),
'view_manager' => array(
- /* 'template_map' => array(
- // 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml', // the entire app is using it
- // 'layout/layout' => __DIR__ . '/../view/layout/student.phtml',
- // 'application/index/index' => __DIR__ . '/../view/application/index/index.phtml',
- // 'application/stoyan/index' => __DIR__ . '/../view/application/stoyan/index.phtml', // <-- Added by me
- // 'error/404' => __DIR__ . '/../view/error/404.phtml',
- // 'error/index' => __DIR__ . '/../view/error/index.phtml',
- ), */
+ 'template_map' => array(
+ 'layout/margaritatempl' => __DIR__ . '/../view/layout/margaritatempl.phtml',
+ ),
'template_path_stack' => array(
- 'stoyan_cheresharov' => __DIR__ . '/../view',
+ 'margarita_krushkova' => __DIR__ . '/../view',
),
),
);
\ No newline at end of file
diff --git a/module/MargaritaKrushkova/src/MargaritaKrushkova/Controller/IndexController.php b/module/MargaritaKrushkova/src/MargaritaKrushkova/Controller/IndexController.php
index 04dc629c..f221373f 100644
--- a/module/MargaritaKrushkova/src/MargaritaKrushkova/Controller/IndexController.php
+++ b/module/MargaritaKrushkova/src/MargaritaKrushkova/Controller/IndexController.php
@@ -16,6 +16,8 @@ class IndexController extends AbstractActionController
{
public function indexAction()
{
- return new ViewModel();
+ $viewModel = new ViewModel();
+ $this->layout('layout/margaritatempl');
+ return $viewModel;
}
}
\ No newline at end of file
diff --git a/module/MargaritaKrushkova/view/layout/margaritatempl.phtml b/module/MargaritaKrushkova/view/layout/margaritatempl.phtml
new file mode 100644
index 00000000..601990d8
--- /dev/null
+++ b/module/MargaritaKrushkova/view/layout/margaritatempl.phtml
@@ -0,0 +1,243 @@
+
+
+
+
+
+
+
+ Margarita Krushkova
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ content; ?>
+
+ Welcome to Reverse Obscurity
+
+
+ This is Reverse Obscurity , a three column CSS template by
+ FCT with photos from
+ PDPhoto . It's released (for free) under the
+ Creative Commons Attribution 3.0 license ,
+ so feel free to use it for any personal or commercial work, just keep our footer credit links intact.
+ Hit up our website for more awesomely
+ cool free templates, and follow us on Twitter
+ (@freecsstemplate ) for updates, announcements, and other
+ mildly interesting ramblings.
+
+
+
+
+ Pulvinar quis pellentesque
+
+
+ Tempor sociis nullam proin placerat velit volutpat auctor. Fermentum et et eleifend molestie urna.
+
+
+
+
+
+ Quis curae accumsan placerat
+
+
+
+ Commodo proin lacinia blandit aenean orci penatibus.
+
+
+ Nulla elit parturient eleifend aenean dictum proin.
+
+
+ Feugiat ut ut lectus cubilia faucibus condimentum.
+
+
+
+
+
+
+
+
+
+
+ © Margarita Krushkova | Design by
FCT
+
+
+
+
diff --git a/module/MargaritaKrushkova/view/margarita-krushkova/index/index.phtml b/module/MargaritaKrushkova/view/margarita-krushkova/index/index.phtml
index aa132390..b5fc1392 100644
--- a/module/MargaritaKrushkova/view/margarita-krushkova/index/index.phtml
+++ b/module/MargaritaKrushkova/view/margarita-krushkova/index/index.phtml
@@ -1 +1 @@
-Hello from Margarita Krushkova's index view.
\ No newline at end of file
+This is Margarita's index page. Zend rules!
\ No newline at end of file
diff --git a/public/MargaritaKrushkova/css/style.css b/public/MargaritaKrushkova/css/style.css
new file mode 100644
index 00000000..6cc6cad5
--- /dev/null
+++ b/public/MargaritaKrushkova/css/style.css
@@ -0,0 +1,364 @@
+/*
+
+ Design by Free CSS Templates
+ http://www.freecsstemplates.org
+ Released for free under a Creative Commons Attribution License
+
+ Name : Reverse Obscurity
+ Version : 1.0
+ Released : 20130222
+
+*/
+
+* {
+ margin: 0;
+ padding: 0;
+}
+
+a {
+ color: #8f5038;
+ text-decoration: underline;
+}
+
+a:hover {
+ text-decoration: none;
+}
+
+body {
+ font-size: 10.5pt;
+ line-height: 1.75em;
+ font-family: Arial, sans-serif;
+ background: #e1e4e5 url('../images/bg.png');
+ color: #383939;
+}
+
+br.clear {
+ clear: both;
+}
+
+h1,h2,h3,h4 {
+ text-transform: lowercase;
+ font-weight: normal;
+}
+
+h2,h3,h4 {
+ margin-bottom: 1em;
+ font-family: "PT Sans Narrow", sans-serif;
+ color: #000;
+}
+
+h2 {
+ font-size: 1.8em;
+}
+
+h3 {
+ font-size: 1.4em;
+}
+
+img.left {
+ float: left;
+ margin: 8px 20px 20px 0;
+}
+
+img.top {
+ margin: 8px 0 20px 0;
+}
+
+p {
+ margin-bottom: 1.75em;
+}
+
+ul {
+ margin-bottom: 1.75em;
+}
+
+.imageList {
+ list-style: none;
+}
+
+.imageList li {
+ clear: both;
+}
+
+#bg {
+ background: url('../images/highlight.png') top left repeat-x;
+}
+
+#banner {
+ position: relative;
+ padding: 28px;
+ height: 212px;
+ width: 1124px;
+ margin: 28px 0 0 0;
+ background: #ffffff;
+ border-bottom: solid 1px #c0c0c0;
+}
+
+#box1 {
+ width: 500px;
+ overflow: hidden;
+ margin: 0px 0 24px 0;
+}
+
+#box2 {
+ width: 236px;
+ overflow: hidden;
+ float: left;
+}
+
+#box3 {
+ width: 236px;
+ overflow: hidden;
+ margin: 0px 0 0 260px;
+}
+
+.feq{
+ position: absolute;
+ z-index: 2;
+ bottom: 10px;
+ right: -20px;
+}
+
+.knight{
+ position: absolute;
+ z-index: 2;
+ bottom: 0;
+ left: -30px;
+}
+
+
+#content {
+ width: 500px;
+ margin: 0px 28px 0 312px;
+ padding: 28px;
+ background: #ffffff;
+ border-bottom: solid 1px #c0c0c0;
+}
+
+#copyright {
+ margin: 28px 0 64px 0;
+ text-align: center;
+ text-shadow: 0 1px 0 #ffffff;
+ color: #787979;
+}
+
+#copyright a {
+ color: #787979;
+}
+
+#footer {
+ position: relative;
+ padding: 28px;
+ margin: 28px 0 0 0;
+ width: 1124px;
+ background: #636363;
+ color: #d3d3d3;
+ border-bottom: solid 1px #444444;
+ text-shadow: 0 1px 0 #404040;
+}
+
+#footer a {
+ color: #eee;
+}
+
+#footer h2, #footer h3, #footer h4 {
+ color: #ffffff;
+}
+
+#footer ul {
+ list-style: none;
+ margin-bottom: 0;
+}
+
+#footer p {
+ margin-bottom: 0;
+}
+
+#footer ul li {
+ padding: 8px 0 8px 0;
+ border-top: dotted 1px #8c8c8c;
+}
+
+#footer ul li.first {
+ padding-top: 0;
+ border-top: 0;
+}
+
+#footerContent {
+ width: 812px;
+ float: left;
+}
+
+#footerSidebar {
+ width: 232px;
+ margin: 0px 0 0 892px;
+}
+
+#header {
+ position: relative;
+ padding: 28px;
+ height: 126px;
+ width: 1124px;
+}
+
+#logo {
+ text-align: center;
+ position: relative;
+ margin: -14px auto;
+ height: 98px;
+ line-height: 98px;
+}
+
+#logo a {
+ text-decoration: none;
+ color: #000;
+ text-shadow: 0px 3px 0px #ffffff;
+}
+
+#logo h1 {
+ font-size: 3.25em;
+ font-family: Lobster, cursive;
+}
+
+#main {
+ position: relative;
+ padding: 0px;
+ margin: 28px 0 0 0;
+ width: 1180px;
+ color: #474747;
+}
+
+#main strong {
+ color: #242424;
+}
+
+#main h2, #main h3, #main h4 {
+ color: #0d0d0d;
+}
+
+#main ul {
+ list-style: none;
+}
+
+#main ul li {
+ padding: 8px 0 8px 0;
+ border-top: dotted 1px #bdbdbd;
+}
+
+#main ul.imageList li {
+ padding: 16px 0 16px 0;
+}
+
+#main ul li.first {
+ padding-top: 0;
+ border-top: 0;
+}
+
+#nav {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ width: 1180px;
+ height: 56px;
+ line-height: 56px;
+ margin: 28px 0 0 0;
+ background: rgb(99, 99, 99);
+ font-size: 1.2em;
+ font-family: "PT Sans Narrow", sans-serif;
+ border-bottom: solid 1px #4f4f4f;
+ border-top: solid 1px #ffffff;
+ text-shadow: 0 1px 0px #4f4f4f;
+ text-transform: lowercase;
+}
+
+#nav a {
+ text-decoration: none;
+ color: #ffffff;
+}
+
+#nav ul {
+ list-style: none;
+ margin: 0 auto;
+ width: 1062px;
+ text-align: center;
+}
+
+#nav ul li {
+ display: inline;
+ text-align: center;
+ padding: 0 1.75em 0 1.75em;
+}
+
+#outer {
+ position: relative;
+ width: 1180px;
+ padding-top: 30px;
+ margin: 0 auto 0 auto;
+}
+
+#search input.button {
+ margin-left: 1em;
+ border: 0px;
+ color: #ffffff;
+ background: #8f5038;
+ padding: 5px;
+}
+
+#search input.text {
+ border: dotted 1px #000;
+ padding: 4px;
+}
+
+#sidebar1 {
+ width: 232px;
+ float: left;
+ padding: 28px;
+ background: #ffffff;
+ color: #474747;
+ border-bottom: solid 1px #c0c0c0;
+}
+
+#sidebar1 h2, #sidebar1 h3, #sidebar1 h4 {
+ color: #000;
+}
+
+#sidebar1 ul {
+ list-style: none;
+}
+
+#sidebar1 ul li {
+ padding: 8px 0 8px 0;
+ border-top: dotted 1px #bdbdbd;
+}
+
+#sidebar1 ul li.first {
+ padding-top: 0;
+ border-top: 0;
+}
+
+#sidebar2 {
+ width: 232px;
+ float: right;
+ padding: 28px;
+ background: #ffffff;
+ color: #474747;
+ border-bottom: solid 1px #c0c0c0;
+}
+
+#sidebar2 h2, #sidebar2 h3, #sidebar2 h4 {
+ color: #000;
+}
+
+#sidebar2 ul {
+ list-style: none;
+}
+
+#sidebar2 ul li {
+ padding: 8px 0 8px 0;
+ border-top: dotted 1px #bdbdbd;
+}
+
+#sidebar2 ul li.first {
+ padding-top: 0;
+ border-top: 0;
+}
diff --git a/public/MargaritaKrushkova/images/bg.png b/public/MargaritaKrushkova/images/bg.png
new file mode 100644
index 00000000..c1c3c690
Binary files /dev/null and b/public/MargaritaKrushkova/images/bg.png differ
diff --git a/public/MargaritaKrushkova/images/feq.png b/public/MargaritaKrushkova/images/feq.png
new file mode 100644
index 00000000..3440e486
Binary files /dev/null and b/public/MargaritaKrushkova/images/feq.png differ
diff --git a/public/MargaritaKrushkova/images/highlight.png b/public/MargaritaKrushkova/images/highlight.png
new file mode 100644
index 00000000..64ddb9da
Binary files /dev/null and b/public/MargaritaKrushkova/images/highlight.png differ
diff --git a/public/MargaritaKrushkova/images/knight.png b/public/MargaritaKrushkova/images/knight.png
new file mode 100644
index 00000000..6adec8a9
Binary files /dev/null and b/public/MargaritaKrushkova/images/knight.png differ
diff --git a/public/MargaritaKrushkova/images/pic1.jpg b/public/MargaritaKrushkova/images/pic1.jpg
new file mode 100644
index 00000000..86408c4d
Binary files /dev/null and b/public/MargaritaKrushkova/images/pic1.jpg differ
diff --git a/public/MargaritaKrushkova/images/pic2.jpg b/public/MargaritaKrushkova/images/pic2.jpg
new file mode 100644
index 00000000..2d37d0ce
Binary files /dev/null and b/public/MargaritaKrushkova/images/pic2.jpg differ