text stringlengths 29 2.99M |
|---|
<?php
/**
* Aist Console (http://mateuszsitek.com/projects/console)
*
* @copyright Copyright (c) 2017 DIGITAL WOLVES LTD (http://digitalwolves.ltd) All rights reserved.
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
*/
namespace Aist\Console\Helper\Logger;
use Interop\Container\ContainerInterface;
use Psr\Log\LoggerInterface;
/**
* Factory for LoggerHelper
*/
class LoggerHelperFactory
{
/**
* @param ContainerInterface $container
*
* @return LoggerHelper
*/
public function __invoke(ContainerInterface $container)
{
return new LoggerHelper($container->get(LoggerInterface::class));
}
}
|
<?php
class MatriculaModel {
private $id;
private $aluno;
private $curso;
private $turma;
private $codigo;
private $inicio;
private $status;
private $dataVencimento;
private $desconto;
function getId() {
return $this->id;
}
function getAluno() {
return $this->aluno;
}
function getCurso() {
return $this->curso;
}
function getCodigo() {
return $this->codigo;
}
function getInicio() {
return $this->inicio;
}
function getStatus() {
return $this->status;
}
function setId($id) {
$this->id = $id;
}
function setAluno($aluno) {
$this->aluno = $aluno;
}
function setCurso($curso) {
$this->curso = $curso;
}
function setCodigo($codigo) {
$this->codigo = $codigo;
}
function setInicio($inicio) {
$this->inicio = $inicio;
}
function setStatus($status) {
$this->status = $status;
}
function getDataVencimento() {
return $this->dataVencimento;
}
function getDesconto() {
return $this->desconto;
}
function setDataVencimento($dataVencimento) {
$this->dataVencimento = $dataVencimento;
}
function setDesconto($desconto) {
$this->desconto = $desconto;
}
function getTurma() {
return $this->turma;
}
function setTurma(TurmaModel $turma) {
$this->turma = $turma;
}
} |
<?php
return function ($props) {
$section = function ($defaults, $props) {
if ($props === true) {
$props = [];
}
if (is_string($props) === true) {
$props = [
'headline' => $props
];
}
return array_replace_recursive($defaults, $props);
};
if (empty($props['sidebar']) === false) {
$sidebar = $props['sidebar'];
} else {
$sidebar = [];
$pages = $props['pages'] ?? [];
$files = $props['files'] ?? [];
if ($pages !== false) {
$sidebar['pages'] = $section([
'headline' => t('pages'),
'type' => 'pages',
'status' => 'all',
'layout' => 'list',
], $pages);
}
if ($files !== false) {
$sidebar['files'] = $section([
'headline' => t('files'),
'type' => 'files',
'layout' => 'list'
], $files);
}
}
if (empty($sidebar) === true) {
$props['fields'] = $props['fields'] ?? [];
unset(
$props['files'],
$props['pages']
);
} else {
$props['columns'] = [
[
'width' => '2/3',
'fields' => $props['fields'] ?? []
],
[
'width' => '1/3',
'sections' => $sidebar
],
];
unset(
$props['fields'],
$props['files'],
$props['pages'],
$props['sidebar']
);
}
return $props;
};
|
<?php
use Kirby\Cms\Form;
return [
'props' => [
'fields' => function (array $fields = []) {
return $fields;
}
],
'computed' => [
'form' => function () {
$fields = $this->fields;
$disabled = $this->model->permissions()->update() === false;
$content = $this->model->content()->toArray();
if ($disabled === true) {
foreach ($fields as $key => $props) {
$fields[$key]['disabled'] = true;
}
}
return new Form([
'fields' => $fields,
'values' => $content,
'model' => $this->model,
'strict' => true
]);
},
'fields' => function () {
$fields = $this->form->fields()->toArray();
if (is_a($this->model, 'Kirby\Cms\Page') === true || is_a($this->model, 'Kirby\Cms\Site') === true) {
// the title should never be updated directly via
// fields section to avoid conflicts with the rename dialog
unset($fields['title']);
}
foreach ($fields as $index => $props) {
unset($fields[$index]['value']);
}
return $fields;
}
],
'methods' => [
'errors' => function () {
return $this->form->errors();
}
],
'toArray' => function () {
return [
'fields' => $this->fields,
];
}
];
|
<?php
define("TITLE",'string concatenation');
define("DESCRIPTION",'explanation of string concatination in python');
define("KEYWORD",'string concatination');
include("header.php");
include("sidebar.php");
?>
<div class="col-xl-7 mt-5 offset-1 scroller position-relative shadow-lg" id="print">
<div>
<div class="mr-5">
<h3 style="text-decoration:underline;" class="mt-3 text-center text-secondary">String Concatenation</h3>
<h6 class="mt-4 ml-5">Combining two or more strings to make a single string is string concatenation.</h6>
<h6 class="mt-4 ml-5">Concatenation is done using plus(+) operator.</h6>
<div class="jumbotron ml-5 mt-5 text-success">
<div style="background-color:white;">
<h6 class="pl-5" style="text-decoration:underline;">Example:</h6>
<h6 class="pl-5">first_name="mohit"</h6>
<h6 class="pl-5">last_name="yadav"</h6>
<h6 class="pl-5">full_name=first_name + " " + last_name</h6>
<h6 class="pl-5">print(full_name)</h6>
</div>
</div>
<div class="jumbotron ml-5 mt-5 text-success">
<div style="background-color:white;">
<h6 class="pl-5" style="text-decoration:underline;">Output:</h6>
<h6 class="pl-5">mohit yadav</h6>
</div>
</div>
<h6 class="mt-4 ml-5">Concatenation of string and integer.</h6>
<div class="jumbotron ml-5 mt-5 text-success">
<div style="background-color:white;">
<h6 class="pl-5" style="text-decoration:underline;">Example:</h6>
<h6 class="pl-5">first_name="mohit"</h6>
<h6 class="pl-5">print(first_name + 3)</h6>
</div>
</div>
<div class="jumbotron ml-5 mt-5 text-danger">
<div style="background-color:white;">
<h6 class="pl-5" style="text-decoration:underline;">Output:</h6>
<h6 class="pl-5">Error</h6>
<h6 class="pl-5">String can be concatenated with a string only.</h6>
</div>
</div>
<div class="jumbotron ml-5 mt-5 text-success">
<div style="background-color:white;">
<h6 class="pl-5" style="text-decoration:underline;">Example:</h6>
<h6 class="pl-5">first_name="mohit"</h6>
<h6 class="pl-5">print(first_name + "3")</h6>
<h6 class="pl-5 " style="color:black;">OR</h6>
<h6 class="pl-5">print(first_name + str(3))</h6>
</div>
</div>
<div class="jumbotron ml-5 mt-5 text-success">
<div style="background-color:white;">
<h6 class="pl-5" style="text-decoration:underline;">Output:</h6>
<h6 class="pl-5">mohit3</h6>
</div>
</div>
<h6 class="mt-4 ml-5">To print same string number of times.</h6>
<div class="jumbotron ml-5 mt-5 text-success">
<div style="background-color:white;">
<h6 class="pl-5" style="text-decoration:underline;">Example:</h6>
<h6 class="pl-5">name="apple"</h6>
<h6 class="pl-5">print(name*3)<span class="pl-4"># It will print string apple three times</span></h6>
</div>
</div>
<div class="jumbotron ml-5 mt-5 text-success">
<div style="background-color:white;">
<h6 class="pl-5" style="text-decoration:underline;">Output:</h6>
<h6 class="pl-5">appleappleapple</h6>
</div>
</div>
<!--<div >
<form action="">
<a href="variables.php" class="btn btn-primary mb-3" style="margin-left:280px;">PREV</a>
<a href="inputfromuser.php" class="btn btn-primary mb-3"style="margin-left:20px;" >NEXT</a>
</form>
</div>-->
</div>
</div>
<div class="col-sm-12 text-center">
<div>
<form action="">
<a href="variables.php" class="btn btn-primary mb-3 ml-5">PREV</a>
<a href="inputfromuser.php" class="btn btn-primary mb-3" >NEXT</a>
</form>
</div>
</div>
</div>
<?php
include("footer.php");
?> |
<?php
require_once("protocol.class.php");
require_once("secret.class.php");
class SessionControl
{
private static $ip = "localhost";
private static function getConnection() {
return new mysqli(self::$ip, Secret::$username, Secret::$password, "mpcp");
}
private static function decrypt($key, $data) {
$iv = base64_decode($data["iv"]);
$encrypted = base64_decode($data["encrypted"]);
$key = base64_decode($key);
$decrypted = openssl_decrypt($encrypted, 'AES-128-CBC', $key, OPENSSL_RAW_DATA, $iv);
return $decrypted;
}
private static function sessionQuery($sessionid, $query) {
$db = self::getConnection();
$stmt = $db->prepare($query);
$stmt->bind_param('d', $sessionid);
$stmt->execute();
return $stmt->get_result();
}
public static function initHandshake($protocol) {
$db = self::getConnection();
$stmt = $db->prepare("SELECT algid FROM kap WHERE name=?");
$stmt->bind_param('s', $protocol);
$stmt->execute();
$res = $stmt->get_result();
$stmt->close();
if($res->num_rows != 1) {
return False;
}
//Create session
$algid = $res->fetch_assoc()["algid"];
$db->query("INSERT INTO session VALUES (NULL, $algid, 1, NULL, 0, NULL, DATE_ADD(NOW(), INTERVAL 1 DAY), 0 )");
//Return sessionid
$res = $db->query("SELECT LAST_INSERT_ID()");
return $res->fetch_assoc()['LAST_INSERT_ID()'];
}
public static function execute($sessionid, $step, $data) {
$db = self::getConnection();
$query = "SELECT sessionid, name, length, step, tempdata FROM session INNER JOIN kap ON session.algid = kap.algid WHERE sessionid=? AND NOW()<expire AND start=0";
$res = self::sessionQuery($sessionid, $query);
if($res->num_rows != 1) {
return False;
}
$res = $res->fetch_assoc();
$ssid = intval($res["sessionid"]);
$pname = $res["name"];
$curstep = $res["step"];
$repstep = intval($step);
$maxstep = $res["length"];
$tempdata = $res["tempdata"];
//Check correct step
if($repstep - 1 != $curstep)
return False;
//Terminate protocol
if($repstep == $maxstep + 2) {
return self::endHandshake($ssid, $step, $data);
}
$pstep = $repstep - 2; //0th step is first
$protocol = Protocol::$$pname;
$res = call_user_func($protocol[$pstep], $data, $tempdata);
++$pstep; ++$curstep;
$store = $res["store"];
$send = $res["send"];
if($pstep == $maxstep) {
$db->query("UPDATE session SET symkey='$store', tempdata=NULL, step=$curstep WHERE sessionid=$ssid");
} else {
}
return $send;
}
public static function endHandshake($sessionid, $step, $data) {
$db = self::getConnection();
$query = "SELECT symkey FROM session WHERE sessionid=?";
$res = self::sessionQuery($sessionid, $query);
$key = $res->fetch_assoc()["symkey"];
$decrypted = self::decrypt($key, $data);
if($decrypted != "Confirm")
return False;
//Handshake complete
$db->query("UPDATE session SET step=$step, start=1 WHERE sessionid=$sessionid");
return "Success";
}
public static function decryptJSON($sessionid, $data) {
$query = "SELECT symkey FROM session WHERE sessionid=? AND NOW()<expire AND start=1 AND terminate=0";
$res = self::sessionQuery($sessionid, $query);
if(!$res)
return $res;
$key = $res->fetch_assoc()["symkey"];
$decrypted = self::decrypt($key, $data);
return json_decode($decrypted, true);
}
public static function encryptJSON($sessionid, $data) {
$query = "SELECT symkey FROM session WHERE sessionid=? AND NOW()<expire AND start=1 AND terminate=0";
$res = self::sessionQuery($sessionid, $query);
if(!$res)
return $res;
$key = $res->fetch_assoc()["symkey"];
$key = base64_decode($key);
$iv = openssl_random_pseudo_bytes(16);
$encrypted = openssl_encrypt($data, 'AES-128-CBC', $key, OPENSSL_RAW_DATA, $iv);
$ret = array("iv" => base64_encode($iv), "encrypted" => base64_encode($encrypted));
return $ret;
}
}
?> |
<?php
namespace App\Index;
use AcceptanceTester;
/**
* @group App
* @group Presentation
* @group Index
*/
class IndexCest
{
public function _before(AcceptanceTester $I)
{
}
public function _after(AcceptanceTester $I)
{
}
public function tryIndexRoute(AcceptanceTester $I)
{
$I->wantTo('Test the index route');
$I->amOnPage('/');
$I->see('Hello World');
}
public function tryIndexRouteWithParam(AcceptanceTester $I)
{
$I->wantTo('Test the index route with Param');
$I->amOnPage('/?name=Unit');
$I->see('Hello World Unit');
}
}
|
<?php
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <team@zephir-lang.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Zephir;
/**
* Class HeadersManager.
*
* Manages the c-headers that must be added to a file
*/
class HeadersManager
{
/**
* Insert the header at the beginning of the header list.
*/
const POSITION_FIRST = 1;
/**
* Insert the header at the end of the header list.
*/
const POSITION_LAST = 2;
/**
* List of headers.
*
* @var array
*/
protected $headers = [];
/**
* List of headers.
*
* @var array
*/
protected $headersFirst = [];
/**
* List of headers.
*
* @var array
*/
protected $headersLast = [];
/**
* Adds a header path to the manager.
*
* @param string $path
* @param int $position
*
* @throws \InvalidArgumentException
*/
public function add($path, $position = 0)
{
if (!\is_string($path)) {
throw new \InvalidArgumentException('$path must be only string type');
}
if (!$position) {
$this->headers[$path] = $path;
} else {
switch ($position) {
case self::POSITION_FIRST:
$this->headersFirst[$path] = $path;
break;
case self::POSITION_LAST:
$this->headersLast[$path] = $path;
break;
default:
break;
}
}
}
/**
* Returns a set of headers merged.
*
* @return array
*/
public function get()
{
return array_merge($this->headersFirst, $this->headers, $this->headersLast);
}
}
|
<?php
use MCU\Cache;
/**
* CenterGetData获取数据
*/
class api_WebData extends MCU\ApiHelper\ApiBase
{
/**
* 获取当前压实工艺
*@data string 车辆ID
*/
public function GetTechnology($params)
{
if($params['data'] !== false && !empty($params['data']) )
{
$reginfo_data = cache::get('reginfoData');
if($reginfo_data == null || $reginfo_data == false)
{
return R(false,"I don't have your car info",$params['data']);
}
$process = '';
foreach($reginfo_data as $v)
{
//carid 相等 更新缓存的最后通讯时间及工艺
if($v['car_id'] = $params)
{
$process = $v['process'];
}
}
return R(true,'ok',$process);
}
else
{
return R(false,'error');
}
}
/**
* 获取所有工艺信息
* @data str 'GetAllProcessInfo'
*
*/
// private static $registrt_car;
public function GetAllProcessInfo($params)
{
if($params['data'] !== false && $params['data'] == 'GetAllProcessInfo')
{
$process_info = Cache::get("AllProcessInfo");
if($process_info == null || $process_info == false)
{
return R(false,"I don't have AllProcessInfo");
}
return R(true,'ok',$process_info);
}
else
{
return R(false,'error');
}
}
/**
* 获取所有车辆详情
* @data string 'GetAllCarInfo'
*/
public function GetAllCarInfo($params)
{
if($params['data'] !== false && !empty($params['data']))
{
$AllCarInfo = Cache::get('reginfoData');
if($AllCarInfo == null || $AllCarInfo == false)
{
return R(false,"I don't have car info",$params['data']);
}
return R(true,"ok",$AllCarInfo);
}
else
{
return R(false,'error');
}
}
/**
* 获取车辆最新作业数据(平板)
* @data string 车辆ID
*/
public function GetNewlyData($params)
{
if($params['data'] !== false)
{
$num = Cache::llen($params['data']);
if($num > 50) $num = 50;
if($num == null || $num == 0)
{
return R(false,"I don't have your car data",$params['data']);
}
$reault = [];
for($i=1;$i <= $num;$i++)
{
$row = Cache::lpop($params['data']);
$reault[] = json_decode($row,true);
}
return R(true,"ok",$reault);
}
else
{
return R(false,'error');
}
}
} |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* etudiant/ajout.html.twig */
class __TwigTemplate_abc4a8265c06ed2ff0efc3b791b18aeeaf932abcbbcccf37b341df857d8ff16e extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "etudiant/ajout.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "etudiant/ajout.html.twig"));
// line 4
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 4, $this->source); })()), [0 => "bootstrap_4_layout.html.twig"], true);
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "etudiant/ajout.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Inscriptions";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo " ";
if ((isset($context["editMode"]) || array_key_exists("editMode", $context) ? $context["editMode"] : (function () { throw new RuntimeError('Variable "editMode" does not exist.', 6, $this->source); })())) {
// line 7
echo " <h1 style =\"text-align:center; margin-top: 80px; font-family: 'Bungee Inline', cursive; color : #007bff\">Modifier l'étudiant!</h1>
";
} else {
// line 9
echo " <h1 style=\"text-align:center; margin-top: 80px; font-family: 'Bungee Inline', cursive; color : #007bff\">Inscrire un étudiant!</h1>
";
}
// line 11
echo "
";
// line 12
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 12, $this->source); })()), 'form_start');
echo "
<div class=\"row\" style = \"margin : 3em\">
<div class=\"col-md-4\">
";
// line 16
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 16, $this->source); })()), "Nom", [], "any", false, false, false, 16), 'row');
echo "
</div>
<div class=\"col-md-4\">
";
// line 19
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 19, $this->source); })()), "Prenom", [], "any", false, false, false, 19), 'row', ["label" => "Prénom"]);
echo "
</div>
<div class=\"col-md-4\">
";
// line 22
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 22, $this->source); })()), "CNE", [], "any", false, false, false, 22), 'row', ["label" => "CNE"]);
echo "
</div>
<div class=\"col-md-4\">
";
// line 25
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 25, $this->source); })()), "CIN", [], "any", false, false, false, 25), 'row', ["label" => "CIN"]);
echo "
</div>
<div class=\"col-md-4\">
";
// line 28
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 28, $this->source); })()), "Tel", [], "any", false, false, false, 28), 'row', ["label" => "Numéro de téléphone"]);
echo "
</div>
<div class=\"col-md-4\">
";
// line 31
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 31, $this->source); })()), "Adresse", [], "any", false, false, false, 31), 'row');
echo "
</div>
<div class=\"col-md-4\">
";
// line 34
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 34, $this->source); })()), "id_e", [], "any", false, false, false, 34), 'row', ["label" => "Identifiant"]);
echo "
</div>
<div class=\"col-md-4\">
";
// line 37
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 37, $this->source); })()), "niveau", [], "any", false, false, false, 37), 'row');
echo "
</div>
<div class=\"col-md-4\">
";
// line 40
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 40, $this->source); })()), "Date_naiss", [], "any", false, false, false, 40), 'row', ["label" => "Date de naissance"]);
echo "
</div>
<button type=\"submit\" class=\"btn btn-primary btn-lg btn-block\" style=\"margin-top:20px\">
";
// line 44
if ((isset($context["editMode"]) || array_key_exists("editMode", $context) ? $context["editMode"] : (function () { throw new RuntimeError('Variable "editMode" does not exist.', 44, $this->source); })())) {
// line 45
echo " Modifier
";
} else {
// line 47
echo " Ajouter
";
}
// line 49
echo " </button>
</div>
";
// line 53
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formEtudiant"]) || array_key_exists("formEtudiant", $context) ? $context["formEtudiant"] : (function () { throw new RuntimeError('Variable "formEtudiant" does not exist.', 53, $this->source); })()), 'form_end');
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "etudiant/ajout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 183 => 53, 177 => 49, 173 => 47, 169 => 45, 167 => 44, 160 => 40, 154 => 37, 148 => 34, 142 => 31, 136 => 28, 130 => 25, 124 => 22, 118 => 19, 112 => 16, 105 => 12, 102 => 11, 98 => 9, 94 => 7, 91 => 6, 81 => 5, 62 => 3, 51 => 1, 49 => 4, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Inscriptions{% endblock %}
{% form_theme formEtudiant 'bootstrap_4_layout.html.twig' %}
{% block body %}
{% if editMode%}
<h1 style =\"text-align:center; margin-top: 80px; font-family: 'Bungee Inline', cursive; color : #007bff\">Modifier l'étudiant!</h1>
{% else %}
<h1 style=\"text-align:center; margin-top: 80px; font-family: 'Bungee Inline', cursive; color : #007bff\">Inscrire un étudiant!</h1>
{% endif %}
{{ form_start(formEtudiant) }}
<div class=\"row\" style = \"margin : 3em\">
<div class=\"col-md-4\">
{{ form_row(formEtudiant.Nom) }}
</div>
<div class=\"col-md-4\">
{{ form_row(formEtudiant.Prenom, {'label': 'Prénom'}) }}
</div>
<div class=\"col-md-4\">
{{ form_row(formEtudiant.CNE, {'label': 'CNE'}) }}
</div>
<div class=\"col-md-4\">
{{ form_row(formEtudiant.CIN, {'label': 'CIN'}) }}
</div>
<div class=\"col-md-4\">
{{ form_row(formEtudiant.Tel, {'label': 'Numéro de téléphone'}) }}
</div>
<div class=\"col-md-4\">
{{ form_row(formEtudiant.Adresse) }}
</div>
<div class=\"col-md-4\">
{{ form_row(formEtudiant.id_e, {'label': 'Identifiant'}) }}
</div>
<div class=\"col-md-4\">
{{ form_row(formEtudiant.niveau) }}
</div>
<div class=\"col-md-4\">
{{ form_row(formEtudiant.Date_naiss, {'label': 'Date de naissance'}) }}
</div>
<button type=\"submit\" class=\"btn btn-primary btn-lg btn-block\" style=\"margin-top:20px\">
{% if editMode%}
Modifier
{% else %}
Ajouter
{% endif %}
</button>
</div>
{{ form_end(formEtudiant) }}
{% endblock %}
", "etudiant/ajout.html.twig", "/Applications/MAMP/htdocs/LearnSymfony copy/templates/etudiant/ajout.html.twig");
}
}
|
<?php
namespace Commons\Traits;
use Commons\Role;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\ModelNotFoundException;
trait HasRoles
{
public static function getAvailableRoles()
{
return Role::where(["owner_type" => get_class()])->get();
}
public function assignRole($role)
{
if(is_numeric($role))
{
return $this->roles()->sync(
Role::where(["id" => $role, "owner_type" => get_class($this)])->pluck('id')->all()
);
}
if (is_string($role)) {
return $this->roles()->sync(
Role::where(["name" => $role, "owner_type" => get_class($this)])->pluck('id')->all()
);
}
if ($role->owner_type === get_class($this)) {
return $this->roles()->sync([$role->id]);
}
throw (new ModelNotFoundException)->setModel(get_class($this));
}
public function detachRole($role)
{
if (is_string($role)) {
return $this->roles()->detach(
Role::where(["name" => $role, "owner_type" => get_class($this)])->firstOrFail()
);
}
return $this->roles()->detach($role);
}
public function hasOneRole($role)
{
if (is_array($role)) {
foreach ($role as $r) {
if ($this->hasRole($r)) {
return true;
}
}
return false;
}
return !$role->intersect($this->roles)->count();
}
public function hasRole($role)
{
if (is_string($role)) {
return $this->roles()->where(["roles.name" => $role, "roles.owner_type" => get_class($this)])->exists();
}
if (is_array($role)) {
foreach ($role as $r) {
if (!$this->roles()->where(["roles.name" => $r, "roles.owner_type" => get_class($this)])->exists()) {
return false;
}
}
return true;
}
if ($role instanceof Model) {
return $this->roles()->findOrFail($role->id)->exists();
}
return !!$role->intersect($this->roles)->count();
}
public function getCurrentRole()
{
return $this->roles()->first();
}
public function roles()
{
return $this->morphToMany('Commons\Role', 'owner', 'owner_role');
}
}
|
<?php
/**
* Created by Claudio Campos.
* User: callcocam@gmail.com
* https://www.sigasmart.com.br
*/
namespace App\Http\Controllers;
use App\Forms\ProfileForm;
use App\Http\Requests\ProfileStore;
use App\Client;
use App\User;
use Illuminate\Support\Facades\Auth;
class ProfileController extends AbstractController
{
protected $template = "profile";
protected $model = User::class;
// protected $rules = ProfileRequest::class;
public function profile()
{
if(Auth::user()->hasAnyRole('cliente')){
$this->model = Client::class;
}
$this->results['user'] = Auth::user();
$this->results['tenant'] = get_tenant();
$rows = [];
if($this->model){
$rows = $this->getModel()->findById(Auth::id());
}
if(!$rows)
return back()->with('error', "Usuário não encontrado!!");
$this->results['rows'] = $rows;
$form = $this->formBuilder->create(ProfileForm::class, [
'model'=>$rows,
]);
$form->setFormOption('model',$rows);
$form->setFormOption('method','POST');
$form->setFormOption('url',route('admin.auth.profile'));
$this->results['form'] = $form;
return view(sprintf('admin.%s.show', $this->template), $this->results);
}
/**
* Store a newly created resource in storage.
*
* @param ProfileStore $request
* @return \Illuminate\Http\Response
*/
public function store(ProfileStore $request)
{
if(Auth::user()->hasAnyRole('cliente')){
$this->model = Client::class;
}
$this->getModel()->saveBy($request->all());
if($this->getModel()->getResultLastId()){
notify()->success($this->getModel()->getMessage());
return back()->with('success', $this->getModel()->getMessage());
}
notify()->error($this->getModel()->getMessage());
return back()->withInput()->withErrors($this->getModel()->getMessage());
}
}
|
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of meta_data
*
* @author drkidb
*/
class Meta_data extends CI_Model {
public function __construct() {
$this->load->database();
parent::__construct();
}
public function get_databases() {
$this->db->trans_start();
$query = $this->db->query("SHOW DATABASES");
$this->db->trans_complete();
if ($this->db->trans_status() === TRUE) {
return $query->result_array();
} else {
return false;
}
}
public function get_tables($database) {
$this->db->trans_start();
$query = $this->db->query("SHOW TABLES FROM " . $database);
$this->db->trans_complete();
if ($this->db->trans_status() === TRUE) {
return $query->result_array();
} else {
return false;
}
}
public function get_columns($database, $table) {
$this->db->trans_start();
$query = $this->db->query("SHOW COLUMNS FROM " . $database . "." . $table);
$this->db->trans_complete();
if ($this->db->trans_status() === TRUE) {
return $query->result_array();
} else {
return false;
}
}
public function make_select($database, $table, $extras, $limit = 1000) {
$this->db->trans_start();
$this->db->limit($limit);
if ($extras["where"] != FALSE) {
$this->db->where($extras["where"]);
}
$query = $this->db->get($database . "." . $table);
$this->db->trans_complete();
if ($this->db->trans_status() === TRUE) {
return $query->result_array();
} else {
return false;
}
}
public function make_count($database, $table, $extras, $limit = 1000) {
$this->db->trans_start();
$this->db->limit($limit);
if ($extras["where"] != FALSE) {
$this->db->where($extras["where"]);
}
$query = $this->db->get($database . "." . $table);
$this->db->trans_complete();
if ($this->db->trans_status() === TRUE) {
return $query->num_rows();
} else {
return false;
}
}
public function db_exist($database) {
$this->load->dbutil();
return $this->dbutil->database_exists($database);
}
public function table_exist($table) {
return $this->db->table_exists($table);
}
}
|
<?php
return [
'test-00017-01500' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; Win64; x64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; Tablet PC 2.0; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01501' => [
'ua' => 'Outlook-Express/7.0 (MSIE 7.0; Windows NT 6.2; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; MAPBJS; TmstmpExt)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01502' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; Nexus 10 Build/LMY49F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/47.0.2526.100 Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Nexus 10',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Nexus 10',
'Device_Brand_Name' => 'Google',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01503' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; Nexus 4 Build/LMY48T; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/47.0.2526.100 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Nexus 4',
'Device_Maker' => 'LG',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Nexus 4',
'Device_Brand_Name' => 'Google',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01504' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; Win64; x64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; GWX:DOWNLOADED; LCJB; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01505' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01506' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; GWX:DOWNLOADED; MAARJS; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01507' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.2; SM-T705 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/47.0.2526.100 Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Tab S 8.4 LTE',
'Device_Maker' => 'Samsung',
'Device_Type' => 'FonePad',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-T705',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01508' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; AskTbORJ/5.15.23.36191; .NET4.0E; MSOffice 12)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01509' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1; B3-A10 Build/LMY47I; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/47.0.2526.100 Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01510' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01511' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/8.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0; HRTS; McAfee; H9P; Microsoft Outlook 16.0.6366; ms-office; MSOffice 16)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01512' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; SLCC2; Media Center PC 6.0; .NET CLR 1.1.4322; Media Center PC 5.0; SLCC1; Tablet PC 2.0; McAfee; (1und1/1.0.0.8; ms-office; MSOffice 14); Microsoft Outlook 14.0.7165)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01513' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; SM-G928F Build/LMY47X; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/48.0.2564.95 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S6 Edge Plus LTE',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-G928F',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01514' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; BRI/2; GWX:QUALIFIED; Microsoft Outlook 14.0.7151; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01515' => [
'ua' => 'Outlook-Express/7.0 (MSIE 7.0; Windows NT 6.2; WOW64; Trident/8.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; anonymized by Abelssoft 1210122909; TmstmpExt)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01516' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; MASMJS; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01517' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.1; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; GWX:QUALIFIED; TOnlineIE11B)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01518' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/8.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; MALNJS; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01519' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0; LG-D855 Build/LRX21R.A1449202626; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/47.0.2526.100 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'G2',
'Device_Maker' => 'LG',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D855',
'Device_Brand_Name' => 'LG',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01520' => [
'ua' => 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0; WUID=ac24ea9a852bd74d7c8cc9e36d9ddec7; WTB=4028) Gecko/20100101 Firefox/42.0',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '42.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00017-01521' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; McAfee; BRI/2; GWX:DOWNLOADED; Microsoft Outlook 16.0.6366; ms-office; MSOffice 16)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01522' => [
'ua' => 'Outlook-Express/7.0 (MSIE 7.0; Windows NT 6.1; Trident/7.0; .NET4.0C; .NET4.0E; tb-webde/2.6.6; GWX:RESERVED; TmstmpExt)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01523' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; SLCC2; Media Center PC 6.0; MALN; BRI/2; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01524' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; swrinfo: 2731:vaillant.vhgroup.lan:sguendog;; rv:11.0) like Gecko',
'properties' => [
'Browser_Name' => 'Default Browser',
'Browser_Type' => 'unknown',
'Browser_Bits' => 64,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01525' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; tb-webde/2.6.6; Microsoft Outlook 16.0.6366; ms-office; MSOffice 16)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01526' => [
'ua' => 'Outlook-Express/7.0 (MSIE 7.0; Windows NT 6.2; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; SLCC2; Media Center PC 6.0; MAMD; Tablet PC 2.0; TmstmpExt)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01527' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; eSobiSubscriber 2.0.4.16; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET4.0C; InfoPath.3; .NET4.0E; GWX:QUALIFIED; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01528' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; Win64; x64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; SLCC2; Media Center PC 6.0; McAfee; AlexaToolbar/amzni-3.0; Tablet PC 2.0; InfoPath.3; Creative AutoUpdate v1.40.03; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01529' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; .NET CLR 3.0.30729)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.0',
'Platform_Marketingname' => 'Windows Vista',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01530' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.2; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; tb-gmx/2.6.5; MSOffice 12)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01531' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; MASMJS; MSOffice 12)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01532' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; D6603 Build/23.4.A.1.200; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/47.0.2526.100 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Z3',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D6603',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01533' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; HPDTDFJS; GWX:QUALIFIED)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01534' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; BRI/2; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0E; tb-gmx/2.6.6; (gmx/1.0.0.8))',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01535' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0E; .NET4.0C; GWX:DOWNLOADED; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01536' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; GWX:QUALIFIED; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01537' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; CMDTDFJS; GWX:DOWNLOADED; MSOffice 12)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01538' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; GWX:RESERVED; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01539' => [
'ua' => 'Mozilla/5.0 (iPad; CPU OS 9_2_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko)',
'properties' => [
'Browser_Name' => 'Default Browser',
'Browser_Type' => 'unknown',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '9.2.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPad',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPad',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00017-01540' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Tablet PC 2.0; GWX:DOWNLOADED; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01541' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0; Creative AutoUpdate v1.41.07; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01542' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; Win64; x64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; Tablet PC 2.0; GWX:QUALIFIED; InfoPath.3; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01543' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; D6503 Build/23.4.A.1.264; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/44.0.2403.117 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Z2 LTE',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D6503',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01544' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E; Tablet PC 2.0; GWX:QUALIFIED; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01545' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0; SM-N9005 Build/LRX21V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/48.0.2564.95 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Note 3 LTE',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-N9005',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01546' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E; GWX:DOWNLOADED; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01547' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/8.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; .NET CLR 1.1.4322; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01548' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; Microsoft Outlook 16.0.6366; ms-office; MSOffice 16)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01549' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; GWX:DOWNLOADED; (webde/1.4.0.0; ms-office; MSOffice 15); Microsoft Outlook 15.0.4783)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01550' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; XT1562 Build/LPD23.118-10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/42.0.2311.138 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01551' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; GWX:DOWNLOADED; MAPBJS; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01552' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; MAARJS; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01553' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; AskTB5.6; Microsoft Outlook 16.0.6366; Microsoft Outlook 16.0.6366; ms-office; MSOffice 16)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01554' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0; InfoPath.3; SLCC2; Media Center PC 6.0; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01555' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; D6603 Build/23.4.A.1.264; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/48.0.2564.95 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Z3',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D6603',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01556' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Microsoft Outlook 16.0.6366; Microsoft Outlook 16.0.6366; ms-office; MSOffice 16)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01557' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0E; MS-RTC LM 8; Microsoft Outlook 14.0.7162; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01558' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; SLCC2; Media Center PC 6.0; Tablet PC 2.0; .NET CLR 1.1.4322; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; McAfee; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01559' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/8.0; .NET4.0C; .NET4.0E; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01560' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1; FEVER Build/LMY47D; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/47.0.2526.100 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01561' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; InfoPath.3; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01562' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; Media Center PC 5.0; SLCC1; .NET4.0C; .NET4.0E; GWX:QUALIFIED; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01563' => [
'ua' => 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0; FunWebProducts; tb-webde/2.6.6)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '9.0',
'Platform_Codename' => 'Windows NT 6.0',
'Platform_Marketingname' => 'Windows Vista',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01564' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; SLCC2; Media Center PC 6.0; Tablet PC 2.0; Microsoft Outlook 14.0.6025; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01565' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.2.2; HP Slate 10 HD Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01566' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.2; rv:43.0.4) Gecko/20100101 Firefox/43.0.4 anonymized by Abelssoft 196990714',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '43.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00017-01567' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.2; .NET4.0C; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0E)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01568' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; BRI/2; InfoPath.3; GWX:DOWNLOADED; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01569' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/8.0; .NET4.0C; .NET4.0E; InfoPath.3; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01570' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0; McAfee; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01571' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.2; XT1072 Build/LXB22.99-24.12; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/47.0.2526.100 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01572' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; InfoPath.3; MAARJS; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01573' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.4.2; de-de; Ascend G510 Build/KVT49L) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00017-01574' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Creative AutoUpdate v1.40.01; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01575' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; ONE A2003 Build/LMY47V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/47.0.2526.100 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => '2',
'Device_Maker' => 'OnePlus',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'A2003',
'Device_Brand_Name' => 'OnePlus',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01576' => [
'ua' => 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/7.0; Microsoft Outlook 14.0.6131; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '9.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01577' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; Win64; x64; Trident/7.0; .NET4.0E; .NET4.0C; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; GWX:DOWNLOADED; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01578' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/6.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01579' => [
'ua' => 'Outlook-Express/7.0 (MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; BRI/2; NP06; .NET4.0C; .NET4.0E; InfoPath.3; GWX:QUALIFIED; TmstmpExt)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01580' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0; Microsoft Outlook 16.0.6366; ms-office; MSOffice 16)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01581' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Anonymisiert durch AlMiSoft Browser-Anonymisierer 83079466; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01582' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; GWX:DOWNLOADED; LCJB; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01583' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; Win64; x64; Trident/7.0; .NET4.0E; .NET4.0C; Tablet PC 2.0; InfoPath.3; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01584' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.2; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; Tablet PC 2.0; .NET4.0E; GWX:DOWNLOADED; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01585' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; Tablet PC 2.0; .NET4.0E; GWX:RESERVED; Microsoft Outlook 15.0.4783; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01586' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0; BRI/2; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01587' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Win64; x64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 2.0.50727; (webde/1.4.0.0; ms-office; MSOffice 15); Microsoft Outlook 15.0.4783)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01588' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; CMDTDFJS; Microsoft Outlook 16.0.6366; ms-office; MSOffice 16)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01589' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; InfoPath.3; GWX:QUALIFIED; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01590' => [
'ua' => 'Outlook-Express/7.0 (MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; .NET4.0C; InfoPath.2; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0E; tb-gmx/2.6.6; GWX:DOWNLOADED; ; gmx/1.3.0.0; TmstmpExt)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01591' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; ASJB; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01592' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0E; McAfee; MSOffice 12)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01593' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; D6653 Build/23.4.A.1.232; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/47.0.2526.100 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00017-01594' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E; Microsoft Outlook 15.0.4783; ms-office; MSOffice 15)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01595' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; tb-webde/2.6.6; (1und1/1.4.0.0); rv:11.0) like Gecko',
'properties' => [
'Browser_Name' => 'Default Browser',
'Browser_Type' => 'unknown',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01596' => [
'ua' => 'Outlook-Express/7.0 (MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; eSobiSubscriber 2.0.4.16; .NET4.0C; .NET4.0E; AskTbORJ/5.15.23.36191; tb-webde/2.6.6; GWX:DOWNLOADED; TmstmpExt)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01597' => [
'ua' => 'Outlook-Express/7.0 (MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; .NET4.0C; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MAPB; .NET4.0E; GWX:QUALIFIED; anonymized by Abelssoft 1975290253; TmstmpExt)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01598' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; Tablet PC 2.0; GWX:QUALIFIED; SMJB; Microsoft Outlook 14.0.7165; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00017-01599' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; Win64; x64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0; Microsoft Outlook 16.0.6366; ms-office; MSOffice 16)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
];
|
<?php
namespace App\Http\Controllers;
use App\Models\Brand;
use Illuminate\Http\Request;
use Brian2694\Toastr\Facades\Toastr;
class BrandController extends Controller
{
public function addBrand(){
return view('admin.brand.addbrand');
}
public function savebrand(Request $request){
$request->validate([
'brand_name' => 'required|unique:brands,brand_name'
]);
$brand=new Brand();
$brand->brand_name=$request->brand_name;
$brand->brand_slug= $this->slugify($request->brand_name);
$brand->save();
// return redirect()->back()->with("success",'Brand added Successfully!');
Toastr::success('Brand added Successfully!', 'Success', ["positionClass" => "toast-top-right"]);
return redirect()->back();
}
public function manageBrand(){
$brand=Brand::Orderby('id','DESC')->get();
return view('admin.brand.managebrand',compact('brand'));
}
public function active($cat_id){
Brand::find( $cat_id)->update(['status'=>1]);
// Toastr::success('Status active successfully !', 'Success', ["positionClass" => "toast-top-right"]);
// return Redirect()->back();
return Redirect()->back()->with('status','Status successfully updated');
}
public function inactive($cat_id){
Brand::find($cat_id)->update(['status'=>0]);
// Toastr::success('Status Inactive successfully!', 'warning', ["positionClass" => "toast-top-right"]);
// return Redirect()->back();
return Redirect()->back()->with('status','status successfully update');
}
public function brandremvoe($id){
Brand::find( $id)->delete();
Toastr::error('Brand Delete successfully!', 'Delete', ["positionClass" => "toast-top-right"]);
return Redirect()->back();
// return Redirect()->back()->with('delete','Brand Delete successfully');
}
public function editBrand($id){
$brand=Brand::find($id);
return view('admin.brand.brandedit',compact('brand'));
}
public function updateBrand(Request $request){
$request->validate([
'brand_name' => 'required|unique:brands,brand_name'
]);
// $brand=new Brand();
// $brand->brand_name=$request->brand_name;
// $brand->brand_slug= $this->slugify($request->brand_name);
// $brand->update();
// return redirect()->route('manage-brand')->with("success",'Brand Update Successfully!');
$id=$request->id;
Brand::find( $id)->update([
'brand_name'=>$request->brand_name,
'brand_slug'=>$this->slugify($request->brand_name)
]);
Toastr::success('Brand Update Successfully!', 'success', ["positionClass" => "toast-top-right"]);
return Redirect()->route('manage-brand');
// return redirect()->route('manage-brand')->with("success",'Brand Update Successfully!');
}
public function brandStatus($id,$status){
$brand=Brand::find($id);
$brand->status=$status;
$brand->save();
Toastr::info('Brand status update Successfully!', 'Status', ["positionClass" => "toast-top-right"]);
return Redirect()->back()->json(['message','success']);
// return response()->json(['message','success']);
}
public function slugify($text){
// replace non letter or digits by divider
$text = preg_replace('~[^\pL\d]+~u', '-', $text);
// transliterate
$text = iconv('utf-8', 'us-ascii//TRANSLIT', $text);
// remove unwanted characters
$text = preg_replace('~[^-\w]+~', '', $text);
// trim
$text = trim($text, '-');
// remove duplicate divider
$text = preg_replace('~-+~', '-', $text);
// lowercase
$text = strtolower($text);
if (empty($text)) {
return 'n-a';
}
return $text;
}
}
|
<?php
/**
*首页控制器
*/
class index {
function index() {
/*轮播图 start*/
$banner = get_banner(1);
$json_data['banner'] = $banner;
/*轮播图 end*/
/*产品 start*/
$product = get_cls_data(0,1,3,4);
$json_data['product'] = $product;
/*产品 end*/
/*公司介绍 start*/
$about = get_news_data(1,1,"9",1);
$json_data['about'] = $about;
/*公司介绍 end*/
/*万鸿团队 start*/
$team = get_news_data(3,20,"1",3);
$json_data['team'] = $team;
/*万鸿团队 end*/
/*案例展示 start*/
$case = get_news_data(3,6,"1",4);
$json_data['case'] = $case;
/*案例展示 end*/
/*新闻资讯 start*/
$news = get_cls_data(1,1,12,4);
$json_data['news'] = $news;
/*新闻资讯 end*/
/*新闻速递 start*/
$news_sudi = get_news_data(3,12,"1",12);
$json_data['news_sudi'] = $news_sudi;
/*新闻速递 end*/
/*案例分类 start*/
$case_cls = get_cls_data(0,1,6,1);
$json_data['case_cls'] = $case_cls;
/*案例分类 end*/
$this->assign('json_data',$json_data);
$this->display();
}
}
|
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "serviceAccounts" collection of methods.
* Typical usage is:
* <code>
* $iamService = new Google_Service_Iam(...);
* $serviceAccounts = $iamService->serviceAccounts;
* </code>
*/
class Google_Service_Iam_Resource_ProjectsServiceAccounts extends Google_Service_Resource
{
/**
* Creates a ServiceAccount and returns it. (serviceAccounts.create)
*
* @param string $name Required. The resource name of the project associated
* with the service accounts, such as `projects/my-project-123`.
* @param Google_Service_Iam_CreateServiceAccountRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_ServiceAccount
*/
public function create($name, Google_Service_Iam_CreateServiceAccountRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Iam_ServiceAccount");
}
/**
* Deletes a ServiceAccount. (serviceAccounts.delete)
*
* @param string $name The resource name of the service account in the following
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
* wildcard for the `PROJECT_ID` will infer the project from the account. The
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
* account.
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_IamEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_Iam_IamEmpty");
}
/**
* DisableServiceAccount is currently in the alpha launch stage.
*
* Disables a ServiceAccount, which immediately prevents the service account
* from authenticating and gaining access to APIs.
*
* Disabled service accounts can be safely restored by using
* EnableServiceAccount at any point. Deleted service accounts cannot be
* restored using this method.
*
* Disabling a service account that is bound to VMs, Apps, Functions, or other
* jobs will cause those jobs to lose access to resources if they are using the
* disabled service account.
*
* To improve reliability of your services and avoid unexpected outages, it is
* recommended to first disable a service account rather than delete it. After
* disabling the service account, wait at least 24 hours to verify there are no
* unintended consequences, and then delete the service account.
* (serviceAccounts.disable)
*
* @param string $name The resource name of the service account in the following
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
* wildcard for the `PROJECT_ID` will infer the project from the account. The
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
* account.
* @param Google_Service_Iam_DisableServiceAccountRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_IamEmpty
*/
public function disable($name, Google_Service_Iam_DisableServiceAccountRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('disable', array($params), "Google_Service_Iam_IamEmpty");
}
/**
* EnableServiceAccount is currently in the alpha launch stage.
*
* Restores a disabled ServiceAccount that has been manually disabled by using
* DisableServiceAccount. Service accounts that have been disabled by other
* means or for other reasons, such as abuse, cannot be restored using this
* method.
*
* EnableServiceAccount will have no effect on a service account that is not
* disabled. Enabling an already enabled service account will have no effect.
* (serviceAccounts.enable)
*
* @param string $name The resource name of the service account in the following
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
* wildcard for the `PROJECT_ID` will infer the project from the account. The
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
* account.
* @param Google_Service_Iam_EnableServiceAccountRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_IamEmpty
*/
public function enable($name, Google_Service_Iam_EnableServiceAccountRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('enable', array($params), "Google_Service_Iam_IamEmpty");
}
/**
* Gets a ServiceAccount. (serviceAccounts.get)
*
* @param string $name The resource name of the service account in the following
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
* wildcard for the `PROJECT_ID` will infer the project from the account. The
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
* account.
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_ServiceAccount
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Iam_ServiceAccount");
}
/**
* Returns the Cloud IAM access control policy for a ServiceAccount.
*
* Note: Service accounts are both [resources and identities](/iam/docs/service-
* accounts#service_account_permissions). This method treats the service account
* as a resource. It returns the Cloud IAM policy that reflects what members
* have access to the service account.
*
* This method does not return what resources the service account has access to.
* To see if a service account has access to a resource, call the `getIamPolicy`
* method on the target resource. For example, to view grants for a project,
* call the [projects.getIamPolicy](/resource-
* manager/reference/rest/v1/projects/getIamPolicy) method.
* (serviceAccounts.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See the operation documentation for the appropriate value for this
* field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The policy format
* version to be returned. Acceptable values are 0, 1, and 3. If the value is 0,
* or the field is omitted, policy format version 1 will be returned.
* @return Google_Service_Iam_Policy
*/
public function getIamPolicy($resource, $optParams = array())
{
$params = array('resource' => $resource);
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', array($params), "Google_Service_Iam_Policy");
}
/**
* Lists ServiceAccounts for a project.
* (serviceAccounts.listProjectsServiceAccounts)
*
* @param string $name Required. The resource name of the project associated
* with the service accounts, such as `projects/my-project-123`.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken Optional pagination token returned in an earlier
* ListServiceAccountsResponse.next_page_token.
* @opt_param int pageSize Optional limit on the number of service accounts to
* include in the response. Further accounts can subsequently be obtained by
* including the ListServiceAccountsResponse.next_page_token in a subsequent
* request.
* @return Google_Service_Iam_ListServiceAccountsResponse
*/
public function listProjectsServiceAccounts($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Iam_ListServiceAccountsResponse");
}
/**
* Patches a ServiceAccount.
*
* Currently, only the following fields are updatable: `display_name` and
* `description`.
*
* Only fields specified in the request are guaranteed to be returned in the
* response. Other fields in the response may be empty.
*
* Note: The field mask is required. (serviceAccounts.patch)
*
* @param string $name The resource name of the service account in the following
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
*
* Requests using `-` as a wildcard for the `PROJECT_ID` will infer the project
* from the `account` and the `ACCOUNT` value can be the `email` address or the
* `unique_id` of the service account.
*
* In responses the resource name will always be in the format
* `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
* @param Google_Service_Iam_PatchServiceAccountRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_ServiceAccount
*/
public function patch($name, Google_Service_Iam_PatchServiceAccountRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Iam_ServiceAccount");
}
/**
* Sets the Cloud IAM access control policy for a ServiceAccount.
*
* Note: Service accounts are both [resources and identities](/iam/docs/service-
* accounts#service_account_permissions). This method treats the service account
* as a resource. Use it to grant members access to the service account, such as
* when they need to impersonate it.
*
* This method does not grant the service account access to other resources,
* such as projects. To grant a service account access to resources, include the
* service account in the Cloud IAM policy for the desired resource, then call
* the appropriate `setIamPolicy` method on the target resource. For example, to
* grant a service account access to a project, call the [projects.setIamPolicy
* ](/resource-manager/reference/rest/v1/projects/setIamPolicy) method.
* (serviceAccounts.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See the operation documentation for the appropriate value for this
* field.
* @param Google_Service_Iam_SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_Policy
*/
public function setIamPolicy($resource, Google_Service_Iam_SetIamPolicyRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', array($params), "Google_Service_Iam_Policy");
}
/**
* **Note**: This method is in the process of being deprecated. Call the [`signB
* lob()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/signBlob)
* method of the Cloud IAM Service Account Credentials API instead.
*
* Signs a blob using a service account's system-managed private key.
* (serviceAccounts.signBlob)
*
* @param string $name The resource name of the service account in the following
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
* wildcard for the `PROJECT_ID` will infer the project from the account. The
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
* account.
* @param Google_Service_Iam_SignBlobRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_SignBlobResponse
*/
public function signBlob($name, Google_Service_Iam_SignBlobRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('signBlob', array($params), "Google_Service_Iam_SignBlobResponse");
}
/**
* **Note**: This method is in the process of being deprecated. Call the [`signJ
* wt()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/signJwt)
* method of the Cloud IAM Service Account Credentials API instead.
*
* Signs a JWT using a service account's system-managed private key.
*
* If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an an
* expiry time of one hour by default. If you request an expiry time of more
* than one hour, the request will fail. (serviceAccounts.signJwt)
*
* @param string $name The resource name of the service account in the following
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
* wildcard for the `PROJECT_ID` will infer the project from the account. The
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
* account.
* @param Google_Service_Iam_SignJwtRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_SignJwtResponse
*/
public function signJwt($name, Google_Service_Iam_SignJwtRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('signJwt', array($params), "Google_Service_Iam_SignJwtResponse");
}
/**
* Tests the specified permissions against the IAM access control policy for a
* ServiceAccount. (serviceAccounts.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See the operation documentation for the appropriate value
* for this field.
* @param Google_Service_Iam_TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_TestIamPermissionsResponse
*/
public function testIamPermissions($resource, Google_Service_Iam_TestIamPermissionsRequest $postBody, $optParams = array())
{
$params = array('resource' => $resource, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', array($params), "Google_Service_Iam_TestIamPermissionsResponse");
}
/**
* Restores a deleted ServiceAccount. This is to be used as an action of last
* resort. A service account may not always be restorable.
* (serviceAccounts.undelete)
*
* @param string $name The resource name of the service account in the following
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_UNIQUE_ID}`. Using
* `-` as a wildcard for the `PROJECT_ID` will infer the project from the
* account.
* @param Google_Service_Iam_UndeleteServiceAccountRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_UndeleteServiceAccountResponse
*/
public function undelete($name, Google_Service_Iam_UndeleteServiceAccountRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('undelete', array($params), "Google_Service_Iam_UndeleteServiceAccountResponse");
}
/**
* Note: This method is in the process of being deprecated. Use
* PatchServiceAccount instead.
*
* Updates a ServiceAccount.
*
* Currently, only the following fields are updatable: `display_name` and
* `description`. (serviceAccounts.update)
*
* @param string $name The resource name of the service account in the following
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
*
* Requests using `-` as a wildcard for the `PROJECT_ID` will infer the project
* from the `account` and the `ACCOUNT` value can be the `email` address or the
* `unique_id` of the service account.
*
* In responses the resource name will always be in the format
* `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
* @param Google_Service_Iam_ServiceAccount $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Iam_ServiceAccount
*/
public function update($name, Google_Service_Iam_ServiceAccount $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Iam_ServiceAccount");
}
}
|
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Model\test;
use App\Model\question;
class QuestionController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$data['list_question'] = question::all();
return view('admin.pages.list_question', $data);
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
$data['list_test'] = test::all();
return view('admin.pages.add_question', $data);
}
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(Request $request)
{
$request->validate(
[
'content' => 'required',
'answer_a' => 'required',
'answer_b' => 'required',
'answer_c' => 'required',
'answer_d' => 'required',
],
[
'content.required' => 'Bạn chưa nhập nội dung câu hỏi!',
'answer_a.required' => 'Bạn chưa điền đáp án a',
'answer_b.required' => 'Bạn chưa điền đáp án b',
'answer_c.required' => 'Bạn chưa điền đáp án c',
'answer_d.required' => 'Bạn chưa điền đáp án d',
]);
$question = new question;
$question->qes_content = $request->content;
$question->qes_answer_a = $request->answer_a;
$question->qes_answer_b = $request->answer_b;
$question->qes_answer_c = $request->answer_c;
$question->qes_answer_d = $request->answer_d;
$question->qes_correct_answer = $request->correct_answer;
$question->qes_test_id = $request->test;
$question->save();
return back()->with('themcauhoithanhcong', 'Thêm câu hỏi thành công!');
}
/**
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function show($id)
{
//
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function edit($id)
{
$data['edit_question'] = question::find($id);
$data['list_test'] = test::all();
return view('admin.pages.edit_question', $data);
}
/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param int $id
* @return \Illuminate\Http\Response
*/
public function update(Request $request, $id)
{
$request->validate(
[
'content' => 'required',
'answer_a' => 'required',
'answer_b' => 'required',
'answer_c' => 'required',
'answer_d' => 'required',
],
[
'content.required' => 'Bạn chưa nhập nội dung câu hỏi!',
'answer_a.required' => 'Bạn chưa điền đáp án a',
'answer_b.required' => 'Bạn chưa điền đáp án b',
'answer_c.required' => 'Bạn chưa điền đáp án c',
'answer_d.required' => 'Bạn chưa điền đáp án d',
]);
$question = question::find($id);
$question->qes_content = $request->content;
$question->qes_answer_a = $request->answer_a;
$question->qes_answer_b = $request->answer_b;
$question->qes_answer_c = $request->answer_c;
$question->qes_answer_d = $request->answer_d;
$question->qes_correct_answer = $request->correct_answer;
$question->qes_test_id = $request->test;
$question->save();
return redirect()->route('question.index')->with('suacauhoithanhcong', 'Sửa câu hỏi thành công!');
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function destroy($id)
{
question::destroy($id);
return back()->with('xoacauhoithanhcong', 'Xoá câu hỏi thành công!');
}
}
|
<?php
namespace colbygarland\Tests\Worlds\Bits;
trait MakesRecords
{
protected function record (): array
{
return [
"message" => "This is a test error",
"context" => [],
"level" => 400,
"level_name" => "ERROR",
"channel" => "local",
"datetime" => new \DateTime(),
"extra" => [],
"formatted" => "[2019-03-01 09:35:58] local.ERROR: This is a test error [] []\n"
];
}
}
|
<?php
/**
*@package Blog
*@autor Artur Skakunov
*@nick Analgin
*@link http://artorius-lab.ru
*@link http://vk.com/ultimus_amore_captus
*@version 1.0
*@file Ajax.php
*@about General Ajax-requests controller. All ajax-requests call to this
*@encoding utf-8
**/
/**
**Все методы должны быть указаны в массиве @m.
**Все методы должны возвращать значения через die().
**Все методы должны начинаться с префикса @ajax_.
** Числовые значения должны возвращаться через echo @val;die();
**/
defined('sys_access')or die('access_denied');
class Ajax
{
protected $pref = 'ajax_';
function __construct($e,$v)
{
$v = htmlspecialchars(htmlentities(trim($v)));
$m = [
'del' => 'del_art',
'sel' => 'sel_art',
'add_art' => 'add_art',
'add_cat' => 'add_cat',
're_cat' => 'rename_cat',
'del_cat' => 'delete_cat',
'min_sc' => 'score_min',
'max_sc' => 'score_max',
];
if(!array_key_exists($e,$m))
{
die('ololo');
}
if(array_key_exists($e,$m))
{
$meth = $this -> pref .$m[$e];
$this -> $meth($v);
}
}
//Удаление записи
public function ajax_del_art($id)
{
$c = new Connect();
$q = 'delete from articles where id = "'.$id.'"';
$r = $c -> query($q);
if($r)
{
die(true);
}
if(!$r)
{
die(false);
}
}
//Добавление каталога
public function ajax_add_cat($name)
{
$c = new Connect();
$ex = "select id from cats where name='$name'";
$is_ex = $c -> getOne($ex);
if($is_ex)
{
die("Категория уже существует!");
}
$q = 'insert into cats(name,cat_id)values("'.$name.'","'.Text::translit($name).'")';
$r = $c -> query($q);
if($r)
{
die("Выполнено!");
}
if(!$r)
{
die("Не выполнено!");
}
}
//Переименование каталога
public function ajax_rename_cat($d)
{
$data = split(',',$d);
$old = $data[0];
$new = $data[1];
$c = new Connect();
$q = "update cats set name='$new' where cat_id='$old'";
$r = $c -> query($q);
if($r)
{
die("Выполнено!");
}
if(!$r)
{
die("Не выполнено!");
}
}
//Удаления каталога
public function ajax_delete_cat($d)
{
$c = new Connect();
$q = "delete from cats where cat_id='$d'";
$r = $c -> query($q);
if($r)
{
die("Выполнено!");
}
if(!$r)
{
die("Не выполнено!");
}
}
//cat_id, keys, author, dt, text, img, title
//Добавление записи
public static function ajax_add_art($d)
{
$data = explode(',',$d);
$a = $data[0];
$b = $data[1];
$c = $data[2];
$d = $data[3];
$e = $data[4];
$f = $data[5];
$is_ok = Articles::add($a,$b,$c,$d,$e,$f);
die($is_ok);
}
//Уменьшение рейтинга записи
public static function ajax_score_min($id)
{
//$ip = $_SERVER['REMOTE_ADDR'];
$ip = "255.255.255";
$c = new Connect;
$scored_ip = "select ip from scored_ip where art_id = '$id'";
$is_scored = $c -> getOne($scored_ip);
$q = "select score from articles where id = '$id'";
$score = $c -> getOne($q);
if((int)$score === 0)
{
echo '0';
die();
}
if($ip === $is_scored)
{
echo $score;
die();
}
$new_c = $score - 1;
$q = "update articles set score = '$new_c' where id = '$id'";
$wr_ip = "insert into scored_ip(ip,art_id) values('$ip','$id');";
$c -> query($q);
$c -> query($wr_ip);
echo $new_c;
die();
}
//Увеличение рейтинга записи
public static function ajax_score_max($id)
{
//$ip = $_SERVER['REMOTE_ADDR'];
$ip = "255.255.255";
$c = new Connect;
$q = "select score from articles where id = '$id'";
$scored_ip = "select ip from scored_ip where art_id = '$id'";
$is_scored = $c -> getOne($scored_ip);
$q = "select score from articles where id = '$id'";
$score = $c -> getOne($q);
if($ip === $is_scored)
{
echo $score;
die();
}
$new_c = $score + 1;
$q = "update articles set score = '$new_c' where id = '$id'";
$wr_ip = "insert into scored_ip(ip,art_id) values('$ip','$id');";
$c -> query($q);
$c -> query($wr_ip);
echo $new_c;
die();
}
} |
<?php
/**
* Created by PhpStorm.
* User: dume
* Date: 19-11-2
* Time: 下午2:24
*/
namespace Dtool\Gif;
use Dtool\Gif\Giphy\GifSearchGiphy;
class Search
{
public static function getInstance($site, $proxy = '', $jar = '', $cookie = '') {
switch ($site) {
case "Giphy":
$obj = new GifSearchGiphy($proxy, $jar, $cookie);
break;
default:
throw new \Exception("未知网站类型");
}
return $obj;
}
} |
<?php
namespace App\Http\Controllers;
use App\Models\Lead;
use App\Models\LeadCategory;
use Illuminate\Http\Request;
use Yajra\DataTables\Facades\DataTables;
class LeadController extends Controller
{
/**
* @param Request $request
* @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View
* @throws \Exception
*/
public function index(Request $request)
{
if ($request->ajax()){
$data = Lead::orderBy('id', 'desc')->get();
return DataTables::of($data)
->addColumn('category', function($data) {
return $data->category->name ?? '-';
})
->addColumn('All', function($data) {
$html = '<input type="checkbox" class="filled-in chk-col-danger demo-checkbox" name="check" id="id-'.$data->id.'" value="'.$data->id.'"><label class="badge badge-pill badge-success shadow-warning m-1" for="id-'.$data->id.'">Select #'. $data->id.'</lecel>';
return $html;
})
->addColumn('action', function($data) {
return '<a href="'.route('lead.lead.show', $data).'" class="btn btn-primary" target="_blank">SHOW</a>
<button class="btn btn-danger" onclick="delete_function(this)" value="'.route('lead.lead.destroy', $data).'">DELETE</button>';
})
->addColumn('phone', function($data) {
return '<p onclick="SetPhone(\''.$data->id.'\',\''.$data->phone.'\')" >'.$data->phone.'</p>';
})
->rawColumns(['All','action', 'category', 'phone'])
->make(true);
}else{
return view('backend.lead.index');
}
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
$categories = LeadCategory::all();
return view('backend.lead.lead-create', compact('categories'));
}
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(Request $request)
{
//
}
/**
* Display the specified resource.
*
* @param \App\Models\Lead $lead
* @return \Illuminate\Http\Response
*/
public function show(Lead $lead)
{
//
}
/**
* Show the form for editing the specified resource.
*
* @param \App\Models\Lead $lead
* @return \Illuminate\Http\Response
*/
public function edit(Lead $lead)
{
//
}
/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param \App\Models\Lead $lead
* @return \Illuminate\Http\Response
*/
public function update(Request $request, Lead $lead)
{
//
}
/**
* Remove the specified resource from storage.
*
* @param \App\Models\Lead $lead
* @return \Illuminate\Http\Response
*/
public function destroy(Lead $lead)
{
try {
$lead->delete();
return response()->json([
'type' => 'success',
'message' => 'Successfully deleted.',
]);
}catch (\Exception $exception){
return response()->json([
'type' => 'error',
'message' => 'Something going wrong. '.$exception->getMessage(),
]);
}
}
public function category(Request $request){
if(!$request->ajax()){
return view('errors.404')->withErrors('Wrong access.');
}else{
$categories = LeadCategory::all();
$lead = Lead::find($request->lead);
$items = array();
foreach($categories as $category) {
if($lead->category_id == $category->id){
$items[] = '<option class="bg-success" selected value="'.$category->id.'">'.$category->name.'</option>';
}else{
$items[] = '<option value="'.$category->id.'">'.$category->name.'</option>';
}
}
return response()->json([
'categories' => $items
]);
}
}
public function categoryChange(Request $request){
if(!$request->ajax()){
return view('errors.404')->withErrors('Wrong access.');
}else{
$request->validate([
'category' => 'required|exists:lead_categories,id',
'lead' => 'required|exists:leads,id'
]);
$lead =Lead::find($request->lead);
$lead->category_id = $request->category;
try
{
$lead->save();
return response()->json([
'type' => 'success',
'message' => 'Successfully updated'
]);
}catch (\Exception $exception){
return response()->json([
'type' => 'error',
'message' => 'Something going wrong. '.$exception->getMessage()
]);
}
}
}
public function getByCategory(Request $request, $lead_category_id){
if ($request->ajax()){
// $data = Lead::orderBy('id', 'desc')->get();
$data = LeadCategory::find($lead_category_id)->leads;
return DataTables::of($data)
->addColumn('All', function($data) {
$html = '<input type="checkbox" class="filled-in chk-col-danger demo-checkbox" name="check" id="id-'.$data->id.'" value="'.$data->id.'"><label class="badge badge-pill badge-success shadow-warning m-1" for="id-'.$data->id.'">Select #'. $data->id.'</lecel>';
return $html;
})
->addColumn('category', function($data) {
return $data->category->name ?? '-';
})
->addColumn('action', function($data) {
return '<a href="'.route('lead.lead.show', $data).'" class="btn btn-primary" target="_blank">SHOW</a>
<button class="btn btn-danger" onclick="delete_function(this)" value="'.route('lead.lead.destroy', $data).'">DELETE</button>';
})
->rawColumns(['All', 'action', 'category'])
->make(true);
}else{
return view('backend.lead.index', compact('lead_category_id'));
}
}
// lead Category Update
public function leadCategoryUpdate(Request $request){
$request->validate([
'category_id' => 'required|exists:lead_categories,id',
]);
if (!$request->input(['leads'])){
return response()->json(['message'=>'Please select Lead.', 'type'=>'warning']);
}
$is_lead_any_one =null;
foreach($request->input(['leads']) as $item){
//Database
$lead = Lead::find($item);
if ($lead){
$lead->category_id = $request->category_id;
$lead->save();
$is_lead_any_one = 'Yes';
}else{
continue;
}
}
if ($is_lead_any_one != null)
return response()->json(['message'=>'Successfully updated.', 'type'=>'success']);
else
return response()->json(['message'=>'Please select Lead.', 'type'=>'warning']);
}
//lead Change Phone
public function leadChangePhone(Request $request)
{
$request->validate([
'phone' => 'required|string',
'lead' => 'required',
]);
$lead = Lead::findOrFail($request->lead);
$lead->phone = $request->phone;
try {
$lead->save();
return response()->json([
'type' => 'success',
'message' => 'Successfully Updated !.',
]);
} catch (\Exception $exception) {
return response()->json([
'type' => 'error',
'message' => 'Something going wrong. ',
]);
}
}
// lead Category add with leads
public function leadCategoryAddWithLeads(Request $request){
$request->validate([
'category' => 'required|string|unique:lead_categories,name',
]);
$category = new LeadCategory();
$category->name = $request->category;
$category->save();
$is_lead_any_one =null;
foreach($request->input(['leads']) as $item){
//Database
$lead = Lead::find($item);
if ($lead){
$lead->category_id = $category->id;
$lead->save();
$is_lead_any_one = 'Yes';
}else{
continue;
}
}
if ($is_lead_any_one != null)
return response()->json(['message'=>'Successfully create and updated.', 'type'=>'success']);
else
return response()->json(['message'=>'Category created without lead.', 'type'=>'warning']);
}
}
|
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class ChngeTableNameAgain extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::rename('men_panjabis_attributes', 'men-panjabis_attributes');
Schema::rename('men_pajama_attributes','men-pajamas_attributes');
Schema::rename('men_panjabi_pajama_set_attributes','men-panjabi_pajama_sets_attributes');
Schema::rename('men_shirt_attributes','men-shirts_attributes');
Schema::rename('men_watch_attributes','men-watches_attributes');
Schema::rename('men_wallet_attributes','men-wallets_attributes');
Schema::rename('men_bag_attributes','men-bags_attributes');
Schema::rename('men_cufflink_attributes','men-cufflinks_attributes');
Schema::rename('women_sharee_attributes','women-sharees_attributes');
Schema::rename('women__shalwar_kameez_attributes','women-shalwar_kameezs_attributes');
Schema::rename('women_single_piece_attributes','women-single_pieces_attributes');
Schema::rename('women_dupatta_attributes','women-dupattas_attributes');
Schema::rename('women_shoes_attributes','women-shoes_attributes');
Schema::rename('women_bag_attributes','women-bags_attributes');
Schema::rename('women_watch_attributes','women-watches_attributes');
Schema::rename('women_purse_attributes','women-purses_attributes');
Schema::rename('women_necklace_attributes','women-necklaces_attributes');
Schema::rename('women_earring_attributes','women-earrings_attributes');
Schema::rename('men_tshirt_attributes','men-t_shirts_attributes');
Schema::rename('mobiles_and_tablets_smartphone_attributes','mobiles_and_tablets-smartphones_attributes');
Schema::rename('mobiles_and_tablets_tablet_attributes','mobiles_and_tablets-tablets_attributes');
Schema::rename('mobiles_and_tablets_featured_phone_attributes','mobiles_and_tablets-featured_phones_attributes');
Schema::rename('mobiles_and_tablets_accessory_attributes','mobiles_and_tablets-accessories_attributes');
Schema::rename('men_shoe_attributes','men-shoes_attributes');
Schema::rename('men_belt_attributes','men-belts_attributes');
Schema::rename('computing_desktop_attributes','computing-desktops_attributes');
Schema::rename('computing_laptop_attributes','computing-laptops_attributes');
Schema::rename('computing_macbook_attributes','computing-macbooks_attributes');
Schema::rename('computing_accessory_attributes','computing-accessories_attributes');
Schema::rename('tv_and_electronics_led_tv_attributes','tv_and_electronics-led_tvs_attributes');
Schema::rename('tv_and_electronics_smart_tv_attributes','tv_and_electronics-smart_tvs_attributes');
Schema::rename('tv_and_electronics_3d_tv_attributes','tv_and_electronics-3d_tvs_attributes');
Schema::rename('tv_and_electronics_dvd_player_attributes','tv_and_electronics-dvd_players_attributes');
Schema::rename('tv_and_electronics_home_theater_attributes','tv_and_electronics-home_theaters_attributes');
Schema::rename('tv_and_electronics_tv_box_attributes','tv_and_electronics-tv_boxes_attributes');
Schema::rename('tv_and_electronics_tv_mount_attributes','tv_and_electronics-tv_mounts_attributes');
Schema::rename('tv_and_electronics_other_attributes','tv_and_electronics-others_attributes');
Schema::rename('cameras_and_accessories_camera_attributes','cameras_and_accessories-cameras_attributes');
Schema::rename('cameras_and_accessories_accessory_attributes','cameras_and_accessories-accessories_attributes');
Schema::rename('appliances_home_appliance_attributes','appliances-home_appliances_attributes');
Schema::rename('appliances_kitchen_appliance_attributes','appliances-kitchen_appliances_attributes');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}
|
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Storage;
class ScreenShot extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'adb:screen_shot {storageDir} {localStorageDir} {url}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'take a android screen shot and post it.';
/**
* @var string
*/
protected $name;
/**
* @var string
*/
protected $storagePath;
/**
* @var string
*/
protected $localStoragePath;
/**
* @var string
*/
protected $url;
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* @param array $arguments
*
* @return void
*/
protected function setConstant(array $arguments)
{
$this->name = date('Ymd_His') . '.png';
$this->storagePath = $arguments['storageDir'] . $this->name;
$this->localStoragePath = $arguments['localStorageDir'] . $this->name;
$this->url = $arguments['url'];
}
/**
* 端末の画面をオンにする(ロックなしの場合)
*
* @return void
*/
protected function adbKeyCodeMenu()
{
shell_exec('adb shell input keyevent 82');
}
/**
* スクリーンショットを撮影
*
* @return void
*/
protected function screenShot()
{
shell_exec(sprintf("adb shell screencap -p %s", $this->storagePath));
}
/**
* @return void
*/
protected function pullScreenShotToLocal()
{
// TASK Controller からコマンドを呼んで実行するとローカルの /storage へのパスが見えないため pull できない
// shell_exec(sprintf("adb pull %s %s", $this->storagePath, $this->localStoragePath));
shell_exec(sprintf("adb pull %s %s", $this->storagePath, './'));
}
protected function postScreenShot()
{
// shell_exec(sprintf("curl POST -F image=@%s -F date=%s %s", $this->localStoragePath, date("Ymd"), $this->url));
}
protected function removeUsedFile()
{
// shell_exec(sprintf("adb shell rm %s && rm %s", $this->storagePath, $this->localStoragePath));
shell_exec(sprintf("adb shell rm %s && rm %s", $this->storagePath, $this->name));
}
/**
* Execute the console command.
*
* @return mixed
* @throws \Exception
*/
public function handle()
{
// TASK: php から adb コマンドを叩いて post できるようにする
// $this->setConstant($this->arguments());
// $this->adbKeyCodeMenu();
// \Log::debug('key code menu');
// $this->screenShot();
// \Log::debug('screen shot');
// $this->pullScreenShotToLocal();
// \Log::debug('pull screen shot');
// $this->postScreenShot();
// \Log::debug('post screen shot');
// $this->removeUsedFile();
return 0;
}
}
|
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/', function () {
return redirect()->route('login');
});
Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');
Route::group(['prefix'=>'parkir'],function(){
Route::get('/','ParkirController@index');
});
Route::get('/lahan','LahanController@lahan');
Route::patch('updatelahan/{id}','LahanController@updatelahan');
Route::get('/parkiranku','ParkirController@input');
Route::post('/simpanparkir','ParkirController@simpanparkir');
Route::get('/parkiranku/dataparkir','ParkirController@dataparkir');
Route::get('/hapus/{id}','ParkirController@hapus');
Route::get('/edit/{id}','ParkirController@edit');
Route::patch('/updateparkir/{id}','ParkirController@updateparkir');
Route::get('/transaksi/{id}', 'ParkirController@transaksi');
Route::post('/simpantransaksi', 'TransaksiController@simpantransaksi');
Route::get('/struk/{id}', 'TransaksiController@struk');
Route::get('/struk1/{id}', 'TransaksiController@struk1');
Route::get('/laporansemua', 'ParkirController@laporansemua');
Route::get('/laporantransaksi', 'ParkirController@laporantransaksi');
Route::get('/query', 'ParkirController@query');
Route::get('/laporanhari', 'ParkirController@laporanhari'); |
<?php
namespace App\Http\Controllers\Admin;
use App\Models\CsvUpload;
use App\Http\Requests\StoreCsvUploadColumnMappingRequest;
use App\Jobs\DistributeCsvUploadContentIntoCsvRows;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class MapColumnsController extends Controller
{
// Muestra algunas filas de muestra para seleccionar a cual columna representa
// dentro de la estructura de datos de la aplicación
public function show(CsvUpload $csvUpload)
{
return view('admin.csvUploads.map-columns', compact('csvUpload'));
}
/**
* Una vez definidas las columnas CSV deben correlacionarse con los valores
* de la aplicación, enviar las publicaciones del formulario
*/
public function store(CsvUpload $csvUpload, StoreCsvUploadColumnMappingRequest $request)
{
// La asignación de columnas se actualiza en CSVUpload,
// se envía un nuevo trabajo
// y el usuario se redirige al índice de importación CSV
$csvUpload->update([
'column_mapping' => $request->fields,
]);
// Distribución de datos CSV en filas individuales (CsvRow)
$this->dispatch(new DistributeCsvUploadContentIntoCsvRows($csvUpload));
return redirect(route('admin.csvUploads.index'));
}
} |
<?php
class Wsu_WebForms_Block_Adminhtml_Webforms_Renderer_Results extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract {
public function render(Varien_Object $row) {
$value = Mage::getModel('webforms/results')->getCollection()->addFilter('webform_id', $row->getId())->count();
return $value . ' [ <a href="#" style="text-decoration:none" onclick="setLocation(\'' . $this->getRowUrl($row) . '\')">' . Mage::helper('webforms')->__('View') . '</a> ]';
}
public function getRowUrl(Varien_Object $row) {
return $this->getUrl('*/adminhtml_results', array(
'webform_id' => $row->getId()
));
}
} |
<?php
/**
* Created by PhpStorm.
* User: crafter
* Date: 02.07.2017
* Time: 16:34
*/
namespace ArticleBundle\Twig;
use ArticleBundle\Entity\Article;
use ArticleBundle\Service\ArticleService;
class UppercaseExtension extends \Twig_Extension
{
/**
* @var ArticleService
*/
private $articleService;
public function __construct(ArticleService $articleService)
{
$this->articleService = $articleService;
}
public function getFilters()
{
return [
new \Twig_SimpleFilter('myuppercase',array($this,'myupperCase'))
];
}
public function myupperCase($str) {
return $this->articleService->upperString($str);
}
} |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
class LoginController extends Controller
{
/**
* 登录页面
* @return \Illuminate\Contracts\View\Factory|\Illuminate\Http\RedirectResponse|\Illuminate\View\View
*/
public function index()
{
if(Auth::guard('admin')->check()){
return redirect()->back()->with('warning', '您已经登录过了,请不要重复登录');
}
return view('admin.login.login');
}
/**
* 登录逻辑
* @param Request $request
* @return \Illuminate\Http\RedirectResponse
*/
public function login(Request $request)
{
//验证
$this->validate($request, [
'name' => 'required',
'password' => 'required'
], [
'name.required' => '名称必须填写',
'password.required' => '密码必须填写',
]);
//逻辑
if(Auth::guard('admin')->attempt([
'name' => $request->input('name'),
'password' => $request->input('password'),
])){
return redirect()->route('admin.home.index')->with('success', '欢迎来到后台');
}else{
return redirect()->back()->withErrors('用户名密码不匹配');
}
//渲染
}
/**
* 登出逻辑
* @return \Illuminate\Http\RedirectResponse
*/
public function logout()
{
Auth::guard('admin')->logout();
return redirect()->route('admin.login')->with('success', '成功退出');
}
}
|
<?php
namespace Database\Factories;
use App\Models\Category;
use App\Models\Post;
use App\Models\Recruitment;
use Illuminate\Support\Arr;
use Illuminate\Support\Carbon;
use Illuminate\Support\Str;
use Illuminate\Database\Eloquent\Factories\Factory;
class RecruitmentFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Recruitment::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
$title = $this->faker->sentence(8);
return [
'user_id' => 1,
'title' => $title,
'slug' => Str::slug($title),
'desc' => $this->faker->paragraph(3),
'content' => $this->faker->paragraph(5),
'active' => true,
'meta_title' =>$title,
'meta_desc' => $this->faker->paragraph(2),
'language' => Arr::random(['vi', 'en']),
'deadline' => Carbon::now()->addDays(random_int(3,30))->format('Y-m-d')
];
}
/**
* Configure the model factory.
*
* @return $this
*/
public function configure()
{
return $this->afterCreating(function (Recruitment $recruitment) {
$catIds = Category::type(Category::TYPE_RECRUIT)->get('id')->pluck('id');
$recruitment->categories()->attach($catIds->random());
$recruitment->addMediaFromUrl(asset('images/img2.jpg'))
->setFileName($recruitment->slug . '.jpg')
->toMediaCollection(Recruitment::MEDIA_COLLECT);
});
}
}
|
<?php
class UserController
{
static function authorization($name, $pass) {
try {
if (!UserController::checkName($name)) {
$_SESSION['loginErr'][] = 'логин должен быть два или более символов';
}
if (!UserController::checkPassword($pass)) {
$_SESSION['loginErr'][] = 'пароль должен быть шесть или более символов';
}
if (!empty($_SESSION['loginErr'])) {
return false;
}
if (UserController::checkUserAndPass($name, $pass)) {
return true;
}
if (UserController::checkUserExist($name)) {
$_SESSION['loginErr'][] = 'не правильный пароль';
return false;
}
if (UserController::addNewUser($name, $pass)) {
return true;
}
$_SESSION['err'][] = 'что-то пошло не так';
return false;
} catch (Exception $err){
$_SESSION['err'][] = $err->getMessage();
return false;
}
}
private static function addNewUser($name, $pass) {
$db = Db::getConnection();
$sql = 'INSERT INTO users (name, pass) '
. 'VALUES (:name, :pass)';
$result = $db->prepare($sql);
$result->bindParam(':name', $name, PDO::PARAM_STR);
$result->bindParam(':pass', $pass, PDO::PARAM_STR);
return $result->execute();
}
private static function checkUserAndPass($name, $pass)
{
$db = Db::getConnection();
$sql = 'SELECT * FROM users WHERE name = :name AND pass = :pass';
$result = $db->prepare($sql);
$result->bindParam(':name', $name, PDO::PARAM_STR);
$result->bindParam(':pass', $pass, PDO::PARAM_STR);
$result->execute();
$user = $result->fetch();
if ($user) {
return true;
}
return false;
}
private static function checkUserExist($name)
{
$db = Db::getConnection();
$sql = 'SELECT * FROM users WHERE name = :name';
$result = $db->prepare($sql);
$result->bindParam(':name', $name, PDO::PARAM_STR);
$result->execute();
$user = $result->fetch();
if ($user) {
return true;
}
return false;
}
private static function checkName($name)
{
if (strlen($name) >= 2) {
return true;
}
return false;
}
private static function checkPassword($password)
{
if (strlen($password) >= 6) {
return true;
}
return false;
}
}
|
<?php
namespace Atemschutz\NachweisBundle\Pdf;
use Atemschutz\NachweisBundle\Statistik\Jahresstatistik;
use Atemschutz\CoreBundle\Entity\User;
use Symfony\Component\Security\Core\SecurityContext;
class YearPdf extends \TCPDF {
/**
*
* @var User
*/
private $user;
public function __construct(SecurityContext $securityContext) {
parent::__construct();
$this->user = $securityContext->getToken()->getUser();
}
/**
*
*/
public function Header() {
$this->Image('../src/Atemschutz/CoreBundle/Resources/public/images/logo.png', 140, 10, 100, 0);
$this->SetY(10);
$this->SetFont('helvetica', 'U', 16);
$this->Cell(0, 10, 'Jahresstatistik');
}
/**
*
*/
public function Footer() {
$this->SetY(-15);
$this->SetFont('helvetica', '', 8);
$date = new \DateTime();
$this->Cell(20, 10, $date->format('d.m.Y'), 0, false, 'L', 0, '', 0, false, 'T', 'M');
$this->Cell(150, 10, 'Bearbeiter: '.$this->user->__toString(), 0, false, 'C', 0, '', 0, false, 'T', 'M');
$this->Cell(15, 10, 'Seite '.$this->getAliasNumPage().'/'.$this->getAliasNbPages(), 0, false, 'L', 0, '', 0, false, 'T', 'M');
}
public function create(Jahresstatistik $jahresstatistik) {
$this->SetCreator($this->user->__toString());
$this->SetAuthor('ATS.net 2');
$this->SetTitle('Jahresstatistik '.$jahresstatistik->getJahr());
$this->SetSubject('Jahresstatistik '.$jahresstatistik->getJahr());
$this->AddPage();
$this->SetFont('helvetica', 'B', 14);
$this->SetY(25);
$this->Cell(0, 10, 'Jahresstatistik '.$jahresstatistik->getJahr(), 0, 1);
$this->Ln(5);
$this->SetFont('helvetica', 'B', 12);
$this->Cell(0, 10, 'Lehrgänge', 0, 1);
$this->SetFont('helvetica', '', 11);
$this->Cell(70, 5, 'Atemschutzgeräteträgerlehrgang I:');
$this->Cell(10, 5, $jahresstatistik->getLehrgaengeAts1(), 0, 1);
$this->Cell(70, 5, 'Atemschutzgeräteträgerlehrgang II:');
$this->Cell(10, 5, $jahresstatistik->getLehrgaengeAts2(), 0, 1);
$this->addSum($jahresstatistik->getLehrgaengeAts1() + $jahresstatistik->getLehrgaengeAts2());
$this->SetFont('helvetica', 'B', 12);
$this->Cell(0, 10, 'Untersuchungen nach G26', 0, 1);
$this->SetFont('helvetica', '', 11);
$this->Cell(70, 5, 'Gerätegruppe 1:');
$this->Cell(10, 5, $jahresstatistik->getG26_1(), 0, 1);
$this->Cell(70, 5, 'Gerätegruppe 2:');
$this->Cell(10, 5, $jahresstatistik->getG26_2(), 0, 1);
$this->Cell(70, 5, 'Gerätegruppe 3:');
$this->Cell(10, 5, $jahresstatistik->getG26_3(), 0, 1);
$this->addSum($jahresstatistik->getG26_1() + $jahresstatistik->getG26_2() + $jahresstatistik->getG26_3());
$this->SetFont('helvetica', 'B', 12);
$this->Cell(0, 10, 'Erbrachte Nachweise', 0, 1);
$this->SetFont('helvetica', '', 11);
$sum = 0;
foreach ($jahresstatistik->getNachweise() as $nachweis => $count) {
$this->Cell(70, 5, $nachweis);
$this->Cell(10, 5, $count, 0, 1);
$sum += $count;
}
$this->addSum($sum);
$this->SetFont('helvetica', 'B', 12);
$this->Cell(0, 10, 'Gesamtzeit unter Atemschutz', 0, 1);
$this->SetFont('helvetica', '', 11);
$this->Cell(10, 5, $jahresstatistik->getMinutenAts().' Minuten = '.$jahresstatistik->getStundenAts().' Stunden', 0, 1);
$this->Output('test.pdf', 'I');
}
private function addSum($sum) {
$this->Cell(70, 5);
$this->SetFont('helvetica', 'B');
$this->Cell(10, 5, $sum, 0, 1);
$this->SetFont('helvetica', '');
}
} |
<?php
namespace OpenSearchServer\Crawler\Web\Patterns;
abstract class Insert extends Patterns
{
/**
* if set to true every previous patterns will be deleted
* @param unknown_type $replace
*/
public function replace($replace = true) {
if($replace === true) {
$this->parameters['replace'] = 'true';
}
return $this;
}
/******************************
* INHERITED METHODS OVERRIDDEN
******************************/
/**
* {@inheritdoc}
*/
public function getMethod()
{
return self::METHOD_PUT;
}
} |
<?php
use BasicApp\Helpers\Url;
use BasicApp\Admin\AdminEvents;
use BasicApp\System\SystemEvents;
use BasicApp\System\Events\SystemResetEvent;
use BasicApp\System\Events\SystemSeedEvent;
use BasicApp\Blog\Database\Seeds\BlogResetSeeder;
use BasicApp\Blog\Database\Seeds\BlogSeeder;
use Config\Database;
use BasicApp\Blog\Forms\BlogConfigForm;
if (class_exists(AdminEvents::class))
{
AdminEvents::onMainMenu(function($menu)
{
$menu->items['blog'] = [
'url' => Url::createUrl('admin/blog-post'),
'label' => t('admin.menu', 'Blog'),
'icon' => 'fa fa-coffee'
];
});
AdminEvents::onOptionsMenu(function($event)
{
$event->items[BlogConfigForm::class] = [
'label' => t('admin.menu', 'Blog'),
'url' => Url::createUrl('admin/config', ['class' => BlogConfigForm::class]),
'icon' => 'fa fa-fw fa-coffee'
];
});
}
SystemEvents::onSeed(function(SystemSeedEvent $event)
{
$seeder = Database::seeder();
$seeder->call(BlogSeeder::class);
});
SystemEvents::onReset(function(SystemResetEvent $event)
{
$seeder = Database::seeder();
$seeder->call(BlogResetSeeder::class);
}); |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use \kartik\grid\GridView;
/* @var $this yii\web\View */
/* @var $model jpunanua\seotools\models\base\MetaBase */
$this->title = $model->title;
$this->params['breadcrumbs'][] = ['label' => Yii::t('seotools', 'Meta Bases'), 'url' => ['index']];
$this->params['breadcrumbs'][] = !empty($model->title)?$model->title:$model->id_meta;
?>
<div class="meta-base-view">
<h1><?= Html::encode($this->title) ?></h1>
<p>
<?= Html::a(Yii::t('seotools', 'Update'), ['update', 'id' => $model->id_meta], ['class' => 'btn btn-primary']) ?>
<?= Html::a(Yii::t('seotools', 'Delete'), ['delete', 'id' => $model->id_meta], [
'class' => 'btn btn-danger',
'data' => [
'confirm' => Yii::t('seotools', 'Are you sure you want to delete this item?'),
'method' => 'post',
],
]) ?>
</p>
<?= DetailView::widget([
'model' => $model,
'attributes' => [
'id_meta',
'hash',
'route',
'robots_index',
'robots_follow',
'author',
'title',
'keywords:ntext',
'description:ntext',
'h1_title',
'infotext_before:ntext',
'infotext_after:ntext',
'sitemap',
'sitemap_change_freq',
'sitemap_priority',
'created_at',
'updated_at',
],
]) ?>
<?= Html::a(Yii::t('seotools', 'Create Infotext'), ['infotext/create', '_j' => $model->id_meta], ['class' => 'btn btn-success']) ?>
<!-- --><?php // \yii\bootstrap\Modal::begin([
// 'id' => 'infotext-modal',
// 'header' => ' ',
// 'toggleButton' => [
// 'label' => 'Create Infotext',
// 'data-target' => '#infotext-modal',
// 'class' => 'btn btn-success',
// 'onclick'=>'create_infotext('.$model->id_meta.')',
// ],
// ]);
// \yii\bootstrap\Modal::end(); ?>
<?= GridView::widget([
'id' => 'manage-infotext-grid',
'dataProvider' => $infotext,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
//'meta_id',
'city.name',
'infotext_before:ntext',
'infotext_after:ntext',
['class' => 'yii\grid\ActionColumn',
'urlCreator'=>function($action, $model, $key, $index){
return yii\helpers\Url::toRoute(['infotext/'.$action, 'id' => $model->id, '_j' => $model->meta_id] );
},
'template'=>'{update} {delete}',
],
],
]); ?>
</div>
|
<?php
/**
* This file is part of the Zephir.
*
* (c) Phalcon Team <team@zephir-lang.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Zephir\FunctionLike\ReturnType;
interface TypeInterface
{
const TYPE_PARAMETER = 'return-type-parameter';
const TYPE_ANNOTATION = 'return-type-annotation';
/**
* Gets the intermediate type.
*
* In most cases this will be a "return-type-parameter"
* string except for some rare cases.
*
* @return string
*/
public function getType();
/**
* Gets return data type name.
*
* @return string
*/
public function getDataType();
/**
* Gets casted return type.
*
* @return string|null
*/
public function getValue();
/**
* Is return type mandatory.
*
* @return mixed
*/
public function isMandatory();
/**
* Is the return value a collection.
*
* @return bool
*/
public function isCollection();
/**
* Is the return type a real type or it is just a cast hint.
*
* @return bool
*/
public function isRealType();
}
|
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "nivel_atencion_pregunta".
*
* @property string $id_nivel_atencion
* @property string $id_pregunta
*
* @property NivelAtencion $idNivelAtencion
* @property Pregunta $idPregunta
*/
class NivelAtencionPregunta extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'nivel_atencion_pregunta';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['id_nivel_atencion', 'id_pregunta'], 'required'],
[['id_nivel_atencion', 'id_pregunta'], 'integer']
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id_nivel_atencion' => 'Id Nivel Atencion',
'id_pregunta' => 'Id Pregunta',
];
}
/**
* @return \yii\db\ActiveQuery
*/
public function getIdNivelAtencion()
{
return $this->hasOne(NivelAtencion::className(), ['id_nivel_atencion' => 'id_nivel_atencion']);
}
/**
* @return \yii\db\ActiveQuery
*/
public function getIdPregunta()
{
return $this->hasOne(Pregunta::className(), ['id_pregunta' => 'id_pregunta']);
}
}
|
<?php
namespace Jacobemerick\LifestreamService\Cron\Process;
use DateTime;
use Exception;
use stdclass;
use Interop\Container\ContainerInterface as Container;
use Jacobemerick\LifestreamService\Cron\CronInterface;
use Jacobemerick\LifestreamService\Model\Blog as BlogModel;
use Psr\Log\LoggerAwareInterface;
use Psr\Log\LoggerAwareTrait;
use Psr\Log\NullLogger;
class BlogComment implements CronInterface, LoggerAwareInterface
{
use LoggerAwareTrait;
use ProcessTrait;
/** @var Container */
protected $container;
/**
* @param Container
*/
public function __construct(Container $container)
{
$this->container = $container;
$this->logger = new NullLogger;
}
public function run()
{
try {
$posts = $this->fetchPosts($this->container->get('blogModel'));
} catch (Exception $exception) {
$this->logger->error($exception->getMessage());
return;
}
$posts = array_map([ $this, 'collectComments' ], $posts);
foreach ($posts as $post) {
$event = $this->getEvent(
$this->container->get('eventModel'),
'blog',
$post['id']
);
if (!$event) {
continue;
}
$previousMetadata = json_decode($event['metadata']);
if (!$post['comments']) {
$newMetadata = (object) [];
} else {
$newMetadata = (object) [
'comments' => $post['comments'],
];
}
if ($previousMetadata == $newMetadata) {
continue;
}
try {
$this->updateEventMetadata(
$this->container->get('eventModel'),
$event['id'],
$newMetadata
);
} catch (Exception $exception) {
$this->logger->error($exception->getMessage());
return;
}
$this->logger->debug("Update blog event: {$post['id']}");
}
}
/**
* @param BlogModel $blogModel
* @return array
*/
protected function fetchPosts(BlogModel $blogModel)
{
return $blogModel->getPosts();
}
/**
* @param array $post
* @return array
*/
protected function collectComments(array $post)
{
$blogCommentModel = $this->container->get('blogCommentModel');
$commentCount = $blogCommentModel->getCommentCountByPage($post['permalink']);
$post['comments'] = $commentCount;
return $post;
}
}
|
<?php
/**
* @author Jokūbas Ramanauskas
* @since 3/30/14
*/
namespace Controller;
class IndexController extends BaseController
{
public function __construct()
{
}
public function defaultAction()
{
return $this->render('index', array());
}
} |
<?php
namespace Cerbero\LaravelDto\Traits;
use Cerbero\Dto\Exceptions\DtoNotFoundException;
use Cerbero\LaravelDto\Dto;
use Cerbero\LaravelDto\Factories\DtoFactory;
use Cerbero\LaravelDto\Factories\DtoFactoryContract;
use Cerbero\LaravelDto\Factories\ModelDtoFactory;
use Illuminate\Database\Eloquent\Model;
use InvalidArgumentException;
use const Cerbero\Dto\CAST_PRIMITIVES;
use const Cerbero\Dto\NONE;
/**
* The trait to turn an object into a DTO.
*
*/
trait TurnsIntoDto
{
/**
* Retrieve a DTO instance based on the current object data.
*
* @param string|int|null $dto
* @param int $flags
* @return Dto
* @throws InvalidArgumentException
* @throws DtoNotFoundException
*/
public function toDto($dto = null, int $flags = NONE): Dto
{
$flags = is_int($dto) ? $dto : $flags;
$flags |= $this instanceof Model ? CAST_PRIMITIVES : NONE;
$dto = $this->getDtoToTurnInto($dto);
return $this->getDtoFactory()->make($dto, $this, $flags);
}
/**
* Retrieve the DTO class to turn the current object into
*
* @param mixed $dto
* @return string
* @throws InvalidArgumentException
* @throws DtoNotFoundException
*/
protected function getDtoToTurnInto($dto): string
{
$dto = is_string($dto) ? $dto : $this->getDtoClass();
if (!$dto) {
throw new InvalidArgumentException('Unable to turn [' . static::class . '] into DTO, no class specified');
} elseif (!is_subclass_of($dto, Dto::class)) {
throw new DtoNotFoundException($dto);
}
return $dto;
}
/**
* Retrieve the DTO class
*
* @return string|null
*/
protected function getDtoClass(): ?string
{
return $this->dtoClass;
}
/**
* Retrieve the DTO assembler
*
* @return DtoFactoryContract
*/
protected function getDtoFactory(): DtoFactoryContract
{
return $this instanceof Model ? new ModelDtoFactory() : new DtoFactory();
}
}
|
<?php
namespace LSPriority\Controller;
use Zend\View\Model\ViewModel;
use LSBase\Controller\CrudController;
/**
* PriorityController
*
* Classe Controller PriorityController
*
* @package LSPriority\Controller
* @author Jesus Vieira <jesusvieiradelima@gmail.com>
* @version v1.0
*/
class PriorityController extends CrudController
{
public function __construct ()
{
$this->controller = 'priority';
$this->entity = 'LSPriority\Entity\Priority';
$this->form = 'LSPriority\Form\Priority';
$this->service = 'LSPriority\Service\Priority';
$this->route = 'priority';
}
/**
* newAction
*
* Exibe pagina de cadastro.
*
* @author Jesus Vieira <jesusvieiradelima@gmail.com>
* @access public
* @return \Zend\View\Model\ViewModel
*/
public function newAction ()
{
$form = new $this->form();
$request = $this->getRequest ();
if ( $request->isPost () ) {
$form->setData ($request->getPost ());
$data = $request->getPost ()->toArray ();
$duplicate = $this->getEm ()->getRepository ($this->entity)->findOneBy (array('description' => $data['description']));
if ($duplicate) {
return new ViewModel (array('form' => $form, 'duplicate' => 'Já existe um cadastrado com este nome!'));
}
if ( $form->isValid () ) {
$service = $this->getServiceLocator ()->get ($this->service);
$service->insert ($data);
return $this->redirect ()->toRoute ($this->route, array('controller' => $this->controller));
}
}
return new ViewModel (array('form' => $form));
}
/**
* editAction
*
* Exibe pagina para editar o registro.
*
* @author Jesus Vieira <jesusvieiradelima@gmail.com>
* @access public
* @return \Zend\View\Model\ViewModel
*/
public function editAction ()
{
$form = new $this->form();
$request = $this->getRequest ();
$param = $this->params ()->fromRoute ('id', 0);
$repository = $this->getEm ()->getRepository ($this->entity);
$entity = $repository->find ($param);
if ($entity) {
$form->setData ($entity->toArray ());
if ( $request->isPost () ) {
$form->setData ($request->getPost ());
$data = $request->getPost ()->toArray ();
$duplicate = $this->getEm ()->getRepository ($this->entity)->findOneBy (array('description' => $data['description']));
if ($duplicate) {
return new ViewModel (array('form' => $form, 'id' => $param, 'duplicate' => 'Já existe um cadastrado com este nome!'));
}
if ( $form->isValid () ) {
$service = $this->getServiceLocator ()->get ($this->service);
$service->update ($data);
return $this->redirect ()->toRoute ($this->route, array('controller' => $this->controller));
}
}
} else {
return $this->redirect ()->toRoute ($this->route, array('controller' => $this->controller));
}
return new ViewModel (array('form' => $form, 'id' => $param));
}
}
|
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
/**
* App\Department
*
* @property-read mixed $max_salary
* @property-read mixed $people_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Membership[] $memberships
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Person[] $people
* @mixin \Eloquent
*/
class Department extends Model
{
protected $fillable = ['title'];
public function people()
{
return $this->hasManyThrough(
Person::class,
Membership::class,
'department_id',
'id',
'id',
'person_id'
);
}
public function memberships()
{
return $this->belongsToMany(Membership::class, 'memberships',
'department_id', 'person_id')
// для обновления timestamps
->withTimestamps();
}
public function getMaxSalaryAttribute()
{
return $this->people->max('salary');
}
public function getPeopleCountAttribute()
{
return $this->people->count();
}
}
|
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
use App\Models\Role;
use Illuminate\Support\Facades\Hash;
use Session;
use DataTables;
use DB;
use Auth;
class UserController extends Controller
{
public function index(Request $request)
{
if (!is_permission('admin_user')) {
return view('errors.404');
}
$data['users'] = DB::table('role_user')
->select('users.*', 'roles.name as role_name')
->join('users', 'role_user.user_id', '=', 'users.id')
->join('roles', 'role_user.role_id', '=', 'roles.id')
->where('users.deleted_at', null)
->where('roles.deleted_at', null)
->paginate(10);
return view('user.index', $data);
}
/**
* Add new customer
*/
public function add(Request $request)
{
if (!is_permission('admin_user')) {
return view('errors.404');
}
if (!$_POST) {
$data['role'] = Role::get();
return view('user.add', $data);
} else {
$validation = $request->validate([
'name' => ['required', 'string', 'max:255', 'unique:users'],
'email' => ['required', 'string', 'email', 'max:255', 'unique:users'],
'role' => ['required'],
'password' => ['required', 'string', 'min:6'],
'password_confirmation' => 'required|required_with:password|same:password',
]);
if ($validation) {
User::create([
'name' => $request->name,
'email' => $request->email,
'password' => Hash::make($request->password),
]);
if ($request->role) {
$user_id = User::latest('id')->first();
DB::table('role_user')->insert([
['user_id' =>$user_id->id , 'role_id' => $request->role]
]);
}
}
flash_message('success', 'Add New User Successfully');
return redirect("user");
}
}
/**
* Update User
*/
public function edit(Request $request)
{
if (!is_permission('admin_user')) {
return view('errors.404');
}
if (!$_POST) {
$data['user'] = User::where('id', $request->id)->first();
$data['role'] = Role::get();
$data['role_user'] = DB::table('role_user')->where('user_id', $request->id)->first();
return view('user.edit', $data);
} else {
//Check password change or not
if (empty($request->password)) {
$validation = $request->validate([
'name' => 'required',
"email" =>'required|email|unique:users,email,'.$request->id.',id',
]);
if ($validation) {
user::where('id', $request->id)
->update([
'name' => $request->name,
'email' => $request->email,
]);
//Update role Admin
if ($request->role) {
DB::table('role_user')
->where('user_id', $request->id)
->update(
["role_id" => $request->role]
);
}
}
} else {
$validation = $request->validate([
'name' => 'required',
"email" =>'required|email|unique:users,email,'.$request->id.',id',
'password' => 'required|min:6',
'password_confirmation' => 'required|required_with:password|same:password',
]);
if ($validation) {
User::where('id', $request->id)
->update([
'name' => $request->name,
'email' => $request->email,
'password' => Hash::make($request->password)
]);
if ($request->role) {
DB::table('role_user')
->where('user_id', $request->id)
->update(
["role_id" => $request->role]
);
}
}
}
flash_message('success', 'Update User Successfully');
return redirect('user');
}
}
/** Delete user Admin */
public function delete(Request $request)
{
if (!is_permission('admin_user')) {
return view('errors.404');
}
$user= User::where('id', $request->id)->update([
'deleted_at' => date('Y-m-d H:i:s'),
'deleted_by' => Auth::user()->id,
]);
if ($user) {
flash_message('success', 'Delete Successfully');
return redirect('user');
}
}
// user disnable
public function disable(Request $request)
{
if (!is_permission('admin_user')) {
return view('errors.404');
}
$disable = User::where('id', $request->id)->update(['status' => 0]);
if ($disable) {
flash_message('success', 'Disable User Successfully');
return redirect('user');
}
}
// user enable
public function enable(Request $request)
{
if (!is_permission('admin_user')) {
return view('errors.404');
}
$enable = User::where('id', $request->id)->update(['status' => 1]);
if ($enable) {
flash_message('success', 'Enable User Successfully');
return redirect('user');
}
}
//Profile
public function profile(Request $request)
{
if (!$_POST) {
return view('user.profile');
} else {
if (empty($request->password)) {
$validation = $request->validate([
'name' => 'required',
"email" =>'required|email|unique:users,email,'.Auth::user()->id.',id',
]);
if ($validation) {
User::where('id', Auth::user()->id)
->update([
'name' => $request->name,
'email' => $request->email,
]);
//Uploading Image
if ($request->profile_image) {
$validation = $request->validate([
'profile_image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
]);
if ($validation) {
$image = imageUploadPost($request->profile_image);
User::where('id', Auth::user()->id)
->update([
'profile_image' => $image,
]);
}
}
}
} else {
$validation = $request->validate([
'name' => 'required',
"email" =>'required|email|unique:users,email,'.Auth::user()->id.',id',
'password' => 'required',
'password_confirmation' => 'required|required_with:password|same:password',
]);
if ($validation) {
User::where('id', Auth::user()->id)
->update([
'name' => $request->name,
'email' => $request->email,
'password' => Hash::make($request->password)
]);
//Uploading images
if ($request->profile_image) {
$validation = $request->validate([
'profile_image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
]);
if ($validation) {
$image = imageUploadPost($request->profile_image);
User::where('id', Auth::user()->id)
->update([
'profile_image' => $image,
]);
}
}
}
}
}
flash_message('success', 'Update Profile Successfully');
return redirect('/');
}
}
|
<?php
namespace Elastica\Query;
use Elastica\Param;
/**
* Abstract query object. Should be extended by all query types.
*
* @author Nicolas Ruflin <spam@ruflin.com>
*/
abstract class AbstractQuery extends Param
{
}
|
<?php
declare(strict_types=1);
namespace BookShop\Infrastructure\Adapters\Doctrine\CommandModel;
use BookShop\Domain\Book\Book;
use BookShop\Domain\Book\BookNotFound;
use Doctrine\ORM\EntityManagerInterface;
use Ramsey\Uuid\UuidInterface;
class BookRepository implements \BookShop\Domain\Book\BookRepository
{
public function __construct(
private EntityManagerInterface $entityManager
) {
}
public function get(UuidInterface $id): Book
{
return $this->entityManager->find(Book::class, $id) ?? throw new BookNotFound();
}
public function store(Book $book): void
{
$this->entityManager->persist($book);
}
}
|
When you start a new Laravel project, error and exception handling is already configured for you.
The App\Exceptions\Handler class is where all exceptions thrown by your app are logged and then rendered to the user.
The debug option in your config/app.php file determines how much information about an error is actually displayed to the user.
By default, this option is set to respect the value of the APP_DEBUG environment variable from your .env file.
During local development, APP_DEBUG should be set to true.
In your production environnment, APP_DEBUG should be false. If not, you risk exposing sensitive info to your end users.
The Exception Handler
=======================
All exceptions are handled by the The App\Exceptions\Handler class.
This class contains a register method where you can register custom exception reporting and rendering callbacks.
Reporting Exceptions
====================
Exception reporting is used to log exceptions or send them to an external service like Flare, Bugsnag, or Sentry.
By default, exceptions will be logged based on your logging configuration, but you can log them however you wish.
If you need to report different types of exceptions in different ways, use the reportable method to register a closure that should be executed when an exception of a given type needs to be reported. Laravel will deduce what type of exception the closure reports by examining its type-hint.
<?
use App\Exceptions\InvalidOrderException;
public function register()
{
$this->reportable(function (InvalidOrderException $e) {
//
});
}
?>
When you register a custom exception reporting callback using the reportable method, Laravel will still log the exception using the default logging configuration for the app.
If you wish to stop the propagation of the exception to your default logging stack, you can use the stop method when defining your callback or return false from the callback:
<?
$this->reportable(function (InvalidOrderException $e) {
//
})->stop();
$this->reportable(function (InvalidOrderException $e) {
return false;
});
?>
If available, Laravel automatically adds the current user's ID to every exception's log message as contextual data. You can define your own global contextual data by overriding the context method of your app's Handler class.
This info will be included in every exception's log message written by your app:
<?
protected function context()
{
return array_merge(parent::context(), [
'foo' => 'bar',
]);
}
?>
If you need to report an exception but continue handling the current request, use the report helper function. It lets you quickly report the exception via the handler without rendering an error page to the user:
<?
public function isValid($value)
{
try {
// Validate the value...
} catch (Throwable $e) {
report($e);
return false;
}
}
?>
Ignoring Exceptions by Type
============================
To ignore and never report some types of exceptions, use the handler's $dontReport property. It's intialized to an empty array. Any classes you add to this property will never be reported although they may still have custom rendering logic:
<?
use App\Exceptions\InvalidOrderException;
protected $dontReport = [
InvalidOrderException::class,
];
?>
Rendering Exceptions
====================
By default, the handler will convert exceptions into an HTTP response for you. However, you're free to register a custom rendering closure for exceptions of a given type.
You can do this with the renderable method of your handler.
The closure passed to the renderable method should return a Response instance. Laravel will deduce which type of exception the closure renders by examining its type-hint:
<?
use App\Exceptions\InvalidOrderException;
public function register()
{
$this->renderable(function (InvalidOrderException $e, $request) {
return response()->view('errors.invalid-order', [], 500);
});
}
?>
Reportable and Renderable Exceptions
====================================
Instead of type-checking exceptions in the handler's register method, you can define report and render methods directly on your custom exceptions.
When these methods exist, they'll automatically be called by the framework:
<?
namespace App\Exceptions;
use Exception;
class InvalidOrderException extends Exception
{
public function report()
{
//
}
public function render($request)
{
return response(...);
}
}
?>
If your exception contains custom reporting logic that is only necessary when certain conditions are met, you may need to instruct Laravel to sometimes report the exception using the default exception handling configuration.
To do this, return false from the exception's report method:
<?
public function report()
{
// Determine if the exception needs custom reporting...
return false;
}
?>
HTTP Exceptions
=======================
Some exceptions describe HTTP error codes from the server. For example, 404, 401, 500 errors.
In order to generate such a response from anywhere in your app, you can use the abort helper:
<? abort(404); ?>
Custom HTTP Error Pages
===========================
If you wish to customize the error page for 404 codes, create a resources/views/errors/404.blade.php file.
This file will be served on all 404 errors generated by your app. The views within this directory should match the HTTP status code they correspond to.
The Symfony\Component\HttpKernel\Exception\HttpException instance raised by the abort function will be passed to the view as an $exception variable:
<h2>{{ $exception->getMessage() }}</h2>
You can publish Laravel's default error page templates using the vendor:publish Artisan command. Once they're published, you can customize them to your liking:
php artisan vendor:publish --tag=laravel-errors
|
<?php
namespace IntellivoidAccounts\Exceptions;
use Exception;
use IntellivoidAccounts\Abstracts\ExceptionCodes;
/**
* Class TooManyPromptRequestsException
* @package IntellivoidAccounts\Exceptions
*/
class TooManyPromptRequestsException extends Exception
{
/**
* TooManyPromptRequestsException constructor.
*/
public function __construct()
{
parent::__construct("There are too many requests at the moment", ExceptionCodes::TooManyPromptRequestsException, null);
}
} |
<?php
namespace App\Repositories\Eloquent\Api;
use App\Repositories\Contracts\Api\ConfigRepositoryContract;
use App\Models\Config;
class ConfigRepository implements ConfigRepositoryContract
{
private $config_model;
public function __construct(Config $config_model)
{
$this->config_model = $config_model;
}
/**
* Display a listing of the resource
*
* @return array $configs
*/
public function index()
{
$configs = $this->config_model->all();
return $configs;
}
/**
* Update the specified resouce in storage.
*
* @param object $request
*
* @return array
*/
public function update($request)
{
$this->updateConfig($request);
return [];
}
/**
* Update config
*
* @param \Illuminate\Http\Request $request
*/
public function updateConfig($request)
{
$configs = $request->all();
foreach ($configs as $key => $value) {
$config = $this->config_model->where('name', $key)->firstOrFail();
$config->update([
'value' => $value
]);
}
}
}
|
<?php
// === Constants ===
// Set script folder
define('API_PATH', './');
// Get Request URI
define('API_URL', strtok($_SERVER['REQUEST_URI'], '?'));
// Get HTTP host
define('API_DOMAIN', 'http://'.$_SERVER['HTTP_HOST']);
// === Connect to database ===
// Connect to MySQL database
include('config-secrets.php');
/*
config-mysql.php is not included in the GitHub repository for security reasons, but it contains the following self-explanatory variables:
$mysql_host = 'HOSTNAME';
$mysql_db = 'DATABASE';
$mysql_user = 'USERNAME';
$mysql_pass = 'PASSWORD';
$jwt_secret = 'SECRET KEY FOR JWT SIGNATURE HASHING';
*/
$conn = new mysqli($mysql_host, $mysql_user, $mysql_pass, $mysql_db);
// Check if this works
if ($conn->connect_error) {
trigger_error('Could not connect to database: ' . $conn->connect_error, E_USER_ERROR);
}
// Include functions
include('core_functions.php');
// Empty array for storing the JSON object
$c = [];
$api_status = '200';
// === USER LOGIN ===
$logged_in = false;
$user_id = 0;
$user_level = 0;
// If user token is found ...
if (isset($_COOKIE) && isset($_COOKIE['user_token'])) {
// Check that the token is valid
$token_info = jwt_validate($_COOKIE['user_token'], $jwt_secret);
// Set user ID if valid
if ($token_info['valid']) {
$logged_in = true;
$user_id = $token_info['id'];
$user_level = $token_info['level'];
}
// Return error message if not
else {
$c['authError'] = $token_info['error'];
}
// Return login status and user ID
$c['loggedIn'] = $logged_in;
}
|
<?php
namespace App\Domain\Model\Source;
use App\Domain\Model\Document\DocumentMap;
class BaseSource implements Source
{
/**
* @var string
*/
private $name;
/**
* @var DocumentMap
*/
private $documentMap;
/**
* @var string
*/
private $format;
public function __construct(string $name, DocumentMap $documentMap, string $format)
{
$this->name = $name;
$this->documentMap = $documentMap;
$this->format = $format;
}
public function name(): string
{
return $this->name;
}
public function documentMap(): DocumentMap
{
return $this->documentMap;
}
public function contentFormat(): string
{
return $this->format;
}
}
|
<?php
/**
* description
*
* Filename: SignupPageAction.class.php
*
* @author liyan
* @since 2014 8 20
*/
class SignupPageAction extends PageBaseAction {
protected function init() {
parent::init();
$this->page = 'signup.tpl.php';
}
protected function pageExecute(MUser $me) {
$this->displayPage();
}
protected function checkSigninFail($result) {
$this->displayPage();
}
protected function userNotSignin() {
$this->displayPage();
}
}
|
<?php
return [
'test-00018-01700' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; GT-I9195 Build/LMY48B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S4 Mini',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9195',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01701' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; E6653 Build/32.0.A.6.152) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.133 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '44.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Z5 4G LTE',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'E6653',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01702' => [
'ua' => 'Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.41 Safari/537.36 OPR/35.0.2066.10 (Edition beta)',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '35.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01703' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.1; GEM-702L Build/HUAWEIGEM-702L) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'MediaPad X2 Premium Dual-SIM LTE',
'Device_Maker' => 'Huawei',
'Device_Type' => 'FonePad',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GEM-702L',
'Device_Brand_Name' => 'Huawei',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01704' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; VISIO Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.94 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '45.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01705' => [
'ua' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:18.0) Gecko/20100101 Firefox/18.0',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '18.0',
'Platform_Codename' => 'Mac OS X',
'Platform_Marketingname' => 'Mac OS X',
'Platform_Version' => '10.9.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'Macintosh',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Macintosh',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00018-01706' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; Aquaris E5 Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01707' => [
'ua' => 'Opera/9.80 (Android; Opera Mini/8.0.1807/37.7617; U; de) Presto/2.12.423 Version/12.16',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '12.16',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Presto',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Opera Software ASA',
],
],
'test-00018-01708' => [
'ua' => 'Opera%20Coast/5.01.98770 CFNetwork/758.2.8 Darwin/15.0.0',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '9.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'general Apple Device',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Mobile Device',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'general Apple Device',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'unknown',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'unknown',
],
],
'test-00018-01709' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.3; GT-N7100 Build/JSS15J) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.78 Mobile Safari/537.36 OPR/32.0.1953.96244',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '32.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.3.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Note II',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-N7100',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01710' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.1.2; GT-I9100G Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S II',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9100G',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01711' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0; ASUS_Z00AD Build/LRX21V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Zenfone 2',
'Device_Maker' => 'Asus',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Z00AD',
'Device_Brand_Name' => 'Asus',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01712' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; GT-I9195 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.49 Mobile Safari/537.36 OPR/34.0.2044.97925',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S4 Mini',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9195',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01713' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.4; GT-I9305 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Mobile Safari/537.36 OPR/34.0.2044.98679',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S III LTE International',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9305',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01714' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.4; SM-G850F Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.141 Mobile Safari/537.36 ACHEETAHI/2100502012',
'properties' => [
'Browser_Name' => 'CM Browser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Cheetah Mobile',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Alpha (Europe)',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-G850F',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01715' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.2; Nexus 7 Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Nexus 7',
'Device_Maker' => 'Asus',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Nexus 7',
'Device_Brand_Name' => 'Google',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01716' => [
'ua' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.71 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '48.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01717' => [
'ua' => 'Mozilla/5.0 (Windows; U; Windows NT 6.2; en-US; Valve Steam GameOverlay/1450127196; ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.49 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01718' => [
'ua' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2599.0 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '49.0',
'Platform_Codename' => 'Mac OS X',
'Platform_Marketingname' => 'Mac OS X',
'Platform_Version' => '10.11.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'Macintosh',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Macintosh',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01719' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; SM-P605 Build/LMY47X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.93 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '43.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Note 10.1 2014 Edition WI-FI + 4G LTE',
'Device_Maker' => 'Samsung',
'Device_Type' => 'FonePad',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-P605',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01720' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; BTRS122322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; AskTbSTC-SRS/5.13.1.18132; .NET4.0C; .NET4.0E; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00018-01721' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.2; LG-D331 Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.76 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '46.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01722' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.2.2; sk-sk; MediaPad 10 Link+ Build/HuaweiMediaPad ) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'MediaPad 10 Link+',
'Device_Maker' => 'Huawei',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'MediaPad 10+',
'Device_Brand_Name' => 'Huawei',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00018-01723' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; SGP621 Build/23.4.A.1.264) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Z3 Compact LTE',
'Device_Maker' => 'Sony',
'Device_Type' => 'FonePad',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SGP621',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01724' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; Nexus 7 Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.64 Safari/537.36 OPR/33.0.2002.98088',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '33.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Nexus 7',
'Device_Maker' => 'Asus',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Nexus 7',
'Device_Brand_Name' => 'Google',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01725' => [
'ua' => 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_0_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) GSA/11.1.66360 Mobile/13A404 Safari/600.1.4',
'properties' => [
'Browser_Name' => 'Default Browser',
'Browser_Type' => 'unknown',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '9.0.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPhone',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPhone',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00018-01726' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; LG-D802 Build/KOT49I.D80220h) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100502012',
'properties' => [
'Browser_Name' => 'CM Browser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Cheetah Mobile',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'G2',
'Device_Maker' => 'LG',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D802',
'Device_Brand_Name' => 'LG',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01727' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.2; SM-T550 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/47.0.2526.99 Safari/537.36 ACHEETAHI/2100502012',
'properties' => [
'Browser_Name' => 'CM Browser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Cheetah Mobile',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Tab A 9.7 Wifi',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-T550',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01728' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.1.2; XT890 Build/9.8.2I-50_SMI-26) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.76 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01729' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; Nexus 7 Build/LMY48L) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.76 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Nexus 7',
'Device_Maker' => 'Asus',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Nexus 7',
'Device_Brand_Name' => 'Google',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01730' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; PadFone 2 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Mobile Safari/537.36 OPR/34.0.2044.98679',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'PadFone 2',
'Device_Maker' => 'Asus',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'A68',
'Device_Brand_Name' => 'Asus',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01731' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C; .NET4.0E)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.2',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00018-01732' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.3.1; GT-N8013 Build/JLS36I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.3.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Note 10.1 WiFi',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-N8013',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01733' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1; LG-H815 Build/LMY47D; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/46.0.2490.76 Mobile Safari/537.36 MxBrowser/4.5.5.2000',
'properties' => [
'Browser_Name' => 'Maxthon',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Maxthon International Limited',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.5',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01734' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0; LG-D855 Build/LRX21R.A1419207951) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'G2',
'Device_Maker' => 'LG',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D855',
'Device_Brand_Name' => 'LG',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01735' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; D2403 Build/18.6.A.0.175) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia M2 Aqua',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D2403',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01736' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.1; GT-I9505 Build/LRX22C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Mobile Safari/537.36 OPR/34.0.2044.98679',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S4',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9505',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01737' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; D5803 Build/23.4.A.1.264) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 YaBrowser/15.10.2454.3845.00 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Yandex Browser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Yandex',
'Browser_Modus' => 'unknown',
'Browser_Version' => '15.10',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Z3 Compact',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D5803',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01738' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 OPR/34.0.2036.25 (Edition Campaign 48)',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01739' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; rv:43.0) Gecko/20100101 Firefox/43.0 anonymized by Abelssoft 1459818465',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '43.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00018-01740' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; SM-G925K Build/LMY47X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2592.3 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '49.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S6 Edge (Korea)',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-G925K',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01741' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.2; SM-P905 Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 OPR/34.0.2044.98679',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Note Pro 12.2 LTE',
'Device_Maker' => 'Samsung',
'Device_Type' => 'FonePad',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-P905',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01742' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; C6503 Build/10.7.A.0.228) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.76 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '46.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia ZL LTE',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'C6503',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01743' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 OPR/34.0.2036.25 (Edition Campaign 51)',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01744' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.1.2; GT-N8013 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Note 10.1 WiFi',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-N8013',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01745' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.1; PO#9398 TAQ-10153MK2 Build/LRX22C; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/46.0.2490.76 Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01746' => [
'ua' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 OPR/34.0.2036.25',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Mac OS X',
'Platform_Marketingname' => 'Mac OS X',
'Platform_Version' => '10.10.3',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'Macintosh',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Macintosh',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01747' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; LG-D955 Build/KOT49I.D95520a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'G2',
'Device_Maker' => 'LG',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D955',
'Device_Brand_Name' => 'LG',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01748' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.4; SGP511 Build/23.0.1.A.4.30) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Tablet Z2 WiFi',
'Device_Maker' => 'Sony',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SGP511',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01749' => [
'ua' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.48 Safari/537.36 Vivaldi/1.0.357.5',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '48.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01750' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0;WUID=34CC0EB2590B40C18F4BB722BA402ACA;WTB=21234) like Gecko',
'properties' => [
'Browser_Name' => 'Default Browser',
'Browser_Type' => 'unknown',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00018-01751' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; GT-N7105 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100502006',
'properties' => [
'Browser_Name' => 'CM Browser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Cheetah Mobile',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Note 2 (3G, LTE)',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-N7105',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01752' => [
'ua' => 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 OPR/34.0.2036.25 (Edition Campaign 51)',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01753' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; X9006 Build/LMY48Y) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2592.3 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '49.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01754' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 K-Meleon/75.1',
'properties' => [
'Browser_Name' => 'K-Meleon',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '75.1',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00018-01755' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.2.2; 2013023 Build/HM2013023) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.133 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '44.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01756' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.2; HTC Desire 816 Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Desire 816',
'Device_Maker' => 'HTC',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Desire 816',
'Device_Brand_Name' => 'HTC',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01757' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.2; SM-G920F Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S6 LTE (Global)',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-G920F',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01758' => [
'ua' => 'Mozilla/5.0 (iPad; CPU OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mercury/7.2 Mobile/9A405 Safari/7534.48.3',
'properties' => [
'Browser_Name' => 'Default Browser',
'Browser_Type' => 'unknown',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '5.0.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPad',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPad',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00018-01759' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2599.0 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '49.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01760' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; Che2-L11 Build/HonorChe2-L11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01761' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.4; V989 Air Core8 Build/KTU84Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01762' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.4.2; zh-cn; X1 atom; Android/4.4.2; Release/04.02.2015) AppleWebKit/534.30 (KHTML, like Gecko) Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Default Browser',
'Browser_Type' => 'unknown',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00018-01763' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.3; HTC_Desire_510/1.14.111.7 Build/KTU84L) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/33.0.0.0 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.3',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Desire 510',
'Device_Maker' => 'HTC',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Desire 510',
'Device_Brand_Name' => 'HTC',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01764' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.2.2; FP1U Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Mobile Safari/537.36 OPR/34.0.2044.98679',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'FP1U',
'Device_Maker' => 'Fairphone',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'FP1U',
'Device_Brand_Name' => 'Fairphone',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01765' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.4; KAZAM Tornado 455L Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01766' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; GT-I9300 Build/LVY48H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S III',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9300',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01767' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.4; A0001 Build/KTU84Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01768' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 5.0.2; de-de; D5503 Build/14.5.A.0.270) AppleWebKit/537.16 (KHTML, like Gecko) Version/4.0 Mobile Safari/537.16 Chrome/33.0.0.0',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Z1 Compact',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D5503',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01769' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.2.1; ASUS Transformer Pad TF700T Build/JOP40D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01770' => [
'ua' => 'Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=true',
'properties' => [
'Browser_Name' => 'Silk',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Amazon.com, Inc.',
'Browser_Modus' => 'Desktop Mode',
'Browser_Version' => '3.13',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'Various',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00018-01771' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; KC-S701 Build/102.0.1920) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Torque',
'Device_Maker' => 'Kyocera',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'KC-S701',
'Device_Brand_Name' => 'Kyocera',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01772' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1; Moto G Build/LMY47D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.48 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '48.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01773' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.1.2; LG-E986 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01774' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; Aquaris M5 Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Aquaris M5',
'Device_Maker' => 'BQ',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Aquaris M5',
'Device_Brand_Name' => 'BQ',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01775' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 2.3.4; de-de; GT-S5830 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '2.3.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Ace',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-S5830',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00018-01776' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2587.0 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '49.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01777' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.2.1; ASUS Tablet P1801-T Build/JOP40D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.138 Safari/537.36 OPR/22.0.1485.78487',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '22.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Tablet AiO',
'Device_Maker' => 'Asus',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'P1801-T',
'Device_Brand_Name' => 'Asus',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01778' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.1.1; de-de; SGPT12 Build/TJDSU0177) AppleWebKit/537.16 (KHTML, like Gecko) Version/4.0 Safari/537.16 Chrome/33.0.0.0',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Tablet S',
'Device_Maker' => 'Sony',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SGPT12',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01779' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.2; rv:43.0.1) Gecko/20100101 Firefox/43.0.1 anonymized by Abelssoft 2091148284',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '43.0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00018-01780' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36 Vivaldi/1.0.352.3',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01781' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; SGP321 Build/10.7.A.0.228) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.133 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '44.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Tablet Z LTE',
'Device_Maker' => 'Sony',
'Device_Type' => 'FonePad',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SGP321',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01782' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; GT-I9505 Build/LMY48Y) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/39.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100502012',
'properties' => [
'Browser_Name' => 'CM Browser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Cheetah Mobile',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S4',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9505',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01783' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C; .NET4.0E)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00018-01784' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.1.2; de-de; LG-P710 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 ACHEETAHI/2100502012',
'properties' => [
'Browser_Name' => 'CM Browser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Cheetah Mobile',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00018-01785' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.2.2; C6603 Build/10.3.1.A.2.74) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.94 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '28.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Z',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'C6603',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01786' => [
'ua' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2598.0 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '49.0',
'Platform_Codename' => 'Windows NT 10.0',
'Platform_Marketingname' => 'Windows 10',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01787' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.0.4; hu-hu; Cynus T2 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.0.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00018-01788' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0; HUAWEI GRA-L09 Build/HUAWEIGRA-L09C150B160) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '47.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'P8',
'Device_Maker' => 'Huawei',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GRA-L09',
'Device_Brand_Name' => 'Huawei',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01789' => [
'ua' => 'Opera/9.80 (iPhone; Opera Mini/10.2.0/37.7549; U; de) Presto/2.12.423 Version/12.16',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '12.16',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPhone',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPhone',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'Presto',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Opera Software ASA',
],
],
'test-00018-01790' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; tb-1und1/2.6.6; MASBJS; rv:11.0) like Gecko',
'properties' => [
'Browser_Name' => 'Default Browser',
'Browser_Type' => 'unknown',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00018-01791' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0; BTRS123298; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.2',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00018-01792' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.2; LG-D802 Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.43 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '46.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'G2',
'Device_Maker' => 'LG',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D802',
'Device_Brand_Name' => 'LG',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01793' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; Xperia Z Build/LMY48B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Mobile Safari/537.36 OPR/34.0.2044.98679',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Z',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'C6603',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01794' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.0.2; MI 2 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/46.0.2490.76 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01795' => [
'ua' => 'Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) GSA/11.0.65374 Mobile/12B435 Safari/600.1.4',
'properties' => [
'Browser_Name' => 'Default Browser',
'Browser_Type' => 'unknown',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '8.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPhone',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPhone',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00018-01796' => [
'ua' => 'Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.133 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '44.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '6.0.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Nexus 7',
'Device_Maker' => 'Asus',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Nexus 7',
'Device_Brand_Name' => 'Google',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01797' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; One Build/LRX22C.H3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Mobile Safari/537.36 OPR/34.0.2044.98679',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'One',
'Device_Maker' => 'HTC',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'M7',
'Device_Brand_Name' => 'HTC',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00018-01798' => [
'ua' => 'Mozilla/5.0 (Android 6.0; Mobile; rv:43.0) Gecko/43.0 Firefox/43.0',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '43.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '6.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00018-01799' => [
'ua' => 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13C75 [FBAN/FBIOS;FBAV/46.0.0.54.156;FBBV/18972819;FBDV/iPhone7,2;FBMD/iPhone;FBSN/iPhone OS;FBSV/9.2;FBSS/2; FBCR/Vodafone.de;FBID/phone;FBLC/de_DE;FBOP/5]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '46.0',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '9.2.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPhone',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPhone',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
];
|
<?php
class TM_FacebookLB_Adminhtml_Model_System_Config_Source_Layout
{
public function toOptionArray()
{
return array(
array('value'=>'button_count', 'label'=>Mage::helper('facebooklb')->__('button_count')),
array('value'=>'standard', 'label'=>Mage::helper('facebooklb')->__('standard')),
array('value'=>'box_count', 'label'=>Mage::helper('facebooklb')->__('box_count'))
);
}
}
|
<?php
namespace App\Http\Controllers;
use Encore\Admin\Layout\Content;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
public static $title;
public function setTitle(Content $content)
{
$content->header(self::$title);
$content->description('中心');
}
}
|
<?php
/**
* 数据模型控制器
* Created by 杨奇林
* Date: 2018/7/19
* Time: 10:29
* QQ: 928944169
*/
class model extends Common{
private $token = array();
function init(){
parent::init();
//查公司的secret和appid
$this->token = $this->getToken();
}
//视图模型列表
function index(){
$result = $this->getJson(MODEL_API.'api/get_model_view_list',$this->token,'POST');
// p($result);exit();
if($result['code'] != '000000'){
$this->error($result['msg'],2,'controller/controller_list');
}
$this->assign('list',$result['list']);
$this->display();
}
//前端视图列表
function view_list(){
$result = $this->getJson(MODEL_API.'api/get_view_list',$this->token,'POST');
if($result['code'] != '000000'){
$this->error($result['msg'],2,'controller/controller_list');
}
$this->assign('list',$result['list']);
$this->display();
}
//导入视图模型
function load_view(){
$view_id = $_POST['view_id'];
if(empty($view_id))
ajaxReturn(array('code'=>'100001','msg'=>'参数错误'),'JSON');
$this->token['view_id'] = $view_id;
$view_data = $this->getJson(MODEL_API.'api/get_view_info',$this->token,'POST');
if($view_data['code'] != '000000'){
ajaxReturn(array('code'=>$view_data['code'],'msg'=>$view_data['msg']),'JSON');
}else{
ajaxReturn($view_data,'JSON');
}
}
} |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class MetaOptionList extends Model
{
protected $table = 'meta_option_lists';
protected $fillable = [
'option_type',
'option_title',
'subcategory_id',
'metadata_id',
'status',
'added_by',
'edited_by'
];
}
|
<?php
namespace Atemschutz\NachweisBundle\Pdf;
use Atemschutz\NachweisBundle\Entity\Atemschutzgeraetetraeger;
use Atemschutz\CoreBundle\Entity\User;
use Atemschutz\NachweisBundle\Tauglichkeit\Tauglichkeit;
use Symfony\Component\Security\Core\SecurityContext;
use WhiteOctober\TCPDFBundle\Controller\TCPDFController;
class AtemschutzgeraetetraegerPdf extends \TCPDF {
/**
* @var Tauglichkeit
*/
private $tauglichkeit;
/**
* @var User
*/
private $user;
public function __construct(Tauglichkeit $tauglichkeit, SecurityContext $securityContext) {
parent::__construct();
$this->tauglichkeit = $tauglichkeit;
$this->user = $securityContext->getToken()->getUser();
$this->SetTopMargin(35);
}
/**
*
*/
public function Header() {
$this->Image('../src/Atemschutz/CoreBundle/Resources/public/images/logo.png', 140, 10, 100, 0);
$this->SetY(10);
$this->SetFont('helvetica', 'U', 16);
$this->Cell(0, 10, 'Atemschutznachweis');
}
/**
*
*/
public function Footer() {
$this->SetY(-15);
$this->SetFont('helvetica', '', 8);
$date = new \DateTime();
$this->Cell(20, 10, $date->format('d.m.Y'), 0, false, 'L', 0, '', 0, false, 'T', 'M');
$this->Cell(150, 10, 'Bearbeiter: '.$this->user->__toString(), 0, false, 'C', 0, '', 0, false, 'T', 'M');
$this->Cell(15, 10, 'Seite '.$this->getAliasNumPage().'/'.$this->getAliasNbPages(), 0, false, 'L', 0, '', 0, false, 'T', 'M');
}
public function create(Atemschutzgeraetetraeger $atemschutzgeraetetraeger) {
$this->SetCreator($this->user->__toString());
$this->SetAuthor('ATS.net 2');
$this->SetTitle('Atemschutzgeräteträger');
$this->SetSubject('Bericht Atemschutzgeräteträger \''.$atemschutzgeraetetraeger.'\'');
$this->addGenericInformation($atemschutzgeraetetraeger);
$this->addCurrentRecords($atemschutzgeraetetraeger);
$this->AddPage();
$this->addG26s($atemschutzgeraetetraeger);
$this->addRecord($atemschutzgeraetetraeger);
$this->Output('test.pdf', 'I');
}
private function addGenericInformation(Atemschutzgeraetetraeger $atemschutzgeraetetraeger)
{
$this->AddPage();
/*
* begin Allgemeine infos
*/
$this->SetFont('helvetica', 'B', 12);
$this->SetY(25);
$this->Cell(0, 10, 'Allgemein', 0, 1);
$this->Ln(5);
$this->SetFont('helvetica', '', 11);
// name
$this->Cell(40, 10, 'Name:');
$this->Cell(40, 10, $atemschutzgeraetetraeger->__toString(), 0, 1);
// geburtsdatum
$this->Cell(40, 10, 'Geburtsdatum:');
$this->Cell(40, 10, $atemschutzgeraetetraeger->getBirthdateFormatted(), 0, 1);
// organisation
$this->Cell(40, 10, 'Organisation:');
$this->Cell(40, 10, $atemschutzgeraetetraeger->getOrganisation(), 0, 1);
// lehrgänge
$this->Cell(40, 10, 'Lehrgänge:');
if($atemschutzgeraetetraeger->getAts1() != null) {
$this->Cell(40, 10, 'Atemschutz 1: '.$atemschutzgeraetetraeger->getAts1Formatted(), 0, 1);
} else {
$this->Cell(40, 10, 'Atemschutz 1: Nicht vorhanden', 0, 1);
}
$this->Cell(40, 10);
if($atemschutzgeraetetraeger->getAts2() != null) {
$this->Cell(40, 10, 'Atemschutz 2: '.$atemschutzgeraetetraeger->getAts2Formatted(), 0, 1);
} else {
$this->Cell(40, 10, 'Atemschutz 2: Nicht vorhanden', 0, 1);
}
/*
* ende allgemeine infos
*/
}
private function addCurrentRecords(Atemschutzgeraetetraeger $atemschutzgeraetetraeger)
{
/*
* begin aktueller nachweis
*/
$this->SetFont('helvetica', 'B', 12);
$this->Ln(5);
$this->Cell(0, 10, 'Aktueller Nachweis', 0, 1);
$this->Ln(5);
$this->SetFont('helvetica', '', 11);
// g26
$this->Cell(40, 10, 'G26.3');
if($atemschutzgeraetetraeger->getLatestValidG26() == null) {
$this->Cell(40, 10, 'Keine gültige G26.3.', 0, 1);
} else {
$this->Cell(40, 10, $atemschutzgeraetetraeger->getLatestValidG26()->getDateFormatted().' gültig bis '.$atemschutzgeraetetraeger->getLatestValidG26()->getDueDateFormatted(), 0, 1);
}
// nachweise ats1
if($atemschutzgeraetetraeger->getAts1() != null) {
$this->Ln(5);
$tauglichkeitInfo = $this->tauglichkeit->getTauglichkeitInfoFactory()
->getTauglichkeitInfo($atemschutzgeraetetraeger);
foreach ($tauglichkeitInfo->getRequiredsForAts1() as $nachweisartNachweisPair) {
$this->Cell(40, 10, $nachweisartNachweisPair->getNachweisart()->__toString());
if($nachweisartNachweisPair->getNachweis() == null) {
$this->Cell(40, 10, 'Nicht vorhanden', 0, 1);
} else {
$this->Cell(40, 10, $nachweisartNachweisPair->getNachweis()->getDateFormatted().' gültig bis '.$nachweisartNachweisPair->getNachweis()->getExpiringDateFormatted(), 0, 1);
}
}
}
// nachweise ats2
if($atemschutzgeraetetraeger->getAts2() != null) {
$this->Ln(5);
$tauglichkeitInfo = $this->tauglichkeit->getTauglichkeitInfoFactory()
->getTauglichkeitInfo($atemschutzgeraetetraeger);
foreach ($tauglichkeitInfo->getRequiredsForAts2() as $nachweisartNachweisPair) {
$this->Cell(40, 10, $nachweisartNachweisPair->getNachweisart()->__toString());
if($nachweisartNachweisPair->getNachweis() == null) {
$this->Cell(40, 10, 'Nicht vorhanden', 0, 1);
} else {
$this->Cell(40, 10, $nachweisartNachweisPair->getNachweis()->getDateFormatted().' gültig bis '.$nachweisartNachweisPair->getNachweis()->getExpiringDateFormatted(), 0, 1);
}
}
}
}
private function addG26s(Atemschutzgeraetetraeger $atemschutzgeraetetraeger)
{
//g26s
$this->SetY(25);
$this->SetFont('helvetica', 'B', 12);
$this->Ln(5);
$this->Cell(0, 10, 'Untersuchungen nach G26', 0, 1);
$this->Ln(5);
$this->SetFont('helvetica', 'B', 11);
$width = array(20, 30, 30, 0);
//tableheader
$this->Cell($width[0], 5, 'Gruppe', 1);
$this->Cell($width[1], 5, 'Datum', 1);
$this->Cell($width[2], 5, 'gültig bis', 1);
$this->Cell($width[3], 5, 'Bemerkungen', 1, 1);
$this->SetFont('helvetica', '', 10);
foreach ($atemschutzgeraetetraeger->getG26s() as $g26)
{
$this->Cell($width[0], 5, 'G26.'.$g26->getClassification(), 1);
$this->Cell($width[1], 5, $g26->getDateFormatted(), 1);
$this->Cell($width[2], 5, $g26->getDuedateFormatted(), 1);
$this->Cell($width[3], 5, $g26->getNotice(), 1, 1);
}
}
private function addRecord(Atemschutzgeraetetraeger $atemschutzgeraetetraeger)
{
$this->SetFont('helvetica', 'B', 12);
$this->Ln(5);
$this->Cell(0, 10, 'Atemschutznachweis', 0, 1);
$this->Ln(5);
$this->SetFont('helvetica', 'B', 11);
$width = array(25, 45, 25, 70, 10, 0);
//tableheader
$this->Cell($width[0], 5, 'Datum', 1);
$this->Cell($width[1], 5, 'Nachweis', 1);
$this->Cell($width[2], 5, 'Einsatzart', 1);
$this->Cell($width[3], 5, 'Einsatzort', 1);
$this->Cell($width[4], 5, 'Nr.', 1);
$this->Cell($width[5], 5, 'Dauer', 1, 1);
$this->SetFont('helvetica', '', 10);
foreach ($atemschutzgeraetetraeger->getNachweise() as $nachweis)
{
$this->Cell($width[0], 5, $nachweis->getDateFormatted(), 1);
$this->Cell($width[1], 5, $nachweis->getNachweisart(), 1);
$this->Cell($width[2], 5, $nachweis->getEinsatzart(), 1);
$this->Cell($width[3], 5, $nachweis->getLocation(), 1);
$this->Cell($width[4], 5, $nachweis->getEinsatznummer(), 1);
$this->Cell($width[5], 5, $nachweis->getTime(), 1, 1);
}
}
} |
<?php
namespace LoyaltyGroup\LoyaltyPoints\Block;
use LoyaltyGroup\LoyaltyPoints\Api\Model\Quote\LoyaltyPointsInterface;
use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Framework\Exception\LocalizedException;
use Magento\Framework\Exception\NoSuchEntityException;
use Magento\Framework\UrlInterface;
use Magento\Framework\View\Element\Template;
use Magento\Framework\View\Element\Template\Context;
use Magento\Framework\Encryption\EncryptorInterface;
use Magento\Customer\Model\Session as CustomerSession;
use Magento\Store\Model\ScopeInterface;
use Magento\Store\Model\StoreManagerInterface;
use Magento\Customer\Api\CustomerRepositoryInterface;
/**
* Class LoyaltyPage
* @package LoyaltyGroup\LoyaltyPoints\Block
*/
class LoyaltyPage extends Template
{
/**
* @var CustomerSession
*/
private $customerSession;
/**
* @var EncryptorInterface
*/
private $encryptor;
/**
* @var StoreManagerInterface
*/
private $storeManager;
/**
* @var ScopeConfigInterface
*/
private $scopeConfig;
/**
* @var CustomerRepositoryInterface
*/
private $customerRepository;
const XML_PATH_COUNT_LOYALTY = 'loyaltyPoints/general/loyalty_points_percent';
/**
* LoyaltyPage constructor.
*
* @param EncryptorInterface $encryptor
* @param CustomerSession $customerSession
* @param Context $context
* @param StoreManagerInterface $storeManager
* @param ScopeConfigInterface $scopeConfig
* @param CustomerRepositoryInterface $customerRepository
* @param array $data
*/
public function __construct(
EncryptorInterface $encryptor,
CustomerSession $customerSession,
Context $context,
StoreManagerInterface $storeManager,
ScopeConfigInterface $scopeConfig,
CustomerRepositoryInterface $customerRepository,
array $data = []
) {
$this->encryptor = $encryptor;
$this->storeManager = $storeManager;
$this->customerSession = $customerSession;
$this->scopeConfig = $scopeConfig;
$this->customerRepository = $customerRepository;
parent::__construct($context, $data);
}
/**
* Get loyalty points by user id.
*
* @return int
* @throws NoSuchEntityException
* @throws LocalizedException
*/
public function getLoyaltyPoints() : int
{
$id = $this->customerSession->getCustomerId();
$user = $this->customerRepository->getById($id);
if(empty($user->getCustomAttribute(LoyaltyPointsInterface::CODE))) {
$user->setCustomAttribute(LoyaltyPointsInterface::CODE, 0);
$this->customerRepository->save($user);
}
return round($user->getCustomAttribute(LoyaltyPointsInterface::CODE)->getValue());
}
/**
* Dynamic create a personal referral link.
*
* @return string
* @throws NoSuchEntityException
*/
public function createReferralLink() : string
{
$url = $this->storeManager->getStore()->getBaseUrl(UrlInterface::URL_TYPE_WEB);
$encrypt = urlencode($this->encryptor->encrypt($this->customerSession->getCustomerId()));
$link = $url . "?ref=" . $encrypt;
return $link;
}
/**
* Get percent from config.
* @return int
*/
public function getPercent() : int
{
$percent = $this->scopeConfig->getValue
(
self::XML_PATH_COUNT_LOYALTY,
ScopeInterface::SCOPE_STORE
);
return $percent;
}
}
|
<?php
namespace Verkoo\Common\Services;
use Carbon\Carbon;
use Verkoo\Common\Contracts\CalendarInterface;
use Spatie\GoogleCalendar\Event;
class GoogleCalendar implements CalendarInterface
{
public function getEvents($events = null)
{
$events = $events ?: Event::get();
$result = [];
$events->each(function($event) use (&$result) {
$start = Carbon::parse($event->start->date);
$end = Carbon::parse($event->end->date);
$length = $end->diffInDays($start);
for ($i = 0; $i < $length; $i++) {
if (!isset($result[$start->toDateString()])) {
$result[$start->toDateString()] = [];
}
array_push(
$result[$start->toDateString()],
['title' => $event->summary]
);
$start->addDay();
}
});
return $result;
}
public function store($data)
{
$event = new Event;
$event->name = $data['title'];
$event->startDate = Carbon::createFromFormat('d/m/Y', $data['start']);
$event->endDate = Carbon::createFromFormat('d/m/Y', $data['end'])->addDay();
$event->save();
}
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Backup extends CI_Controller {
public function __construct() {
parent::__construct();
$this->load->model('Common_model');
$this->load->model('Authentication_model');
$this->load->model('User_model');
$this->Common_model->setDefaultTimezone();
$this->load->library('form_validation');
if (!$this->session->has_userdata('user_id')) {
redirect('Authentication/index');
}
$getAccessURL = $this->uri->segment(1);
if (!in_array($getAccessURL, $this->session->userdata('menu_access'))) {
redirect('Authentication/userProfile');
}
}
public function create($id = '') {
$company_id = $this->session->userdata('company_id');
if (isset($_POST['btn'])) {
ini_set('max_execution_time', 300);
$file = $this->input->post('file');
$templine = '';
$lines = file($_FILES["file"]["tmp_name"]);
foreach ($lines as $line)
{
// Skip it if it's a comment
if (substr($line, 0, 2) == '--' || $line == '' || $line == '#')
continue;
// Add this line to the current templine we are creating
$templine .= $line;
// If it has a semicolon at the end, it's the end of the query so can process this templine
if (substr(trim($line), -1, 1) == ';')
{
// Perform the query
$this->db->query($templine);
// Reset temp variable to empty
$templine = '';
}
}
$this->session->set_flashdata('exception', lang('import_success'));
redirect('Backup/create');
}
$data = array();
$data['setting_information'] = $this->Authentication_model->getSettingInformation($company_id);
$data['time_zones'] = $this->Common_model->getAllForDropdown("tbl_time_zone");
$data['currencies'] = $this->Common_model->getAllForDropdown("tbl_admin_currencies");
$data['main_content'] = $this->load->view('authentication/backup', $data, TRUE);
$this->load->view('userHome', $data);
}
public function create_backup($id = '') {
$this->load->dbutil();
$filename = "db-" . date("Y-m-d_H-i-s") . ".sql";
$this->load->dbutil();
$prefs = array(
'ignore' => array(),
'format' => 'txt',
'filename' => 'mybackup.sql',
'add_drop' => TRUE,
'add_insert' => TRUE,
'newline' => "\n"
);
$backup =& $this->dbutil->backup($prefs);
$this->load->helper('file');
write_file('./assets/database_backup/' . $filename, $backup);
$this->load->helper('download');
force_download($filename, $backup);
redirect(base_url() . 'Backup/create', 'refresh');
}
}
|
<?php
$lang['add_student']='Añadir Estudiante';
$lang['first_name']='Primer nombre';
$lang['last_name']='Appellido';
$lang['has_skipair']='Tiene una skipair';
$lang['has_no_skipair']='No es una skipair';
$lang['delete']='Quitar';
$lang['edit']='Editar';
$lang['view']='Ver';
$lang['student_info']='Información del estudiante';
$lang['cancel']='Anular';
$lang['submit']='Mandar';
$lang['message']='Mensaje';
$lang['delete_confirm_message']='Seguro que quiere eliminar';
$lang['yes']='Sí';
$lang['no']='No';
$lang['return']='Regreso';
$lang['students']='Estudiantes';
$lang['boats']='Barcos';
$lang['student_listing']='Lista de los estudiantes';
$lang['boat_listing']='Lista de barcos';
$lang['price']='Precio';
$lang['color']='Color';
$lang['name']='Nombre';
$lang['last_student_change']='Fecha';
$lang['no_data_found']='No se encontraron datos';
$lang['blue']='Azul';
$lang['green']='Verde';
$lang['red']='Rojo';
$lang['navy_blue']='Azul marino';
$lang['purple']='Púrpura';
$lang['boat_info']='Información de barcos';
$lang['add_boat']='Añadir un barco';
$lang['boat_student_assignement']='La asignación de los estudiantes a los barcos';
$lang['assigned']='Afectado';
$lang['assigned_students']='Los estudiantes afectados';
$lang['add_student_boat']='Añadir los estudiantes a este barco';
$lang['add']='Añadir';
$lang['assignement']='Afectación';
$lang['assign']='Afectar';
$lang['reassign']='Reasignar';
$lang['assign_confirm_message']='Seguro que desea afectar al estudiante';
$lang['student_nbr']='Número de estudiantes';
$lang['student_has_skipair_nbr']='Los estudiantes que tienen un Skipair';
$lang['avalibale_places']='Plazas disponibles';
$lang['cannot_add_student_has_skipair']='Max alcanza, no se puede agregar a los estudiantes que tienen Skipair';
$lang['cannot_add_student']='Max alcanza, no se puede agregar a los estudiantes a la embarcación';
$lang['warning']='Advertencia';
$lang['url_on_amazon']='Vínculo con Amazon';
$lang['book_listing']='Lista de libros';
$lang['book_info']='Información del libro';
$lang['add_book']='Añadir un libro';
$lang['books']='Libros';
$lang['assigned_books']='Libros asignados';
$lang['assign_books_boat']='Asignar libros de este barco';
$lang['boat_book_assignement']='Libros de asignación a los barcos';
$lang['french']='Francés';
$lang['spanich']='Español';
$lang['logout']='Desconectarse';
$lang['hello']='Hola';
$lang['login']='Iniciar sesión';
$lang['password']='Contraseña';
$lang['email']='Email';
$lang['connection']='Conexión';
$lang['student_management_system']='Sistema de gestión de estudiantes';
$lang['login_message']='Correo electrónico y / o contraseña incorrecta, por favor, inténtelo de nuevo.'; |
<?php
declare(strict_types=1);
namespace App\Common\Domain\Event;
abstract class AggregateChanged implements DomainEvent
{
private int $version = 0;
private string $aggregateId;
private array $payload = [];
public function __construct(string $aggregateId, array $payload, array $metadata = [])
{
$this->aggregateId = $aggregateId;
$this->payload = $payload;
}
public static function occur(string $aggregateId, array $payload = []): self
{
return new static($aggregateId, $payload);
}
public function withVersion(int $version): self
{
$self = clone $this;
$self->updateVersion($version);
return $self;
}
public function version(): int
{
return $this->version;
}
private function updateVersion(int $version): void
{
$this->version = $version;
}
public function aggregateId(): string
{
return $this->aggregateId;
}
public function payload(): array
{
return $this->payload;
}
} |
<?php
/**
* @codeCoverageIgnore
*/
return [
[
'sectionName' => 'User module',
'configurationView' => 'src/views/_configuration.php',
'configurationModel' => 'DevGroup\Users\models\UserModuleConfiguration',
],
];
|
<?php
/**
* Jorum API Context
*
* Context
*
* Provides information about the context of a request that results in a list
* such as page number, item count etc.
*
* @package MIMAS
* @subpackage Service
* @category API
* @version 0.9.0
* @author Petros Diveris <petros.diveris@manchester.ac.uk>
*/
namespace MIMAS\Service;
/**
* Created by PhpStorm.
* User: pedro
* Date: 25/04/2014
* Time: 14:59
*/
class Context extends JorumModel
{
/**
* limit
* @var int $limit
*/
protected $limit = 0;
/**
* offset
* @var int $offset
*/
protected $offset = 0;
/**
* totalCount
* @var int $totalCount
*/
protected $totalCount = 0;
/**
* query
* @var string $query
*/
protected $query = '';
/**
* error
* @var string $error
*/
protected $error = '';
/**
* queryDate
* @var string $queryDate
*/
protected $queryDate = '';
/**
* Constructor. Data or format passed to Base model
*
* Constructor. Set the properties based on data array passed, if any
* @param null $data
*/
public function __construct($data = null)
{
if (is_array($data)) {
foreach ($data as $key => $value) {
$key = camel_case($key);
if (property_exists($this, $key)) {
$this->$key = $value;
}
}
}
}
/**
* Get limit
* @return int limit
*/
public function getLimit()
{
return $this->limit;
}
/**
* Set limit
* @param $limit
*/
public function setLimit($limit)
{
$this->limit = $limit;
}
/**
* Get offset
* @return int offset
*/
public function getOffset()
{
return $this->offset;
}
/**
* Set offset
* @param $offset
*/
public function setOffset($offset)
{
$this->offset = $offset;
}
/**
* Get totalCount
* @return int totalCount
*/
public function getTotalCount()
{
return $this->totalCount;
}
/**
* Set totalCount
* @param $totalCount
*/
public function setTotalCount($totalCount)
{
$this->totalCount = $totalCount;
}
/**
* Set query
* @return string query
*/
public function getQuery()
{
return $this->query;
}
/**
* Set query
* @param $query
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* Get Error
* @return string error
*/
public function getError()
{
return $this->error;
}
/**
* Set error
* @param $error
*/
public function setError($error)
{
$this->error = $error;
}
} |
<?php
return [
'test-00136-04203' => [
'ua' => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 MRA 5.5 (build 02842) Firefox/3.5.6 (.NET CLR 3.5.30729)',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '3.5',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04209' => [
'ua' => 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070530 Fedora/2.0.0.4-1.fc7 Firefox/2.0.0.4',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '2.0',
'Platform_Codename' => 'Fedora Linux',
'Platform_Marketingname' => 'Fedora Linux',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Red Hat Inc',
'Platform_Brand_Name' => 'Redhat',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04214' => [
'ua' => 'Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '3.0',
'Platform_Codename' => 'Fedora Linux',
'Platform_Marketingname' => 'Fedora Linux',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Red Hat Inc',
'Platform_Brand_Name' => 'Redhat',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04218' => [
'ua' => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '3.5',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04247' => [
'ua' => 'Mozilla/5.0 (Windows NT 5.1; U; de; rv:1.8.0) Gecko/20060728 Firefox/1.5.0',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '1.5',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04248' => [
'ua' => 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008121806 Gentoo Firefox/3.0.5',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '3.0',
'Platform_Codename' => 'Gentoo Linux',
'Platform_Marketingname' => 'Gentoo Linux',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Gentoo Foundation Inc',
'Platform_Brand_Name' => 'Gentoo',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04249' => [
'ua' => 'Mozilla/5.0 (X11; U; Linux i686; sk; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '1.5',
'Platform_Codename' => 'Linux',
'Platform_Marketingname' => 'Linux',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Linux Foundation',
'Platform_Brand_Name' => 'Linux Foundation',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04259' => [
'ua' => 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042708 Fedora/3.0.10-1.fc10 Firefox/3.0.10',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '3.0',
'Platform_Codename' => 'Fedora Linux',
'Platform_Marketingname' => 'Fedora Linux',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Red Hat Inc',
'Platform_Brand_Name' => 'Redhat',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04277' => [
'ua' => 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061215 Red Hat/1.5.0.9-0.1.el4 Firefox/1.5.0.9',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '1.5',
'Platform_Codename' => 'Redhat Linux',
'Platform_Marketingname' => 'Redhat Linux',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Red Hat Inc',
'Platform_Brand_Name' => 'Redhat',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04278' => [
'ua' => 'Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.12) Gecko/20051222 Firefox/1.0.7',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '1.0',
'Platform_Codename' => 'Linux',
'Platform_Marketingname' => 'Linux',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Linux Foundation',
'Platform_Brand_Name' => 'Linux Foundation',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04279' => [
'ua' => 'Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20040913 Firefox/0.10',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.10',
'Platform_Codename' => 'unknown',
'Platform_Marketingname' => 'unknown',
'Platform_Version' => 'unknown',
'Platform_Bits' => 32,
'Platform_Maker' => 'unknown',
'Platform_Brand_Name' => 'unknown',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04282' => [
'ua' => 'Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7.12) Gecko/20051121 Firefox/1.0.7 (Nexenta package 1.0.7)',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '1.0',
'Platform_Codename' => 'unknown',
'Platform_Marketingname' => 'unknown',
'Platform_Version' => 'unknown',
'Platform_Bits' => 32,
'Platform_Maker' => 'unknown',
'Platform_Brand_Name' => 'unknown',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04283' => [
'ua' => 'Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.1) Gecko/20061208 Firefox/2.0.0.1',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '2.0',
'Platform_Codename' => 'Linux',
'Platform_Marketingname' => 'Linux',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Linux Foundation',
'Platform_Brand_Name' => 'Linux Foundation',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00136-04289' => [
'ua' => 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1)',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '1.5',
'Platform_Codename' => 'Debian',
'Platform_Marketingname' => 'Debian',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Software in the Public Interest, Inc.',
'Platform_Brand_Name' => 'Software in the Public Interest',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
];
|
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package sgdi
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main post-grid" role="main">
<?php
if ( is_home() && !is_front_page() ) : ?>
<header>
<h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
</header>
<?php
$args = array(
'posts_per_page' => '1',
'ignore_sticky_posts' => true,
'paged' => false
);
$query = new WP_query ( $args );
if ( $query->have_posts() && is_home() && !is_paged() ) :
/* Start the Loop */
while ($query->have_posts()) : $query->the_post();
get_template_part( 'template-parts/content', 'first' );
/* End the Loop */
endwhile;
rewind_posts();
endif;
?>
<div> <!-- #group posts in grid -->
<?php
/* Start the Loop */
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', 'excerpt' );
endwhile;
get_template_part( 'partials/posts-pagination' );
else :
get_template_part( 'template-parts/content', 'none' );
endif; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_sidebar();
get_footer(); |
<?php
return [
'test-00057-03477' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.2.2; de-de; GT-I8200N Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 [FBAN/FB4A;FBAV/23.0.0.22.14;]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '23.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S3 Mini Value Edition',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I8200N',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03478' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; hr-hr; SAMSUNG GT-I9515 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/1.5 Chrome/28.0.1500.94 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '1.5',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S4 Value Edition',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9515',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03479' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.2.2; de-de; S208 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 ACHEETAHI/2100501034',
'properties' => [
'Browser_Name' => 'CM Browser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Cheetah Mobile',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'S208',
'Device_Maker' => 'Cubot',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'S208',
'Device_Brand_Name' => 'Cubot',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03480' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.1.2; de-ch; Transformer Build/JZO54K; CyanogenMod-10) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03481' => [
'ua' => 'Mozilla/5.0 (iPad; CPU OS 8_1_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12B440 [FBAN/FBIOS;FBAV/20.1.0.15.10;FBBV/5758778;FBDV/iPad2,5;FBMD/iPad;FBSN/iPhone OS;FBSV/8.1.2;FBSS/1; FBCR/;FBID/tablet;FBLC/de_DE;FBOP/1]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '20.1',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '8.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPad',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPad',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03482' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 OPR/23.0.1522.72',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '23.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03483' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB7.5; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30618)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 6.0',
'Platform_Marketingname' => 'Windows Vista',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03484' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2268.0 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '41.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03485' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; Trident/7.0; tb-gmx/2.3.0; rv:11.0) like Gecko',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '11.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03486' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.1.1; de-de; HUAWEI Y300-0100 Build/HuaweiY300-0100) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 [FBAN/FB4A;FBAV/23.0.0.22.14;]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '23.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Ascend Y 300',
'Device_Maker' => 'Huawei',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Y300',
'Device_Brand_Name' => 'Huawei',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03487' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.1.2; hu-hu; GT-I9100 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S II',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9100',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03488' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.2; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0E)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03489' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler ; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727)',
'properties' => [
'Browser_Name' => 'TencentTravaler',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'unknown',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'unknown',
],
],
'test-00057-03490' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; Trident/7.0; MAAU; tb-webde/2.6.0; (webde/1.4.0.0); rv:11.0) like Gecko',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '11.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03491' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.3; de-\\x18\\xe2\\x80\\xa1.; SAMSUNG GT-I9300/I9300XXUGNA5 Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.3.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S III',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9300',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03492' => [
'ua' => 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0; tb-gmx/1.6.3; (gmx/1.0.0.8))',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '9.0',
'Platform_Codename' => 'Windows NT 6.0',
'Platform_Marketingname' => 'Windows Vista',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03493' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; SM-G310HN Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.93 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '39.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Core Plus',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-G310HN',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03494' => [
'ua' => 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; tb-webde/1.6.5)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '9.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03495' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03496' => [
'ua' => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 GTB7.1',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '3.5',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00057-03497' => [
'ua' => 'Opera/9.80 (Series 60; Opera Mini/7.1.32448/35.6368; U; en) Presto/2.8.119 Version/11.10',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '11.10',
'Platform_Codename' => 'Symbian OS',
'Platform_Marketingname' => 'Symbian OS',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Symbian Foundation',
'Platform_Brand_Name' => 'Symbian Foundation',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Presto',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Opera Software ASA',
],
],
'test-00057-03498' => [
'ua' => 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Win64; x64; Trident/6.0; tb-gmx/2.6.0; (gmx/1.4.0.0))',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '10.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03499' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.4; SM-G850F Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.141 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '35.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Alpha (Europe)',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-G850F',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03501' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; chromeframe/32.0.1700.107; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 6.0',
'Platform_Marketingname' => 'Windows Vista',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03502' => [
'ua' => 'Mozilla/5.0 (Windows NT 5.1; rv:12.2.1) Gecko/20120616 Firefox/12.2.1 PaleMoon/12.2.1',
'properties' => [
'Browser_Name' => 'PaleMoon',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Moonchild Productions',
'Browser_Modus' => 'unknown',
'Browser_Version' => '12.2',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00057-03503' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; BTRS99219; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03504' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.2.2; de-de; GT-I9105P Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 ACHEETAHI/2100501028',
'properties' => [
'Browser_Name' => 'CM Browser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Cheetah Mobile',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S II Plus NFC',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9105P',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03505' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.3; vi-vn; GT-N7100 Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.3.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Note II',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-N7100',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03506' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.0.3; de-at; HTC EVO 3D X515m Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.0.3',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03507' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.4.3; en-gb; KFTHWI Build/KTU84M) AppleWebKit/537.36 (KHTML, like Gecko) Silk/3.41 like Chrome/37.0.2026.117 Safari/537.36',
'properties' => [
'Browser_Name' => 'Silk',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Amazon.com, Inc.',
'Browser_Modus' => 'unknown',
'Browser_Version' => '3.41',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.3',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03508' => [
'ua' => 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; Gemeente Lelystad)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '9.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03509' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.3; en-us; SCH-I535 Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.3.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S III 4G CDMA',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SCH-I535',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03510' => [
'ua' => 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0; NP07; NP07)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '10.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03511' => [
'ua' => 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120410 Firefox/3.6.28 Lunascape/6.7.1.25446',
'properties' => [
'Browser_Name' => 'Lunascape',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00057-03512' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; MS-RTC LM 8)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03513' => [
'ua' => 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SlimBrowser/7.00)',
'properties' => [
'Browser_Name' => 'SlimBrowser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.00',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03514' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; SAMSUNG GT-I9100/I9100BULPG Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.0.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S II',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9100',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03515' => [
'ua' => 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0; tb-gmx/1.7.2)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '9.0',
'Platform_Codename' => 'Windows NT 6.0',
'Platform_Marketingname' => 'Windows Vista',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03516' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03517' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; rv:34.0.5) Gecko/20100101 Firefox/34.0.5 anonymized by Abelssoft 555453371',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00057-03518' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; .NET4.0C; .NET4.0E)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03519' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.5; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; tb-gmx/2.6.0; (gmx/1.0.0.8))',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03520' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; tb-gmx/2.6.0; (gmx/1.3.0.0); rv:11.0) like Gecko',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '11.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03521' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.1.2; GT-S6310N Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.93 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '39.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Young',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-S6310N',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03522' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0; tb-webde/2.6.0)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03523' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03524' => [
'ua' => 'Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '3.6',
'Platform_Codename' => 'Windows NT 6.0',
'Platform_Marketingname' => 'Windows Vista',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00057-03525' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; (gmx/1.0.0.8))',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03526' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; rv:34.0) Gecko/20100101 Firefox/34.0,gzip(gfe)',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00057-03527' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03528' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SIMBAR={DDD8D316-17CE-4A72-818C-C6B617CCD03F}; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03529' => [
'ua' => 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; .)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '9.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03530' => [
'ua' => 'Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.6) Gecko/20100625 Firefox/33.1 (x86 de) Anonymisiert durch AlMiSoft Browser-Maulkorb 70302599',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '33.1',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00057-03531' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.2.2; de-de; ARNOVA 90 G4 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03532' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.3; GT-I9505 Build/JSS15J) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.59 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '39.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.3.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S4',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9505',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03533' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Microsoft Outlook 14.0.6025; ms-office; MSOffice 14)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03534' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; tb-gmx/2.6.0; (gmx/1.4.0.0))',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03535' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; rv:33.0) Gecko/20100101 Firefox/33.0 DT-Browser/DTB7.033.0011',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '33.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00057-03536' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; BTRS100200; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03537' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; A1-840FHD Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.59 Safari/537.36 OPR/26.0.1656.87080',
'properties' => [
'Browser_Name' => 'Opera Mobile',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '26.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03538' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.3; Win64; x64; Trident/7.0; tb-webde/2.5.1; (webde/1.4.0.0); rv:11.0) like Gecko',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '11.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03539' => [
'ua' => 'Firefox/34.0.5 (x86 de); anonymized by Abelssoft 1388404829',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34.0',
'Platform_Codename' => 'Windows',
'Platform_Marketingname' => 'Windows',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'unknown',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'unknown',
],
],
'test-00057-03540' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; Trident/4.0; GTB7.5; FDM; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; AskTbORJ/5.15.29.67612)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.2',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03541' => [
'ua' => 'Airmail 1.4.1 rv:249 (Macintosh; Mac OS X 10.9.4; de_DE)',
'properties' => [
'Browser_Name' => 'Default Browser',
'Browser_Type' => 'unknown',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Mac OS X',
'Platform_Marketingname' => 'Mac OS X',
'Platform_Version' => '10.9.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'Macintosh',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Macintosh',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'unknown',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'unknown',
],
],
'test-00057-03542' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/20 Safari/537.17',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0',
'Platform_Codename' => 'Windows NT 6.2',
'Platform_Marketingname' => 'Windows 8',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03543' => [
'ua' => 'Mozilla/5.0 (iPad; CPU OS 8_1_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12B440 [FBAN/FBIOS;FBAV/21.0.0.25.14;FBBV/6017145;FBDV/iPad2,5;FBMD/iPad;FBSN/iPhone OS;FBSV/8.1.2;FBSS/1; FBCR/;FBID/tablet;FBLC/de_DE;FBOP/1]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '21.0',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '8.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPad',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPad',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03544' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.1.2; ar-ae; GT-S5282 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03545' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.4; D6603 Build/23.0.1.A.5.77) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.141 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '35.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Z3',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D6603',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03546' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; Archos 80b Xenon Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.141 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '35.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03547' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.3; GT-I9300 Build/JSS15J) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.122 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '35.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.3.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S III',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9300',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03548' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.1.2; de-de; LG-P880 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 ACHEETAHI/2100501028',
'properties' => [
'Browser_Name' => 'CM Browser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Cheetah Mobile',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03549' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.2.2; de-de; tolino tab 7 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 [FB_IAB/FB4A;FBAV/24.0.0.30.15;]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '24.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03550' => [
'ua' => 'Mozilla/5.0 (iPad; CPU OS 8_1_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12B440 [FBAN/FBIOS;FBAV/20.1.0.15.10;FBBV/5758778;FBDV/iPad4,7;FBMD/iPad;FBSN/iPhone OS;FBSV/8.1.2;FBSS/2; FBCR/;FBID/tablet;FBLC/de_DE;FBOP/1]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '20.1',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '8.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPad',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPad',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03551' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; LIFETAB_S1033X Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Safari/537.36 [FB_IAB/FB4A;FBAV/24.0.0.30.15;]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '24.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'LifeTab S1033X',
'Device_Maker' => 'Lenovo',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'LifeTab S1033X',
'Device_Brand_Name' => 'Lenovo',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03552' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.2.2; de-de; Archos 90 Neon Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03553' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; eSobiSubscriber 2.0.4.16; MAAR; .NET4.0C; AlexaToolbar/amzni-3.0; .NET4.0E)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03554' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; SM-T311 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Tab 3 8.0 3G',
'Device_Maker' => 'Samsung',
'Device_Type' => 'FonePad',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-T311',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03555' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; Win64; IA64; rv:23.0) Gecko/20130814 Firefox/23.0; xs-r_A_FTYNsd4;',
'properties' => [
'Browser_Name' => 'Firefox',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Mozilla Foundation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '23.0',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Gecko',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Mozilla Foundation',
],
],
'test-00057-03556' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.4; D5503 Build/14.4.A.0.157) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.59 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '39.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Z1 Compact',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'D5503',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03557' => [
'ua' => 'Mozilla/5.0 (iPad; CPU OS 7_1_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Mobile/11D201 [FBAN/FBIOS;FBAV/20.1.0.15.10;FBBV/5758778;FBDV/iPad2,2;FBMD/iPad;FBSN/iPhone OS;FBSV/7.1.1;FBSS/1; FBCR/Sunrise;FBID/tablet;FBLC/de_DE;FBOP/1]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '20.1',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '7.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPad',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPad',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03558' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.2.2; de-de; K1 turbo Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 ACHEETAHI/2100501028',
'properties' => [
'Browser_Name' => 'CM Browser',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Cheetah Mobile',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03559' => [
'ua' => 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.38 Safari/537.36 OPR/27.0.1689.33 (Edition beta)',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '27.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03560' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; W33 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.0.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03561' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50',
'properties' => [
'Browser_Name' => 'Safari',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Apple Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '5.1',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03562' => [
'ua' => 'Mozilla/5.0 (iPhone; CPU iPhone OS 8_0_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12A405 [FBAN/FBIOS;FBAV/16.0.0.13.22;FBBV/4697910;FBDV/iPhone7,2;FBMD/iPhone;FBSN/iPhone OS;FBSV/8.0.2;FBSS/2; FBCR/Vodafone.de;FBID/phone;FBLC/de_DE;FBOP/5]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '16.0',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '8.0.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPhone',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPhone',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03563' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.0; Windows NT 5.1; Trident/4.0; GTB7.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03564' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; SM-T530NU Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Safari/537.36 [FB_IAB/FB4A;FBAV/24.0.0.30.15;]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '24.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Tab 4 10.1',
'Device_Maker' => 'Samsung',
'Device_Type' => 'FonePad',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-T530NU',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03565' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.4.3; de-ch; HTC_One/6.12.161.9 Build/KTU84L) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.3',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'One',
'Device_Maker' => 'HTC',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'M7',
'Device_Brand_Name' => 'HTC',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03566' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.1.1; de-de; POV_TAB-PROTAB30IPS10-3G_V2 Build/JRO03H) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03567' => [
'ua' => 'search.KumKie.com',
'properties' => [
'Browser_Name' => 'Default Browser',
'Browser_Type' => 'unknown',
'Browser_Bits' => 32,
'Browser_Maker' => 'unknown',
'Browser_Modus' => 'unknown',
'Browser_Version' => '0.0',
'Platform_Codename' => 'unknown',
'Platform_Marketingname' => 'unknown',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'unknown',
'Platform_Brand_Name' => 'unknown',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => null,
'Device_Pointing_Method' => null,
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'unknown',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'unknown',
],
],
'test-00057-03568' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.3; de-de; HUAWEI P7 mini Build/HuaweiP7Mini) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 [FB_IAB/FB4A;FBAV/24.0.0.30.15;]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '24.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.3.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Ascend P7 Mini',
'Device_Maker' => 'Huawei',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'P7 Mini',
'Device_Brand_Name' => 'Huawei',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03569' => [
'ua' => 'Mozilla/5.0 (iPad; CPU OS 8_1_2 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) GSA/4.1.0.31802 Mobile/12B440 Safari/9537.53',
'properties' => [
'Browser_Name' => 'Google App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.1',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '8.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPad',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPad',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03570' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; AskTbAVR-3/5.15.4.23930)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.1',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00057-03572' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.1.2; pl-pl; GT-I9070 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S Advance',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9070',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03573' => [
'ua' => 'Mozilla/5.0 (iPad; CPU OS 7_0_4 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11B554a [FBAN/FBIOS;FBAV/7.0.0.17.1;FBBV/1325030;FBDV/iPad3,4;FBMD/iPad;FBSN/iPhone OS;FBSV/7.0.4;FBSS/2; FBCR/;FBID/tablet;FBLC/de_DE;FBOP/1]',
'properties' => [
'Browser_Name' => 'Facebook App',
'Browser_Type' => 'Application',
'Browser_Bits' => 32,
'Browser_Maker' => 'Facebook',
'Browser_Modus' => 'unknown',
'Browser_Version' => '7.0',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '7.0.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPad',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPad',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03574' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; b1-720 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.93 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '39.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03575' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.1.2; GT-I8190 Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.131 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '36.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.1.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S III Mini',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I8190',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00057-03576' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.2.2; ro-ro; SAMSUNG GT-I9505/I9505XXUBMEA Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Version/1.0 Chrome/18.0.1025.308 Mobile Safari/535.19',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '1.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S4',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-I9505',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03577' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.0.4; de-ch; GT-S7562 Build/IMM76I) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.0.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy S Duos',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'GT-S7562',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00057-03578' => [
'ua' => 'Mozilla/5.0 (Linux; U; Android 4.0.4; de-de; SonyEricssonLT26w Build/6.1.A.2.45) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30',
'properties' => [
'Browser_Name' => 'Android',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.0.4',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Xperia Acro S',
'Device_Maker' => 'Sony',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'LT26w',
'Device_Brand_Name' => 'Sony',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
];
|
<?php
class SerieFonctions {
private $_db; // Instance de PDO
public function __construct($db) {
$this->setDb($db);
}
public function addSerie(Serie $serie) {
$q = $this->_db->prepare('INSERT INTO serie SET serie=:serie, ecole=:ecole');
$q->bindValue(':serie', $serie->serie());
$q->bindValue(':ecole', $serie->ecole());
$q->execute();
}
public function countSerie() {
return $this->_db->query('SELECT COUNT(*) FROM serie')->fetchColumn();
}
public function deleteSerie(Serie $serie) {
$this->_db->exec('DELETE FROM serie WHERE serie = '.$serie->serie());
}
public function existSerie($info1, $info2){
// On veut voir si tel serie $info existe.
$q = $this->_db->prepare("SELECT * FROM serie WHERE serie='".$info1."' AND ecole='".$info2."'");
$q->execute();
return $q->fetchColumn();
}
public function getSerie($serie) {
$q = $this->_db->query('SELECT serie FROM serie WHERE serie = '.$serie);
$donnees = $q->fetch(PDO::FETCH_ASSOC);
return new Serie($donnees);
}
public function getListSerie($serie) {
$niveau = array();
$q = $this->_db->prepare('SELECT serie FROM serie WHERE (serie <> :serie) ORDER BY serie');
$q->execute(array(':serie' => $serie));
while ($donnees = $q->fetch(PDO::FETCH_ASSOC)) {
$niveau[] = new Serie($donnees);
}
return $niveau;
}
public function updateSerie(Serie $serie) {
$q = $this->_db->prepare('UPDATE serie SET serie=:serie, ecole=:ecole');
$q->bindValue(':serie', $serie->serie());
$q->execute();
}
public function setDb(PDO $db) {
$this->_db = $db;
}
}
?> |
<?php
class Image extends Model {
const PREVIEW_VERSION = ImageVersionDao::PREVIEW_VERSION;
private $dao = null;
private $owner = null;
private $versions = array();
public function getId() {
return $this->dao->getId();
}
protected function init() {
$input = $this->getInput();
if (is_numeric($input)) {
$this->dao = new ImageDao($input);
} else {
$this->dao = $this->getInput();
}
}
public function persist() {
$this->dao->save();
}
public function setOwnerId($ownerId) {
$this->dao->setAccountId($ownerId);
}
public function getOwner() {
if (!isset($this->owner)) {
$this->owner = new User($this->dao->getAccountId());
}
return $this->owner;
}
public function addNewVersion($filePath) {
$versionDao = new ImageVersionDao();
$versionDao->setFilePath($filePath);
$versionDao->setImageId($this->getId());
$versionDao->save();
if (!empty($this->versions)) {
$this->versions[''.ImageVersionDao::PREVIEW_VERSION] = $versionDao;
}
}
public function getAllVersionFiles() {
if (empty($this->versions)) {
$imageVersionDaos = ImageVersionDao::getImages($this->getId());
$preview = array();
foreach ($imageVersionDaos as $imageVersionDao) {
$version = $imageVersionDao->getVersion();
if ($version == ImageVersionDao::PREVIEW_VERSION) {
$preview['file_path'] = $imageVersionDao->getFilePath();
$preview['create_time'] = $imageVersionDao->getCreateTime();
} else {
$this->versions[$version] = array();
$this->versions[$version]['file_path'] = $imageVersionDao->getFilePath();
$this->versions[$version]['create_time'] = $imageVersionDao->getCreateTime();
}
}
$this->versions[ImageVersionDao::PREVIEW_VERSION] = $preview;
}
return $this->versions;
}
public function publishNewVersion() {
return ImageVersionDao::publish($this->getId());
}
public function getProjectPaths() {
$paths = array();
$pathIds = LookupImageProjectPathDao::getProjectPaths($this->dao->getProjectId(), $this->getId());
$pathDaos = ProjectPathDao::getProjectPathsByIds($this->dao->getProjectId(), $pathIds);
foreach ($pathDaos as $pathDao) {
$path = new ProjectPath($pathDao);
$paths[$pathDao->getId()] = $path;
}
return $paths;
}
public function countProjectPaths() {
return LookupImageProjectPathDao::countImageProjectPaths($this->dao->getProjectId(), $this->getId());
}
public function getPreviewFilePath() {
$path = '';
$versionDao = ImageVersionDao::getPreviewImage($this->getId());
if (isset($versionDao)) {
$path = $versionDao->getFilePath();
}
return $path;
}
public function addToProjectPath($pathId) {
$lookup = new LookupImageProjectPathDao();
$lookup->setCode($this->dao->getCode());
$lookup->setImageId($this->dao->getId());
$lookup->setProjectPathId($pathId);
$lookup->setProjectId($this->dao->getProjectId());
return $lookup->save();
}
public function removeFromProjectPath($pathId) {
return LookupImageProjectPathDao::removeLookup (
$this->dao->getProjectId(), $pathId, $this->dao->getId());
}
public function setCode($code) {
$this->dao->setCode($code);
}
public function getCode() {
return $this->dao->getCode();
}
public function getProjectId() {
return $this->dao->getProjectId();
}
public function getAccountId() {
return $this->dao->getAccountId();
}
public function getCreateTime() {
return $this->dao->getCreateTime();
}
public function getLastModify() {
return $this->dao->getLastModify();
}
}
?> |
<?php
namespace CM\Bundle\ModelBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* FanPage
*
* @ORM\Table(name="fan_page")
* @ORM\Entity(repositoryClass="CM\Bundle\ModelBundle\Entity\FanPageRepository")
*/
class FanPage
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="fb_id", type="string", length=255, unique=true)
*/
private $fb_id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=100, unique=true)
*/
private $name;
/**
* The Facebook fan page url
*
* @var string
*
* @ORM\Column(name="url", type="string", length=255)
*/
private $url;
/**
* @var string
*
* @ORM\Column(name="app_id", type="string", length=255)
*/
private $app_id;
/**
* @var string
*
* @ORM\Column(name="app_secret", type="string", length=255)
*/
private $app_secret;
/**
* @var string
*
* @ORM\Column(name="access_token", type="string", length=255)
*/
private $access_token;
/**
* @var string
*
* @ORM\Column(name="access_token_actualizado", type="boolean")
*/
private $accesTokenActualizado;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set name
*
* @param string $name
* @return FanPage
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set access_token
*
* @param string $accessToken
* @return FanPage
*/
public function setAccessToken($accessToken)
{
$this->access_token = $accessToken;
return $this;
}
/**
* Get access_token
*
* @return string
*/
public function getAccessToken()
{
return $this->access_token;
}
/**
* Set url
*
* @param string $url
* @return FanPage
*/
public function setUrl($url)
{
$this->url = $url;
return $this;
}
/**
* Get url
*
* @return string
*/
public function getUrl()
{
return $this->url;
}
/**
* Set fb_id
*
* @param string $fbId
* @return FanPage
*/
public function setFbId($fbId)
{
$this->fb_id = $fbId;
return $this;
}
/**
* Get fb_id
*
* @return string
*/
public function getFbId()
{
return $this->fb_id;
}
/**
* Set app_id
*
* @param string $appId
* @return FanPage
*/
public function setAppId($appId)
{
$this->app_id = $appId;
return $this;
}
/**
* Get app_id
*
* @return string
*/
public function getAppId()
{
return $this->app_id;
}
/**
* Set app_secret
*
* @param string $appSecret
* @return FanPage
*/
public function setAppSecret($appSecret)
{
$this->app_secret = $appSecret;
return $this;
}
/**
* Get app_secret
*
* @return string
*/
public function getAppSecret()
{
return $this->app_secret;
}
/**
* Set accesTokenActualizado
*
* @param boolean $accesTokenActualizado
* @return FanPage
*/
public function setAccesTokenActualizado($accesTokenActualizado)
{
$this->accesTokenActualizado = $accesTokenActualizado;
return $this;
}
/**
* Get accesTokenActualizado
*
* @return boolean
*/
public function getAccesTokenActualizado()
{
return $this->accesTokenActualizado;
}
}
|
<?php
class Mementia_Expressdelivery_Helper_Data extends Mage_Core_Helper_Abstract
{
protected $_logFile = 'expressdelivery.log';
/**
* @param $string
*
* @return Mementia_Expressdelivery_Helper_Data
*/
public function log($string)
{
if ($this->getStoreConfig('enable_log')) {
Mage::log($string, null, $this->_logFile);
}
return $this;
}
/**
* @param string $key
* @param null $storeId
*
* @return mixed
*/
public function getStoreConfig($key, $storeId = null)
{
return Mage::getStoreConfig("carriers/expressdelivery/$key", $storeId);
}
public function getCities() {
$apiKey = Mage::helper('expressdelivery')->getStoreConfig('api_key');
$apiUrl = Mage::helper('expressdelivery')->getStoreConfig('api_url');
}
} |
<?php
/**
* The file is part of DaftSearch library
*
* @author Kaiyuan Liu
* @version 0.0.1
* @license http://www.php.net/license/3_01.txt PHP License 3.01
*
*/
namespace DaftSearch;
/**
* The Api Request Class
*
* @category DaftSearchLib
* @package DaftSearch
* @author Kaiyuan Liu
* @version 0.0.1
* @license http://www.php.net/license/3_01.txt PHP License 3.01
*/
class ApiRequestor
{
/**
* Daft api key
*
* @var null|string $_apiKey
*/
private $_apiKey;
/**
* Daft soap api url
*
* @var null|string $_apiBase
*/
private $_apiBase;
/**
* Constructor
* @param string|null $apiKey The daft api key
* @param string|null $apiBase The daft api url
*/
public function __construct($apiKey = null, $apiBase = null)
{
$this->_apiKey = $apiKey;
if (!$apiBase) {
$apiBase = DaftSearch::$apiBase;
}
$this->_apiBase = $apiBase;
}
/**
* Perform a search request
*
* @param string $action The action to perform request. e.g.
* (search_sale, areas, ad_types etc.) for more
* details see daft api documentation
* @param null|array $params The parameters for property search request
* @param array $soapOpts The optional parameters for soap request
*
* @return mixed The results from daft api
* @throws \DaftSearch\Exception\Authentication
* @todo Interpret results to make it more usable before returning it.
*/
public function request(
$action,
$params = null,
$soapOpts = array('features' => SOAP_SINGLE_ELEMENT_ARRAYS)
){
if (!$params) {
$params = array();
}
$result = $this->_request($action, $params, $soapOpts);
return $result;
}
/**
* @see ApiRequestor::request()
*/
private function _request($action, $params, $soapOpts)
{
$currentApiKey = $this->_apiKey;
if (!$currentApiKey) {
$currentApiKey = DaftSearch::$apiKey;
}
if (!$currentApiKey) {
$errorMsg = 'No API key provided. Please set API key before'
. ' each action using "DaftSearch::setApiKey(<API KEY>)"';
throw new Exception\Authentication($errorMsg);
}
$base = $this->_apiBase;
if (!array_key_exists('api_key', $params)) {
$params['api_key'] = $currentApiKey;
}
return $this->_soapRequest($action, $base, $params, $soapOpts);
}
/**
* Handle soap request to daft api
*
* @param string $action @see ApiRequestor::request()
* @param string $base The daft api url
* @param array $params @see ApiRequestor::request()
* @param array $soapOpts @see ApiRequestor::request()
*
* @return mixed The results from daft api
* @throws \DaftSearch\Exception\Api
* @throws \DaftSearch\Exception\Authentication
* @throws \DaftSearch\Exception\Permission
* @throws \DaftSearch\Exception\Unknown
* @throws \Exception
* @todo To check $action validation before make soap request, if it is
* invalid, throws Exception\Api exception
*/
private function _soapRequest($action, $base, $params, $soapOpts)
{
try{
$soapClient = new \SoapClient($base, $soapOpts);
$response = $soapClient->$action($params);
return $response;
} catch (\SoapFault $e) {
$this->_handleSoapException($e);
}
}
/**
* To handle soap errors
*
* @param \SoapFault $exception The soap fault exception
*
* @throws \DaftSearch\Exception\Api
* @throws \DaftSearch\Exception\Authentication
* @throws \DaftSearch\Exception\Permission
* @throws \DaftSearch\Exception\Unknown
* @throws \Exception
*/
private function _handleSoapException($exception)
{
$exceptionCode = $exception->faultcode;
$exceptionMsg = $exception->faultstring;
switch ($exceptionCode) {
case 'AuthenticationFailure':
throw new Exception\Authentication($exceptionMsg);
break;
case 'PermissionFailure':
throw new Exception\Permission($exceptionMsg);
break;
case 'UnknownFailure':
throw new Exception\Unknown($exceptionMsg);
break;
case 'Client':
throw new Exception\Api($exceptionMsg);
break;
default:
throw new \Exception($exceptionMsg);
}
}
} |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
use App\Jefe;
class JefesSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
Jefe::Truncate();
$jefe = new App\Jefe;
$jefe->nombre = 'Javier';
$jefe->apellido = 'Mascherano';
$jefe->username = 'JaviM';
$jefe->email = 'jefecito@jefe.com';
$jefe->password = Hash::make('jefe');
$jefe->api_token = bin2hex(openssl_random_pseudo_bytes(30));
$jefe->save();
}
}
|
<?php
return [
'test-00138-04402' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; SM-G361F Build/LMY48B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '53',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Core Prime Value Edition LTE',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-G361F',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04404' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1.1; HUAWEI P8max Build/HUAWEIDAV-701L) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '53',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04409' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1; TbooK 11(E5A3) Build/LMY47I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '50',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04418' => [
'ua' => 'Mozilla/5.0 (X11; Ubuntu; Linux i686 on x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2703.22 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '50',
'Platform_Codename' => 'Ubuntu',
'Platform_Marketingname' => 'Ubuntu',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Canonical Foundation',
'Platform_Brand_Name' => 'Canonical',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04419' => [
'ua' => 'Mozilla/5.0 (X11; Ubuntu; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2071.33 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '37',
'Platform_Codename' => 'Ubuntu',
'Platform_Marketingname' => 'Ubuntu',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Canonical Foundation',
'Platform_Brand_Name' => 'Canonical',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04421' => [
'ua' => 'Mozilla/5.0 (X11; Ubuntu; Linux i686 on x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1833.63 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '33',
'Platform_Codename' => 'Ubuntu',
'Platform_Marketingname' => 'Ubuntu',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Canonical Foundation',
'Platform_Brand_Name' => 'Canonical',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04427' => [
'ua' => 'Mozilla/5.0 (iPad; CPU OS 9_3_5 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) CriOS/40.0.2214.73 Mobile/13G36 Safari/600.1.4',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '40.0',
'Platform_Codename' => 'iOS',
'Platform_Marketingname' => 'iOS',
'Platform_Version' => '9.3.5',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'iPad',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'iPad',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'WebKit',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Apple Inc',
],
],
'test-00138-04432' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.2.2; Archos 50 Neon Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '53',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04434' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.2.2; MEDION P5001 Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '53',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.2.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Life P5001',
'Device_Maker' => 'Medion',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Life P5001',
'Device_Brand_Name' => 'Medion',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04435' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1; Archos 50c Platinum Build/LMY47D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '53',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'unknown',
'Device_Maker' => 'unknown',
'Device_Type' => 'unknown',
'Device_Pointing_Method' => 'unknown',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'unknown',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04436' => [
'ua' => 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; InfoPath.3; ; ; ;s093g800;hoch)',
'properties' => [
'Browser_Name' => 'Internet Explorer',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Microsoft Corporation',
'Browser_Modus' => 'unknown',
'Browser_Version' => '8.0',
'Platform_Codename' => 'Windows NT 5.2',
'Platform_Marketingname' => 'Windows XP',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Trident',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Microsoft Corporation',
],
],
'test-00138-04438' => [
'ua' => 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QupZilla/2.0.1 Chrome/49.0.2623.111 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 64,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '49',
'Platform_Codename' => 'Linux',
'Platform_Marketingname' => 'Linux',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Linux Foundation',
'Platform_Brand_Name' => 'Linux Foundation',
'Device_Name' => 'Linux Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Linux Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04443' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.9.2743.82 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '52.9',
'Platform_Codename' => 'Windows NT 6.1',
'Platform_Marketingname' => 'Windows 7',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 64,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04444' => [
'ua' => 'Mozilla/5.0 (Windows Phone 10.0; Android 6.0.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Mobile Safari/537.36 Edge/14.14936',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '51',
'Platform_Codename' => 'Windows Phone OS',
'Platform_Marketingname' => 'Windows Phone OS',
'Platform_Version' => '10.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Lumia 550',
'Device_Maker' => 'Nokia',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Lumia 550',
'Device_Brand_Name' => 'Nokia',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04448' => [
'ua' => 'Mozilla/5.0 (Linux; Android 6.0.1; HTC Desire 820 dual sim Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '53',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '6.0.1',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Desire 820',
'Device_Maker' => 'HTC',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'Desire 820',
'Device_Brand_Name' => 'HTC',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04453' => [
'ua' => 'Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36 OPR/40.0.2308.81',
'properties' => [
'Browser_Name' => 'Opera',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Opera Software ASA',
'Browser_Modus' => 'unknown',
'Browser_Version' => '40.0',
'Platform_Codename' => 'Windows NT 6.3',
'Platform_Marketingname' => 'Windows 8.1',
'Platform_Version' => '0.0.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Microsoft Corporation',
'Platform_Brand_Name' => 'Microsoft',
'Device_Name' => 'Windows Desktop',
'Device_Maker' => 'unknown',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Windows Desktop',
'Device_Brand_Name' => 'unknown',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04457' => [
'ua' => 'Mozilla/5.0 (Linux; Android 4.4.2; en-au; SAMSUNG SM-G7102 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/1.5 Chrome/28.0.1500.94 Mobile Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '1.5',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '4.4.2',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'Galaxy Grand 2 Duos',
'Device_Maker' => 'Samsung',
'Device_Type' => 'Mobile Phone',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'SM-G7102',
'Device_Brand_Name' => 'Samsung',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04458' => [
'ua' => 'Mozilla/5.0 (Linux; Android 5.1; P1050X Build/LMY47I; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.124 Safari/537.36',
'properties' => [
'Browser_Name' => 'Android WebView',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '4.0',
'Platform_Codename' => 'Android',
'Platform_Marketingname' => 'Android',
'Platform_Version' => '5.1.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Google Inc',
'Platform_Brand_Name' => 'Google',
'Device_Name' => 'LifeTab P1050X',
'Device_Maker' => 'Lenovo',
'Device_Type' => 'Tablet',
'Device_Pointing_Method' => 'touchscreen',
'Device_Dual_Orientation' => true,
'Device_Code_Name' => 'LifeTab P1050X',
'Device_Brand_Name' => 'Lenovo',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
'test-00138-04461' => [
'ua' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1886.59 Safari/537.36',
'properties' => [
'Browser_Name' => 'Chrome',
'Browser_Type' => 'Browser',
'Browser_Bits' => 32,
'Browser_Maker' => 'Google Inc',
'Browser_Modus' => 'unknown',
'Browser_Version' => '34',
'Platform_Codename' => 'Mac OS X',
'Platform_Marketingname' => 'Mac OS X',
'Platform_Version' => '10.9.0',
'Platform_Bits' => 32,
'Platform_Maker' => 'Apple Inc',
'Platform_Brand_Name' => 'Apple',
'Device_Name' => 'Macintosh',
'Device_Maker' => 'Apple Inc',
'Device_Type' => 'Desktop',
'Device_Pointing_Method' => 'mouse',
'Device_Dual_Orientation' => false,
'Device_Code_Name' => 'Macintosh',
'Device_Brand_Name' => 'Apple',
'RenderingEngine_Name' => 'Blink',
'RenderingEngine_Version' => 'unknown',
'RenderingEngine_Maker' => 'Google Inc',
],
],
];
|
<?php
/**
* Tracking codes Before body end
*
* @package EightshiftBoilerplate
*/
// Add Before body end hooks here.
|
<?php
namespace OpgTest\Core\Model\CaseItem\Deputyship\Decorator;
use Doctrine\Common\Collections\ArrayCollection;
use Opg\Core\Model\Entity\CaseActor\Deputy;
use Opg\Core\Model\Entity\CaseItem\Deputyship\Decorator\HasDeputies;
use Opg\Core\Model\Entity\CaseItem\Deputyship\Decorator\HasDeputiesInterface;
class HasDeputiesStub implements HasDeputiesInterface
{
use HasDeputies;
public function __unset($value)
{
if (property_exists(get_class($this), $value)) {
$this->{$value} = null;
}
}
}
class HasDeputiesTest extends \PHPUnit_Framework_TestCase {
/** @var HasDeputiesStub */
protected $stub;
public function setUp()
{
$this->stub = new HasDeputiesStub();
}
public function testSetUp()
{
unset($this->{'deputies'});
$this->assertTrue($this->stub instanceof HasDeputiesInterface);
$this->assertEmpty($this->stub->getDeputies()->toArray());
}
public function testSetDeputies()
{
$collection = new ArrayCollection();
for ($i=1; $i<=10; $i++) {
$collection->add( (new Deputy())->setId($i));
}
$this->stub->setDeputies($collection);
$this->assertEquals($collection, $this->stub->getDeputies());
$this->assertCount(10, $this->stub->getDeputies()->toArray());
}
public function testAddRemoveDeputies()
{
$d1 = (new Deputy())->setId(1);
$d2 = (new Deputy())->setId(2);
$this->stub->addDeputy($d1)->addDeputy($d2);
$this->assertTrue($this->stub->hasDeputy($d1));
$this->assertTrue($this->stub->hasDeputy($d2));
$this->stub->removeDeputy($d1);
$this->assertFalse($this->stub->hasDeputy($d1));
$this->assertTrue($this->stub->hasDeputy($d2));
}
}
|
<?php
namespace Mic2100\DotArrayParser;
use InvalidArgumentException;
use Psr\Log\LoggerInterface;
/**
* Class Parser
*
* @package Mic2100\DotArrayParser
* @author Mike Bardsley
* @license MIT
*/
class Parser
{
/**
* @var LoggerInterface
*/
private $logger;
/**
* Parser constructor.
*
* @param LoggerInterface|null $logger
*/
public function __construct(LoggerInterface $logger = null)
{
$this->logger = $logger;
}
/**
* Parse the syntax and return the value from the array
*
* @param string $syntax
* @param array $array
* @param null|mixed $default - this value will be returned if this method cannot find a value to return
*
* @return mixed
*/
public function handle(string $syntax, array $array, $default = null)
{
if (empty($syntax)) {
throw new InvalidArgumentException('You need to pass a valid array syntax. e.g. key1.key2.key3');
}
try {
return $this->getValue($this->getKeys($syntax), $array);
} catch (InvalidArgumentException $exception) {
if ($this->logger) {
$this->logger->warning($exception);
} else {
error_log($exception);
}
return $default;
}
}
/**
* Get the keys using the dot syntax
*
* @param string $syntax
* @throws InvalidArgumentException - if there are no keys in the syntax
*
* @return array
*/
private function getKeys(string $syntax): array
{
return explode('.', $syntax);
}
/**
* Get the value from the array using the keys
*
* @param array $keys
* @param array $array
* @throws InvalidArgumentException - if the key does not exist
*
* @return array|mixed
*/
private function getValue(array $keys, array $array)
{
foreach ($keys as $key) {
if (!isset($array[$key]) || !array_key_exists($key, $array)) {
throw new InvalidArgumentException('The key does not exist: ' . $key);
}
$array = $array[$key];
}
return $array;
}
}
|
<?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding your
| database. Just tell the factory how a default model should look.
|
*/
/** @var \Illuminate\Database\Eloquent\Factory $factory */
/**$factory->define(sacep\User::class, function (Faker\Generator $faker) {
static $password;
return [
'name' => $faker->name,
'email' => $faker->unique()->safeEmail,
'password' => $password ?: $password = bcrypt('secret'),
'remember_token' => str_random(10),
];
});*/
$factory->define(sacep\Empleado::class,function (Faker\Generator $faker)
{
static $id_usuario;
return [
'cedula_empleado' => $faker->unique()->numberBetween('5000000','30000000'),
'nombre_completo' => $faker->name,
'fecha_ingreso' => $faker->dateTimeBetween('2005-01-01','now'),
'fecha_nacimiento'=> $faker->dateTimeBetween('1930-01-01','1999-12-31'),
'estado' => 'activo',
'id_usuario' => $id_usuario ?: $id_usuario = NULL
];
});
|
<?php
namespace sisconee\AdministracionBundle\Form;
use Doctrine\ORM\EntityRepository;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Symfony\Component\Security\Core\SecurityContext;
class EntidadType extends AbstractType
{
private $securityContext;
public function __construct(SecurityContext $securityContext)
{
$this->securityContext = $securityContext;
}
/**
* @param FormBuilderInterface $builder
* @param array $options
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
//usuario autenticado
$user = $this->securityContext->getToken()->getUser();
if (!$user) {
throw new \LogicException(
'The EntityFormType cannot be used without an authenticated user!'
);
}
$userOrganism = $user->getEntidad()->getOrganismo();
$userEntity = $user->getEntidad() ;
$builder
->add('organismo', 'entity', array(
'class' => 'sisconeeAppBundle:Organismo',
'label'=> 'Organismo:',
'query_builder' => function(EntityRepository $er) use ($userOrganism) {
return $er->createQueryBuilder('o')
->where('o.id = ?1')
->setParameter(1, $userOrganism->getId());
}
));
if($this->securityContext->isGranted('ROLE_PLANIFICADOR_SUP'))
{
/*$builder ->add('idEntidad', 'entity', array(
'label' => 'Entidad padre:',
'class' => 'sisconeeAppBundle:Entidad',
'choices' => function(EntityRepository $er) use ($userOrganism) {
return $er->getAllEntitiesBelongTo($userOrganism->getId());}*/
$builder ->add('entidadPadre', 'entity', array(
'label' => 'Entidad padre:',
'class' => 'sisconeeAppBundle:Entidad',
'query_builder' => function(EntityRepository $er) use ($userOrganism) {
return $er->createQueryBuilder('e')
->where('e.organismo = ?1')
->setParameter(1, $userOrganism);
}
));
}
else //ROLE_PLANIFICADOR_ENT
{
$builder->add ('entidadPadre', 'entity', array(
'label' => 'Entidad padre:',
'class' => 'sisconeeAppBundle:Entidad',
'query_builder' => function(EntityRepository $er) use ($userEntity) {
return $er->createQueryBuilder('e')
->where('e.id = ?1')
->setParameter(1, $userEntity);}
));
}
$builder
->add('codReeup','text',array('label' => 'Código REEUP:'))
->add('nombre','text',array('label' => 'Nombre:'))
->add('siglas','text',array('label' => 'Siglas:'))
->add('nae', 'entity', array(
'label' => 'NAE:',
'class' => 'sisconeeAppBundle:NAE',
))
->add('correo','text',array('label' => 'Correo:'))
->add('telefono','text',array('label' => 'Teléfono:'))
->add('direccion','textarea',array('label' => 'Dirección:'))
;
}
/**
* @param OptionsResolverInterface $resolver
*/
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
$resolver->setDefaults(array(
'data_class' => 'sisconee\AppBundle\Entity\Entidad'));
}
/**
* @return string
*/
public function getName()
{
return 'sisconee_appbundle_entidad';
}
}
|
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "companies" collection of methods.
* Typical usage is:
* <code>
* $jobsService = new Google_Service_JobService(...);
* $companies = $jobsService->companies;
* </code>
*/
class Google_Service_JobService_Resource_Companies extends Google_Service_Resource
{
/**
* Creates a new company entity. (companies.create)
*
* @param Google_Service_JobService_Company $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_JobService_Company
*/
public function create(Google_Service_JobService_Company $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_JobService_Company");
}
/**
* Deletes the specified company. (companies.delete)
*
* @param string $name Required.
*
* The resource name of the company to be deleted, such as,
* "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
* @param array $optParams Optional parameters.
* @return Google_Service_JobService_JobsEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_JobService_JobsEmpty");
}
/**
* Retrieves the specified company. (companies.get)
*
* @param string $name Required.
*
* Resource name of the company to retrieve, such as
* "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
* @param array $optParams Optional parameters.
* @return Google_Service_JobService_Company
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_JobService_Company");
}
/**
* Lists all companies associated with a Cloud Talent Solution account.
* (companies.listCompanies)
*
* @param array $optParams Optional parameters.
*
* @opt_param bool mustHaveOpenJobs Optional.
*
* Set to true if the companies request must have open jobs.
*
* Defaults to false.
*
* If true, at most page_size of companies are fetched, among which only those
* with open jobs are returned.
* @opt_param string pageToken Optional.
*
* The starting indicator from which to return results.
* @opt_param int pageSize Optional.
*
* The maximum number of companies to be returned, at most 100. Default is 100
* if a non-positive number is provided.
* @return Google_Service_JobService_ListCompaniesResponse
*/
public function listCompanies($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_JobService_ListCompaniesResponse");
}
/**
* Updates the specified company. Company names can't be updated. To update a
* company name, delete the company and all jobs associated with it, and only
* then re-create them. (companies.patch)
*
* @param string $name Required during company update.
*
* The resource name for a company. This is generated by the service when a
* company is created, for example,
* "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
* @param Google_Service_JobService_Company $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateCompanyFields Optional but strongly recommended to be
* provided for the best service experience.
*
* If update_company_fields is provided, only the specified fields in company
* are updated. Otherwise all the fields are updated.
*
* A field mask to specify the company fields to update. Valid values are:
*
* * displayName * website * imageUrl * companySize *
* distributorBillingCompanyId * companyInfoSources * careerPageLink *
* hiringAgency * hqLocation * eeoText * keywordSearchableCustomAttributes *
* title (deprecated) * keywordSearchableCustomFields (deprecated)
* @return Google_Service_JobService_Company
*/
public function patch($name, Google_Service_JobService_Company $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_JobService_Company");
}
}
|
<?php
namespace Learner\Repositories\Eloquent;
use Hash;
use AvatarManager;
use Carbon\Carbon;
use Learner\Models\User;
use Learner\Repositories\UserRepositoryInterface;
use Learner\Services\Forms\UserRegisterFormService;
class UserRepository extends AbstractRepository implements UserRepositoryInterface
{
/**
* The user relate models.
*
* @var array
*/
protected static $relations = ['roles.perms'];
/**
* Create a new User instance.
*
* @param \Learner\Models\User $user
*/
public function __construct(User $user)
{
$this->model = $user;
}
/**
* Create a new user in the database.
*
* @param array $data
*
* @return \Learner\Models\User
*/
public function create(array $data)
{
$user = $this->getNew();
$user->email = $data['email'];
$user->username = $data['username'];
$user->password = Hash::make($data['password']);
$user->avatar = AvatarManager::generateAvatar($user->username);
$user->save();
return $user;
}
/**
* attach a role to user.
*
* @param \Learner\Models\User $user
* @param mixed $roleOrRoleId
*/
public function attachRole(User $user, $roleOrRoleId)
{
$user->roles()->attach($roleOrRoleId);
}
/**
* Get the user creation form service.
*
* @return \Learner\Services\Forms\UserRegisterFormService.
*/
public function getRegisterForm()
{
return new UserRegisterFormService;
}
/**
* Find user by id with trashed.
*
* @param integer $id
*
* @return \Learner\Models\User
*/
public function findWithTrashedById($id)
{
return $this->model->withTrashed()->findOrFail($id);
}
/**
* Give user one or more roles.
*
* @param integer $userId
* @param array $roleIds
*
* @return \Learner\Models\User
*/
public function attachRoleById($userId, $roleIds)
{
$user = $this->findWithTrashedById($userId);
$user->roles()->sync($roleIds);
return $this->model
->withTrashed()
->with(['roles'])
->findOrFail($userId);
}
/**
* Find all active users paginated.
*
* @param int $perPage
*
* @return Illuminate\Database\Eloquent\Collection|\Learner\Models\User[]
*/
public function findAllActivePaginated($perPage = 50)
{
return $this->model
->with(self::$relations)
->where('is_active', true)
->orderBy('created_at', 'desc')
->paginate($perPage);
}
/**
* Find all not active users paginated.
*
* @param int $perPage
*
* @return Illuminate\Database\Eloquent\Collection|\Learner\Models\User[]
*/
public function findNotActivePaginated($perPage = 50)
{
return $this->model
->with(self::$relations)
->where('is_active', false)
->orderBy('created_at', 'desc')
->paginate($perPage);
}
/**
* Find all users in trash paginated.
*
* @return Illuminate\Database\Eloquent\Collection|\Learner\Models\User[]
*/
public function findTrashedPaginated($perPage = 50)
{
return $this->model
->with(self::$relations)
->onlyTrashed()
->orderBy('deleted_at', 'desc')
->paginate($perPage);
}
/**
* Update user.
*
* @param integer $id
* @param array $attributes
*/
public function update($id, array $attributes)
{
$user = $this->findWithTrashedById($id);
$user->update($attributes);
}
/**
* Remove the user to trash.
*
* @param integer $id
*/
public function remove($id)
{
$user = $this->update($id, [
'deleted_at' => Carbon::now()
]);
}
/**
* Delete user from database and remove avatar.
*
* @param integer $id
*/
public function delete($id)
{
$user = $this->findWithTrashedById($id);
AvatarManager::delete($user->avatar);
$user->forceDelete();
}
/**
* Restore a user from trash.
*
* @param integer $id
*/
public function restore($id)
{
$user = $this->update($id, [
'deleted_at' => null
]);
}
/**
* Change user's status.
*
* @param integer $id
*
* @return boolean
*/
public function toggleActive($id)
{
$user = $this->findWithTrashedById($id);
$user->update([
'is_active' => ! $user->is_active
]);
return $user->is_active;
}
}
|
<?php
require_once APPPATH . 'core/MY_model.php';
/**
* This is a model for tipo_documento, this model extend My_model
*
* @package restServerAtm
* @subpackage restServerAtm
* @category Models
* @author Ronald Acha Ramos
* @license MIT
*/
//class TipoDocumento_model extends MY_model {
class Nacionalidad_model {
private $TABLE = "nacionalidad";
public function __construct()
{
//parent::__construct();
$this->table_name = $this->TABLE;
}
public function getAll(){
$obj = new stdClass();
$obj->code = "B";
$obj->name = "Boliviana";
$obj->id = 1;
$result[0] = $obj;
$obj1 = new stdClass();
$obj1->code = "E";
$obj1->name = "Extranjero";
$obj1->id = 2;
$result[1] = $obj1;
return $result;
}
/**
*
*/
public function getByCode($code){
$list = self::getAll();
$item = null;
foreach ($list as $key => $value) {
if($value->code === $code){
$item = $value;
break;
}
}
return $item;
}
/**
*
*/
public function getById($id){
$list = self::getAll();
$item = null;
foreach ($list as $key => $value) {
if((int)$value->id === (int)$id){
$item = $value;
break;
}
}
return $item;
}
} |
<?php
/* reg_success.php
* ------------
* reg_success.php lets the user know that she has successfullty registered.
*/
// PHP initialization (utility functions, session start, etc.)
require_once('init_page.php');
// Set page title
$page_title = 'Registration Successful';
// Display header
require_once('oneroom_header.php');
?>
<!-- Content -->
<div id="content">
<!-- Content heading -->
<div id="content-heading">
<h1>Thank you for registering with OneRoom!</h1>
</div>
<!-- Content body -->
<div id="content-body">
<p>
Your registration with OneRoom was successful.
Now you can access <a href="usercourses.php">your courses </a>
or go back to the <a href="home.php">Home</a> page.
</p>
</div>
</div>
<?php
// Display footer
require_once('oneroom_footer.php');
// PHP end-script (close MySQL connection)
require_once('close_page.php');
?>
|
<?php
use PrestaShop\PrestaShop\Core\Payment\PaymentOption;
if (!defined('_PS_VERSION_')) {
exit;
}
class Suncash extends PaymentModule
{
public function __construct()
{
$this->author = 'Aquiel';
$this->name = 'suncash';
$this->tab = 'payment_gateways';
$this->version = '0.1.0';
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Suncash Payment');
$this->description = $this->l('Suncash Payment for PS 1.7');
}
public function install()
{
if (!parent::install()
|| !$this->registerHook('paymentOptions')
|| !$this->registerHook('paymentReturn')
) {
return false;
}
return true;
}
public function hookPaymentOptions($params) {
if (!$this->active) {
return;
}
//Paiement Standard sans passerelle
$standardPayment = new PaymentOption();
//Inputs supplémentaires (utilisé idéalement pour des champs cachés )
$inputs = [
[
'name' => 'custom_hidden_value',
'type' => 'hidden',
'value' => '30'
],
[
'name' => 'id_customer',
'type' => 'hidden',
'value' => $this->context->customer->id,
],
];
$standardPayment->setModuleName($this->name)
//Logo de paiement
->setLogo($this->context->link->getBaseLink().'/modules/suncash/views/img/logo.png')
->setInputs($inputs)
//->setBinary() Utilisé si une éxécution de binaire est nécessaires ( module atos par ex )
//Texte de description
->setCallToActionText($this->l('Suncash Payment Example'))
->setAction($this->context->link->getModuleLink($this->name, 'validation', array(), true))
//Texte informatif supplémentaire
->setAdditionalInformation($this->fetch('module:suncash/views/templates/hook/displayPayment.tpl'));
//Paiement API type bancaire
//Variables pour paiement API
$this->smarty->assign(
$this->getPaymentApiVars()
);
$apiPayement = new PaymentOption();
$apiPayement->setModuleName($this->name)
->setCallToActionText($this->l('Suncash Sample payement module (like CB )'))
//Définition d'un formulaire personnalisé
->setForm($this->fetch('module:suncash/views/templates/hook/payment_api_form.tpl'))
->setAdditionalInformation($this->fetch('module:suncash/views/templates/hook/displayPaymentApi.tpl'));
return [$standardPayment, $apiPayement];
}
public function getPaymentApiVars()
{
return [
'merchant_name' => Configuration::get('MERCHANT_NAME'),
'test_mode' => Configuration::get('TEST_MODE'),
'merchant_key' => Configuration::get('MERCHANT_KEY'),
'id_cart' => $this->context->cart->id,
'cart_total' => $this->context->cart->getOrderTotal(true, Cart::BOTH),
'id_customer' => $this->context->cart->id_customer,
];
}
public function hookDisplayPaymentReturn($params)
{
if (!$this->active) {
return;
}
$this->smarty->assign(
$this->getTemplateVars()
);
return $this->fetch('module:suncash/views/templates/hook/payment_return.tpl');
}
/**
* Configuration admin du module
*/
public function getContent()
{
$this->_html .=$this->postProcess();
$this->_html .= $this->renderForm();
return $this->_html;
}
/**
* Traitement de la configuration BO
* @return type
*/
public function postProcess()
{
if ( Tools::isSubmit('SubmitPaymentConfiguration'))
{
Configuration::updateValue('MERCHANT_NAME', Tools::getValue('MERCHANT_NAME'));
Configuration::updateValue('TEST_MODE', Tools::getValue('TEST_MODE'));
Configuration::updateValue('MERCHANT_KEY', Tools::getValue('MERCHANT_KEY'));
}
return $this->displayConfirmation($this->l('Configuration updated with success'));
}
/**
* Formulaire de configuration admin
*/
public function renderForm()
{
$fields_form = [
'form' => [
'legend' => [
'title' => $this->l('Suncash Payment Configuration'),
'icon' => 'icon-cogs'
],
'description' => $this->l('Configuration form'),
'input' => [
[
'type' => 'text',
'label' => $this->l('Merchant Name'),
'name' => 'MERCHANT_NAME',
'required' => true,
'empty_message' => $this->l('Please fill the merchant name'),
],
[
'type' => 'checkbox',
'label' => $this->l('Enable Test Mode'),
'name' => 'TEST_MODE',
'required' => false,
'empty_message' => $this->l('Please fill the payment api success url'),
],
[
'type' => 'text',
'label' => $this->l('Merchant Key'),
'name' => 'MERCHANT_KEY',
'required' => true,
'empty_message' => $this->l('Please fill the merchant key'),
],
],
'submit' => [
'title' => $this->l('Save'),
'class' => 'button btn btn-default pull-right',
],
],
];
$helper = new HelperForm();
$helper->show_toolbar = false;
$helper->default_form_language = (int)Configuration::get('PS_LANG_DEFAULT');
$helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0;
$helper->id = 'hhpayment';
$helper->identifier = 'hhpayment';
$helper->submit_action = 'SubmitPaymentConfiguration';
$helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name;
$helper->token = Tools::getAdminTokenLite('AdminModules');
$helper->tpl_vars = [
'fields_value' => $this->getConfigFieldsValues(),
'languages' => $this->context->controller->getLanguages(),
'id_language' => $this->context->language->id
];
return $helper->generateForm(array($fields_form));
}
/**
* Récupération des variables de configuration du formulaire admin
*/
public function getConfigFieldsValues()
{
return [
'MERCHANT_NAME' => Tools::getValue('MERCHANT_NAME', Configuration::get('MERCHANT_NAME')),
'TEST_MODE' => Tools::getValue('TEST_MODE', Configuration::get('TEST_MODE')),
'MERCHANT_KEY' => Tools::getValue('MERCHANT_KEY', Configuration::get('MERCHANT_KEY')),
];
}
/**
* Récupération des informations du template
* @return array
*/
public function getTemplateVars()
{
return [
'shop_name' => $this->context->shop->name,
'custom_var' => $this->l('My custom var value'),
'payment_details' => $this->l('custom details'),
];
}
}
|
<?php
class Question extends Eloquent {
public function product()
{
return $this->belongsTo('Activity');
}
public function product()
{
return $this->hasMany('Answer');
}
} |
<!--criar um arquivo .php para criar uma estrutura de switch case onde deverá ser informado uma valor numérico ou um símbolo que represente as operação aritmética. As operações a serem executadas são: soma; subtração; multiplicação; divisão e resto da divisão.-->
<?php
$operacao = "%";
$num1 = 10;
$num2 = 2;
switch($operacao){
case "+": $operacao = ($num1 + $num2);
break;
case "-": $operacao = ($num1 - $num2);
break;
case "*": $operacao = ($num1 * $num2);
break;
case "/": $operacao = ($num1 / $num2);
break;
case "%": $operacao = ($num1 % $num2);
}
echo $operacao;
?>
|
<?php
declare(strict_types=1);
namespace phpDocumentor\Reflection\Php\Factory;
use InvalidArgumentException;
use phpDocumentor\Reflection\Fqsen;
use phpDocumentor\Reflection\Php\Class_ as ClassElement;
use phpDocumentor\Reflection\Php\File;
use phpDocumentor\Reflection\Php\ProjectFactoryStrategy;
use phpDocumentor\Reflection\Php\StrategyContainer;
use PhpParser\Node\Name;
use PhpParser\Node\Stmt\Class_ as ClassNode;
use PhpParser\Node\Stmt\Namespace_ as NamespaceNode;
use Prophecy\Argument;
use Prophecy\PhpUnit\ProphecyTrait;
use stdClass;
use function current;
/**
* @coversDefaultClass \phpDocumentor\Reflection\Php\Factory\Namespace_
*/
final class Namespace_Test extends TestCase
{
use ProphecyTrait;
protected function setUp(): void
{
$this->fixture = new Namespace_();
}
/**
* @covers ::matches
*/
public function testMatches(): void
{
$this->assertFalse($this->fixture->matches(self::createContext(null), new stdClass()));
$this->assertTrue($this->fixture->matches(
self::createContext(null),
$this->prophesize(NamespaceNode::class)->reveal()
));
}
/**
* @covers ::create
*/
public function testCreateThrowsException(): void
{
$this->expectException(InvalidArgumentException::class);
$this->fixture->create(
self::createContext(null),
new stdClass(),
$this->prophesize(StrategyContainer::class)->reveal()
);
}
/**
* @covers ::create
*/
public function testIteratesStatements(): void
{
$class = new ClassNode('\MyClass');
$classElement = new ClassElement(new Fqsen('\MyClass'));
$strategyMock = $this->prophesize(ProjectFactoryStrategy::class);
$containerMock = $this->prophesize(StrategyContainer::class);
$namespace = new NamespaceNode(new Name('MyNamespace'));
$namespace->setAttribute('fqsen', new Fqsen('\MyNamespace'));
$namespace->stmts = [$class];
$strategyMock->create(Argument::type(ContextStack::class), $class, $containerMock)
->will(function ($args) use ($classElement): void {
$args[0]->peek()->addClass($classElement);
})
->shouldBeCalled();
$containerMock->findMatching(
Argument::type(ContextStack::class),
$class
)->willReturn($strategyMock->reveal());
$file = new File('hash', 'path');
$this->fixture->create(self::createContext(null)->push($file), $namespace, $containerMock->reveal());
$class = current($file->getClasses());
$fqsen = current($file->getNamespaces());
$this->assertInstanceOf(ClassElement::class, $class);
$this->assertEquals('\MyClass', (string) $class->getFqsen());
$this->assertEquals(new Fqsen('\MyNamespace'), $fqsen);
}
}
|
<?php
$user1 = new Lpdo();
$host = $user1->host = 'localhost';
$username = $user1->username= 'root';
$password = $user1->password= 'root';
$db = $user1->db= 'classes';
// $user1->register();
// $user1->constructeur();
// $user1->connect();
// $user1->getLastQuery();
// $user1->getLastResult();
// $user1->getTables() ;
$user1->getFields() ;
class Lpdo{
public $host;
public $username;
public $password;
public $db;
public function constructeur()
{
$connection = mysqli_connect("$this->host", "$this->username", "$this->password", "$this->db");
/* Vérification de la connexion */
if (mysqli_connect_errno()) {
printf("Échec de la connexion : %s\n", mysqli_connect_error());
exit();
}
else { echo ' connection à la bdd ok <br>'; $this->connected = 1; $this->lastquery = 'La dernière requete est constructeur'; }
return $this->result_query = $connection;
}
public function connect()
{
if ( isset($this->connected )){unset($connection); echo ' connexion bdd fermée <br>';}
$connection = mysqli_connect("$this->host", "$this->username", "$this->password", "$this->db");
/* Vérification de la connexion */
if (mysqli_connect_errno()) {
printf("Échec de la connexion : %s\n", mysqli_connect_error());
exit();
}
else { echo ' connection à la bdd ok <br>'; $this->connected = 1; $this->lastquery = 'La dernière requete est connect';}
$this->result_query = $connection;
return $connection;
}
public function destructeur()
{
if ( isset($this->connected )){unset($connection); echo ' connexion bdd fermée <br>';}
}
public function close()
{
if ( isset($this->connected )){unset($connection); echo ' connexion bdd fermée <br>';}
}
public function getLastQuery()
{
if ( isset($this->lastquery )){ echo $this->lastquery;}
else { echo 'false';}
}
public function getLastResult()
{
if ( isset($this->result_query )){ echo 'le résultat de la dernière requete est :'; echo '<pre>'; var_dump($this->result_query);echo '</pre>';}
else { echo 'false';}
}
public function getTables()
{
$bdd = $this->constructeur();
$requete = $bdd->query("SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE' ");
$donnees_utilisateur = $requete->fetch_assoc();
echo '<pre>';
var_dump($donnees_utilisateur);
echo '</pre>';
mysqli_close($bdd );
}
public function getFields()
{
$bdd = $this->constructeur();
$requete = $bdd->query("select COLUMN_NAME from INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'utilisateurs' ");
$donnees_utilisateur = $requete->fetch_all();
echo '<pre>';
var_dump($donnees_utilisateur);
echo '</pre>';
mysqli_close($bdd );
}
}
?> |
<?php namespace Moota\SDK\Contracts\Push;
interface FindsDuplicate
{
public function findDupes(array &$mootaInflows, array &$orders);
}
|
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Food extends Model
{
protected $fillable = [
'food_id',
'company_id',
'food_name',
'food_photo',
'food_word',
];
public function search(){
return $this->hasMany(Search::class,'food_id','food_id');
}
public function company(){
return $this->belongsto(CompanyCode::class,'company_id','company_id');
}
}
|
<?php
namespace App\Contract;
use App\Match;
interface MatchSorter
{
/**
* Sorts the matches and returns the sorted list.
*
* @param Match[] $matches The matches to sort.
* @return Match[] The sorted matches.
*/
public function sort(array $matches): array;
}
|
<?php
/*
* Desenvolvido por: Jader Gabriel
* github: https://github.com/jadergabriel
* bitbucket: https://bitbucket.org/jadergabriel/
* TELEGRAM: https://t.me/JaderGabriel
*/
/*
* Classe para que conectar a Aplicação ao SGBD
* Toda operação no MYSql depende desta conexão*/
class conexaoBD
{
private $host = 'localhost1';
private $dbname = 'desafio_leo';
private $username = 'root';
private $password = 'root';
public function __construct(){
$conn = new PDO("mysql:host=$this->host;dbname=$this->dbname;", $this->username, $this->password);
return $conn;
}
} |
<?php
function _system( /* $command, $args... */ ) {
$shell_cmd = escapeshellargs( func_get_args() );
exec( $shell_cmd , $output, $retval );
if( $retval == 0 ) {
return $output;
} else {
return null;
}
}
function escapeshellargs( $cmd ) {
if(!is_array($cmd)) {
$cmd = func_get_args();
}
$command = array_shift( $cmd );
$shell_cmd = implode(
' ',
array(
$command,
implode(
' ',
array_map(
'escapeshellarg',
$cmd
)
)
)
);
return $shell_cmd;
}
function invoke_rc_d( $name, $action ) {
$cmd = array(
"/usr/sbin/invoke-rc.d",
"--try-anyway",
$name,
$action
);
exec( escapeshellargs( $cmd ), $output, $retval );
return $retval == 0;
}
function update_rc_d( $name, $action="defaults", $priority=0, $runlevel=0) {
if( ($runlevel != 0) && ($priority != 0) ) {
$cmd = array(
"/usr/sbin/update-rc.d",
$name,
$action,
$priority,
$runlevel,
"."
);
} else {
if($action == "remove") {
$cmd = array(
"/usr/sbin/update-rc.d",
"-f",
$name,
$action
);
} else {
$cmd = array(
"/usr/sbin/update-rc.d",
$name,
$action
);
}
}
exec( escapeshellargs( $cmd ), $output, $retval );
return $retval == 0;
}
|
<?php
class Laji extends BaseModel {
public $id, $nimi, $kohteita;
public function __construct($attributes){
parent::__construct($attributes);
$this->validators = array('validate_nimi');
}
public static function find($id){
$query = DB::connection()->prepare('SELECT * FROM Laji WHERE id = :id LIMIT 1');
$query->execute(array('id' => $id));
$row = $query->fetch();
if($row){
$laji = new Laji(array(
'id' => $row['id'],
'nimi' => $row['nimi']
));
return $laji;
}
return null;
}
public static function find_by_name($name) {
$query = DB::connection()->prepare('SELECT * FROM Laji WHERE nimi = :name LIMIT 1');
$query->execute(array('name' => $name));
$row = $query->fetch();
if($row){
$laji = new Laji(array(
'id' => $row['id'],
'nimi' => $row['nimi']
));
return $laji;
}
return null;
}
public static function all() {
$query = DB::connection()->prepare('SELECT laji.id,laji.nimi,count(kohde.laji_id) FROM Laji LEFT JOIN Kohde ON Kohde.laji_id = Laji.id GROUP BY Laji.id');
$query->execute();
$rows = $query->fetchAll();
$lajit = array();
foreach($rows as $row){
$lajit[] = new Laji(array(
'id' => $row['id'],
'nimi' => $row['nimi'],
'kohteita' => $row['count']
));
}
return $lajit;
}
public function save() {
$query = DB::connection()->prepare('INSERT INTO Laji (nimi) VALUES (:nimi) RETURNING id');
$query->execute(array('nimi' => $this->nimi));
$row = $query->fetch();
$this->id = $row['id'];
}
}
?>
|
<?php
/**
* The default template for displaying content. Used for both single and index/archive/search.
*
* @package WordPress
* @subpackage Wfl_Theme
* @since Wfl Theme 1.0
*/
// start journal-view
// start year-view
// List of issues in each year will be display here ( ex: Year 2003 - Issue 1 - Issue 2 - ... )
$category = get_category( get_query_var( 'cat' ) );
$cat_id = $category->cat_ID;
if ( have_posts() || true ) : ?>
<header class="archive-header issue-header-wrapper">
<!--<h1 class="archive-title"><?php //printf( __( 'Category Archives: %s', 'wfl_theme' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?></h1>-->
<?php
echo get_reusable_part('Issue header', '','');
?>
<div id="issue-below-header-wrapper" class="clearfix">
<div id="issue-below-left-side-display" >
<?php
if ( category_description() ) : // Show an optional category description ?>
<div class="Issue-info"><?php echo category_description(); ?></div>
<?php
endif; ?>
<div><?php
echo get_reusable_part('Issue header2', '','<br/>');
?>
</div>
<?php
// Check if there is commentary , if yes then flag $has_commentary for display view
$section_id = get_cat_ID('Commentary');
$query = new WP_Query( array( 'posts_per_page'=>-1, 'category__and' => array( $cat_id, $section_id ) ) );
$has_commentary = $query->have_posts() ? true : false;
wp_reset_query();
wp_reset_postdata();
// Check if there is research & news, if yes then flag $has_research for display view
$section_id = get_category_by_slug( 'research-news')->cat_ID;
$query = new WP_Query( array( 'posts_per_page'=>-1, 'category__and' => array( $cat_id, $section_id ) ) );
$has_research = $query->have_posts() ? true : false;
wp_reset_query();
wp_reset_postdata();
?>
<div id="top-nav-checkboxs">
<?php
// display Journal content link
$t_id = $category->term_id;
$cat_meta = get_option( "category_$t_id");
//var_dump($cat_meta['journal-content']);
$journal_content = $cat_meta['journal-content'];
if (!empty($journal_content))
echo '<a href="'.$journal_content.'">Journal Contents</a>';
else
echo 'Journal Contents';
?>
<form>
<p <?php if (!$has_commentary){ echo 'style="display:none"';} ?> ><input type="checkbox" onclick="toggle(this)" name="checkbox" id="comm-checkbox" />Commentary</p>
<p><input type="checkbox" onclick="toggle(this)" name="checkbox" id="food-checkbox" />Food and Health</p>
<p><input type="checkbox" onclick="toggle(this)" name="checkbox" id="agri-checkbox" />Agriculture</p>
<p><input type="checkbox" onclick="toggle(this)" name="checkbox" id="envi-checkbox" />Environment</p>
<p <?php if (!$has_research){ echo 'style="display:none"';} ?> ><input type="checkbox" onclick="toggle(this)" name="checkbox" id="rese-checkbox" />Research & News</p>
<p><input type="checkbox" onclick="toggle(this)" name="checkbox" checked="checked" id="all-checkbox" />All</p>
</form>
<?php
$news_info = $cat_meta['news-and-information'];
if (!empty($news_info))
echo '<a href="'.$news_info.'">News and information</a>';
else
echo 'News and information';
?>
<style>.div_no_display{ display: none;}</style>
<script>
var previousCheckId = "all-checkbox";
function toggle(chkBox) {
if (chkBox.checked) {
if (previousCheckId != chkBox.getAttribute('id') && document.getElementById(previousCheckId).checked) {
document.getElementById(previousCheckId).checked = false;
}
previousCheckId = chkBox.getAttribute('id');
}
showSection();
}
function showSection()
{
var showComm = document.getElementById("comm-checkbox").checked;
var showFood = document.getElementById("food-checkbox").checked;
var showAgri = document.getElementById("agri-checkbox").checked;
var showEnvi = document.getElementById("envi-checkbox").checked;
var showRese = document.getElementById("rese-checkbox").checked;
if (showComm || showFood ||showAgri || showEnvi || showRese) {
document.getElementById("all-checkbox").checked = false;
}
var showAll = document.getElementById("all-checkbox").checked;
if(showAll == true)
{
document.getElementById("commentary").className = "";
document.getElementById("food-and-health").className = "";
document.getElementById("agriculture").className = "";
document.getElementById("environment").className = "";
document.getElementById("research-and-news").className = "";
}
else
{
document.getElementById("commentary").className = "";
document.getElementById("food-and-health").className = "";
document.getElementById("agriculture").className = "";
document.getElementById("environment").className = "";
document.getElementById("research-and-news").className = "";
if(showComm == false)
document.getElementById("commentary").className += " div_no_display";
if(showFood == false)
document.getElementById("food-and-health").className += " div_no_display";
if(showAgri == false)
document.getElementById("agriculture").className += " div_no_display";
if(showEnvi == false)
document.getElementById("environment").className += " div_no_display";
if(showRese == false)
document.getElementById("research-and-news").className += " div_no_display";
}
}
function showAllSections() {
document.getElementById("comm-checkbox").checked = false;
document.getElementById("food-checkbox").checked = false;
document.getElementById("agri-checkbox").checked = false;
document.getElementById("envi-checkbox").checked = false;
document.getElementById("rese-checkbox").checked = false;
showSection();
}
</script>
</div><!-- end top-nav-checkboxs -->
</div><!-- end issue-below-left-side-display -->
<div id="issue-below-right-side-display">
<image class="issue-image" alt="" src="<?php echo z_taxonomy_image_url($category->term_id); ?>"></image>
<div class="impact-factor"><?php echo apply_filters( 'the_content','[do action="impact-factor"/]'); ?></div>
</div><!-- end issue-below-right-side-display -->
</div> <!-- end issue-below-header-wrapper -->
</header><!-- .archive-header -->
<?php // ------ Section commentary display-------- ?>
<div id="commentary" <?php if (!$has_commentary){ echo 'style="display:none"';} ?>>
<hr class="issue-hr"/>
<div class="Issue-section-header" >
<a name="Commentary" ></a>
<p class="Issue-section-anchors">Commentary</p>
</div>
<hr class="issue-hr"/>
<?php
$section_id = get_cat_ID('Commentary');
$query = new WP_Query( array( 'posts_per_page'=>-1, 'category__and' => array( $cat_id, $section_id ), 'orderby' => 'date', 'order'=>'ASC' ) );
/* Start the Loop */
echo '<div>';
//usort($query->posts, "comparePostPage"); // sorting the posts according to 'page' custom field
while ( $query->have_posts() )
{
$query->the_post();
get_template_part( 'content', 'pdf' );
}
echo '</div>';
wp_reset_query();
wp_reset_postdata();
?>
</div>
<?php // ------ Section Food & Health display-------- ?>
<div id="food-and-health">
<hr class="issue-hr"/>
<div class="Issue-section-header">
<a name="FoodandHealth" ></a>
<p class="Issue-section-anchors">Food and Health</p>
</div>
<hr class="issue-hr"/>
<?php
$section_id = get_cat_ID('Food and Health');
$query = new WP_Query( array( 'posts_per_page'=>-1, 'category__and' => array( $cat_id, $section_id ), 'orderby' => 'date', 'order'=>'ASC' ) );
//var_dump($section_id);
/* Start the Loop */
echo '<div>';
//usort($query->posts, "comparePostPage"); // sorting the posts according to 'page' custom field
while ( $query->have_posts() )
{
$query->the_post();
get_template_part( 'content', 'pdf' );
}
echo '</div>';
wp_reset_query();
wp_reset_postdata();
?>
</div>
<?php // ------ Section Agriculture display-------- ?>
<div id="agriculture">
<hr class="issue-hr"/>
<div class="Issue-section-header">
<a name="Agriculture" ></a>
<p class="Issue-section-anchors">Agriculture</p>
</div>
<hr class="issue-hr"/>
<?php
$section_id = get_cat_ID('Agriculture');
$query = new WP_Query( array( 'posts_per_page'=>-1, 'category__and' => array( $cat_id, $section_id ), 'orderby' => 'date', 'order'=>'ASC' ) );
/* Start the Loop */
echo '<div>';
//usort($query->posts, "comparePostPage"); // sorting the posts according to 'page' custom field
while ( $query->have_posts() )
{
$query->the_post();
get_template_part( 'content', 'pdf' );
}
echo '</div>';
wp_reset_query();
wp_reset_postdata();
?>
</div>
<?php // ------ Section Environment display-------- ?>
<div id="environment">
<hr class="issue-hr"/>
<div class="Issue-section-header">
<a name="Environment" ></a>
<p class="Issue-section-anchors">Environment</p>
</div>
<hr class="issue-hr"/>
<?php
$section_id = get_cat_ID('Environment');
$query = new WP_Query( array( 'posts_per_page'=>-1, 'category__and' => array( $cat_id, $section_id ), 'orderby' => 'date', 'order'=>'ASC' ) );
/* Start the Loop */
echo '<div>';
//usort($query->posts, "comparePostPage"); // sorting the posts according to 'page' custom field
while ( $query->have_posts() )
{
$query->the_post();
get_template_part( 'content', 'pdf' );
}
echo '</div>';
wp_reset_query();
wp_reset_postdata();
?>
</div>
<?php // ------ Section Research & News display-------- ?>
<div id="research-and-news" <?php if (!$has_research){ echo 'style="display:none"';} ?>>
<hr class="issue-hr"/>
<div class="Issue-section-header" >
<a name="research-and-news" ></a>
<p class="Issue-section-anchors">Research & News</p>
</div>
<hr class="issue-hr"/>
<?php
$section_id = get_category_by_slug( 'research-news')->cat_ID;
$query = new WP_Query( array( 'posts_per_page'=>-1, 'category__and' => array( $cat_id, $section_id ), 'orderby' => 'date', 'order'=>'ASC' ) );
/* Start the Loop */
echo '<div>';
//usort($query->posts, "comparePostPage"); // sorting the posts according to 'page' custom field
while ( $query->have_posts() )
{
$query->the_post();
get_template_part( 'content', 'pdf' );
}
echo '</div>';
wp_reset_query();
wp_reset_postdata();
?>
</div>
<!--<hr class="issue-hr"/>-->
<?php
// Print out the footer section of category Issues
echo get_reusable_part('Issue footer', '','');
?>
<?php
else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php
endif; ?> |
<?php
declare(strict_types=1);
namespace McMatters\UpworkApi\Endpoints;
class Snapshot extends Endpoint
{
public function getByContract(
int|string $contractId,
int|string $timestamp
): array {
return $this->httpClient
->get("api/team/v3/snapshots/contracts/{$contractId}/{$timestamp}.json")
->json();
}
public function updateByContract(
int|string $contractId,
int|string $timestamp,
array $body
): array {
return $this->httpClient
->withJson($body)
->put("api/team/v3/snapshots/contracts/{$contractId}/{$timestamp}.json")
->json();
}
public function deleteByContract(
int|string $contractId,
int|string $timestamp
): array {
return $this->httpClient
->delete("api/team/v3/snapshots/contracts/{$contractId}/{$timestamp}.json")
->json();
}
}
|
<?php
$language['edit'] = 'Sisältö peritty päädokumentista tai se on poistettu. <a href="#">Muokkaa tästä</a>';
$language['clear'] = 'Poista kaikki';
$language['confirmclear'] = 'Haluatko varmasti poistaa kaikki tiedot?';
$language['paste'] = 'Liitä taulukosta (HTML, Word, CSV)';
$language['pastehere'] = 'Liitä tähän:';
$language['add'] = 'Lisää';
$language['remove'] = 'Poista';
$language['save'] = 'Tallenna';
$language['replace'] = 'Korvaa';
$language['append'] = 'Liitä';
$language['cancel'] = 'Peruuta';
$language['word'] = 'Word/HTML';
$language['google'] = 'Google Docs';
$language['csv'] = 'CSV';
?>
|
<?php
/**
* Author: Wenpeng
* Email: imwwp@outlook.com
* Time: 16/12/23 下午3:39
*/
namespace eDoctor\Phpecs\Request\Oauth;
use eDoctor\Phpecs\PhpecsRequest;
use eDoctor\Phpecs\PhpecsException;
use eDoctor\Phpecs\PhpecsValidator as Valid;
class QrcodeFetch extends PhpecsRequest
{
private $api = 'oauth/v1/qrcode/fetch';
private $icon;
private $title;
private $prefix;
private $platform;
private $roleOptions;
public function setIcon($val)
{
$this->icon = (string) $val;
}
public function setTitle($val)
{
$this->title = (string) $val;
}
public function setPrefix($val)
{
$this->prefix = (string) $val;
}
public function setPlatform($val)
{
$this->platform = (string) $val;
}
public function setRoleOption($val)
{
$this->roleOptions = (array) $val;
}
public function getResponse()
{
if (Valid::isUrl($this->icon) === false) {
throw new PhpecsException('应用图标未设置或者格式错误');
}
if ($this->title === '') {
throw new PhpecsException('应用标题未设置或者格式错误');
}
if (Valid::isPlatform($this->platform) === false) {
throw new PhpecsException('终端类型未设置或者格式错误');
}
$roleOptions = (array) $this->roleOptions;
foreach ($roleOptions as $index => $roleOption) {
if (Valid::isRole($index) === false) {
throw new PhpecsException('角色编号未设置或者存在无效值');
}
}
return $this->client->request($this->api, [
'icon' => $this->icon,
'title' => $this->title,
'prefix' => $this->prefix,
'platform' => $this->platform,
'role_options' => json_encode($roleOptions),
]);
}
} |
<?php
/**
* VERICHECK INC CONFIDENTIAL
*
* Vericheck Incorporated
* All Rights Reserved.
*
* NOTICE:
* All information contained herein is, and remains the property of
* Vericheck Inc, if any. The intellectual and technical concepts
* contained herein are proprietary to Vericheck Inc and may be covered
* by U.S. and Foreign Patents, patents in process, and are protected
* by trade secret or copyright law. Dissemination of this information
* or reproduction of this material is strictly forbidden unless prior
* written permission is obtained from Vericheck Inc.
*
* PHP version 7
*
* @category Controller
* @package Bank
* @author VCI <info@vericheck.net>
* @license Copyright 2018 VeriCheck | All Rights Reserved
* @version GIT: $Id$
* @link https://www.vericheck.com/docs/{link to Phpdoc}
*/
use Illuminate\Database\Seeder;
use Modules\Bank\Models\Odfi;
use Modules\Bank\Models\OdfiFedWindow;
use Webpatser\Uuid\Uuid;
use Modules\User\Factory\Azure;
/**
* OdfiSeeder seeder
*
* @name OdfiSeeder Name
* @category Seeder
* @package Seeder
* @author VCI <info@vericheck.net>
* @license Copyright 2018 VeriCheck | All Rights Reserved
* @version GIT $Id$
* @link https://www.vericheck.com/docs/{link to Phpdoc}
*/
class OdfiSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$odfiDetailsCBOC = Odfi::create([
'RoutingNumber' => '031201360',
'Abbreviation' => 'CBOC',
'Code' => 'CBOC',
'SftpSendHost' => 'test',
'SftpSendUsername' => 'test',
'SftpSendKey' => 'testkey',
'SftpSendPort' => 123,
'SftpReceiveHost' => 'test',
'SftpReceiveUsername' => 'test',
'SftpReceiveKey' => 'testkey',
'SftpReceivePort' => 456,
'Status' => 1,
'Etag' => time()
]);
for ($i = 8; $i <= 20; $i += 4) {
$odfiFedWindowDetails = OdfiFedWindow::create([
'OdfiId' => $odfiDetailsCBOC['OdfiId'],
'FedStartTiming' => date($i . ':00:00'),
'FedEndTiming' => date($i . ':00:00'),
'Type' => 1,
'Status' => 1,
'Etag' => time()
]);
$odfiFedWindowDetails = OdfiFedWindow::create([
'OdfiId' => $odfiDetailsCBOC['OdfiId'],
'FedStartTiming' => date($i . ':00:00'),
'FedEndTiming' => date($i . ':00:00'),
'Type' => 2,
'Status' => 1,
'Etag' => time()
]);
}
$odfiDetailsCO = Odfi::create([
'RoutingNumber' => '031201360',
'Abbreviation' => 'CO',
'Code' => 'CO',
'SftpSendHost' => 'test',
'SftpSendUsername' => 'test',
'SftpSendKey' => 'testkey',
'SftpSendPort' => 123,
'SftpReceiveHost' => 'test',
'SftpReceiveUsername' => 'test',
'SftpReceiveKey' => 'testkey',
'SftpReceivePort' => 456,
'Status' => 1,
'Etag' => time()
]);
for ($i = 8; $i <= 20; $i += 4) {
$odfiFedWindowDetails = OdfiFedWindow::create([
'OdfiId' => $odfiDetailsCO['OdfiId'],
'FedStartTiming' => date($i . ':00:00'),
'FedEndTiming' => date($i . ':00:00'),
'Type' => 1,
'Status' => 1,
'Etag' => time()
]);
$odfiFedWindowDetails = OdfiFedWindow::create([
'OdfiId' => $odfiDetailsCO['OdfiId'],
'FedStartTiming' => date($i . ':00:00'),
'FedEndTiming' => date($i . ':00:00'),
'Type' => 2,
'Status' => 1,
'Etag' => time()
]);
}
}
}
|
<?php
namespace GCWorld\ObjectManager;
use GCWorld\Utilities\Traits\General;
use phpDocumentor\Reflection\DocBlock;
use phpDocumentor\Reflection\DocBlockFactory;
/**
* Class Generator
* @package GCWorld\ObjectManager
*/
class Generator
{
use General;
const CLASS_NAME = 'GeneratedManager';
protected $master_location = null;
protected $config = [];
private $open_files = [];
private $open_files_level = [];
private $paths = [];
private $debug = false;
/**
* Generator constructor.
*/
public function __construct()
{
$this->master_location = __DIR__;
$cConfig = new Config();
$config = $cConfig->getConfig();
$this->config = $config;
foreach($this->config as $model => $definition) {
if(strpos($model,'ExampleModelName')===0) {
unset($this->config[$model]);
continue;
}
}
}
/**
* @param bool $debug
*/
public function setDebug(bool $debug)
{
$this->debug = $debug;
}
/**
* @param string $path
* @return $this
*/
public function addPath(string $path)
{
$this->paths[] = $path;
return $this;
}
/**
* @return bool
*/
public function generate()
{
if($this->debug) {
echo PHP_EOL;
echo 'Config',PHP_EOL;
print_r($this->config);
echo 'Paths',PHP_EOL;
print_r($this->paths);
echo PHP_EOL;
}
if(count($this->paths) > 0) {
$extra = $this->generateAnnotatedConfig();
if($this->debug) {
echo PHP_EOL;
echo 'EXTRA',PHP_EOL;
print_r($extra);
echo PHP_EOL;
}
// We are using this order so that the flat file will override
$this->config = array_merge($extra, $this->config);
}
// Make sure we have trailing slashes!
foreach($this->config as $model => $definition) {
if(array_key_exists('namespace',$definition) && substr($definition['namespace'],-1) != '\\') {
$this->config[$model]['namespace'] .= '\\';
}
}
if($this->debug) {
echo PHP_EOL;
echo 'FINAL CONFIG',PHP_EOL;
print_r($this->config);
echo PHP_EOL;
}
$path = $this->master_location.DIRECTORY_SEPARATOR.'Generated/';
if (!is_dir($path)) {
mkdir($path, 0755, true);
}
$filename = self::CLASS_NAME.'.php';
$fh = $this->fileOpen($path.$filename);
$this->fileWrite($fh, '<?php'.PHP_EOL);
$this->fileWrite($fh, 'namespace GCWorld\\ObjectManager\\Generated;'.PHP_EOL.PHP_EOL);
$this->fileWrite($fh, 'use \\GCWorld\\ObjectManager\\ObjectManager;'.PHP_EOL.PHP_EOL);
$this->fileWrite($fh, '/**'.PHP_EOL);
$this->fileWrite($fh, ' * Class '.self::CLASS_NAME.PHP_EOL);
$this->fileWrite($fh, ' */'.PHP_EOL);
$this->fileWrite($fh,'class '.self::CLASS_NAME.' extends ObjectManager'.PHP_EOL.'{'.PHP_EOL);
$this->fileBump($fh);
foreach($this->config as $model => $definition) {
if (!array_key_exists('method', $definition)) {
continue;
}
$cName = $definition['namespace'].$model;
$fName = empty($definition['name']) ? $model : trim($definition['name']);
switch ($definition['method']) {
case 'getModel':
$this->fileWrite($fh, PHP_EOL);
$this->fileWrite($fh, '/**'.PHP_EOL);
$this->fileWrite($fh, ' * @param mixed|null $primary_id'.PHP_EOL);
$this->fileWrite($fh, ' * @param array|null $defaults'.PHP_EOL);
$this->fileWrite($fh, ' *'.PHP_EOL);
$this->fileWrite($fh, ' * @return '.$cName.PHP_EOL);
$this->fileWrite($fh, ' */'.PHP_EOL);
$this->fileWrite($fh,
'public function get'.$fName.'($primary_id = null, array $defaults = null)'.PHP_EOL);
$this->fileWrite($fh, '{'.PHP_EOL);
$this->fileBump($fh);
if (array_key_exists('gc', $definition) && $definition['gc'] > 0) {
$this->fileWrite($fh,
'$this->garbageCollect(\''.$cName.'\', '.$definition['gc'].');'.PHP_EOL.PHP_EOL);
}
$this->fileWrite($fh, 'return $this->getModel(\''.$model.'\', $primary_id, $defaults);'.PHP_EOL);
$this->fileDrop($fh);
$this->fileWrite($fh, '}'.PHP_EOL);
$this->fileWrite($fh, PHP_EOL);
break;
case 'getObject':
$this->fileWrite($fh, PHP_EOL);
$this->fileWrite($fh, '/**'.PHP_EOL);
$this->fileWrite($fh, ' * @param mixed|null $primary_id'.PHP_EOL);
$this->fileWrite($fh, ' * @param array|null $defaults'.PHP_EOL);
$this->fileWrite($fh, ' *'.PHP_EOL);
$this->fileWrite($fh, ' * @return '.$cName.PHP_EOL);
$this->fileWrite($fh, ' */'.PHP_EOL);
$this->fileWrite($fh,
'public function get'.$fName.'($primary_id = null, array $defaults = null)'.PHP_EOL);
$this->fileWrite($fh, '{'.PHP_EOL);
$this->fileBump($fh);
if (array_key_exists('gc', $definition) && $definition['gc'] > 0) {
$this->fileWrite($fh,
'$this->garbageCollect(\''.$cName.'\', '.$definition['gc'].');'.PHP_EOL.PHP_EOL);
}
$this->fileWrite($fh, 'return $this->getObject(\''.$cName.'\', $primary_id, $defaults);'.PHP_EOL);
$this->fileDrop($fh);
$this->fileWrite($fh, '}'.PHP_EOL);
$this->fileWrite($fh, PHP_EOL);
break;
case 'getFactoryObject':
// Check to see if we have a primary in the args.
$primary_name = null;
$primary_arg = false;
if(defined($cName.'::CLASS_PRIMARY')) {
$primary_name = constant($cName.'::CLASS_PRIMARY');
}
foreach ($definition['factory'] as $method => $methodArgs) {
$this->fileWrite($fh, PHP_EOL);
$this->fileWrite($fh, '/**'.PHP_EOL);
$maxLeft = 8;
$variables = [];
foreach ($methodArgs as $methodArg) {
$tmp = explode(' ', $methodArg);
$maxLeft = max($maxLeft, strlen($tmp[0]));
$variables[] = $tmp[1];
if($primary_name != null && $tmp[1] == '$'.$primary_name) {
$primary_arg = true;
}
}
if(!$primary_arg) {
$this->fileWrite($fh,
' * @param '.str_pad('mixed|null', $maxLeft, ' ', STR_PAD_RIGHT).' $primary_id'.PHP_EOL);
}
foreach ($methodArgs as $methodArg) {
$tmp = explode(' ', $methodArg);
$tmp[0] = str_pad($tmp[0], $maxLeft, ' ', STR_PAD_RIGHT);
$this->fileWrite($fh, ' * @param '.implode(' ', $tmp).PHP_EOL);
}
$this->fileWrite($fh, ' *'.PHP_EOL);
$this->fileWrite($fh, ' * @return '.$cName.PHP_EOL);
$this->fileWrite($fh, ' */'.PHP_EOL);
$tmp = explode('\\',$cName);
$translatedMethod = array_pop($tmp).str_replace('factory','By',$method);
$this->fileWrite($fh, 'public function get'.$translatedMethod.'('.implode(', ',$methodArgs).')'.PHP_EOL);
$this->fileWrite($fh, '{'.PHP_EOL);
$this->fileBump($fh);
if (array_key_exists('gc', $definition) && $definition['gc'] > 0) {
$this->fileWrite($fh,
'$this->garbageCollect(\''.$cName.'\', '.$definition['gc'].');'.PHP_EOL.PHP_EOL);
}
if($primary_arg && count($variables) == 1) {
$variables = array_values($variables);
$variables[] = $variables[0];
}
$this->fileWrite($fh, 'return $this->getFactoryObject(\''.$cName.'\', \''.$method.'\', false, '.implode(', ', $variables).');'.PHP_EOL);
$this->fileDrop($fh);
$this->fileWrite($fh, '}'.PHP_EOL);
$this->fileWrite($fh, PHP_EOL);
}
break;
}
}
$this->fileDrop($fh);
$this->fileWrite($fh, '}'.PHP_EOL.PHP_EOL);
$this->fileClose($fh);
return true;
}
/**
* @param string $filename
* @return mixed
*/
protected function fileOpen(string $filename)
{
$key = str_replace('.', '', microtime(true));
$this->open_files[$key] = fopen($filename, 'w');
$this->open_files_level[$key] = 0;
return $key;
}
/**
* @param mixed $key
* @param string $string
* @return void
*/
protected function fileWrite($key, string $string)
{
fwrite($this->open_files[$key], str_repeat(' ', $this->open_files_level[$key] * 4).$string);
}
/**
* @param mixed $key
* @return void
*/
protected function fileBump($key)
{
++$this->open_files_level[$key];
}
/**
* @param mixed $key
* @return void
*/
protected function fileDrop($key)
{
--$this->open_files_level[$key];
}
/**
* @param mixed $key
* @return void
*/
protected function fileClose($key)
{
fclose($this->open_files[$key]);
unset($this->open_files[$key]);
unset($this->open_files_level[$key]);
}
/**
* @return array
*/
private function generateAnnotatedConfig()
{
$cPhpDocFactory = DocBlockFactory::createInstance();
$return = [];
if (count($this->paths) > 0) {
foreach ($this->paths as $path) {
$classFiles = self::glob_recursive(rtrim($path, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'*.php');
foreach ($classFiles as $file) {
if($this->debug) {
echo ' - Analyzing Class File: ',$file,PHP_EOL;
}
$namespace = '';
$className = '';
$fh = fopen($file, 'r');
while (($buffer = fgets($fh)) !== false) {
if (substr($buffer, 0, 9) == 'namespace') {
$namespace = substr(trim($buffer), 10, -1);
}
if (substr($buffer, 0, 5) == 'class') {
$temp = explode(' ', $buffer);
$className = trim($temp[1]);
break;
}
}
$classString = trim('\\'.$namespace.'\\'.$className);
if($this->debug) {
echo ' - - Found FQCN: ',$classString,PHP_EOL;
}
if (class_exists($classString)) {
$thisClass = new \ReflectionClass($classString);
if (($comment = $thisClass->getDocComment()) !== false) {
$phpDoc = $cPhpDocFactory->create($comment);
$config = $this->processTags($classString, $phpDoc);
if ($config) {
$return[$className] = $config;
} elseif($this->debug) {
echo ' - [!!] No Config Found', PHP_EOL;
}
}
} elseif($this->debug) {
echo ' - [!!] CLASS NOT FOUND',PHP_EOL;
}
}
}
}
return $return;
}
/**
* @param string $classString
* @param DocBlock $phpDoc
* @return array|bool
*/
private function processTags($classString, DocBlock $phpDoc)
{
if (!$phpDoc->hasTag('om-method')) {
return false;
}
$tmp = explode('\\',trim($classString));
$config = [
'method' => (string) $phpDoc->getTagsByName('om-method')[0],
'name' => array_pop($tmp),
'namespace' => implode('\\',$tmp),
'gc' => 0,
];
unset($tmp);
if($phpDoc->hasTag('om-name')) {
$config['name'] = trim((string) $phpDoc->getTagsByName('om-name')[0]);
}
if($phpDoc->hasTag('om-namespace')) {
$config['namespace'] = trim((string) $phpDoc->getTagsByName('om-namespace')[0]);
}
if($phpDoc->hasTag('om-gc')) {
$config['gc'] = abs(intval(trim((string) $phpDoc->getTagsByName('om-gc')[0])));
}
$factory = [];
if(in_array($config['method'],['getFactoryObject','getFactoryModelObject'])) {
// Handle factory stuff
$i = 0;
while($i < 1000) {
++$i;
$method = $phpDoc->getTagsByName('om-factory-'.$i.'-method');
if(!$method) {
break;
}
$methodName = (string) $method[0];
$methodArgs = [];
$args = $phpDoc->getTagsByName('om-factory-'.$i.'-arg');
foreach($args as $arg) {
$methodArgs[] = (string) $arg;
}
$factory[$methodName] = $methodArgs;
}
}
$config['factory'] = $factory;
return $config;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.