text stringlengths 2 1.03M |
|---|
<?php $title = get_sub_field( 'title' ); ?>
<?php $desc = get_sub_field( 'description' ); ?>
<?php get_sub_field( 'testimonials_content' ); ?>
<?php $post_objects = get_sub_field( 'featured_testimonials' ); ?>
<?php
$item_count = count( $post_objects );
if($item_count % 4 == 0) {
$col_count = 4;
} else if($item_... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class EnvironmentResource extends JsonResource
{
public function toArray($request)
{
return parent::toArray($request);
}
} |
@extends('layout.main') @section('content')
@if(session()->has('not_permitted'))
<div class="alert alert-danger alert-dismissible text-center"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>{{ session()->get('not_permitted') }}</div>
@endif... |
<div id="sidebar-collapse" class="col-sm-3 col-lg-2 sidebar">
<form role="search">
</form>
<ul class="nav menu">
<li class="active"><a href="../../admin"><svg class="glyph stroked dashboard-dial"><use xlink:href="#stroked-dashboard-dial"></use></svg> Tổng quan</a></li>
<li><a href="../../ad... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TruyenChuong extends Model
{
protected $table = 'tb_truyen_chuong';
public $timestamps = true;
} |
<?php
namespace App\Http\Middleware;
use Closure;
use App\User;
class TokenMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if ... |
<?php
declare(strict_types=1);
namespace Tests\Commands\Upgrade\V5_8_7_0;
use Artisan;
use DB;
class CommandTest extends \Tests\Commands\Upgrade\TestCase
{
public function testCommand()
{
$tablePrefix = DB::getTablePrefix();
$chatSql = "SHOW TABLES LIKE '{$tablePrefix}chats'";
$n... |
<?php
declare(strict_types=1);
namespace Rinvex\Country\Tests\Unit;
use ReflectionClass;
use Rinvex\Country\Country;
use PHPUnit\Framework\TestCase;
use Rinvex\Country\CountryLoader;
use Rinvex\Country\CountryLoaderException;
class CountryLoaderTest extends TestCase
{
/** @var array */
protected static $met... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateVariablesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('variables', f... |
<?php
namespace YSwoole\Traits;
use Illuminate\Contracts\Container\Container;
use YSwoole\Exceptions\SandboxException;
use YSwoole\Core\Resets\ResetContract;
trait ResetApplication
{
/**
* @var \Illuminate\Config\Repository
*/
protected $config;
/**
* @var array
*/
protected $pro... |
<?php if(count($data) > 0){ ?>
<?php foreach($data as $key => $v): ?>
<tr>
<td><?php echo $key+1; ?></td>
<td><?php echo date('d M Y',strtotime($v->tanggal_pencairan)); ?></td>
<td><?php echo $v->kode_pencairan; ?></td>
<td><?php echo $v->nip; ?></td>
<td><?php echo $v->nama_... |
<?php
/**
* This file is part of the contentful/contentful-management package.
*
* @copyright 2015-2021 Contentful GmbH
* @license MIT
*/
declare(strict_types=1);
namespace Contentful\Management\SystemProperties;
class SpaceMembership extends BaseSystemProperties implements VersionableSystemPropertiesInterfa... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v8/enums/local_placeholder_field.proto
namespace Google\Ads\GoogleAds\V8\Enums;
if (false) {
/**
* This class is deprecated. Use Google\Ads\GoogleAds\V8\Enums\LocalPlaceholderFieldEnum\LocalPlaceholderField instea... |
@extends('admin_banhang')
@section('admin_content')
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.5.0/css/bootstrap-datepicker.css" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/aja... |
<?php
namespace Database\Seeders;
use App\Models\State;
use Illuminate\Database\Seeder;
class StateSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
State::create([
"stageName" => "Đang bán"
]);
State:... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFormsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('forms', function... |
<?php
namespace FrontBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormEvent;
use Symfony\Component\Form\FormEvents;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Com... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class School extends Model
{
protected $table = "schools";
protected $fillable = ['name', 'image_id'];
public function generations()
{
return $this->hasMany('App\Generation');
}
public function image()
{
return ... |
@extends('master')
@section('content')
<p>This is about us</p>
@endsection |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('categories', ... |
<?php
namespace ArcaSolutions\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ControlExportListing
*
* @ORM\Table(name="Control_Export_Listing")
* @ORM\Entity(repositoryClass="ArcaSolutions\CoreBundle\Repository\ControlExportListingRepository")
*/
class ControlExportListing
{
/**
* @var integ... |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:81:"D:\phpStudy\WWW\performance\public/../application/admin\view\demo\tablefixed.html";i:1546397532;s:79:"D:\phpStudy\WWW\performance\public/../application/admin\view\template\base.html";i:1546397532;s:90:"D:\phpStudy\WWW\performance\public/../application/admin\view\te... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
use Illuminate\Database\Seeder;
use App\Models\ProTeamStats;
class ProTeamStatsSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
for($i = 1; $i <= 30; $i++)
{
ProTeamStats::create([
'team_id' => $i,
... |
<x-app-layout>
@livewire('navigation-category')
<!--DESCRIPCION Y FIGURA-->
<section class="bg-indigo-600 py-12 mb-12 text-white" >
<div class="container grid lg:grid-cols-2 grid-cols-1 gap-6">
<figure>
@if($course->image)
<img class="rounded-lg h-60 w-ful... |
<?php
/**
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* This file is licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
... |
<?php
declare(strict_types=1);
namespace LauLamanApps\IzettleApi\API\Product;
use DateTime;
use LauLamanApps\IzettleApi\API\ImageCollection;
use LauLamanApps\IzettleApi\API\Universal\IzettlePostable;
use LauLamanApps\IzettleApi\API\Universal\Vat;
use LauLamanApps\IzettleApi\Client\Exception\CantCreateProductExceptio... |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty count_characters modifier plugin
* Type: modifier<br>
* Name: count_characters<br>
* Purpose: count the number of characters in a text
*
* @link http://www.smarty.net/manual/en/language.modifier... |
<?php
use yii\helpers\Html;
// Merchant key here as provided by Payu
$MERCHANT_KEY = "plAebeeQ";
//$MERCHANT_KEY = "KRHfD2Fy";
//$SALT = "1QndRCDvhC";
//$PAYU_BASE_URL = "https://test.payu.in";
// Merchant Salt as provided by Payu
$SALT = "iCV58CoyKg";
// End point - change to https://secure.payu.in for LIVE mode
$PAYU... |
<?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... |
@extends('layouts.app')
@section('css')
<link rel="stylesheet" href="{{ asset('resources/plugins/bootstrap-table/bootstrap-table.min.css') }}">
@endsection
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<s... |
<?php
Class Dashboard Extends MY_Controller{
function __construct()
{
parent::__construct();
$this->load->model('admin_api/Dashboard_model');
//date_default_timezone_set("Asia/Kolkata");
//date_default_timezone_get();
}
public function index()
{
$data['active_dashboar... |
@section('title', trans('messages.product.creation'))
@section('main')
{{ Form::model($entity, ['route' => 'products.store']) }}
{{ Form::label(trans('messages.product.title')) }}
{{ Form::text('title') }}
{{ Form::label('about') }}
{{ Form::text('about') }}
{{ Form::la... |
<?php
// Crear un modelo para la tabla Movies.
// php artisan make:model Movie --> Para crear los modelos
// Si se llama Movie va a buscar la tabla movies en la db
// Solo funciona si esta en ingles, se tiene que tener todas las tablas en ingles para que funcione
namespace App;
use Illuminate\Database\Eloquent\Model;... |
<?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
class Cabang extends CI_Controller{
public function __construct()
{
parent::__construct();
$this->load->model('Cabang_model');
$this->load->library('form_validation');
}
public function index()
{
$data['judul'] = 'Daftar Cabang';
$data['cabang'] = $t... |
<?php
/*!
* Zero BS CRM
* https://zerobscrm.com
* V1.1.10
*
* Copyright 2017, Zero BS Software Ltd. & Zero BS CRM.com
*
* Date: 19/07/16
*/
/* ======================================================
Breaking Checks ( stops direct access )
====================================================== */
if ( ... |
<?php
class Barang extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('M_Barang', 'model');
}
public function index()
{
$this->load->view('layouts/head.php');
$this->load->view('barang/index.php');
$this->load->view('layouts/foot.php');
}
public function t... |
<?php
/** @var MY_Controller $controller */
$return = false;
$cache = false;
$key = 'left_sidebar';
$controller->view('left', $data, $return, $cache, $language.$key);?>
<div id="right">
<?php $controller->view('cart/checkout', $data, $return, $cache, $language.'cart_checkout');?>
</div> |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateHiddenLeaguesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('hidden_leagues', function (Blueprint $table) {
... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Messenger\Transport;
use Symfony\Component\Messenger\... |
<?php
declare(strict_types=1);
use Latte\MacroNode;
use Latte\Macros\MacroSet;
use Tester\Assert;
require __DIR__ . '/../bootstrap.php';
$latte = new Latte\Engine;
$set = new MacroSet($latte->getCompiler());
test('', function () use ($set) {
$set->addMacro('void', 'begin');
$node = new MacroNode($set, 'void'... |
<?php
namespace Ekyna\Bundle\CommerceBundle\Event;
use Ekyna\Bundle\CoreBundle\Model\UiButton;
use Ekyna\Component\Commerce\Common\Model\SaleInterface;
use Symfony\Component\EventDispatcher\Event;
/**
* Class SaleButtonsEvent
* @package Ekyna\Bundle\CommerceBundle\Event
* @author Etienne Dauvergne <contact@ekyna... |
<?php $__env->startSection('body'); ?>
<?php echo e('hello this is admin page'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout.adminapp', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?> |
<?php
namespace App\Http\Controllers\Modulos\Cirugia\RegistroAnestesico;
use App\Http\Controllers\Controller;
use App\Models\Modulos\Cirugia\RegistroAnestesico\AgenteAnestesia;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class AgenteAnestesiaController extends Controller
{
pu... |
<script src="{{asset('/public/js/a1.js')}}" type="text/javascript"></script>
<script src="{{asset('/public/js/a2.js')}}" type="text/javascript"></script>
<meta name="_token" content="{{ csrf_token() }}"/>
<script type="text/javascript">
$(function () {
$.ajaxSetup({
headers: {
'X... |
<?php
/**
* @package isabry/sentinel
* @author Isamil SABRY <ismail@sabry.fr>
* @copyright Copyright (c) Isamil SABRY
* @link https://github.com/isabry/sentinel
*/
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersDevicesTable extends Migration {
... |
<?php
/**
* Copyright (c) 2022-2022.
* Created by YiiMan.
* Programmer: gholamreza beheshtian
* Mobile:+989353466620 | +17272282283
* Site:https://yiiman.ir
*/
/**
* Site: https://yiiman.ir
* AuthorName: gholamreza beheshtian
* AuthorNumber:+989353466620 | +17272282283
* AuthorCompany: YiiMan
*/
namespace ... |
<?php
/**
* october
*
* @author Jérémy GAULIN <jeremy@bnb.re>
* @copyright 2016 - B&B Web Expertise
*/
namespace bnb\scaffoldtranslation\classes\console;
interface TranslationAwareCommand
{
/**
* Build custom translated variables for the stub generation
*
* @return array
*/
public... |
<div id="page-wrapper">
<!-- <div class="row">
<div class="col-lg-12">
<h1 class="page-header">Modal </h1>
</div>
</div> -->
<div class="row">
<div class="col-lg-6">
<p>
<?php
$data=$this->session->flashdata('sukses');
if($data!=""){ ?>
<div id="notifikasi" class="... |
<!--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>Visitors an Admin Panel Category Bootstrap Responsive Website Template | Login :: w3layouts</title>
<m... |
<?php
/**
* Util
*
* @copyright Copyright (c) 2010-2013 Gjero Krsteski (http://krsteski.de)
* @license http://opensource.org/licenses/MIT MIT License
*/
namespace Pimf\Util;
/**
* A file uploaded through a form.
*
* <code>
*
* // Create a file instance.
* $upload = new Uploaded(
* $_FILES['tmp_n... |
<?php
/*
Halcyon Image Board
Copyright (C) 2010 Halcyon Bulletin Board Systems
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or any later version.
This progr... |
<?php include 'header.php' ?>
<?php include 'navbar.php' ?>
<?php include "admin/classes/postclass.php";?>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<link href="vendor/bootstrap/css/bootstrap.min.c... |
<?php
namespace Oro\Bundle\EntityBundle\Provider;
use Oro\Bundle\EntityBundle\Model\EntityAlias;
class EntityAliasConfigBag
{
/** @var array */
protected $entityAliases;
/** @var array */
protected $exclusions;
/**
* @param array $entityAliases
* @param array $exclusions
*/
p... |
<?php
namespace App\Http\Controllers;
use App\Activity;
use App\Document;
use App\Pesan;
use App\Student;
use Illuminate\Http\Request;
use App\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Storage;
class AdminContro... |
<?php
/**
* @package pkg_projectfork
* @subpackage com_pfmilestones
*
* @author Tobias Kuhn (eaxs)
* @copyright Copyright (C) 2006-2013 Tobias Kuhn. All rights reserved.
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL, see LICENSE.txt
*/
defined('_JEXEC') or die();
// Base this mo... |
<?php
namespace Oro\Bundle\LocaleBundle\Tests\Unit\DependencyInjection\Compiler;
use Oro\Bundle\LocaleBundle\DependencyInjection\Compiler\DefaultFallbackExtensionPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class DefaultFallbackExtensionPassTest extends \PHPUnit\Framework\TestCase
{
/** @var... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Note;
use App\User;
use Auth;
class NoteController extends Controller
{
public function create(Request $request, Note $note)
{
$this->validate($request,[
'title' => 'required|min:3',
'content' => ... |
<?php
namespace MyApp\FilmothequeBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\DependencyInjection\ContainerAware;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use MyApp\FilmothequeBundle\En... |
<!-- Main Content -->
<div class="container-fluid">
<div class="side-body">
<div class="page-title">
<span class="title">List Sewa</span>
<!-- <div class="description">with jquery Datatable for display data with most usage functio... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\Securit... |
<!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>{{ config('app.name', 'Laravel') }}</tit... |
@extends('layouts.admin')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">
Information Customer
</div>
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class UssdResponse extends Model
{
protected $fillable = ['id', 'phone', 'menu_id', 'menu_item_id', 'response'];
} |
<?php
/*
* This file is part of the DelivereaBundle package.
*
* (c) Issel Guberna <issel.guberna@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Octante\DelivereaBundle\Library;
use Deliverea\Model\Shipment... |
<?php
namespace Okipa\LaravelTable\Abstracts;
use Okipa\LaravelTable\Table;
abstract class AbstractTable
{
/**
* @return \Okipa\LaravelTable\Table
* @throws \ErrorException
*/
public function setup(): Table
{
$table = $this->table();
$this->columns($table);
$this->r... |
<?php
/*
* This file is part of the Monofony demo.
*
* (c) Monofony
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace App\Tests\Behat\Context\Setup;
use Behat\Behat\Context\Context;
use Doctrine... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
/*
* InvoicePlane
*
* A free and open source web based invoicing system
*
* @package InvoicePlane
* @author Kovah (www.kovah.de)
* @copyright Copyright (c) 2012 - 2015 InvoicePlane.com
* @license https://invoiceplane.com/license.... |
<?php
/* This script resorts lists of various items.
*/
/*****
* Setup
*/
require_once('panl.init.php');
/*****
* Chapters
*/
/*
if ( $_POST['chapter'] ) {
$chapter_list = $_POST['chapter'];
$total = count($chapter_list);
$i = 1;
foreach ( $chapter_list as $val ) {
$data = array('sort_order' => $i);
... |
<?php
namespace BlackRiver\TelegramBot\Console\Webhook;
use Illuminate\Console\Command;
use BlackRiver\TelegramBot\Client;
class RemoveCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'webhook:remove';
/**
*... |
<!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><?php echo 'MyTitle!'; ?></title>
</head>
<body>
<?php
echo "<p>This... |
<?php namespace Frontend\Forum\Components;
use Cms\Classes\Page;
use Cms\Classes\ComponentBase;
use Frontend\Forum\Models\Channel;
use Frontend\Forum\Models\Member as MemberModel;
use Frontend\Forum\Classes\TopicTracker;
class Channels extends ComponentBase
{
/**
* @var Frontend\Forum\Models\Member Member ca... |
<?php
class reports_model extends CI_Model
{
public function getbankreport()
{
//$result = $this->db->get('contacts');
$account = $this->db->query("select * from bill_payment where modeofpayment ='Bank Deposit'");
return $account->result_array();
}
public function getcashreport()
{
//$result = $t... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options fo... |
<?php
namespace App\Http\Controllers;
use App\Author;
use App\Article;
use Illuminate\Http\Request;
use App\Transformers\ArticleTransformer;
use League\Fractal;
use League\Fractal\Manager;
use JD\Cloudder\Facades\Cloudder as Cloudder;
/**
* @group Article management
*
* APIs for managing articles
*/
class Artic... |
<?php
/* FOSUserBundle:ChangePassword:change_password_content.html.twig */
class __TwigTemplate_7a2607bebb40c406c88df9fde0b9e33f4d678934bf31c804dc6aa4c9a068e42f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
... |
<?php
/**
* Job.php
*
* @copyright Copyright © Pedro Plowman, Maleny Music Festival, 2017
* @author Pedro Plowman
* @package p2made/yii.mmf-vollies
* @license Private Use
*/
namespace backend\models;
use Yii;
use yii\helpers\ArrayHelper;
/**
* This is the model class for table "mmf_job".
*
* @property... |
@extends('layouts.Admin.adminLayout')
@section('content')
<div class="content-body">
<div class="container-fluid">
<div class="row invoice-card-row">
<div class="col-lg-12">
<div class="card">
<div class="card-header">
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<center><div class="card-header">Kategori Berita</div></center>
<center>
<div class="card-body">... |
<?php
namespace Platformsh\Cli\Command\Tunnel;
use Platformsh\Cli\Service\Ssh;
use Platformsh\Cli\Console\ProcessManager;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class TunnelOpenCommand extends TunnelCom... |
<?php $this->load->view('homepage/head') ?>
<body>
<!-- body content starts here -->
<div class="body_wrapper" style="position:absolute;margin-top:80px;">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-12"></div>
<div class="col-lg-4 col-md-4 col-sm-12">
<h3>Confirm ... |
<?php
declare(strict_types=1);
/*
* This file has been auto generated by Jane,
*
* Do no edit it directly.
*/
namespace Jane\OpenApi\JsonSchema\Normalizer;
use Jane\JsonSchemaRuntime\Reference;
use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface;
use Symfony\Component\Serializer\Normalizer\De... |
<?php
namespace App\Http\Controllers\Admin;
use App\Helper\Constant;
use App\Http\Controllers\Controller;
use App\Http\Requests\Category\CategoryRequest;
use App\Models\Category;
use App\Services\Interfaces\CategoryService;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Http\Request;
class CategoryCon... |
<?php
/*******************************************************
* 程序函数
* 1.读取文件夹目录,获取文件名
* 2.获取今天生成的文件名
* 3.需要生成的文件名
* 4.获取频道所有节目数组信息
* 5.获取此频道的文件名称
* 6.获取此栏目拼音简称
* 7.更换栏目名称
* 8.清除格式
* 9.时间相加,第一个参数为时间,第二个参数为帧
* 10.时间相加,第一个参数为时间,第二个参数为时间
* 11.更换节目备注
***********************************************... |
@extends('adminDashboard.master')
@section('title')
Manage Vehicles
@endsection
@section('mainContent')
<div id="page-wrapper"><br>
<h3 class="text-center text-primary">Vehicle List</h3>
<h4 class="text-center text-success">{{Session::get('message')}}</h4>
<h4 class="text-center text-danger">{{Session::get('... |
<?php
namespace common\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\Requisites;
/**
* RequesitesSearch represents the model behind the search form of `common\models\Requisites`.
*/
class RequesitesSearch extends Requisites
{
/**
* {@inheritdoc}
*/
public function... |
<?php
return [
'database' => [
'name' => 'medical',
'username' => 'root',
'password' => '',
'connection' => 'mysql:host=localhost',
'options' => [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
]
]
];
?> |
<?php
// +----------------------------------------------------------------------
// | ErrorCode.php [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016-2017 limingxinleo All rights reserved.
// +-----------------------------------------------... |
<?php
declare(strict_types=1);
/**
* SPHPlayground Framework (https://playgound.samiholck.com/)
*
* @link https://github.com/samhol/SPHP-framework for the source repository
* @copyright Copyright (c) 2007-2018 Sami Holck <sami.holck@gmail.com>
* @license https://opensource.org/licenses/MIT The MIT License... |
<?php
/**
* Copyright (c) 2017-present, Emile Silas Sare
*
* This file is part of OZone package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace OZONE\OZ\Ofv;
use OZONE\OZ\Core\SettingsManager;
/**
* @param \OZONE\OZ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>丁盯智能门磁 - 云丁网络技术(北京)有限公司</title>
<link href="/static/style/style.css" rel="stylesheet" charset="utf-8" />
</head>
<body>
<div class="header">
<div class="container">
<div clas... |
<?php
declare(strict_types=1);
namespace Rector\DeadCode\Rector\ClassMethod;
use PhpParser\Node;
use PhpParser\Node\Stmt\Class_;
use PhpParser\Node\Stmt\ClassMethod;
use Rector\NodeTypeResolver\Node\AttributeKey;
use Rector\PhpParser\Node\Manipulator\ClassMethodManipulator;
use Rector\Rector\AbstractRector;
use Rect... |
<!-- ================ start banner area ================= -->
<section class="blog-banner-area" id="category">
<div class="container h-100">
<div class="blog-banner">
<div class="text-center">
<h1>Shopping Cart</h1>
<nav aria-label="breadcrumb" class="banner-breadcrumb">
... |
<?php
return array(
/*
| Globals
*/
'turkish' => 'Türkçe',
'english' => 'İngilizce',
'change_language' => 'Dili değiştir',
'homepage' => 'Anasayfa',
'admin' => 'Yönetici',
'user' => 'Kullanıcı',
'banned' => 'Yasaklı',
'author' => 'Gönder... |
<?php
class Listify_Page_Settings {
public function __construct() {
add_action( 'init', array( $this, 'register_meta' ) );
if ( ! is_admin() ) {
return;
}
add_action( 'admin_menu', array( $this, 'add_meta_box' ) );
add_action( 'save_post', array( $this, 'save_... |
<?php
/* ucp_footer.html */
class __TwigTemplate_4ecc05ee142afce6ff474a3cdf2b1b67cdeb154f4551bd4f9bf87abf21aabe25 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
... |
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Util;
use Composer\Config;
use ... |
@extends('layouts.app')
@section('content')
<div class="intro intro-carousel">
<div id="carousel" class="owl-carousel owl-theme">
@foreach ($rentals as $item)
<div class="carousel-item-a intro-item bg-image" style="background-image: url({{asset($item->image_one)}})">
<div class="... |
<?php
global $quevia_slider_query;
if(!isset($quevia_slider_query))
$quevia_slider_query= new WP_Query(Quevia\slider_query_attributes());
else
$quevia_slider_query->rewind_posts ();
$quevia_tiles_per_row = Quevia\home_tiles_per_row() ;
$quevia_last_row_tiles = $quevia_slider_query... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.