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 |
|---|---|---|---|---|---|---|---|---|
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/module/Booking/src/Booking/Manager/Booking/BillManager.php | module/Booking/src/Booking/Manager/Booking/BillManager.php | <?php
namespace Booking\Manager\Booking;
use Base\Manager\AbstractManager;
use Booking\Entity\Booking;
use Booking\Entity\Booking\Bill;
use Booking\Entity\Booking\BillFactory;
use Booking\Table\Booking\BillTable;
use InvalidArgumentException;
use RuntimeException;
use Zend\Db\Sql\Predicate\In;
class BillManager exte... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/module/Booking/src/Booking/Service/BookingService.php | module/Booking/src/Booking/Service/BookingService.php | <?php
namespace Booking\Service;
use Base\Manager\OptionManager;
use Base\Service\AbstractService;
use Base\View\Helper\DateRange;
use Booking\Entity\Booking;
use Booking\Entity\Booking\Bill;
use Booking\Manager\Booking\BillManager;
use Booking\Manager\BookingManager;
use Booking\Manager\ReservationManager;
use DateT... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/module/Booking/src/Booking/Service/BookingStatusServiceFactory.php | module/Booking/src/Booking/Service/BookingStatusServiceFactory.php | <?php
namespace Booking\Service;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class BookingStatusServiceFactory implements FactoryInterface
{
public function createService(ServiceLocatorInterface $sm)
{
return new BookingStatusService($sm->get('Base\Mana... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/module/Booking/src/Booking/Service/BookingServiceFactory.php | module/Booking/src/Booking/Service/BookingServiceFactory.php | <?php
namespace Booking\Service;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class BookingServiceFactory implements FactoryInterface
{
public function createService(ServiceLocatorInterface $sm)
{
$notificationListener = $sm->get('Booking\Service\Listene... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/module/Booking/src/Booking/Service/BookingStatusService.php | module/Booking/src/Booking/Service/BookingStatusService.php | <?php
namespace Booking\Service;
use Base\Manager\OptionManager;
use Base\Service\AbstractService;
class BookingStatusService extends AbstractService
{
protected $optionManager;
protected $statusColorsBuffer;
public function __construct(OptionManager $optionManager)
{
$this->optionManager ... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/module/Booking/src/Booking/Service/Listener/NotificationListener.php | module/Booking/src/Booking/Service/Listener/NotificationListener.php | <?php
namespace Booking\Service\Listener;
use Backend\Service\MailService as BackendMailService;
use Base\Manager\OptionManager;
use Base\View\Helper\DateRange;
use Booking\Manager\ReservationManager;
use Square\Manager\SquareManager;
use User\Manager\UserManager;
use User\Service\MailService as UserMailService;
use ... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/module/Booking/src/Booking/Service/Listener/NotificationListenerFactory.php | module/Booking/src/Booking/Service/Listener/NotificationListenerFactory.php | <?php
namespace Booking\Service\Listener;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class NotificationListenerFactory implements FactoryInterface
{
public function createService(ServiceLocatorInterface $sm)
{
return new NotificationListener(
... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/module/Booking/config/module.config.php | module/Booking/config/module.config.php | <?php
return array(
'service_manager' => array(
'factories' => array(
'Booking\Manager\BookingManager' => 'Booking\Manager\BookingManagerFactory',
'Booking\Manager\Booking\BillManager' => 'Booking\Manager\Booking\BillManagerFactory',
'Booking\Manager\ReservationManager' ... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/module/Service/Module.php | module/Service/Module.php | <?php
namespace Service;
use Zend\EventManager\EventInterface;
use Zend\ModuleManager\Feature\AutoloaderProviderInterface;
use Zend\ModuleManager\Feature\BootstrapListenerInterface;
use Zend\ModuleManager\Feature\ConfigProviderInterface;
use Zend\Mvc\MvcEvent;
class Module implements AutoloaderProviderInterface, Boo... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/module/Service/src/Service/Controller/ServiceController.php | module/Service/src/Service/Controller/ServiceController.php | <?php
namespace Service\Controller;
use Zend\Mvc\Controller\AbstractActionController;
class ServiceController extends AbstractActionController
{
public function infoAction()
{ }
public function helpAction()
{ }
public function statusAction()
{
if ($this->option('service.maintenance... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/module/Service/config/module.config.php | module/Service/config/module.config.php | <?php
return array(
'router' => array(
'routes' => array(
'service' => array(
'type' => 'Literal',
'options' => array(
'route' => '/service',
'defaults' => array(
'controller' => 'Service\Controller\... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/de-DE/booking.php | data/res/i18n/de-DE/booking.php | <?php
return [
'Booking' => 'Buchung',
'%s-Booking' => '%s-Buchung',
'Single' => 'Einzelbuchung',
'Subscription' => 'Abo',
'Cancelled' => 'Storniert',
'Pending' => 'Ausstehend',
'Paid' => 'Bezahlt',
'Uncollectable' => 'Uneinbringlich',
'Public' => 'Sichtbar',
'Private' => 'U... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/de-DE/base.php | data/res/i18n/de-DE/base.php | <?php
return [
'Back to' => 'Zurück zu',
'Related pages' => 'Verwandte Seiten',
' by %s' => ' um %s',
' at %s' => ' um %s',
'On %s' => 'Am %s',
'On last %s' => 'Am letzten %s',
'On next %s' => 'Am nächsten %s',
'Tomorrow' => 'Morgen',
'Yesterday' => 'Gestern',
'%s hours ago' =... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/de-DE/setup.php | data/res/i18n/de-DE/setup.php | <?php
return [
'ep-3 Bookingsystem' => 'ep-3 Buchungssystem',
'ep-3 Bookingsystem Setup' => 'ep-3 Buchungssystem Einrichtung',
'imgs/branding/ep3-bs-neg-en.png' => 'imgs/branding/ep3-bs-neg-de.png',
];
| php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/de-DE/frontend.php | data/res/i18n/de-DE/frontend.php | <?php
return [
'Today' => 'Heute',
'Date' => 'Datum',
'Time' => 'Zeit',
'Show' => 'Anzeigen',
'To book %s, %splease register first%s' => 'Um %s zu buchen, %sregistrieren Sie sich bitte%s',
'or simply %s login here' => 'oder melden %s Sie sich an',
'Email address' => 'E-Mail Adresse',
... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/de-DE/backend.php | data/res/i18n/de-DE/backend.php | <?php
return [
'Users' => 'Benutzer',
'Create, edit or delete the users of your system' => 'Erstellen, bearbeiten oder löschen Sie Benutzer Ihres Systems',
'Bookings' => 'Buchungen',
'Create, edit or delete the bookings of your system' => 'Erstellen, bearbeiten oder löschen Sie Buchungen Ihres System... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/de-DE/service.php | data/res/i18n/de-DE/service.php | <?php
return [
'System status' => 'Status des Systems',
'Maintenance' => 'Wartungsarbeiten',
'Help' => 'Hilfe',
'We are currently working on this page.' => 'Diese Seite ist leider noch nicht fertig.',
'The system is currently not available' => 'Das System ist derzeit nicht verfügbar',
'Syst... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/de-DE/calendar.php | data/res/i18n/de-DE/calendar.php | <?php
return [
'The passed calendar date is invalid' => 'Dieses Kalenderdatum ist ungültig',
'The passed calendar squares are invalid' => 'Diese Kalenderanzeige ist ungültig',
'Morning' => 'Morgens',
'Afternoon' => 'Nachmittags',
'Past' => 'Vorbei',
'Too far' => 'Zu fern',
'Closed' => 'G... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/de-DE/user.php | data/res/i18n/de-DE/user.php | <?php
return [
'You are not logged in (anymore)' => 'Sie sind nicht (mehr) angemeldet',
'You have no permission for this' => 'Das dürfen Sie leider nicht',
'Forgot password?' => 'Passwort vergessen?',
'Forgot your password?' => 'Passwort vergessen?',
'We have just received your request to reset ... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/de-DE/square.php | data/res/i18n/de-DE/square.php | <?php
return [
'This %s is already occupied' => 'Dieser %s ist bereits belegt',
'%sNote:%s Please read and accept the "%s".' => '%sHinweis:%s Bitte lesen und akzeptieren Sie die "%s".',
'%sNote:%s Please read and accept our rules and notes.' => '%sHinweis:%s Bitte lesen und akzeptieren Sie unsere Regeln u... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/hu-HU/booking.php | data/res/i18n/hu-HU/booking.php | <?php
return [
'Booking' => 'Foglalás',
'%s-Booking' => '%s-Foglalás',
'Single' => 'Egyedi',
'Subscription' => 'Előfizetéses',
'Cancelled' => 'Lemondott',
'Pending' => 'Függőben lévő',
'Paid' => 'Fizetett',
'Uncollectable' => 'Behajthatatlan',
'Public' => 'Nyilvános',
'Priva... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/hu-HU/base.php | data/res/i18n/hu-HU/base.php | <?php
return [
'Back to' => 'Vissza',
'Related pages' => 'Kapcsolódó oldalak',
' by %s' => '%s',
' at %s' => '%s',
'On %s' => '%s',
'On last %s' => 'Az utolsón %s',
'On next %s' => 'A következőn %s',
'Tomorrow' => 'Holnap',
'Yesterday' => 'Tegnap',
'%s hours ago' => '%s órával... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/hu-HU/setup.php | data/res/i18n/hu-HU/setup.php | <?php
return [
'ep-3 Bookingsystem' => 'ep-3 Foglalási rendszer',
'ep-3 Bookingsystem Setup' => 'ep-3 Foglalási rendszer beállítás',
'imgs/branding/ep3-bs-neg-en.png' => 'imgs/branding/ep3-bs-neg-en.png',
];
| php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/hu-HU/frontend.php | data/res/i18n/hu-HU/frontend.php | <?php
return [
'Today' => 'Ma',
'Date' => 'Dátum',
'Time' => 'Idő',
'Show' => 'Mutasd',
'To book %s, %splease register first%s' => 'A %s foglalásához, %skérem itt regisztráljon%s',
'or simply %s login here' => 'vagy egyszerűen %s lépjen be itt',
'Email address' => 'Email cím',
'Email... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/hu-HU/backend.php | data/res/i18n/hu-HU/backend.php | <?php
return [
'Users' => 'Felhasználók',
'Create, edit or delete the users of your system' => 'A rendszerben a felhasználók létrehozása, szerkesztése vagy törlése',
'Bookings' => 'Foglalások',
'Create, edit or delete the bookings of your system' => 'A rendszerben a foglalások létrehozása, szerkeszté... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/hu-HU/service.php | data/res/i18n/hu-HU/service.php | <?php
return [
'System status' => 'Rendszer státusz',
'Maintenance' => 'Karbantartás',
'Help' => 'Segítség',
'We are currently working on this page.' => 'Jelenleg ez a lap fejlesztés alatt áll.',
'The system is currently not available' => 'A rendszer jelenleg nem elérhető',
'System maintena... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/hu-HU/calendar.php | data/res/i18n/hu-HU/calendar.php | <?php
return [
'The passed calendar date is invalid' => 'Ez a naptár dátum érvénytelen',
'The passed calendar squares are invalid' => 'Ez a pályanaptár érvénytelen',
'Morning' => 'Reggel',
'Afternoon' => 'Délután',
'Past' => 'Múlt',
'Too far' => 'Túl távoli',
'Closed' => 'Zárt',
'Fre... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/hu-HU/user.php | data/res/i18n/hu-HU/user.php | <?php
return [
'You are not logged in (anymore)' => 'Nincs bejelentkezve',
'You have no permission for this' => 'Ehhez nincs jogosultsága',
'Forgot password?' => 'Elfelejtette a jelszót?',
'Forgot your password?' => 'Elfelejtette a jelszavát?',
'We have just received your request to reset your p... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/hu-HU/square.php | data/res/i18n/hu-HU/square.php | <?php
return [
'This %s is already occupied' => 'Ez a pálya %s már foglalt',
'%sNote:%s Please read and accept the "%s".' => '%sSegédlet:%s Kérem olvassa el és fogadja el a "%s".',
'%sNote:%s Please read and accept our rules and notes.' => '%sSegédlet:%s Kérem olvassa el és fogadja el a szabályokat és a s... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/fr-FR/booking.php | data/res/i18n/fr-FR/booking.php | <?php
return [
'Booking' => 'Réservation',
'%s-Booking' => '%s-Réservation',
'Single' => 'Seul',
'Subscription' => 'Enregistrement',
'Cancelled' => 'Annulation',
'Pending' => 'En cours',
'Paid' => 'Payé',
'Uncollectable' => 'Impayés',
'Public' => 'Public',
'Private' => 'Priv... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/fr-FR/base.php | data/res/i18n/fr-FR/base.php | <?php
return [
'Back to' => 'Retour',
'Related pages' => 'En lien',
' by %s' => ' par %s',
' at %s' => ' à %s',
'On %s' => 'On %s',
'On last %s' => 'au dernier %s',
'On next %s' => 'Au prochain %s',
'Tomorrow' => 'Demain',
'Yesterday' => 'Hier',
'%s hours ago' => 'Il y a %s d\... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/fr-FR/setup.php | data/res/i18n/fr-FR/setup.php | <?php
return [
'ep-3 Bookingsystem' => 'ep-3 Système de réservation',
'ep-3 Bookingsystem Setup' => 'ep-3 ep-3 Système de réservation - Installation',
'imgs/branding/ep3-bs-neg-en.png' => 'imgs/branding/ep3-bs-neg-en.png',
];
| php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/fr-FR/frontend.php | data/res/i18n/fr-FR/frontend.php | <?php
return [
'Today' => 'Aujourd\'hui',
'Date' => 'Date',
'Time' => 'Heure',
'Show' => 'Voir',
'To book %s, %splease register first%s' => 'Pour réserver les %s, %sveuillez vous enregistrer svp%s',
'or simply %s login here' => 'ou simplement %s Connectez-vous ici',
'Email address' => 'A... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/fr-FR/backend.php | data/res/i18n/fr-FR/backend.php | <?php
return [
'Users' => 'Utilisateurs',
'Create, edit or delete the users of your system' => 'Créez, Editez ou supprimez un Utilisateur',
'Bookings' => 'Réservations',
'Create, edit or delete the bookings of your system' => 'Créez, Editez ou supprimez une Réservation',
'Event' => 'Evènement',
... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/fr-FR/service.php | data/res/i18n/fr-FR/service.php | <?php
return [
'System status' => 'Status du System',
'Maintenance' => 'Maintenance',
'Help' => 'Aide',
'We are currently working on this page.' => 'Nous travaillons en ce moment sur cette page.',
'The system is currently not available' => 'Le système est temporairement indisponible',
'Syst... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/fr-FR/calendar.php | data/res/i18n/fr-FR/calendar.php | <?php
return [
'The passed calendar date is invalid' => 'La date choisie est invalide',
'The passed calendar squares are invalid' => 'Ces courts sont invalides',
'Morning' => 'Matin',
'Afternoon' => 'Après-midi',
'Past' => 'Passé',
'Closed' => 'Fermé',
'Free' => 'Libre',
'Still free'... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/fr-FR/user.php | data/res/i18n/fr-FR/user.php | <?php
return [
'You are not logged in (anymore)' => 'Désolé vous n\'êtes plus connecté',
'You have no permission for this' => 'Désolé vous n\'avez pas la permission pour cela',
'Forgot password?' => 'Mot de passe oublié ?',
'Forgot your password?' => 'Avez-vous oublié votre de passe ?',
'We have... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
tkrebs/ep3-bs | https://github.com/tkrebs/ep3-bs/blob/fede20ae342c3e8c7b851bbb747e916f5d82eac3/data/res/i18n/fr-FR/square.php | data/res/i18n/fr-FR/square.php | <?php
return [
'This %s is already occupied' => 'Ce %s est dèjà occupé',
'%sNote:%s Please read and accept the "%s".' => '%sAttention:%s Lire et accepter "%s".',
'%sNote:%s Please read and accept our rules and notes.' => '%sAttention:%s Lire et accepter nos termes et règles.',
'%We are sorry:%s This d... | php | MIT | fede20ae342c3e8c7b851bbb747e916f5d82eac3 | 2026-01-05T02:07:41.561401Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/footer.php | footer.php | <?php if (!defined('__TYPECHO_ROOT_DIR__')) exit(0); ?>
<?php if ($this->options->allow_user_change_color) : ?>
<div id="switch_color">
<div class="colorful"></div>
<div class="d-flex border border-light">
<?php
$current_color = get_theme_color();
$theme_colors = get_theme_color_... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/page.php | page.php | <?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit(0);
$this->need('header.php');
?>
<div id="m-container" class="container">
<div class="row">
<div class="col-md-8">
<div id="article-list">
<article class="post-article clearfix">
<div class="article-header">
... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/archive.php | archive.php | <?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit(0);
$this->need('index.php');
| php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/comments.php | comments.php | <?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit(0);
$comments = $this->comments()->on(true);
?>
<div id="comments">
<?php if ($comments->have()): ?>
<div class="comments-block">
<p class="ui <?php $this->options->singleColor() ?> ribbon badge comments">
<?php $this->commentsNum... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/page-tag-cloud.php | page-tag-cloud.php | <?php
/**
* 标签云
*
* @package custom
*/
$this->need('header.php');
?>
<div id="m-container" class="container">
<div class="row">
<div class="col-md-12">
<div class="bg-white text-center">
<canvas height="700" width="700" id="tag-cloud-tags">
... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/post.php | post.php | <?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit(0);
$this->need('header.php');
?>
<?php
$hidden_sidebar = !empty($this->options->ShowBlock) && in_array('HiddenSidebarInDetail', $this->options->ShowBlock, true);
?>
<div id="m-container" class="container">
<div class="row">
<div class="col-md-<?php echo $hi... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/functions.php | functions.php | <?php
use Utils\Helper;
require_once 'lib/RecentSplitPage.php';
require_once 'lib/ArticleCatalog.php';
/**
* 随机文章
* @throws \Typecho\Db\Exception
* @throws \Typecho\Widget\Exception
*/
function theme_random_posts(){
$defaults = array(
'number' => 10,
'before' => '<ul class="list-group">',
... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/index.php | index.php | <?php
/**
* 绿葡萄的主题, 一款有科技感颗粒,自定义头像的, 好看的标签云的响应式模板。
*
* @package GreenGrapes
* @author hongweipeng
* @version 3.0.0
* @link https://github.com/hongweipeng/GreenGrapes
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit(0);
$this->need('header.php');
?>
<div id="m-container" class="container">
<div class="row">
... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/404.php | 404.php | <?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit(0);
$this->need('header.php');
?>
<div id="m-container" class="container">
<div class="error-page">
<h2 class="post-title"> 404 - <?php _e('页面没找到'); ?></h2>
<p><?php _e('访问的页面已被转移或删除了, 要不要搜索看看: '); ?></p>
<form method="pos... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/header.php | header.php | <?php if (!defined('__TYPECHO_ROOT_DIR__')) exit(0); ?><!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php $th... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/page-archive-timeline.php | page-archive-timeline.php | <?php
/**
* 文章归档页
*
* @package custom
*/
$this->need('header.php');
?>
<div id="m-container" class="container">
<div class="row">
<?php
$page = (int) $this->request->get('page', 1);
$pageSize = empty($this->options->ArchivePageSize) ? 20 : (int) $this->options->Arch... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/sidebar-post-catalog.php | sidebar-post-catalog.php | <?php if (!defined('__TYPECHO_ROOT_DIR__')) exit(0); ?>
<aside>
<div class="card card-skin hidden-xs">
<div class="card-header"><i class="fa fa-fw fa-th-list"></i> 文章目录</div>
<div class="card-body sidebar-catalog px-0">
<?php echo ArticleCatalog::instance()->renderCatalogHtml(); ?>
... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/sidebar.php | sidebar.php | <?php if (!defined('__TYPECHO_ROOT_DIR__')) exit(0); ?>
<?php if (!empty($this->options->ShowBlock) && in_array('ShowSidebarBlogInfo', $this->options->ShowBlock)): ?>
<aside>
<div class="card widget-sets hidden-xs">
<div class="card-body" style="background-image:url(<?php $this->options->bgImg(); ?>);-moz-b... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/lib/RecentSplitPage.php | lib/RecentSplitPage.php | <?php
if (!defined('__TYPECHO_ROOT_DIR__')) {
exit;
}
class RecentSplitPage extends \Widget\Contents\Post\Recent {
private $total = 0; // 所有文章个数
public function getTotal() {
return $this->total;
}
public function execute(){
$this->parameter->setDefault([
'pageSize' => $... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
hongweipeng/GreenGrapes | https://github.com/hongweipeng/GreenGrapes/blob/a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee/lib/ArticleCatalog.php | lib/ArticleCatalog.php | <?php
if (!defined('__TYPECHO_ROOT_DIR__')) {
exit;
}
class ArticleCatalog {
/**
* 索引ID
*/
public $id = 1;
/**
* 目录树
*/
public $tree = array();
/**
* @var string 描点
*/
public $anchor = '<span id="article_menu_index_{menu_id}" class="title-anchor"></span>';
... | php | Apache-2.0 | a71dea112cfd1625e85ed335f4fb7c5e0e9c52ee | 2026-01-05T02:08:26.404447Z | false |
statikbe/laravel-cookie-consent | https://github.com/statikbe/laravel-cookie-consent/blob/ccd858fb377a21cdc84a6a26549cec02c49705d5/src/CookieConsentServiceProvider.php | src/CookieConsentServiceProvider.php | <?php
namespace Statikbe\CookieConsent;
use Filament\Support\Facades\FilamentView;
use Illuminate\Contracts\View\View;
use Illuminate\Support\ServiceProvider;
class CookieConsentServiceProvider extends ServiceProvider
{
public const COOKIE_CONSENT_MODAL_ID = 'cookie-consent-modal';
public const COOKIE_CONSE... | php | MIT | ccd858fb377a21cdc84a6a26549cec02c49705d5 | 2026-01-05T02:08:38.266444Z | false |
statikbe/laravel-cookie-consent | https://github.com/statikbe/laravel-cookie-consent/blob/ccd858fb377a21cdc84a6a26549cec02c49705d5/src/CookieConsentMiddleware.php | src/CookieConsentMiddleware.php | <?php
namespace Statikbe\CookieConsent;
use Closure;
use Illuminate\Http\Response;
use Illuminate\Support\Str;
class CookieConsentMiddleware
{
public function handle($request, Closure $next)
{
$response = $next($request);
if (! $response instanceof Response) {
return $response;
... | php | MIT | ccd858fb377a21cdc84a6a26549cec02c49705d5 | 2026-01-05T02:08:38.266444Z | false |
statikbe/laravel-cookie-consent | https://github.com/statikbe/laravel-cookie-consent/blob/ccd858fb377a21cdc84a6a26549cec02c49705d5/config/cookie-consent.php | config/cookie-consent.php | <?php
use Filament\View\PanelsRenderHook;
return [
/**
* Theme to use for the cookie consent popup.
* Available options: 'default', 'filament'.
*/
'theme' => 'default',
'filament-nav-item-render-hook' => PanelsRenderHook::USER_MENU_PROFILE_AFTER,
'cookie_key' => '__cookie_consent',
... | php | MIT | ccd858fb377a21cdc84a6a26549cec02c49705d5 | 2026-01-05T02:08:38.266444Z | false |
statikbe/laravel-cookie-consent | https://github.com/statikbe/laravel-cookie-consent/blob/ccd858fb377a21cdc84a6a26549cec02c49705d5/resources/lang/en/texts.php | resources/lang/en/texts.php | <?php
return [
'alert_accept' => 'Accept all cookies',
'alert_essentials_only' => 'Accept only necessary cookies',
'alert_settings' => 'Adjust your preferences',
'alert_text' => 'By choosing "Accept all cookies" you agree to the use of cookies to help us provide you with a better user experience and to... | php | MIT | ccd858fb377a21cdc84a6a26549cec02c49705d5 | 2026-01-05T02:08:38.266444Z | false |
statikbe/laravel-cookie-consent | https://github.com/statikbe/laravel-cookie-consent/blob/ccd858fb377a21cdc84a6a26549cec02c49705d5/resources/lang/nl/texts.php | resources/lang/nl/texts.php | <?php
return [
'alert_accept' => 'Alle cookies aanvaarden',
'alert_essentials_only' => 'Enkel essentiële cookies aanvaarden',
'alert_settings' => 'Cookieinstellingen',
'alert_text' => 'Door op "Alle cookies aanvaarden" te klikken ga je akkoord met het opslaan van onze cookies op je computer. Zo kunnen ... | php | MIT | ccd858fb377a21cdc84a6a26549cec02c49705d5 | 2026-01-05T02:08:38.266444Z | false |
statikbe/laravel-cookie-consent | https://github.com/statikbe/laravel-cookie-consent/blob/ccd858fb377a21cdc84a6a26549cec02c49705d5/resources/lang/fr/texts.php | resources/lang/fr/texts.php | <?php
return [
'alert_accept' => 'Accepter tous les cookies',
'alert_essentials_only' => 'Accepter que les cookies essentiels',
'alert_settings' => 'Gérer vos préférences',
'alert_text' => "En cliquant sur 'Accepter tous les cookies', vous acceptez que nous stockions des cookies sur votre ordinateur. C... | php | MIT | ccd858fb377a21cdc84a6a26549cec02c49705d5 | 2026-01-05T02:08:38.266444Z | false |
statikbe/laravel-cookie-consent | https://github.com/statikbe/laravel-cookie-consent/blob/ccd858fb377a21cdc84a6a26549cec02c49705d5/resources/lang/oc/texts.php | resources/lang/oc/texts.php | <?php
return [
'alert_accept' => 'Acceptar totes los cookies',
'alert_essentials_only' => 'Acceptar sonque los cookies necessaris',
'alert_settings' => 'Ajustar vòstras preferéncias',
'alert_text' => 'En causissent « Acceptar totes los cookies » indicatz que sètz d’acòrd amb l’utilizacion dels cookies ... | php | MIT | ccd858fb377a21cdc84a6a26549cec02c49705d5 | 2026-01-05T02:08:38.266444Z | false |
statikbe/laravel-cookie-consent | https://github.com/statikbe/laravel-cookie-consent/blob/ccd858fb377a21cdc84a6a26549cec02c49705d5/resources/lang/es/texts.php | resources/lang/es/texts.php | <?php
return [
'alert_accept' => 'Aceptar todas las cookies',
'alert_essentials_only' => 'Aceptar solo las cookies necesarias',
'alert_settings' => 'Ajusta tus preferencias',
'alert_text' => 'Al elegir "Aceptar todas las cookies", acepta el uso de cookies para ayudarnos a brindarle una mejor experienci... | php | MIT | ccd858fb377a21cdc84a6a26549cec02c49705d5 | 2026-01-05T02:08:38.266444Z | false |
statikbe/laravel-cookie-consent | https://github.com/statikbe/laravel-cookie-consent/blob/ccd858fb377a21cdc84a6a26549cec02c49705d5/resources/views/index.blade.php | resources/views/index.blade.php | @php
$locale = $app->getLocale();
@endphp
<div
role="dialog"
aria-labelledby="lcc-modal-alert-label"
aria-describedby="lcc-modal-alert-desc"
aria-modal="true"
class="lcc-modal lcc-modal--alert js-lcc-modal js-lcc-modal-alert"
style="display: none"
data-cookie-key="{{ config('cookie-cons... | php | MIT | ccd858fb377a21cdc84a6a26549cec02c49705d5 | 2026-01-05T02:08:38.266444Z | false |
statikbe/laravel-cookie-consent | https://github.com/statikbe/laravel-cookie-consent/blob/ccd858fb377a21cdc84a6a26549cec02c49705d5/resources/views-filament/filament-nav-item.blade.php | resources/views-filament/filament-nav-item.blade.php | <a
class="fi-dropdown-list-item fi-ac-grouped-action js-lcc-settings-toggle"
href="#"
@click="$dispatch('open-modal', { id: '{{ \Statikbe\CookieConsent\CookieConsentServiceProvider::COOKIE_CONSENT_SETTINGS_MODAL_ID }}' })"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="fi-icon fi-size-... | php | MIT | ccd858fb377a21cdc84a6a26549cec02c49705d5 | 2026-01-05T02:08:38.266444Z | false |
statikbe/laravel-cookie-consent | https://github.com/statikbe/laravel-cookie-consent/blob/ccd858fb377a21cdc84a6a26549cec02c49705d5/resources/views-filament/index.blade.php | resources/views-filament/index.blade.php | @php
$locale = $app->getLocale();
$cookieModalHeading = __('cookie-consent::texts.alert_title');
$cookieModalDescription = __('cookie-consent::texts.alert_text');
$settingsModalHeading = __('cookie-consent::texts.settings_title');
$settingsModalDescription = Blade::render(
__('cookie-consent... | php | MIT | ccd858fb377a21cdc84a6a26549cec02c49705d5 | 2026-01-05T02:08:38.266444Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/index.php | index.php | <?php
error_reporting(E_ALL & ~E_NOTICE);
define('APP_PATH', dirname(__FILE__) . '/app');
// You can change IPHP_PATH
define('IPHP_PATH', dirname(__FILE__) . '/iphp');
require_once(IPHP_PATH . '/loader.php');
App::run();
| php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/loader.php | iphp/loader.php | <?php
define('APP_TIME_START', microtime(true));
include_once(dirname(__FILE__) . '/functions.php');
$AUTOLOAD_PATH = array(
dirname(__FILE__) . '/framework',
APP_PATH . '/models',
APP_PATH . '/classes',
);
function __autoload($cls){
global $AUTOLOAD_PATH;
foreach($AUTOLOAD_PATH as $dir){
$file = $dir . '/' ... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/functions.php | iphp/functions.php | <?php
function base_path(){
static $path = false;
if($path === false){
$uri = $_SERVER['REQUEST_URI'];
if(($pos = strpos($uri, '?')) !== false){
$uri = substr($uri, 0, $pos);
}
$uri = secure_path($uri);
/*
if(preg_match('/^(.*)\/(\d+)$/', $uri, $ms)){
$uri = $ms[1] . '/view';
$_GET['id'] = $ms... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/Http.php | iphp/framework/Http.php | <?php
class Http
{
static $error = '';
static $connect_timeout = 5;
static $request_timeout = 25;
static function post($url, $data=array()){
self::$error = '';
if(is_array($data)){
$data = http_build_query($data);
}
$ch = curl_init($url) ;
curl_setopt($ch, CURLOPT_POST, 1) ;
curl_setopt($ch, CURLOPT... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/Db.php | iphp/framework/Db.php | <?php
require_once(dirname(__FILE__) . '/Mysql_i.php');
class Db{
private static $config = array();
private static $readonly = false;
private static $load_balance = false;
function __construct(){
throw new Exception("Static class");
}
static function init($config=array()){
self::$config = $config;
}
st... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/Text.php | iphp/framework/Text.php | <?php
class Text
{
static function json_decode($str, $assoc=false){
return json_decode($str, $assoc);
}
static function json_encode($input, $opt=0){
if(defined('JSON_UNESCAPED_UNICODE')){
return json_encode($input, JSON_UNESCAPED_UNICODE | $opt);
}
if(is_string($input)){
$text = $input;
$text = st... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/Context.php | iphp/framework/Context.php | <?php
class Context
{
private $lazy_regs = array();
function as_array(){
$arr = get_object_vars($this);
unset($arr['lazy_regs']);
return $arr;
}
function __get($name){
if(!property_exists($this, $name)){
$this->$name = null;
if(isset($this->lazy_regs[$name])){
$callback = $this->lazy_regs[$name... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/Controller.php | iphp/framework/Controller.php | <?php
class Controller
{
public $module = '';
public $action = '';
public $layout = '';
public $is_ajax = false;
public $view_path = array('views');
function init($ctx){
}
function index($ctx){
}
function _view($m){
_redirect($this->_view_url($m));
}
function _new_url(){
return _action('new', nul... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/Mysql.php | iphp/framework/Mysql.php | <?php
/**
* MySQL 数据库操作工具类, 方便数据库操作.
* 示例见底部注释.
* @author: wuzuyang@gmail.com
*/
class Mysql{
var $conn;
var $query_list = array();
public $query_count = 0;
var $readonly = false;
public function __construct($c){
if(!isset($c['port'])){
$c['port'] = '3306';
}
$server = $c['host'] . ':' . $c['port'];
... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/AjaxController.php | iphp/framework/AjaxController.php | <?php
class AjaxController extends Controller
{
public $is_ajax = true;
public $jp = '';
function init($ctx){
parent::init($ctx);
$this->layout = false;
$jp = trim($_GET['callback']);
if(preg_match('/^[a-z0-9_]+$/i', $jp)){
$this->jp = $jp;
}
}
}
| php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/App.php | iphp/framework/App.php | <?php
class App{
static $env;
static $context;
static $controller;
static $finish = false;
static $config = array();
static $version = '';
static $asset_md5 = array();
static $base_url = null;
// view 的渲染结果先保存在此变量中
static $view_content = '';
static function host(){
$host = $_SERVER['HTTP_HOST'];
$port ... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/404.php | iphp/framework/404.php | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>404 - Not Found</title>
<style type="text/css">
body{
margin: 0;
... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/Html.php | iphp/framework/Html.php | <?php
class Html{
private static $config = array();
function __construct(){
throw new Exception("Static class");
}
static function host(){
$host = $_SERVER['HTTP_HOST'];
$port = $_SERVER['SERVER_PORT'];
if(strpos($host, ':') === false && $port != 80 && $port != 443){
$host .= ":{$port}";
}
return ... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/Form.php | iphp/framework/Form.php | <?php
class Form{
private $m;
private $html = '';
function __construct($m, $action='', $method='POST'){
$this->m = $m;
$this->action = $action;
$this->method = $method;
$this->html .= <<<HTML
<script type="text/javascript">
$(document).ready(function(){
$('input.datetimepicker').datetimepicker({
time... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/Logger.php | iphp/framework/Logger.php | <?php
class Logger{
private static $level = 0;
private static $logs = array();
private static $level_map = array(
1 => 'FATAL',
2 => 'ERROR',
3 => 'WARN',
4 => 'INFO',
5 => 'DEBUG',
6 => 'TRACE',
7 => 'ALL',
);
private static $max_level = 7;
private static $dump = 0;
private static $config;
const... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/Model.php | iphp/framework/Model.php | <?php
class Model
{
static $table_name = false;
static function db(){
return Db::instance();
}
static function table(){
if(static::$table_name === false){
$table_name = get_called_class();
$table_name{0} = strtolower($table_name{0});
static::$table_name = $table_name;
}
return static::$table_nam... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/iphp/framework/Mysql_i.php | iphp/framework/Mysql_i.php | <?php
/**
* MySQL 数据库操作工具类, 方便数据库操作.
* 示例见底部注释.
* @author: wuzuyang@gmail.com
*/
class Mysql_i{
var $conn;
var $query_list = array();
public $query_count = 0;
var $readonly = false;
public function __construct($c){
if(!isset($c['port'])){
$c['port'] = '3306';
}
$this->conn = new mysqli($c['host'], $c... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/controllers/captcha.php | app/controllers/captcha.php | <?php
class CaptchaController extends Controller
{
function index($ctx){
$this->is_ajax = false;
$this->layout = false;
require_once(APP_PATH . '/classes/captcha/SimpleCaptcha.php');
$captcha = new SimpleCaptcha();
$captcha->width = 140;
$captcha->height = 60;
$captcha->scale = 4;
$captcha->blur = true... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/controllers/queue.php | app/controllers/queue.php | <?php
class QueueController extends BaseController
{
function init($ctx){
parent::init($ctx);
$ctx->title = 'LIST';
}
function index($ctx){
$s = trim($_GET['s']);
$e = trim($_GET['e']);
$size = $ctx->size;
$dir = trim($_GET['dir']);
if($dir != 'prev'){
$dir = 'next';
}
$ctx->s = $s;
$ctx-... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/controllers/login.php | app/controllers/login.php | <?php
class LoginController extends Controller
{
function init($ctx){
session_start();
$ctx->user =$_SESSION['login_user'];
if($ctx->user){
_redirect('/');
}
}
function index($ctx){
$conf = App::$config['login'];
if(strlen($conf['password']) < 6 || $conf['password'] == '12345678'){
$ctx->errmsg = ... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/controllers/index.php | app/controllers/index.php | <?php
class IndexController extends BaseController
{
function index($ctx){
$info = $this->ssdb->info();
$info = array_slice($info, 1);
$tmp = array();
for($i=0; $i<count($info); $i+=2){
$tmp[$info[$i]] = $info[$i + 1];
}
$ctx->info = $this->parse_info($tmp);
}
private function parse_info($info){
$... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/controllers/hash.php | app/controllers/hash.php | <?php
class HashController extends BaseController
{
function init($ctx){
parent::init($ctx);
$ctx->title = 'HASH';
}
function index($ctx){
$s = trim($_GET['s']);
$e = trim($_GET['e']);
$size = $ctx->size;
$dir = trim($_GET['dir']);
if($dir != 'prev'){
$dir = 'next';
}
$ctx->s = $s;
$ctx->... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/controllers/kv.php | app/controllers/kv.php | <?php
class KvController extends BaseController
{
function init($ctx){
parent::init($ctx);
$ctx->title = 'KV';
}
function index($ctx){
_redirect('kv/scan');
}
function scan($ctx){
$s = trim($_GET['s']);
$e = trim($_GET['e']);
$size = $ctx->size;
$dir = trim($_GET['dir']);
if($dir != 'prev'){
... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/controllers/zset.php | app/controllers/zset.php | <?php
class ZsetController extends BaseController
{
function init($ctx){
parent::init($ctx);
$ctx->title = 'ZSET';
}
function index($ctx){
$s = trim($_GET['s']);
$e = trim($_GET['e']);
$size = $ctx->size;
$dir = trim($_GET['dir']);
if($dir != 'prev'){
$dir = 'next';
}
$ctx->s = $s;
$ctx->... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/models/Post.php | app/models/Post.php | <?php
class Post extends Model
{
static $table_name = 'posts';
}
| php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/views/layout.tpl.php | app/views/layout.tpl.php | <?php include(dirname(__FILE__) . '/_header.tpl.php') ?>
<?php _view(); ?>
<?php include(dirname(__FILE__) . '/_footer.tpl.php') ?>
| php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/views/_footer.tpl.php | app/views/_footer.tpl.php |
<div class="footer">
<!-- you are licensed to edit this message -->
Copyright©2014-2016 <a href="http://www.ideawu.net/">ideawu</a>. All rights reserved.
<?php printf('%.2f', 1000*(microtime(1) - APP_TIME_START)); ?> ms
</div>
</div>
<!-- /container -->
</body>
</html>
| php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/views/index.tpl.php | app/views/index.tpl.php | <h1>PHP SSDB Admin - <?php echo file_get_contents(APP_PATH . '/../version'); ?></h1>
<hr/>
<h3>Server Info - <?php echo $conf['host'] . ':' . $conf['port']?></h3>
<table class="table table-striped">
<?php foreach($info as $k=>$v){ ?>
<tr>
<td width="140"><?php echo $k?></td>
<?php if($k == 'leveldb.stats'){ ?>
<... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/views/login.tpl.php | app/views/login.tpl.php | <div class="panel panel-primary" style="max-width: 400px; margin: 10px auto;">
<div class="panel-heading">
<h3 class="panel-title">Login</h3>
</div>
<div class="panel-body">
<?php if($errmsg){ ?>
<div class="alert alert-danger">
<strong>Error!</strong> <?php echo $errmsg;?>
</div>
<?php } ?>
<form m... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/views/_header.tpl.php | app/views/_header.tpl.php | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PHP SSDB Admin<?php if($title){echo ' - ' . $title;} ?></title>
<meta name="description" content="iphp framework">
<meta name="keywords" content="iphp framework">
<link href="<?php echo _url('/css/bootstrap.min.css') ?>" rel="stylesheet">
<link... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/views/_error/default.tpl.php | app/views/_error/default.tpl.php | <?php include(dirname(__FILE__) . '/../_header.tpl.php') ?>
<h1><?php echo htmlspecialchars($_e->getMessage()); ?></h1>
<div>
<?php
$ts = $_e->getTrace();
$html = '';
foreach($ts as $t){
$html .= "{$t['file']}:{$t['line']} {$t['function']}()<br/>\n";
}
echo $html;
?>
</div>
<?php include(dirname(__FIL... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/views/hash/hscan.tpl.php | app/views/hash/hscan.tpl.php | <h2>
<a href="<?php echo _url('hash/hscan', array('n'=>$n, 'order'=>'asc'))?>">hscan</a>
/
<a href="<?php echo _url('hash/hscan', array('n'=>$n, 'order'=>'desc'))?>">hrscan</a>
:
<code><?php echo $n?></code></a>
</h2>
<div style="float: left;">
<a class="btn btn-xs btn-primary" href="<?php echo _url('hash/hset',... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/views/hash/hset.tpl.php | app/views/hash/hset.tpl.php | <h2>Add or Update HASH type record(s)</h2>
<form role="form" method="post">
<input type="hidden" name="jump" value="<?php echo htmlspecialchars($jump)?>" />
<table class="table table-striped" id="new_table">
<thead>
<tr>
<th>Hash</th>
<th>Key</th>
<th>
Value
<a class="btn btn-xs btn-success" onc... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/views/hash/index.tpl.php | app/views/hash/index.tpl.php | <h2>Type: HASH</h2>
<div style="float: left;">
<a class="btn btn-xs btn-primary" href="<?php echo _url('hash/hset')?>">
<i class="glyphicon glyphicon-plus"></i>
Add
</a>
</div>
<div style="float: right;">
<form method="get">
Start:
<input type="text" name="s" value="<?php echo htmlspecialchars($s)?>" />
Size... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/views/hash/hdel.tpl.php | app/views/hash/hdel.tpl.php | <form style="text-align: center;" method="post" action="">
<input type="hidden" name="jump" value="<?php echo htmlspecialchars($jump)?>" />
<input type="hidden" name="n" value="<?php echo htmlspecialchars($n)?>" />
<h2>Remove <?php echo count($ks)?> key(s) in <code><?php echo htmlspecialchars($n)?></code>?</h2>
<... | php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
ssdb/phpssdbadmin | https://github.com/ssdb/phpssdbadmin/blob/773149de5af4f5c50537e9db5c6082a0a8d94af9/app/views/hash/hget.tpl.php | app/views/hash/hget.tpl.php | <p><b>Hash:</b></p>
<?php echo htmlspecialchars($n)?>
<p><b>Key:</b></p>
<?php echo htmlspecialchars($k)?>
<p><b>Value(<?php echo strlen($v)?> bytes):</b></p>
<?php echo htmlspecialchars($v)?>
| php | BSD-3-Clause | 773149de5af4f5c50537e9db5c6082a0a8d94af9 | 2026-01-05T02:08:50.184474Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.