text
stringlengths
2
1.03M
--TEST-- memcache_get_extended_stats() --SKIPIF-- <?php include 'connect.inc'; if (!isset($host2)) die('skip $host2 not set'); if (ini_get('memcache.protocol') == 'binary') die('skip binary protocol does not support stats'); ?> --FILE-- <?php include 'connect.inc'; $memcache = new Memcache(); memcache_add_server($mem...
<!-- Produk Index --> @extends('admin.template') @section('main') @include('_partial.flash_message') <!-- Page-Title --> <div class="row"> <div class="col-sm-12"> <h4 class="pull-left page-title">Produk</h4> </div> </div> <!-- Akhir Page-Title --> <div class="row"> <div class="col-md-12...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/vision/v1/image_annotator.proto namespace Google\Cloud\Vision\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Set of dominant colors and their cor...
@extends('admin.layouts.admin') @section('title', "Edit Product") @section('content') @include('admin.partials.partial_assets.kendo') <div class="row"> <div class="col-md-9"> <form method="post" action="{{route('products.update', $aProduct->id)}}" enctype="multipart/form-data" data-parsley-validate> ...
<?php namespace app\assets; use yii\web\AssetBundle; use yii\web\JqueryAsset; /** * Bootstrap css va js fayllari uchun */ class BootstrapAsset extends AssetBundle { public $sourcePath = '@app/assets/bootstrap'; public $css = [ 'css/bootstrap.css', ]; public $js = [ "js/bootstrap.min....
<?php include("includes/db_conn.php"); $branch_id = mysqli_real_escape_string($con, $_POST['branch_id']); $branch_name = mysqli_real_escape_string($con, $_POST['branch_name']); $address = mysqli_real_escape_string($con, $_POST['address']); $phone = mysqli_real_escape_string($con, $_P...
<?php // +---------------------------------------------------------------------- // | WeChatDeveloper // +---------------------------------------------------------------------- // | 版权所有 2014~2020 广州楚才信息科技有限公司 [ http://www.cuci.cc ] // +---------------------------------------------------------------------- // | 官方网站: ...
<?php $__env->startSection('content'); ?> <div class="row"> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading">Feeds Summary</div> <div class="panel-body"> <br /> ...
'thread_hlight'=>'高亮', 'set_thread_hlight'=>'設置主題爲高亮', 'thread_hlight_style'=>'高亮風格', 'thread_hlight_0'=>'取消高亮', 'thread_hlight_1'=>'風格一', 'thread_hlight_2'=>'風格二', 'thread_hlight_3'=>'風格三', 'thread_hlight_4'=>'風格四', 'thread_hlight_5'=>'風格五', 'admin_thread_hlight'=>'主題高亮', 'admin_feedback'=>'反饋', 'admin_styl...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Task; class TasksController extends Controller { public function index() { $tasks = Task::all(); return view('tasks.index', ['tasks' => $tasks]); } }
<?php namespace Cms\UtilBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name="mails") */ class Mail { /** * @ORM\Column(type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @ORM\Column(type="integer") */ ...
@extends('layouts.app') @section('css') <link rel="preconnect" href="https://fonts.gstatic.com"> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap" rel="stylesheet"> <script src="https://code.highcharts.com/highcharts.js"></script> <script src="https://code.highcharts.com/modul...
<?php /** * JourneyRepository.php * Date: 16/5/16 * Time: 下午4:40 */ namespace App\Http\Controllers\V1; use App\Entity\City; use App\Entity\JourneyPayRule; use App\Repositories\JourneyRepository; use App\Traits\Certificated; use App\Traits\OneActionCheck; use App\Traits\PageAble; use App\Traits\TripAndOrders; use...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; class isLogin { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) ...
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Person; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController extends Controller { /* |-----------------------...
<!-- modal CREATE--> <div class="modal fade" id="modal-create-post"> <div class="modal-dialog"> <div class="modal-content bg-default"> <div class="modal-header"> <h4 class="modal-title">Crear post</h4> <button type="button" class="close" data-dismiss="modal" aria-...
<?php namespace App\Models; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array *...
<?php /** * This file is part of Athene2. * * Copyright (c) 2013-2019 Serlo Education e.V. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Meal; use Illuminate\Support\Facades\Auth; class FavoriteMealController extends Controller { public function index() { return view('favorite.index', [ 'meals' => Meal::join('meal_types', 'meal_types.id', '=', '...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Grav\\Plugin\\LightboxGallery\\' => array($baseDir . '/classes'), );
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\NtLeaveCredits */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="nt-leave-credits-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'EmpID')->textInput(['maxlength' =>...
@extends('admin.layout.app') @section('header_title') @lang('titles.categories') @endsection @section('navigation') <li> <a href="{{ url('admin') }}">@lang('titles.home')</a> </li> <li class="active"> @lang('titles.categories') </li> @endsection @section('content') <div class=...
<?php namespace App\Events; use App\Model\Message; use Illuminate\Broadcasting\Channel; use Illuminate\Queue\SerializesModels; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\InteractsWithSockets; use I...
<?php Auth::routes(); Route::resource('posts', 'PostsController'); Route::resource('blog', 'HomeController'); Route::get('api', 'HomeController@api')->name('api'); Route::get('/', 'HomeController@index')->name('home'); Route::get('search', 'PostsController@fetchCategory')->name('search');
<!DOCTYPE html> <!-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7 Version: 4.7.1 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Dribbble: www.dribbble.com/keenthemes Like: www.facebook.com/kee...
@extends('layouts.app') @section('stylesheet') <link href="{{url('assets/css/select-project.css')}}" rel="stylesheet" type="text/css" /> <link href="{{url('assets/css/confirm.css')}}" rel="stylesheet" type="text/css" /> @stop('stylesheet') @section('content') <div class="container" > <div class="row"> <div ...
<x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('Usuários') }} </h2> </x-slot> <div class="py-12"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <div class="bg-white overflow-hidden shadow-xl sm:roun...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> {{-- <meta name="viewport" content="width=device-width, initial-scale=1"> --}} <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- CSRF Token --> <meta...
<?php namespace Manager\Support; class StatusSupport { /** * @const string */ const STATUS_PRODUCT_PENDING = 'product.pending'; /** * @const string */ const STATUS_PRODUCT_UNDER_ANALYSIS = 'product.under_analysis'; /** * @const string */ const STATUS_PRODUCT_A...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Input; use App\Product; use App\Diskon; use App\Category; use App\Banner; class PostsController extends Controller { /** * Display a listing of the resource. * * @r...
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* fo...
<?php namespace app\signin\model; use think\Model; class SignregModel extends Model { protected $table = "user_info"; protected $pk = 'ui_id'; public static function queryInvcode($invcode = "",$query){ $userinfo = $query->where(['refer_code'=>$invcode])->find(); dump($userinfo); } }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateLivresTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('livres', functio...
<?php namespace app\controllers; use app\domain\dto\CommentDto; use app\domain\service\CommentService; use app\infrastructure\repository\CommentRepository; use app\infrastructure\repository\TaskRepository; use Yii; use yii\web\Controller; use yii\filters\VerbFilter; /** * Контроллер задач */ class CommentControlle...
<?php # # $Id: watch-list.php,v 1.4 2013-01-29 16:02:57 dan Exp $ # # Copyright (c) 1998-2003 DVL Software Limited # require_once($_SERVER['DOCUMENT_ROOT'] . '/../include/common.php'); require_once($_SERVER['DOCUMENT_ROOT'] . '/../include/freshports.php'); require_once($_SERVER['DOCUMENT_ROOT'] . '/../include/...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta content='Học trực tuyến cùng với những Giảng viên hàng đầu. Học online 24/7 - Tự tin làm chủ tương lai. Siêu thị bài giảng trực tuyến lớn nhất Việt Nam' name='description'> <meta name="viewport" content="width=device-width, initial-scale=1, maximum...
<!-- Start Footer --> <footer class="footer-area bg-f"> <div class="container"> <div class="row"> <div class="col-lg-4 col-md-6"> <h3>Dapur Bujalu</h3> <p><span class="text-color">No.Handphone : </span>084521348454</p> <p><span class="text-color">Instagram :</span> @Dapur.Bujalu</p> <ul cla...
<? use yii\helpers\Html; use yii\widgets\DetailView; ?> <div class="book-view"> <div class="row"> <div class="col-sm-12"> <?= DetailView::widget([ 'model' => $model, 'attributes' => [ 'id', 'name', 'autho...
<?php /** * */ class Roles_model extends MY_Model { CONST TABLE = 'ref_roles'; CONST KEY = 'role_id'; CONST LIMIT = 3; function __construct() { parent::__construct(); } function make_query() { $this->db->select("*"); $this->db->from($this->getTable()); } function make_datatables() { $this-...
<?php /** * Class for fatal errors handling * * @file FatalErrorHandler.php * * PHP version 7.1+ * * @author Yancharuk Alexander <alex at itvault dot info> * @copyright © 2012-2021 Alexander Yancharuk * @date 2015-08-10 06:02 * @license The BSD 3-Clause License * <https://tldrlegal....
<?php /** * Elasticsearch PHP client * * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Le...
<?php use App\Http\Controllers\Auth\EmailVerificationController; use App\Http\Controllers\Auth\LogoutController; use App\Http\Livewire\Auth\Login; use App\Http\Livewire\Auth\Passwords\Confirm; use App\Http\Livewire\Auth\Passwords\Email; use App\Http\Livewire\Auth\Passwords\Reset; use App\Http\Livewire\Auth\Register; u...
@extends ('backend.layouts.app') @section ('title', trans('labels.backend.access.Team.management') . ' | ' . trans('labels.backend.access.Team.deleted')) @section('page-header') <h1> {{ trans('labels.backend.access.Team.management') }} <small>{{ trans('labels.backend.access.Team.deleted') }}</smal...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\PostController; use App\Http\Controllers\WelcomeController; use App\Http\Controllers\ProfielController; use App\Http\Controllers\DashboardController; use App\Http\Controllers\ProfessionController; use App\Http\Controllers\MotivationController; use Ap...
<?php {% if not isV4 %} namespace {{ namespace }}\Features\Context; {% endif %} use Behat\Mink\Element\Element; use Behat\Mink\Exception\ElementNotFoundException; use Behat\Mink\Exception\ExpectationException; use Behat\Mink\Exception\ResponseTextException; use Behat\Mink\Selector\CssSelector; use Kunstmaan\BehatBund...
<div class="blog-header"> <div class="container"> <h1 class="blog-title">{{ config('app.name', 'Laravel') }} Blog</h1> <p class="lead blog-description">An example blog template built with Bootstrap.</p> </div> </div>
<?php /* partials/header.html.twig */ class __TwigTemplate_e47640a4aa711ee996f0260a5f51d9088b86acbd7168139346e254c9a3a04dc2 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTasksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tasks', function ...
<?php namespace PieCrust\Baker; use \Exception; use PieCrust\IPage; use PieCrust\IPieCrust; use PieCrust\PieCrustException; use PieCrust\Page\PageRenderer; use PieCrust\Util\PageHelper; use PieCrust\Util\PathHelper; /** * A class responsible for baking a PieCrust page. */ class PageBaker { /** * Index fi...
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
<?php namespace App\ValueObjects\MenuAdmin; use App\ValueObjects\AbstractObject; abstract class ItemAbstract extends AbstractObject { /** @var string */ protected $_key; /** @var array */ protected $_attributes; abstract public function hasAccess(): bool; abstract public function isEmpty(): bool; abstra...
<?php /* * This file is part of the Starfleet Project. * * (c) Starfleet <msantostefano@jolicode.com> * * For the full copyright and license information, * please view the LICENSE file that was distributed with this source code. */ namespace App\DataFixtures; use App\Factory\ContinentFactory; use Doctrine\Bun...
<?php Route::get('clear-cache', function () { $exitCode = Artisan::call('config:clear'); $exitCode = Artisan::call('cache:clear'); $exitCode = Artisan::call('config:cache'); $exitCode = Artisan::call('view:clear'); Session::flash('success', 'All Clear'); echo "DONE"; }); Route::get('update-site', function () { ...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ ?> <?php $baseUrl = base_url() . 'assets'; ?> <div class="signin-box signup register_page"> <?php echo form_open('register', ...
@if ($isHorizontal) <div class="col-sm-{{ $fieldWidth }}"> @endif <div class="relative"> {!! $controlHtml !!} <i class="p-3 -ml-10 absolute block fa fa-calendar text-gray-400 pointer-events-none" ></i> </div> @if (! $errors->isEmpty() && $errors->has($name)) <div class="text-sm text-red-60...
<meta charset="utf-8"> <meta name="author" content="Brian Wardwell"> <meta name="description" content="@yield('description')"> <title>@yield('title')</title> {{-- Favicon --}} <link rel="icon" type="image/png" href="/images/icons/bw-favicon.png" /> <link rel="icon" href="/images/icons/bw-favicon.png" type="image/png" ...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Rou...
<?php namespace CardsList\BotBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * ChosenInlineResult * * @ORM\Table( * name="chosen_inline_result", * indexes={@ORM\Index(name="user_id", columns={"user_id"})}, * options={"collate"="utf8mb4_unicode_520_ci", "charset"="utf8mb4"}) * @ORM\Entity */ c...
<?php /* @var $this \yii\web\View */ /* @var $content string */ use app\widgets\Alert; use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use app\assets\AppAsset; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->lang...
<!-- New Product --> <section class="newproduct bgwhite p-t-45 p-b-105"> <div class="container"> <div class="sec-title p-b-60"> <h3 class="m-text5 t-center"> Produk Terbaru </h3> </div> <!-- Slide2 --> <div class="wrap-slick2"> <div class="slick2"> <?php foreach ($produk as $produk) { ?> <div class="item-slick2 p-l-1...
<?php $this->content->template['plugin_google_kalender_kalender'] = "Календарь"; $this->content->template['plugin_google_kalender_new'] = "Новая запись"; $this->content->template['message_70'] = "хранить данные"; $this->content->template['message_160'] = "выберите"; $this->content->template['plugin_google_kalender...
<?php /** * This file is part of Railt package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Railt\Http\Response; use Railt\Http\Exception\GraphQLExceptionInterface; use Railt\Http\ResponseInte...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <ol class="breadcrumb"> <li><a href="{{url('/')}}">Inicio</a></li> <li><a href="{{url('trabajo/'.$id_trabajo)}}">Trabajo</a></li> <li class="active">Detalles d...
<?php namespace Solarium\Core\Event; use Solarium\Core\Client\Response; use Solarium\Core\Query\QueryInterface; use Solarium\Core\Query\Result\ResultInterface; use Symfony\Contracts\EventDispatcher\Event; /** * PreCreateResult event, see Events for details. */ class PreCreateResult extends Event { /** * @...
<?php /* Smarty version Smarty-3.1.19, created on 2016-06-03 14:36:22 compiled from "/Applications/MAMP/htdocs/victor_espinet/prestashop/admin312fiugpn/themes/default/template/page_header_toolbar.tpl" */ ?> <?php /*%%SmartyHeaderCode:1777239196575179c667d531-36049972%%*/if(!defined('SMARTY_DIR')) exit('no dire...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>VIEW PROFILE</title> <link rel="icon" href="/images/larent.png"> <link rel="stylesheet" href="/css/bootstrap.css"> <link rel="stylesheet" href="/css/dp/bootstrap-datepicker.css"> <link href="../css/style.css" rel="stylesheet"> <link rel="style...
@extends('layouts.app') @section('content') <div class="container"> <div class="row mt-3 justify-content-center"> <div class="col-8 bg-light rounded py-4 px-5"> <h2>Contact Us</h2> <div class="row my-4"> <div class="col-4"> ...
<?php namespace App\Transformers; use League\Fractal; use League\Fractal\TransformerAbstract; use League\Fractal\Resource\Collection; use League\Fractal\Resource\Item; use App\User; /** * Class UserTransformer * * @package App\Transformers */ class UserTransformer extends TransformerAbstract { /** * Lis...
<?php namespace Wilr\Silverstripe\Algolia\Jobs; use Exception; use SilverStripe\Core\Config\Configurable; use SilverStripe\Core\Injector\Injector; use SilverStripe\ORM\DataObject; use Symbiote\QueuedJobs\Services\AbstractQueuedJob; use Symbiote\QueuedJobs\Services\QueuedJob; use Wilr\SilverStripe\Algolia\Service\Algo...
<?php namespace App\Policies; use App\Models\User; use App\Models\Post; use Illuminate\Auth\Access\HandlesAuthorization; class PostPolicy { use HandlesAuthorization; /** * Create a new policy instance. * * @return void */ public function __construct() { // } // d...
<?php /** * Created by PhpStorm. * User: AleksM * Date: 15.12.2018 * Time: 23:31 */ namespace app\models; use Yii; use yii\base\Model; use yii\web\UploadedFile; class ImageUpload extends Model { public $image; public function upload(UploadedFile $file) { $file->saveAs(Yii::getAlias('@web')...
<?php namespace SlackApi; /** * Class AbstractModule * * @package SlackApi */ abstract class AbstractModule { /** * API module name, which will be called at request * * @var string */ protected $name; /** * Current library client class or its extending * * @var Clien...
<?php class PageController extends BaseController { public function __construct() { parent::__construct(); } public function flygradsla() { return View::make('page.flygradsla'); } public function gravid() { return View::make('page.gravid'); } public fu...
<?php use yii\helpers\Html; use yii\helpers\Url; use yii\helpers\ArrayHelper; use yii\widgets\ActiveForm; use common\widgets\Typeahead; use backend\modules\askm\models\Kamar; /* @var $this yii\web\View */ /* @var $model backend\modules\askm\models\DimKamar */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="di...
<?php namespace common\models; use yii; Class RecordHelpers { public static function userHas($model_name) { $connection = \Yii::$app->db; $userid = Yii::$app->user->identity->id; $sql = "SELECT id FROM $model_name WHERE user_id=:userid"; $command = $connection->createCommand($sql); $command->bindValue(":userid", $useri...
<?php namespace AsyncAws\Ses\Input; use AsyncAws\Core\Exception\InvalidArgument; class MessageTag { /** * The name of the message tag. The message tag name has to meet the following criteria:. * * @required * * @var string|null */ private $Name; /** * The value of the ...
<?php namespace App\Http\Controllers; use App\Category; use Illuminate\Http\Request; use Image; class CategoryController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $categories = Ca...
<?php namespace FifyIO\Googlmapper\Models; use FifyIO\Googlmapper\Contracts\ModelingInterface; use Illuminate\View\Factory as View; class Marker implements ModelingInterface { /** * Options. * * @var array */ protected $options = []; /** * Public constructor. * * @para...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content=""> <!-- Use "SEO" friendly tags/keywords here to improve your google search ranking. --> <meta name="author" content=""> <!-- Use "SE...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v8/enums/parental_status_type.proto namespace Google\Ads\GoogleAds\V8\Enums; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Container for enu...
<?php namespace Phalcon\Image\Adapter { /** * Phalcon\Image\Adapter\GD * * Image manipulation support. Allows images to be resized, cropped, etc. * *<code> * $image = new Phalcon\Image\Adapter\GD("upload/test.jpg"); * $image->resize(200, 200)->rotate(90)->crop(100, 100); * if ($image->save()) { * ...
<?php namespace DuplicatorPro\Guzzle\Http; defined("ABSPATH") or die(""); /** * Provides mappings of file extensions to mimetypes * @link http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types */ class Mimetypes { /** @var self */ protected static $instance; /** @var array Mapping ...
<?php use yii\db\Migration; /** * Handles the creation of table `courses`. * Has foreign keys to the tables: * * - `groups` * - `teachers` */ class m180408_174822_create_courses_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { $tableOptions = null; ...
<?php /** * This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}. * See [README.md](README.md#generating-data) for more information. * * Pull requests changing data in these files will not be accepted. See the * [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make...
<?php /** * Created by PhpStorm. * User: Onjaniaina * Date: 13/01/2020 */ namespace Controller\auteurController; require_once "../../model/auteurModel/AuteurManager.php"; require_once "../../model/auteurModel/Auteur.php"; //use model\clientModel\Client; use model\auteurModel\AuteurManager; $auteurManager=new ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\Schema; class CreateReviewsTable extends Migration { public function up() { Schema::create('reviews', function (Blueprint $table) { $table->bigIncrements('id'); ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; class Article extends Model { protected $table = 'articles'; //Accessor public function getStatusLabelAttribute() { //ADAPUN VALUENYA AKAN MENCETAK HTML BERDASARKAN VALUE DARI FIELD STATUS if ($t...
<?php /* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license information, please read the * LICENSE.tx...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Transaction extends Model { protected $fillable = [ 'amount', 'total_count', 'reference', 'nominee_id', 'status', 'payment_channel', 'payment_method', 'customer_mobil...
<?php namespace app\index\controller; use app\common\controller\Frontend; use app\common\library\Token; use addons\faems\Faems; class Index extends Frontend { protected $noNeedLogin = '*'; protected $noNeedRight = '*'; protected $layout = 'darong'; public function _initialize() { $this-...
@extends('Admin.auth.layouts.app') @section('title', 'Login') @section('body') <div class="login-logo"> <a href="/"><img src="{{ asset('assets/staticImages/Logos/rentomaticalogincdc.png') }}" height="140"></a> </div> <!-- /.login-logo --> <div class="login-box-body"> <p class="login-box-msg"><b>Sign in</b> as <spa...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateResultsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('results', funct...
<?php namespace Tests\Unit; use App\Sample; use App\SamplePermissions; use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Foundation\Testing\WithoutMiddleware; use Tests\TestCase; class SampleAuthenticationTest extends TestCase { use DatabaseTransactions, WithoutMiddleware; protected $us...
<?php include_once $_SERVER['DOCUMENT_ROOT']."/php/header.php"; $loginId = $_POST["userId"]; $password = $_POST["password"]; // Create connection $conn = new mysqli(MYSQL["host"], MYSQL["username"], MYSQL["password"], MYSQL["dbname"]); // Check connection if (!$conn) { die("<br>Conne...
<?php namespace Doctrine\Tests\ODM\PHPCR\Mapping\Model; use Doctrine\ODM\PHPCR\Mapping\Annotations as PHPCRODM; /** * A class that uses the repository strategy to generate IDs * * @PHPCRODM\Document(referenceable=true) */ class ReferenceableMappingObject { /** @PHPCRODM\Id */ public $id; }
@extends('layouts.app') @section('styles') <style> .test { background-image: url("login.jpg"); background-repeat: no-repeat; background-attachment: fixed; background-size: 100% 100%; } </style> @endsection @section('content') <div class="test"...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\Model\Review; use App\Model\Product; use Faker\Generator as Faker; $factory->define(Review::class, function (Faker $faker) { return [ 'product_id' => function() { return Product::all()->random(); }, 'customer' => $fa...
@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">{{ __('Reset Password') }}</div> <div class="card-body"> <form met...
<?php /** * This file is part of ninja-mutex. * * (C) Kamil Dziedzic <arvenil@klecza.pl> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace NinjaMutex\Lock; /** * Lock implementor * * @author Kamil Dziedzic <arvenil@klec...