forked from wingman007/fmi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging Ralitca, Elitca, Krasimir Tswetanov
- Loading branch information
1 parent
ee8ce15
commit 2050421
Showing
50 changed files
with
1,930 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<title>PHP Test</title> | ||
</head> | ||
<body> | ||
<?php echo '<p>Hello World from Vitali Arabadji [email protected]</p>'; ?> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
module/ElitsaNedyalkova/view/elitsa-nedyalkova/index/change.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<h1>I am in change.phtml</h1> |
125 changes: 125 additions & 0 deletions
125
module/ElitsaNedyalkova/view/layout/ElitsaNedyalkova.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<!-- | ||
Design by Free CSS Templates | ||
http://www.freecsstemplates.org | ||
Released for free under a Creative Commons Attribution 2.5 License | ||
|
||
Name : Open Tools | ||
Description: A two-column, fixed-width design with dark color scheme. | ||
Version : 1.0 | ||
Released : 20130803 | ||
|
||
--> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title></title> | ||
<meta name="keywords" content="" /> | ||
<meta name="description" content="" /> | ||
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700|Archivo+Narrow:400,700" rel="stylesheet" type="text/css"> | ||
<link href="<?php echo $this->basePath();?>/ElitsaNedyalkova/css/default.css" rel="stylesheet" type="text/css" /> | ||
<!--[if IE 6]> | ||
<link href="default_ie6.css" rel="stylesheet" type="text/css" /> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<div id="header" class="container"> | ||
<div id="logo"> | ||
<h1><a href="#">Open Tools</a></h1> | ||
</div> | ||
<div id="menu"> | ||
<ul> | ||
<li class="active"><a href="#" accesskey="1" title="">Homepage</a></li> | ||
<li><a href="#" accesskey="2" title="">My Designs</a></li> | ||
<li><a href="#" accesskey="3" title="">About Me</a></li> | ||
<li><a href="#" accesskey="4" title="">Contact</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div id="page" class="container"> | ||
<div id="content"> | ||
<div id="onecolumn"> | ||
<p><img src="<?php echo $this->basePath();?>/ElitsaNedyalkova/images/pic01.png" width="580" height="300" alt="" /></p> | ||
|
||
<?php echo $this->content; ?> | ||
|
||
</div> | ||
<div id="two-column"> | ||
<div class="box-content"> | ||
<h2 class="title title01">Nulla luctus eleifend</h2> | ||
<p>Pellentesque tristique ante ut risus. Quisque dictum. Integer nisl risus, sagittis convallis, rutrum id, elementum congue, nibh. Suspendisse dictum porta lectus. Donec placerat odio vel elit. Nullam ante orci, pellentesque quis.</p> | ||
</div> | ||
<div class="box-content"> | ||
<h2 class="title title02">Maecenas luctus lectus</h2> | ||
<p>Curabitur sit amet nulla. Nam in massa. Sed vel tellus. Curabitur sem urna, consequat vel, suscipit in, mattis placerat, nulla. Sed ac leo. Pellentesque imperdiet. In posuere odio quisque semper augue mattis maecenas ligula.</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="sidebar"> | ||
<div id="sbox1"> | ||
<h2>Fusce fringilla</h2> | ||
<ul class="list-style1"> | ||
<li class="first"> | ||
<p>Etiam non felis. Donec ut ante. In id eros. Suspendisse lacus, cursus egestas at sem. </p> | ||
<p><a href="#" class="link-style">Read More</a></p> | ||
</li> | ||
<li> | ||
<p>Etiam non felis. Donec ut ante. In id eros. Suspendisse lacus turpis, cursus at sem. </p> | ||
<p><a href="#" class="link-style">Read More</a></p> | ||
</li> | ||
</ul> | ||
</div> | ||
<div id="sbox2"> | ||
<h2>Testimonials</h2> | ||
<p class="testimonial">Pellentesque adipiscing purus ac magna. Pellentesque habitant morbi tristique senectus et netus et malesuada fames.</p> | ||
<div class="author"><img src="<?php echo $this->basePath();?>/ElitsaNedyalkova/images/pic03.jpg" width="80" height="80" alt="" /><span class="name">Juan Dela Cruz</span><span class="position">Company CEO</span><span>MyCompany, LLC</span></div> | ||
</div> | ||
<div id="sbox3"> | ||
<h2>Vestibulum luctus</h2> | ||
<ul class="style3"> | ||
<li class="first"><a href="#">Consectetuer adipiscing elit</a></li> | ||
<li><a href="#">Metus aliquam pellentesque</a></li> | ||
<li><a href="#">Suspendisse iaculis mauris</a></li> | ||
<li><a href="#">Urnanet non molestie semper</a></li> | ||
<li><a href="#">Proin gravida orci porttitor</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="footer" class="container"> | ||
<div id="fbox1"> | ||
<h2>Aenean elementum</h2> | ||
<ul class="style1"> | ||
<li class="first"><a href="#">Consectetuer adipiscing elit</a></li> | ||
<li><a href="#">Metus aliquam pellentesque</a></li> | ||
<li><a href="#">Suspendisse iaculis mauris</a></li> | ||
<li><a href="#">Urnanet non molestie semper</a></li> | ||
<li><a href="#">Proin gravida orci porttitor</a></li> | ||
</ul> | ||
</div> | ||
<div id="fbox2"> | ||
<h2>Vestibulum luctus</h2> | ||
<ul class="style1"> | ||
<li class="first"><a href="#">Consectetuer adipiscing elit</a></li> | ||
<li><a href="#">Metus aliquam pellentesque</a></li> | ||
<li><a href="#">Suspendisse iaculis mauris</a></li> | ||
<li><a href="#">Urnanet non molestie semper</a></li> | ||
<li><a href="#">Proin gravida orci porttitor</a></li> | ||
</ul> | ||
</div> | ||
<div id="fbox3"> | ||
<h2>Etiam malesuada</h2> | ||
<p>In posuere eleifend odio. Quisque semper augue mattis wisi. Maecenas ligula. Pellentesque viverra vulputate enim. Donec leo. Vivamus fermentum nibh in augue.</p> | ||
<ul class="style2"> | ||
<li><a href="#"><img src="<?php echo $this->basePath();?>/ElitsaNedyalkova/images/social03.png" width="32" height="32" alt="" /></a></li> | ||
<li><a href="#"><img src="<?php echo $this->basePath();?>/ElitsaNedyalkova/images/social01.png" width="32" height="32" alt="" /></a></li> | ||
<li><a href="#"><img src="<?php echo $this->basePath();?>/ElitsaNedyalkova/images/social04.png" width="32" height="32" alt="" /></a></li> | ||
<li><a href="#"><img src="<?php echo $this->basePath();?>/ElitsaNedyalkova/images/social02.png" width="32" height="32" alt="" /></a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div id="copyright" class="container"> | ||
<p>Copyright (c) 2013 Sitename.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org">FCT</a>. Photos by <a href="http://fotogrph.com/">Fotogrph</a>.</p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
namespace KrasimirTsvetanov; | ||
|
||
class Module | ||
{ | ||
public function getAutoloaderConfig() | ||
{ | ||
return array( | ||
'Zend\Loader\ClassMapAutoloader' => array( | ||
__DIR__ . '/autoload_classmap.php', | ||
), | ||
'Zend\Loader\StandardAutoloader' => array( | ||
'namespaces' => array( | ||
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__, | ||
), | ||
), | ||
); | ||
} | ||
|
||
public function getConfig() | ||
{ | ||
return include __DIR__ . '/config/module.config.php'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?php | ||
return array(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
return array( | ||
'controllers' => array( | ||
'invokables' => array( | ||
'KrasimirTsvetanov\Controller\Index' => 'KrasimirTsvetanov\Controller\IndexController', | ||
), | ||
), | ||
|
||
// The following section is new and should be added to your file | ||
'router' => array( | ||
'routes' => array( | ||
'krasimir_tsvetanov' => array( | ||
'type' => 'segment', | ||
'options' => array( | ||
'route' => '/krasimir_tsvetanov[/:action][/:id]', | ||
'constraints' => array( | ||
'action' => '[a-zA-Z][a-zA-Z0-9_-]*', | ||
'id' => '[0-9]+', | ||
), | ||
'defaults' => array( | ||
'controller' => 'KrasimirTsvetanov\Controller\Index', | ||
'action' => 'index', | ||
), | ||
), | ||
), | ||
), | ||
), | ||
|
||
'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', | ||
// 'layout/StoyanCheresharov' => __DIR__ . '/../view/layout/layout.phtml', | ||
'layout/KrasimirTsvetanov' => __DIR__ . '/../view/layout/KrasimirTsvetanov.phtml', | ||
//'layout/ria' => __DIR__ . '/../view/layout/ria.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_path_stack' => array( | ||
'krasimir_tsvetanov' => __DIR__ . '/../view', | ||
), | ||
), | ||
); |
38 changes: 38 additions & 0 deletions
38
module/KrasimirTsvetanov/src/KrasimirTsvetanov/Controller/IndexController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
|
||
namespace KrasimirTsvetanov\Controller; | ||
|
||
use Zend\Mvc\Controller\AbstractActionController; | ||
use Zend\View\Model\ViewModel; | ||
|
||
class IndexController extends AbstractActionController | ||
{ | ||
public function indexAction() | ||
{ | ||
return new ViewModel(); | ||
} | ||
|
||
public function changeAction() | ||
{ | ||
$viewModel = new ViewModel(); | ||
// $viewModel->setTemplate('layout/custom'); | ||
// $this->layout('layout/student'); // change the layout. DOn't forget to add it in modeule.config.php | ||
$this->layout('layout/KrasimirTsvetanov'); | ||
return $viewModel; | ||
} | ||
|
||
// To disable layout and view, return a response object : | ||
public function disableAction() | ||
{ | ||
// your code here ... | ||
return $this->response; | ||
} | ||
|
||
} |
1 change: 1 addition & 0 deletions
1
module/KrasimirTsvetanov/view/krasimir-tsvetanov/index/change.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<h1>I am in change.phtml</h1> |
1 change: 1 addition & 0 deletions
1
module/KrasimirTsvetanov/view/krasimir-tsvetanov/index/index.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<h1>I am the index.phtml in KrasimirTsvetanov module.</h1> |
Oops, something went wrong.