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
| $zoo = App::getInstance('zoo'); | |
| $element = $item->getElement('aaccae40-ef6b-479c-8a2f-9f344d94d8a7'); | |
| $data = (array)$element->data(); | |
| echo "<pre>"; | |
| print_r($data); | |
| echo "</pre>"; |
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 | |
| $pos = "honda-probeg-txt"; | |
| $modules =& JModuleHelper::getModules($pos); | |
| $attribs['style'] = 'xhtml'; | |
| foreach ($modules as $module){ | |
| echo JModuleHelper::renderModule($module, $attribs); | |
| } | |
| ?> |
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 $alias = JFactory::getURI()->getPath(); | |
| $jinput = JFactory::getApplication()->input; | |
| $Itemid = $jinput->getInt('Itemid'); ?> | |
| <form action="<?php echo $alias; ?>" method="post" > | |
| <input name="searchword" id="mod-search-searchword" maxlength="200" class="input-text search" type="search" placeholder="Поиск по сайту"> | |
| <input type="hidden" name="task" value="search"> | |
| <input type="hidden" name="option" value="com_search"> | |
| <input type="hidden" name="Itemid" value="<?php echo $Itemid; ?>"> | |
| </form> |
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 echo JText::_('COM_ADVPOLL_VOTES'); ?> |
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
| atom-text-editor::shadow { | |
| .wrap-guide { | |
| visibility: hidden; | |
| } | |
| } |
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
| if ($_GET[from]=='targetmailru'){ | |
| session_set_cookie_params(10800); | |
| if (isset($_REQUEST[session_name()])) session_start(); | |
| $_SESSION[tel]='216-45-27'; | |
| } | |
| if ($_GET[from]=='yadirect'){ | |
| session_set_cookie_params(10800); |
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_flag display_errors Off | |
| ###activate mod_deflate | |
| SetOutputFilter DEFLATE | |
| # Add caching headers for all files | |
| ExpiresActive On | |
| <FilesMatch \.css$> | |
| ExpiresDefault "access plus 7 days" |
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
| RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] | |
| RewriteRule ^(.*)$ http://%1/$1 [R=301,L] | |
| RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ | |
| RewriteRule ^index\.php$ http://domain.ru/ [R=301,L] |
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
| // API | |
| $mainframe = JFactory::getApplication(); | |
| $document = JFactory::getDocument(); | |
| // Assign paths | |
| $sitePath = JPATH_SITE; | |
| $siteUrl = JURI::root(true); | |
| // Requests | |
| $option = JRequest::getCmd('option'); |
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
| JURI::getInstance()->toString() |