repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
hosseinhezami/laravel-gemini
https://github.com/hosseinhezami/laravel-gemini/blob/4ab7bae02f0cc88f3e93455e8363d9a517c6eafe/src/Factory/ProviderFactory.php
src/Factory/ProviderFactory.php
<?php namespace HosseinHezami\LaravelGemini\Factory; use HosseinHezami\LaravelGemini\Contracts\ProviderInterface; use HosseinHezami\LaravelGemini\Exceptions\ValidationException; class ProviderFactory { public function create(?string $alias = null, ?string $apiKey = null): ProviderInterface { $alias =...
php
MIT
4ab7bae02f0cc88f3e93455e8363d9a517c6eafe
2026-01-05T04:55:15.491730Z
false
vinkla/laravel-gitlab
https://github.com/vinkla/laravel-gitlab/blob/b3fd4dcae567db0bf4b6a0d269e68a3353f697e4/src/GitLabServiceProvider.php
src/GitLabServiceProvider.php
<?php /* * This file is part of Laravel GitLab. * * (c) Vincent Klaiber <hello@vinkla.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Vinkla\GitLab; use Gitlab\Client; use Illuminate\Cont...
php
MIT
b3fd4dcae567db0bf4b6a0d269e68a3353f697e4
2026-01-05T04:55:19.269992Z
false
vinkla/laravel-gitlab
https://github.com/vinkla/laravel-gitlab/blob/b3fd4dcae567db0bf4b6a0d269e68a3353f697e4/src/GitLabFactory.php
src/GitLabFactory.php
<?php /* * This file is part of Laravel GitLab. * * (c) Vincent Klaiber <hello@vinkla.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Vinkla\GitLab; use Gitlab\Client; use InvalidArgument...
php
MIT
b3fd4dcae567db0bf4b6a0d269e68a3353f697e4
2026-01-05T04:55:19.269992Z
false
vinkla/laravel-gitlab
https://github.com/vinkla/laravel-gitlab/blob/b3fd4dcae567db0bf4b6a0d269e68a3353f697e4/src/GitLabManager.php
src/GitLabManager.php
<?php /* * This file is part of Laravel GitLab. * * (c) Vincent Klaiber <hello@vinkla.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Vinkla\GitLab; use Gitlab\Client; use GrahamCampbell\...
php
MIT
b3fd4dcae567db0bf4b6a0d269e68a3353f697e4
2026-01-05T04:55:19.269992Z
false
vinkla/laravel-gitlab
https://github.com/vinkla/laravel-gitlab/blob/b3fd4dcae567db0bf4b6a0d269e68a3353f697e4/src/Facades/GitLab.php
src/Facades/GitLab.php
<?php /* * This file is part of Laravel GitLab. * * (c) Vincent Klaiber <hello@vinkla.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Vinkla\GitLab\Facades; use Illuminate\Support\Facades...
php
MIT
b3fd4dcae567db0bf4b6a0d269e68a3353f697e4
2026-01-05T04:55:19.269992Z
false
vinkla/laravel-gitlab
https://github.com/vinkla/laravel-gitlab/blob/b3fd4dcae567db0bf4b6a0d269e68a3353f697e4/tests/AbstractTestCase.php
tests/AbstractTestCase.php
<?php /* * This file is part of Laravel GitLab. * * (c) Vincent Klaiber <hello@vinkla.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Vinkla\Tests\GitLab; use GrahamCampbell\TestBench\Abs...
php
MIT
b3fd4dcae567db0bf4b6a0d269e68a3353f697e4
2026-01-05T04:55:19.269992Z
false
vinkla/laravel-gitlab
https://github.com/vinkla/laravel-gitlab/blob/b3fd4dcae567db0bf4b6a0d269e68a3353f697e4/tests/GitLabFactoryTest.php
tests/GitLabFactoryTest.php
<?php /* * This file is part of Laravel GitLab. * * (c) Vincent Klaiber <hello@vinkla.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Vinkla\Tests\GitLab; use Gitlab\Client; use Vinkla\Gi...
php
MIT
b3fd4dcae567db0bf4b6a0d269e68a3353f697e4
2026-01-05T04:55:19.269992Z
false
vinkla/laravel-gitlab
https://github.com/vinkla/laravel-gitlab/blob/b3fd4dcae567db0bf4b6a0d269e68a3353f697e4/tests/AnalysisTest.php
tests/AnalysisTest.php
<?php /* * This file is part of Laravel Gitlab. * * (c) Vincent Klaiber <hello@vinkla.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Vinkla\Tests\Gitlab; use GrahamCampbell\Analyzer\Anal...
php
MIT
b3fd4dcae567db0bf4b6a0d269e68a3353f697e4
2026-01-05T04:55:19.269992Z
false
vinkla/laravel-gitlab
https://github.com/vinkla/laravel-gitlab/blob/b3fd4dcae567db0bf4b6a0d269e68a3353f697e4/tests/ServiceProviderTest.php
tests/ServiceProviderTest.php
<?php /* * This file is part of Laravel GitLab. * * (c) Vincent Klaiber <hello@vinkla.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Vinkla\Tests\GitLab; use Gitlab\Client; use GrahamCam...
php
MIT
b3fd4dcae567db0bf4b6a0d269e68a3353f697e4
2026-01-05T04:55:19.269992Z
false
vinkla/laravel-gitlab
https://github.com/vinkla/laravel-gitlab/blob/b3fd4dcae567db0bf4b6a0d269e68a3353f697e4/tests/GitLabManagerTest.php
tests/GitLabManagerTest.php
<?php /* * This file is part of Laravel GitLab. * * (c) Vincent Klaiber <hello@vinkla.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Vinkla\Tests\GitLab; use Gitlab\Client; use GrahamCam...
php
MIT
b3fd4dcae567db0bf4b6a0d269e68a3353f697e4
2026-01-05T04:55:19.269992Z
false
vinkla/laravel-gitlab
https://github.com/vinkla/laravel-gitlab/blob/b3fd4dcae567db0bf4b6a0d269e68a3353f697e4/tests/Facades/GitLabTest.php
tests/Facades/GitLabTest.php
<?php /* * This file is part of Laravel GitLab. * * (c) Vincent Klaiber <hello@vinkla.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Vinkla\Tests\GitLab\Facades; use GrahamCampbell\TestB...
php
MIT
b3fd4dcae567db0bf4b6a0d269e68a3353f697e4
2026-01-05T04:55:19.269992Z
false
vinkla/laravel-gitlab
https://github.com/vinkla/laravel-gitlab/blob/b3fd4dcae567db0bf4b6a0d269e68a3353f697e4/config/gitlab.php
config/gitlab.php
<?php /* * This file is part of Laravel GitLab. * * (c) Vincent Klaiber <hello@vinkla.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); return [ /* |------------------------------------------...
php
MIT
b3fd4dcae567db0bf4b6a0d269e68a3353f697e4
2026-01-05T04:55:19.269992Z
false
imanghafoori1/laravel-smart-facades
https://github.com/imanghafoori1/laravel-smart-facades/blob/598803dec72bf7cd1c169faa068b38eef773214b/src/Facade.php
src/Facade.php
<?php namespace Imanghafoori\SmartFacades; use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Facade as LaravelFacade; use Illuminate\Support\Str; use ReflectionMethod; use ReflectionParameter; use RuntimeException; use TypeError; class Facade extends LaravelFacade { /** * @var \Closure|st...
php
MIT
598803dec72bf7cd1c169faa068b38eef773214b
2026-01-05T04:55:25.208179Z
false
imanghafoori1/laravel-smart-facades
https://github.com/imanghafoori1/laravel-smart-facades/blob/598803dec72bf7cd1c169faa068b38eef773214b/tests/TestCase.php
tests/TestCase.php
<?php abstract class TestCase extends Orchestra\Testbench\TestCase { protected function getPackageProviders($app) { return []; } }
php
MIT
598803dec72bf7cd1c169faa068b38eef773214b
2026-01-05T04:55:25.208179Z
false
imanghafoori1/laravel-smart-facades
https://github.com/imanghafoori1/laravel-smart-facades/blob/598803dec72bf7cd1c169faa068b38eef773214b/tests/TestCases.php
tests/TestCases.php
<?php namespace Imanghafoori\FacadeTests; use ArgumentCountError; use Imanghafoori\FacadeTests\Stubs\ApplicationStub; use Imanghafoori\FacadeTests\Stubs\ConcreteFacadeStub; use Imanghafoori\FacadeTests\Stubs\ConcreteFacadeStub2; use Imanghafoori\FacadeTests\Stubs\FacadeStub; use Imanghafoori\FacadeTests\Stubs\FacadeS...
php
MIT
598803dec72bf7cd1c169faa068b38eef773214b
2026-01-05T04:55:25.208179Z
false
imanghafoori1/laravel-smart-facades
https://github.com/imanghafoori1/laravel-smart-facades/blob/598803dec72bf7cd1c169faa068b38eef773214b/tests/Stubs/FacadeStub1.php
tests/Stubs/FacadeStub1.php
<?php namespace Imanghafoori\FacadeTests\Stubs; class FacadeStub1 { public $a; public function __construct($a = 'def1') { $this->a = $a; } public function method($param) { } }
php
MIT
598803dec72bf7cd1c169faa068b38eef773214b
2026-01-05T04:55:25.208179Z
false
imanghafoori1/laravel-smart-facades
https://github.com/imanghafoori1/laravel-smart-facades/blob/598803dec72bf7cd1c169faa068b38eef773214b/tests/Stubs/ConcreteFacadeStub2.php
tests/Stubs/ConcreteFacadeStub2.php
<?php namespace Imanghafoori\FacadeTests\Stubs; class ConcreteFacadeStub2 extends ConcreteFacadeStub { public function m1(FacadeStub1 $p1) { return 'I am stub2'; } }
php
MIT
598803dec72bf7cd1c169faa068b38eef773214b
2026-01-05T04:55:25.208179Z
false
imanghafoori1/laravel-smart-facades
https://github.com/imanghafoori1/laravel-smart-facades/blob/598803dec72bf7cd1c169faa068b38eef773214b/tests/Stubs/ConcreteFacadeStub.php
tests/Stubs/ConcreteFacadeStub.php
<?php namespace Imanghafoori\FacadeTests\Stubs; class ConcreteFacadeStub { public function m1(FacadeStub1 $p1) { return $p1->a; } public function m2(FacadeStub1 $p1, $p2) { return $p1->a.$p2; } public function m3(FacadeStub1 $p1, $p2 = 'def2', $p3 = 'def3') { ...
php
MIT
598803dec72bf7cd1c169faa068b38eef773214b
2026-01-05T04:55:25.208179Z
false
imanghafoori1/laravel-smart-facades
https://github.com/imanghafoori1/laravel-smart-facades/blob/598803dec72bf7cd1c169faa068b38eef773214b/tests/Stubs/FacadeStub.php
tests/Stubs/FacadeStub.php
<?php namespace Imanghafoori\FacadeTests\Stubs; use Imanghafoori\SmartFacades\Facade; class FacadeStub extends Facade { // }
php
MIT
598803dec72bf7cd1c169faa068b38eef773214b
2026-01-05T04:55:25.208179Z
false
imanghafoori1/laravel-smart-facades
https://github.com/imanghafoori1/laravel-smart-facades/blob/598803dec72bf7cd1c169faa068b38eef773214b/tests/Stubs/FacadeStub2.php
tests/Stubs/FacadeStub2.php
<?php namespace Imanghafoori\FacadeTests\Stubs; class FacadeStub2 { public $b; public function __construct($b = 'def2') { $this->b = $b; } }
php
MIT
598803dec72bf7cd1c169faa068b38eef773214b
2026-01-05T04:55:25.208179Z
false
imanghafoori1/laravel-smart-facades
https://github.com/imanghafoori1/laravel-smart-facades/blob/598803dec72bf7cd1c169faa068b38eef773214b/tests/Stubs/ApplicationStub.php
tests/Stubs/ApplicationStub.php
<?php namespace Imanghafoori\FacadeTests\Stubs; use ArrayAccess; class ApplicationStub implements ArrayAccess { protected $attributes = []; public function setAttributes($attributes) { $this->attributes = $attributes; } public function instance($key, $instance) { $this->attr...
php
MIT
598803dec72bf7cd1c169faa068b38eef773214b
2026-01-05T04:55:25.208179Z
false
joshcanhelp/php-form-builder
https://github.com/joshcanhelp/php-form-builder/blob/892ea8cfb67d54e9e46e3b691369c15b900b9be2/PhpFormBuilder.php
PhpFormBuilder.php
<?php // v 0.8.6 class PhpFormBuilder { // Stores all form inputs private $inputs = array(); // Stores all form attributes private $form = array(); // Does this form have a submit value? private $has_submit = false; /** * Constructor function to set form action and attributes * * @param string $actio...
php
MIT
892ea8cfb67d54e9e46e3b691369c15b900b9be2
2026-01-05T04:55:38.223038Z
false
joshcanhelp/php-form-builder
https://github.com/joshcanhelp/php-form-builder/blob/892ea8cfb67d54e9e46e3b691369c15b900b9be2/index.php
index.php
<?php ini_set( 'display_errors', 1 ); error_reporting( E_ALL ); ?> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>PHPFormBuilder test</title> </head> <body> <?php require_once( 'PhpFormBuilder.php' ); /* Create a new instance Pass in a URL to set the acti...
php
MIT
892ea8cfb67d54e9e46e3b691369c15b900b9be2
2026-01-05T04:55:38.223038Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/footer.php
footer.php
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; if (!empty($this->options->cdn) && $this->options->cdn) { define('__TYPECHO_THEME_URL__', Typecho_Common::url(__TYPECHO_THEME_DIR__ . '/' . basename(dirname(__FILE__)), $this->options->cdn)); } ?> <section class="main-footer-waves-area waves-area"> <svg class="waves...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/page.php
page.php
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> <?php $this->need('header.php'); ?> <section class="main-hero"> <div class="main-hero-bg" style="background-image: url('<?= $this->fields->thumbnail ?>')"></div> <div class="d-flex flex-column align-content-center justify-content-center main-hero-content">...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/comments.php
comments.php
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> <?php function threadedComments($comments, $options) { $commentClass = ''; if ($comments->authorId) { if ($comments->authorId == $comments->ownerId) { $commentClass .= ' comment-by-author'; } else { $commentClass .= ' comment-by-user'; } ...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/post.php
post.php
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> <?php $this->need('header.php'); ?> <section class="main-hero"> <div class="main-hero-bg" style="background-image: url('<?= $this->fields->thumbnail ?>')"></div> <div class="d-flex flex-column align-content-center justify-content-center main-hero-content">...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/page-about.php
page-about.php
<?php /** * 名片 * * @package custom * @author 林尽欢 * @link https://iobiji.com/ * @version 1.0.0 */ $this->need('header.php'); ?> <section class="main-hero template-about-me"> <div class="main-hero-bg" style="background-image: url('<?= $this->fields->thumbnail ?>')"></div> <div class="d-flex flex-column ...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/search.php
search.php
<?php /** * 响应式TYPECHO主题 * * @package Spring * @author 林尽欢 * @version 1.0.1 * @link https://iobiji.com */ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> <?php $this->need('header.php'); $hiddens = ''; $hidden = ''; $prev = $this->_currentPage - 1; $next = $this->_currentPage + 1; if ($this->_currentPage == 0 ||...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/functions.php
functions.php
<?php error_reporting(0); if (!defined('__TYPECHO_ROOT_DIR__')) exit; define('Spring_VERSION', '1.0.1'); define('__TYPECHO_GRAVATAR_PREFIX__', Helper::options()->Gravatar ? Helper::options()->Gravatar : '//cdn.v2ex.com/gravatar/'); require_once 'lib/Utils.php'; require_once 'lib/Comments.php'; if (!empty(Helper::option...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
true
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/full-width-for-post.php
full-width-for-post.php
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> <?php /** * 文章全宽模板 * * @package custom * @author 林尽欢 * @link https://iobiji.com/ * @version 1.0.0 */ $this->need('header.php'); ?> <section class="main-hero"> <div class="main-hero-bg" style="background-image: url('<?= $this->fields->thumbnail ?>')"><...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/index.php
index.php
<?php /** * 响应式TYPECHO主题 * * @package Spring * @author 林尽欢 * @version 1.0.1 * @link https://iobiji.com */ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> <?php $this->need('header.php'); $hiddens = ''; $hidden = ''; $prev = $page . ($this->_currentPage - 1); $next = $page . ($this->_currentPage + 1); if ($this->...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/404.php
404.php
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/> ...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/header.php
header.php
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; if (!empty($this->options->cdn) && $this->options->cdn) { define('__TYPECHO_THEME_URL__', Typecho_Common::url(__TYPECHO_THEME_DIR__ . '/' . basename(dirname(__FILE__)), $this->options->cdn)); } ?> <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/page-archive.php
page-archive.php
<?php /** * 文章归档 * * @package custom * @author 林尽欢 * @link https://iobiji.com/ * @version 1.0.0 */ $this->need('header.php'); ?> <?php Typecho_Widget::widget('Widget_Stat')->to($stat); ?> <body class="page-template page-links spring-body"> <section class="main-hero"> <div class="main-hero-bg" style=...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/page-links.php
page-links.php
<?php /** * 友链 * * @package custom * @author 林尽欢 * @link https://iobiji.com/ * @version 1.0.0 */ $this->need('header.php'); ?> <body class="page-template page-links spring-body"> <section class="main-hero"> <div class="main-hero-bg" style="background-image: url('<?= $this->fields->thumbnail ?>')"></div>...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/lib/Utils.php
lib/Utils.php
<?php if (!defined('__TYPECHO_ROOT_DIR__')) { exit; } /** * Utils.php * 部分工具 * * @author Jayden * @version since 1.0.3 */ class Utils { /** * 输出博客以及主题部分配置信息为前端提供接口 * * @return void */ public static function JConfig() { $JConfig = Helper::options()->JConfig; $options = Helper::o...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
unsafe-ptr/Spring
https://github.com/unsafe-ptr/Spring/blob/23d1f9522acf20328441432340609cef3cc74082/lib/Comments.php
lib/Comments.php
<?php if (!defined('__TYPECHO_ROOT_DIR__')) { exit; } /** * Comments.php * 评论相关组件 * * @author Jayden * @version since 1.0.4 */ class Comments { /** * 解析评论user-agent * * @param string $ua * * @return string */ public static function parseUseragent($ua) { ...
php
MIT
23d1f9522acf20328441432340609cef3cc74082
2026-01-05T04:55:52.719654Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/upgrade.php
upgrade.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/index.php
index.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/admin/index.php
admin/index.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/carousel/Info.php
inc/modules/carousel/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/carousel/Site.php
inc/modules/carousel/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/snippets/Admin.php
inc/modules/snippets/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/snippets/Info.php
inc/modules/snippets/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/snippets/Site.php
inc/modules/snippets/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/devbar/Admin.php
inc/modules/devbar/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/devbar/Info.php
inc/modules/devbar/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license ...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/devbar/functions.php
inc/modules/devbar/functions.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/devbar/Site.php
inc/modules/devbar/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/devbar/Dump.php
inc/modules/devbar/Dump.php
<?php namespace Inc\Modules\Devbar; class Dump { public static $data = []; }
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/settings/Admin.php
inc/modules/settings/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
true
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/settings/Info.php
inc/modules/settings/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/settings/Site.php
inc/modules/settings/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/settings/inc/RecursiveDotFilterIterator.php
inc/modules/settings/inc/RecursiveDotFilterIterator.php
<?php namespace Inc\Modules\Settings\Inc; class RecursiveDotFilterIterator extends \RecursiveFilterIterator { public function accept() { return '.' !== substr($this->current()->getFilename(), 0, 1); } }
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/galleries/Admin.php
inc/modules/galleries/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/galleries/Info.php
inc/modules/galleries/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/galleries/Site.php
inc/modules/galleries/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/pages/Admin.php
inc/modules/pages/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/pages/Info.php
inc/modules/pages/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/pages/Site.php
inc/modules/pages/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/sitemap/Info.php
inc/modules/sitemap/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license ...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/sitemap/Site.php
inc/modules/sitemap/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license ...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/searchbox/Info.php
inc/modules/searchbox/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license ...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/searchbox/Site.php
inc/modules/searchbox/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license ...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/navigation/Admin.php
inc/modules/navigation/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/navigation/Info.php
inc/modules/navigation/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/navigation/Site.php
inc/modules/navigation/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/modules/Admin.php
inc/modules/modules/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/modules/Info.php
inc/modules/modules/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/dashboard/Admin.php
inc/modules/dashboard/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/dashboard/Info.php
inc/modules/dashboard/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/users/Admin.php
inc/modules/users/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/users/Info.php
inc/modules/users/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/users/Site.php
inc/modules/users/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/DB.php
inc/modules/statistics/DB.php
<?php namespace Inc\Modules\Statistics; use Inc\Core\Lib\QueryBuilder; class DB extends QueryBuilder { /** * @var \PDO */ protected static $db; } $database = BASE_DIR.'/inc/data/statistics.sdb'; DB::connect("sqlite:{$database}");
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/Admin.php
inc/modules/statistics/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/Info.php
inc/modules/statistics/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/Site.php
inc/modules/statistics/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/src/Statistics.php
inc/modules/statistics/src/Statistics.php
<?php namespace Inc\Modules\Statistics\Src; use Inc\Modules\Statistics\DB; class Statistics { public function getReferrers($url = null, $limit = 15, $bot = false) { $query = $this->db('statistics') ->select([ 'referrer', 'count_unique' => 'COUNT(DISTINCT un...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/src/Chart.php
inc/modules/statistics/src/Chart.php
<?php namespace Inc\Modules\Statistics\Src; use Inc\Modules\Statistics\DB; class Chart { public function getVisitors($days = 14, $offset = 0, $url = null, $referrer = null) { $time = strtotime(date("Ymd000000", strtotime("-".$days + $offset." days"))); $query = $this->db('statistics') ...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/DeviceDetector.php
inc/modules/statistics/phpbrowserdetector/DeviceDetector.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; class DeviceDetector implements DetectorInterface { /** * Determine the user's device. * * @param Device $device * @param UserAgent $userAgent * @return bool */ public static function detect(Device $device, UserAgent $use...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/Language.php
inc/modules/statistics/phpbrowserdetector/Language.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; /** * Language Detection. */ class Language { /** * @var AcceptLanguage */ private $acceptLanguage; /** * @var array */ private $languages; /** * @param null|string|AcceptLanguage $acceptLanguage * * ...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/OsDetector.php
inc/modules/statistics/phpbrowserdetector/OsDetector.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; class OsDetector implements DetectorInterface { /** * Determine the user's operating system. * * @param Os $os * @param UserAgent $userAgent * * @return bool */ public static function detect(Os $os, UserAgent $userAg...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/BrowserDetector.php
inc/modules/statistics/phpbrowserdetector/BrowserDetector.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; class BrowserDetector implements DetectorInterface { const FUNC_PREFIX = 'checkBrowser'; protected static $userAgentString; /** * @var Browser */ protected static $browser; protected static $browsersList = array( // we...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/Os.php
inc/modules/statistics/phpbrowserdetector/Os.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; /** * OS Detection. */ class Os { const UNKNOWN = 'unknown'; const OSX = 'OS X'; const IOS = 'iOS'; const SYMBOS = 'SymbOS'; const WINDOWS = 'Windows'; const ANDROID = 'Android'; const LINUX = 'Linux'; const NOKIA = 'Nokia'; ...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/Browser.php
inc/modules/statistics/phpbrowserdetector/Browser.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; /** * Browser Detection. */ class Browser { const UNKNOWN = 'unknown'; const VIVALDI = 'Vivaldi'; const OPERA = 'Opera'; const OPERA_MINI = 'Opera Mini'; const WEBTV = 'WebTV'; const IE = 'Internet Explorer'; const POCKET_IE = 'P...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/Device.php
inc/modules/statistics/phpbrowserdetector/Device.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; class Device { const UNKNOWN = 'unknown'; const IPAD = 'iPad'; const IPHONE = 'iPhone'; const WINDOWS_PHONE = 'Windows Phone'; /** * @var string */ private $name; /** * @var UserAgent */ private $userAgen...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/LanguageDetector.php
inc/modules/statistics/phpbrowserdetector/LanguageDetector.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; class LanguageDetector implements DetectorInterface { /** * Detect a user's languages and order them by priority. * * @param Language $language * @param AcceptLanguage $acceptLanguage * * @return null */ public stati...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/UserAgent.php
inc/modules/statistics/phpbrowserdetector/UserAgent.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; class UserAgent { /** * @var string */ private $userAgentString; /** * @param string $userAgentString */ public function __construct($userAgentString = null) { if (null !== $userAgentString) { $this...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/AcceptLanguage.php
inc/modules/statistics/phpbrowserdetector/AcceptLanguage.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; class AcceptLanguage { /** * @var string */ private $acceptLanguageString; /** * @param string $acceptLanguageString */ public function __construct($acceptLanguageString = null) { if (null !== $acceptLanguageSt...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/InvalidArgumentException.php
inc/modules/statistics/phpbrowserdetector/InvalidArgumentException.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; class InvalidArgumentException extends \InvalidArgumentException { }
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/statistics/phpbrowserdetector/DetectorInterface.php
inc/modules/statistics/phpbrowserdetector/DetectorInterface.php
<?php namespace Inc\Modules\Statistics\PHPBrowserDetector; interface DetectorInterface { }
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/blog/Admin.php
inc/modules/blog/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/blog/Info.php
inc/modules/blog/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/blog/Site.php
inc/modules/blog/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/contact/Admin.php
inc/modules/contact/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/contact/Info.php
inc/modules/contact/Info.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/contact/Site.php
inc/modules/contact/Site.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false
sruupl/batflat
https://github.com/sruupl/batflat/blob/f64373702f9589cd02d203a1cae505f6668c51c5/inc/modules/sample/Admin.php
inc/modules/sample/Admin.php
<?php /** * This file is part of Batflat ~ the lightweight, fast and easy CMS * * @author Paweł Klockiewicz <klockiewicz@sruu.pl> * @author Wojciech Król <krol@sruu.pl> * @copyright 2017 Paweł Klockiewicz, Wojciech Król <Sruu.pl> * @license https://batflat.org/license * @link https://batflat...
php
MIT
f64373702f9589cd02d203a1cae505f6668c51c5
2026-01-05T04:56:05.555415Z
false