This file contains hidden or 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
| /* Smartphones (portrait and landscape) ----------- */ | |
| @media only screen | |
| and (min-device-width : 320px) | |
| and (max-device-width : 480px) { | |
| /* Styles */ | |
| } | |
| /* Smartphones (landscape) ----------- */ | |
| @media only screen | |
| and (min-width : 321px) { |
This file contains hidden or 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
| <?php | |
| $today = new Zend_Date(); | |
| $today->add(6, Zend_Date::MONTH); | |
| $time = $today->getTimestamp(); | |
| $rd = new InsertRedirect(); | |
| $row = 1; | |
| if (($handle = fopen("redirects.csv", "r")) !== FALSE) { | |
| while (($data = fgetcsv($handle, 10000, ";")) !== FALSE) { |
This file contains hidden or 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
| <?php | |
| public function QrcodeAction () { | |
| $url = $this->getParam("url"); | |
| $codeSettings = array( | |
| 'text' => $url, | |
| 'backgroundColor' => '#FFFFFF', | |
| 'foreColor' => '#000000', | |
| 'padding' => 0, //array(10,5,10,5), | |
| 'moduleSize' => 10 |
This file contains hidden or 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
| <?php | |
| $document_path = $this->_request->getPathInfo(); | |
| if(!Pimcore_Tool::isFrontentRequestByAdmin()){ | |
| $pos = strpos($document_path, '/' . $this->language . '/tosc4'); | |
| if($pos === false && $_SERVER['SERVER_PORT'] == 443){ | |
| Pimcore_Model_Cache::disable(); | |
| $this->_redirect('http://www.domain.at' . $document_path, array('code' => 301)); | |
| } |
This file contains hidden or 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
| <?php | |
| $count = 1; | |
| foreach( $users_kicks as $kicks ) { | |
| if ($count%4 == 1){ | |
| echo "<div>"; | |
| } | |
| echo $kicks->brand; | |
| if ($count%4 == 0){ | |
| echo "</div>"; |
This file contains hidden or 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
| <?php | |
| // redirect site | |
| if(!Pimcore_Tool::isFrontentRequestByAdmin()){ | |
| $d = preg_match('/region\/(.*)/', $this->_request->getPathInfo(), $matches); | |
| if($d){ | |
| $this->redirect('http://www.newdomain.at/' . $matches[1], array('code' => 301)); | |
| } | |
| } |
This file contains hidden or 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
| <?php | |
| $this->getRequest()->getPost('id', null); | |
| $this->headScript()->appendFile('/static/js/parsley.js','text/javascript'); | |
| $this->headLink()->appendStylesheet('/static/css/themenuebersicht.css'); | |
| // get snippet path | |
| $this->snippet("xyz")->getSnippet()->getFullPath() | |
This file contains hidden or 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
| <script src="https://connect.facebook.net/en_US/all.js"></script> | |
| <script> | |
| window.fbAsyncInit = function() { | |
| FB.init({ | |
| appId : 'XXX-XXXX', //Your facebook APP here | |
| cookie : true // enable cookies to allow the server to access the session | |
| }); | |
| } | |
| window.onload = function() { |
This file contains hidden or 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
| Object.keys = Object.keys || (function () { | |
| var hasOwnProperty = Object.prototype.hasOwnProperty, | |
| hasDontEnumBug = !{toString:null}.propertyIsEnumerable("toString"), | |
| DontEnums = [ | |
| 'toString', | |
| 'toLocaleString', | |
| 'valueOf', | |
| 'hasOwnProperty', | |
| 'isPrototypeOf', | |
| 'propertyIsEnumerable', |