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
<!DOCTYPE html> | |
<html lang="ru"> | |
<head> | |
[[$Head.my?]] | |
</head> | |
<body> | |
<div class="wrapper"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
[[$Head.my?]] | |
</head> | |
<body> | |
<div class="container"> | |
[[$Header.my?]] | |
[[chunk? &name=`Navbar.my`]] | |
[[-$Navbar.my?]] |
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
Регистрация и личный кабинет: | |
Участник программы. | |
Пользователь регистрируется по реферальной ссылке и является звеном в иерархической структуре. | |
Заполняет анкету: | |
ФИО, | |
тел., | |
СНИЛС | |
Логином по умолчанию является СНИЛС пользователя и паролем по умолчанию является stalfond (или другой). Если нужно пользователь изменит пароль. |
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
<?php | |
if (!$Referral = $modx->getService('referral', 'Referral', $modx->getOption('referral_core_path', null, $modx->getOption('core_path') . 'components/referral/') . 'model/referral/')) { | |
return 'Could not load Referral class!'; | |
} | |
$start = microtime(true); | |
//$Referral->GeneratePaths(); |
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 юзер = 1 договор. | |
Короче, нужно неограниченное количество договоров. | |
Пользователь должен создавать договор в личном кабинете и заполнять его форму по соответсвующим полям. (форма договора одинаковая, но их может быть множество) | |
Пользователь может редактировать. (После окончательного статуса кнопка "рекдактировать" для пользователя не активна) | |
Менеджер должен просматривать договор и присваивать статутсы договорам: готов, не готов, подписан и пр. | |
К каждому договорму пользователь должен иметь возможность прикреплять документа. (Сканы документов - 2 -4 шт) | |
Админ в админке должен иметь возможность просматривать прикрепленные документы! |
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
<script type="text/javascript"> | |
// This a demo combo, instead use your own with your processor to load your "options" | |
var msfavoritesXtype = function(config) { | |
Ext.apply(config, { | |
store: new Ext.data.SimpleStore({ | |
fields: ["data","value"] | |
,data: [ | |
[_('msfavorites_opt_0'), "0"] | |
,[_('msfavorites_opt_1'), "1"] | |
,[_('msfavorites_opt_2'), "2"] |
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
{ | |
"0": { | |
"stage": { | |
"1": 0, | |
"2": 0, | |
"3": 0 | |
} | |
}, | |
"fields": { | |
"tab_contract": { |
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
<?php | |
class YleyCompaniesUsersGetListProcessor extends modProcessor{ | |
public static function getInstance(modX &$modx,$className,$properties = array()) { | |
switch($properties['type']){ | |
case 'company__': | |
$className = require_once dirname(__FILE__).'/users/getlist.class.php'; | |
break; |
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
<section class="product-section" id="msProduct"> | |
[[msGallery? | |
&tplRow=`@INLINE | |
<div class="slide"> | |
<a data-rel="lightbox" href="[[+url]]" class="center"><img src="[[+187x301]]" title="[[+name]]" alt="[[+description]]" width="187" height="301"> | |
</a> | |
</div> | |
` | |
&tplOuter=`@INLINE <div class="slideset">[[+rows]]</div>` |
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
<div class="product-slideshow"> | |
<div class="pager-carousel"> | |
<a class="btn-prev" href="#">Назад</a> | |
<div class="mask-holder"> | |
<div class="pager-mask"> | |
<div class="pager-slideset"> | |
[[+rows]] | |
</div> | |
</div> |