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
public static function new_shihta($id_template, $time, $temp_name) | |
{ | |
$new_shihta = Yii::app()->db->createCommand() | |
->select('id') | |
->from('vgok_site.a_analiz_create') | |
->where("template_id = $id_template | |
AND f_timestamp = '$time'") | |
->queryScalar(); | |
if (!empty($new_shihta)) |
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 | |
/* @var $this \yii\web\View */ | |
/* @var $content string */ | |
use yii\helpers\Html; | |
use yii\bootstrap\Nav; | |
use yii\bootstrap\NavBar; | |
use yii\widgets\Breadcrumbs; | |
use app\assets\AppAsset; |
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
Появился в игре, на берегу. Покакал. Какулю подобрал, пригодится. | |
Холодно, хочется пить и жрать, нужно шевелить булками иначе тут и останешся в виде трупа. | |
Бежишь собираешь ягоды. О! Какие красивенькие чёрные ягодки, наверно вкусные. Сожрал, упал без сознания. Пришол раптор сожрал твоё тело со всем потрахами. Окей! Чёрные ягоды больше не ем. | |
Появился снова. Пробежался, до места где погиб. Стамина упала в ноль, вырулил тот же раптор, (как только его увидел отложил ещё какулю) пока бежал выдыхся, теперь далеко не убежишь, тебя сожрали снова. Прям столовая какая-то. Мне бы так еду приносили. =) | |
Появился снова. Первым делом покакал. Пошёл в другую сторону от раптора собирать дерево, камни, траву и...... и скорее всего меня опять сожрали(О времена, о нравы!). | |
Сделал копьё, добыл мясо. Сделал костёр, пожарил. Пока не голоден. Скушаю позже. | |
Спустя минут 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
<?xml version="1.0" encoding="utf-8" ?> | |
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd" | |
autoReload="true" | |
throwExceptions="false" | |
internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log" > | |
<!-- optional, add some variabeles |
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
array(12) { | |
[0]=> | |
array(3) { | |
["id"]=> | |
int(64) | |
["parent_id"]=> | |
int(24) | |
["value"]=> | |
NULL | |
} |
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 | |
$smena_plan = ($_POST['smena_plan'] == 'true') ? 'checked' : NULL ; | |
$smena_fact = ($_POST['smena_fact'] == 'true') ? 'checked' : NULL ; | |
?> | |
<label ><input type="checkbox" id="c_smena_plan" <?= $smena_plan ?>/> Смена(план)</label> | |
<label ><input type="checkbox" id="c_smena_fact" <?= $smena_fact ?>/> Смена(факт)</label> | |
<form name="upsert" id ="myForm" method="POST"> | |
<input id="smena_plan" name="smena_plan" type="hidden" value="<?= $smena_plan ?>"> | |
<input id="smena_fact" name="smena_fact" type="hidden" value="<?= $smena_fact?>"> |
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(app\modules\video\controllers\CountryController)#60 (11) { | |
["enableCsrfValidation"]=> | |
bool(true) | |
["actionParams"]=> | |
array(0) { | |
} | |
["id"]=> | |
string(7) "country" | |
["module"]=> | |
object(app\modules\video\Module)#57 (15) { |
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 | |
defined('YII_DEBUG') or define('YII_DEBUG', true); | |
defined('YII_ENV') or define('YII_ENV', 'test'); | |
defined('YII_TEST_ENTRY_URL') or define('YII_TEST_ENTRY_URL', parse_url(\Codeception\Configuration::config()['config']['test_entry_url'], PHP_URL_PATH)); | |
defined('YII_TEST_ENTRY_FILE') or define('YII_TEST_ENTRY_FILE', dirname(dirname(__DIR__)) . '/web/index-test.php'); | |
require_once(__DIR__ . '/../../vendor/autoload.php'); | |
require_once(__DIR__ . '/../../vendor/yiisoft/yii2/Yii.php'); |
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 | |
namespace models; | |
use app\modules\video\models\Video; | |
use yii\helpers\ArrayHelper; | |
class BehaviorTest extends \yii\codeception\DbTestCase { | |
// tests | |
public function testMe() |
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
#-----------------------------------------------# | |
# Основная конфигурация сервера | |
#-----------------------------------------------# | |
%httpcharset% | |
AcceptFilter http none | |
AcceptFilter https none | |
AccessFileName .htaccess | |
DocumentRoot "%ssitedir%/" | |
EnableMMAP Off |