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 | |
/* class file in assets/classes/ folder */ | |
class employee { | |
public $name; | |
public $surname; | |
private $date; | |
function __construct(modx &$modx, array $config = array()) { | |
$this->modx = & $modx; | |
} |
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
<!-- Contact form --> | |
<form id="contact-form" class="contact-form" name="" method="POST" action="http://site.ee/ru/message-sent.htm" enctype="multipart/form-data"> | |
<input type="hidden" name="MAX_FILE_SIZE" value="2000000" /> | |
<legend>Me koostame hinnapakkumise ja saadame selle Teile juba ühe tunni jooksul!</legend> | |
<div class="input-field"> | |
<input type="text" placeholder="Nimi:" value="" name="name" required> | |
</div> | |
<div class="input-field"> | |
<input type="text" placeholder="Telefon:" value="" name="phone" required> | |
</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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Word Rotate</title> | |
<meta name="HandheldFriendly" content="True"> | |
<meta name="MobileOptimized" content="320"> |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Word Rotate</title> | |
<meta name="HandheldFriendly" content="True"> | |
<meta name="MobileOptimized" content="320"> |
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
/* chunk */ | |
<h3>Пришел запрос сайта</h3> | |
Имя: [[+name]] | |
<br> | |
Телефон: [[+phone]] | |
<br> | |
EMAIL: [[+email]] | |
<br><br> | |
Текст сообщения : [[+message]] |
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 if($this->countModules('condition')) : ?> | |
// make this block of code if TRUE | |
<?php else : ?> | |
// make this in ELSE case (not TRUE) | |
<?php endif ; ?> | |
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
<a href="delete.php?subject=" onclick="return confirm('Are you sure?')">Delete</a> |
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
a(href="delete.php?subject=" onclick="return confirm('Are you sure?')") Delete |
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 | |
/** | |
* plugin to map subdomain requests to contexts | |
* @setting event OnHandleRequest | |
* @todo currently, subdomains and context names are bound together.. remove this constraint through some mapping/lookup | |
* @todo currently, assumes first name in host (name before first dot) is what maps to the context | |
*/ | |
$context = 'web'; |
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 | |
/* | |
getTVLabel snippet for modx 2.3 | |
Version: | |
------------------ | |
v0.0.1 (2015-03-06 16:44) | |
Author: | |
------------------ |