text stringlengths 2 1.03M |
|---|
<div class="container" style="margin-top:80px">
<div class="row">
<div class="col-md-8 offset-md-2">
<br>
<?php //dump($coach); ?>
<h4><b>Route:</b> <?php echo $this->coach_m->get_route_trip($coach->route);//echo $coach?></h4>
<p><b> Date:</b> <?php if($this->session->search): $date = uns... |
<?php
namespace Felix\Sey\Exceptions;
use Exception;
use Felix\Sey\Contracts\Token;
use Felix\Sey\Tokens\Func;
use Felix\Sey\Tokens\Identifier;
use Felix\Sey\Tokens\Operator;
/**
* @internal
*/
class SyntaxError extends Exception
{
public function __construct(string $message, string|int|float ...$formats)
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
class CreateStationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
... |
@extends('layouts.app')
@section('content')
<!-- Hero Section Start -->
<div class="hero-section section mt-30 mb-30">
<div class="container">
<div class="row">
<div class="col">
<div class="row row-1">
<div class="order-lg-2 col-l... |
<div class="footer-grid">
<h3>Navigation</h3>
<ul class="list1">
<li><a href="index.html">Home</a></li>
<li><a href="radio.html">All Songs</a></li>
<li><a href="browse.html">Albums</a></li>
<li><a href="radio.html">New Collections</a></li>
<li><a href="blog.html">Blog</a></l... |
<?php
namespace App\Service;
use App\Models\Eventos;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
class EventosService
{
public function listagemEventos ()
{
$array = [];
$id_user = Auth::user()->id;
$eventos = Eventos::select(
... |
<?php
/**
* Created by PhpStorm.
* User: kaplay
* Date: 7.05.2018
* Time: 10:11
*/
namespace GenderApi;
class GenderApi
{
private $apiKey;
public function __construct($apiKey)
{
$this->apiKey = $apiKey;
}
public function findGender($name)
{
$apiKey = $this->apiKey;
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Media_model extends CI_Model {
function is_movie_rated($media_fk) {
$sql = "select 1
from article
where media_fk = ?
and article_type = ?
and is_live = 1";
$q = $this->db->query($sql,array($media_fk,POST_REVIEW));
... |
<?php
// include common
require __DIR__."/../common.php";
$plugin_identifier = "ef_friend"; // identifier name (routes,module class_name)
$plugin_name = "Entity Friendship";
$plugin_description = "Lorem ipsum dolar sit amit demo text";
// version
$version = "1.0";
// array vars
$features = $webservices = array();
// s... |
<?php
namespace App\Listeners;
use App\Events\EventNovoRegistro;
use App\Mail\EmailRegistroConfirmacao;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Support\Facades\Mail;
class ListenerConfirmacaoEmail
{
/**
* Create the event listener.
*
* @r... |
<?php
/*
* This file is part of the JsonSchema package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace JsonSchema\Constraints;
use JsonSchema\Entity\JsonPointer;
/**
* The Base Constraints, all Validators should exten... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\models\Driver */
$this->title = 'Добавить водителя';
$this->params['breadcrumbs'][] = ['label' => 'Водители', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="driver-create">
<div class="row">
... |
<div class="relative w-full col-span-4 bg-white shadow-card rounded-xl">
<div>
<div class="flex justify-between px-5 py-5 space-x-3">
<div class="flex justify-start space-x-3">
<div class="">
<div class="w-20 h-20 overflow-hidden border rounded-md shadow-lg bg... |
<div id="top-bar" class="tb-text-grey">
<div class="container">
<div class="row">
<div class="col-12 col-md-6">
<div id="info">
<ul id="infoTel" class="list-unstyled list-inline">
<li class="list-inline-item text-white"><span><i class="... |
<?php
/**
* CallConversation
*
* PHP version 5
*
* @category Class
* @package PureCloudPlatform\Client\V2
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* PureCloud Platform API
*
* With the PureCloud Platform API, you can control all aspects of your Pur... |
<?php
namespace Shemi\Laradmin\Panels\Traits;
trait Buildable
{
use HasJsonStructure, HasJsonSchema;
public function getBuilderData()
{
return [
'schema' => $this->schema()->toArray(),
'structure' => $this->structure(),
'subTypes' => $this->getSubTypes(),
... |
<?php
namespace Tests\Unit;
use PHPUnit\Framework\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
// public function test_example()
// {
// $this->assertTrue(true);
// }
// public function test_example2()
// {
// ... |
<?php
require_once __DIR__.'/core/Loader.php';
\system\core\Loader::autoload(true, dirname(__DIR__)); |
<!doctype html>
<html class="no-js" lang="">
<head>
<title>Zabuun - Learn Egyptian Arabic for English speakers</title>
<meta name="description" content="">
<?php include $_SERVER['DOCUMENT_ROOT'].'/layout/head.php';?>
</head>
<body>
<?php include $_SERVER['DOCUMENT_ROOT'].'/layout/ie8.php';?>
<?php include... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRaffles extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('raffles', function (... |
<?php
use Illuminate\Database\Seeder;
use App\Employee;
use App\Task;
use App\Typology;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call([
EmployeeSeeder::class,
TaskSe... |
<?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... |
<x-app-layout>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">Navbar</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-co... |
<?php
declare(strict_types=1);
namespace App\Console\Commands\Upgrade;
use Artisan;
use DB;
use File;
use Illuminate\Console\Command;
class V11_0_0 extends Command
{
protected $signature = 'upgrade:v11.0.0';
protected $description = 'Upgrade to v11.0.0';
public function handle(): int
{
if... |
<?php
$servername = "localhost";
$username = "root";
$password = "gtgy1tm1";
$dbname = "2019_ekivalensi";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$nim = intval($_GET[... |
<?php
use Illuminate\Database\Seeder;
use Faker\Factory as Faker;
class SaleDetailSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
DB::table('sale_transactions')->truncate();
$faker=Faker::create();
for... |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* This file is part of the PEAR Console_CommandLine package.
*
* PHP version 5
*
* LICENSE: This source file is subject to the MIT license that is available
* through the world-wide-web at the following URI:
* http://opensource.org/licens... |
<html>
<head>
<title>Form Test</title>
<style>
body, table, tr, th, td {
font-family: Verdana;
font-size: 9pt;
background-color: aliceblue;
}
div.Savant-Form {
margin: 8px;
}
fieldset.Savant-Form {
margin: 8px;
border-top: 1px solid silver;
border-left: 1... |
<?php
/**
* Language file for blog error/success messages
*
*/
return array(
'blog_exists' => 'Blog existiert bereits!',
'blog_not_found' => 'Blog [:id] ist nicht vorhanden.',
'success' => array(
'create' => 'Blog wurde erfolgreich erstellt.',
'update' => 'Blo... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class newLaravelTips extends Mailable {
use Queueable, SerializesModels;
private $user;
public function __construct(\stdClass $user) { ... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class PercentageResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
... |
<?php
use App\Models\User;
use Illuminate\Database\Seeder;
class UsersTableSeeder extends Seeder {
public function run() {
// 获取 Faker 实例
$faker = app(Faker\Generator::class);
// 头像假数据
$avatars = [
'https://fsdhubcdn.phphub.org/uploads/images/201710/14/1/s5ehp11z6s.png?imageView2/1/w/200/h/200',
'http... |
<?php
use Intervention\Image\ImageManagerStatic as Image;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\DB;
use App\Models\SiteSetting;
use App\Models\BannerArea;
function banner_settings()
{
return SiteSetting::withoutGlobalScopes()->where('id', 1)->first();
}
fun... |
<?php
namespace backend\modules\wechat\controllers;
use Yii;
use common\components\Curd;
use common\models\wechat\MsgHistory;
use yii\data\Pagination;
/**
* 微信历史消息
*
* Class MsgHistoryController
* @package backend\modules\wechat\controllers
* @author jianyan74 <751393839@qq.com>
*/
class MsgHistoryController ex... |
<?php
//------------------------------------------------------------------------------
//| |
//| Content Management System SiMan CMS |
//| ... |
--TEST--
Test V8::registerExtension() : Circular dependencies
--SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
--FILE--
<?php
V8Js::registerExtension('a', 'print("A");', array('b'));
V8Js::registerExtension('b', 'print("B");', array('a'));
var_dump(V8JS::getExtensions());
$a = new V8Js('myobj', a... |
@extends('personal.layouts.main')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
... |
<!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="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
... |
<?php
namespace FilippoToso\Travelport\UProfile;
class BaseReservation
{
/**
* @var AccountingRemark $AccountingRemark
*/
public $AccountingRemark = null;
/**
* @var GeneralRemark $GeneralRemark
*/
public $GeneralRemark = null;
/**
* @var Restriction $Restriction
*... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddAdditionalFieldForScreensTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('s... |
@extends('layouts.app')
@section('title', 'Login')
@section('css')
@endsection
@section('js')
@endsection
@section('content')
<div class="row" style="margin-top: 25px;">
<div class="col-lg-4 offset-lg-4 col-md-6 offset-md-3 col-xs-12">
<a href="{{route('cas.index')}}" class="btn btn-block" sty... |
<?php
namespace rosasurfer\core\exception;
/**
* Exception to mark errors caused by non-synchronized modifications of shared resources.
*/
class ConcurrentModificationException extends RuntimeException {
} |
<?php
return [
'driver' => env('MAIL_DRIVER', 'smtp'),
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
'port' => env('MAIL_PORT', 587),
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'name' => env('MAIL_FROM_NAME', 'Example'),
],
'encryption' => en... |
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:45:"./application/admin/view/goods\goodsList.html";i:1522317281;s:66:"I:\project\demo\oscshop2\application\admin\view\public\layout.html";i:1522317281;}*/ ?>
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset... |
@extends('layouts.app')
@section('content')
<h1>Loading SMS Credit Instructions</h1>
<div>
<h3>Using Mpesa</h3>
<ol>
<li>Using your MPesa-enabled phone, select "Pay Bill" from the M-Pesa menu</li>
<li>Enter Africa's Talking Business Number 525900</li>
<li>Enter your Africa's Talking Ac... |
<?php
namespace OwenIt\Auditing;
use Illuminate\Database\Eloquent\Relations\MorphMany;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Config;
use OwenIt\Auditing\Contracts\AttributeEncoder;
use OwenIt\Auditing\Contracts\Attr... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html>
<!-- including header -->
<?php include_once(APPPATH.'/views/templates/header.php'); ?>
<main class="page landing-page">
<section class="clean-block slider dark">
<div class="container_two" >... |
<?php
/**
* @copyright (c) 2020 Quicken Loans Inc.
*
* For full license information, please view the LICENSE distributed with this source code.
*/
namespace QL\Panthor\ErrorHandling;
use Exception;
use Throwable;
interface ExceptionHandlerInterface
{
/**
* Handle a throwable, and return whether it was h... |
<?php
declare(strict_types=1);
namespace App\Domain;
final class CompanyFinder
{
public function __construct(private CompanyRepository $companies)
{
}
public function find(CompanyId $companyId): Company
{
return $this->companies->find($companyId);
}
} |
<?php
/*
* <auto-generated>
* This code was generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
* </auto-generated>
*/
namespace Mozu\Api\Contracts\CommerceRuntime\Payments;
/**
* Properties of an interaction with the payment... |
<?php
// Copyright 2004-present Facebook. All Rights Reserved.
namespace HH\CodeModel {
/*
* Returns a string that can be unserialized into an instance of the Code Model
* that corresponds to the source code specified in the argument string.
*
* @param @source
* A string consisting of PHP source code as would... |
<?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2017-2021
* @package Admin
* @subpackage JQAdm
*/
namespace Aimeos\Admin\JQAdm\Type\Price\Property;
/**
* Factory for price property type JQAdm client
*
* @package Admin
* @subpackage JQAdm
*/
class Fac... |
<?php
class Journal_model extends CI_Model
{
public function get_notes($date, $user_id)
{
return $this->db->query("select * from tbl_journal where date_created >= '$date 00:00:00' AND date_created <= '$date 23:59:59' and user_id = \"$user_id\" ORDER BY date_created ASC")->result_array();
}
publ... |
<?php
/**
* HTTPForbiddenError
*
* PHP version 7.2
*
* @category Class
* @package Cakemail\Lib
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Cakemail API
*
* The Cakemail API exposes multiple APIs including Authentication, Marketing, Contact, Transactional, Analyti... |
<?php
namespace Phalcon\Session;
/**
* Phalcon\Session\Exception
* Exceptions thrown in Phalcon\Session will use this class
*/
class Exception extends \Phalcon\Exception
{
} |
<?php
return [
'resort' => ['url' => 'resort/fund/index', 'caption' => 'Номера', 'icon' => 'glyphicon glyphicon-bed'],
'price' => ['url' => 'resort/price/index', 'caption' => 'Цены', 'icon' => 'glyphicon glyphicon-rub'],
]; |
<?php
class Login extends CI_Controller{
function __construct(){
parent:: __construct();
$this->load->model('m_login');
}
function index(){
$this->load->view('admin/v_login');
}
function auth(){
$username=strip_tags(str_replace("'", "", $this->input->post('username'))... |
<?php
namespace App\Http\Controllers\Home;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\View\View;
class IndexController extends Controller
{
//前台
public function index()
{
return View('home/index');
}
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUmumsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('umums', function ... |
<table class="table table-responsive" id="referencias-table">
<thead>
<tr>
<th>Nombres</th>
<th>Email</th>
<th>Acción</th>
</tr>
</thead>
</table> |
@extends('Admin.layouts.master')
@section('header')
@parent
@endsection
@section('sidebar')
@parent
@endsection
@section('content')
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
{{ Html::linkAction('Admin\AdminController@dashboard', 'لوحه التحكم', '', []) }}
... |
<?php
namespace App\Providers;
use App\Repositories\ArticleRepository;
use App\Repositories\Interfaces\ArticleInterface;
use Illuminate\Support\ServiceProvider;
class RepositoryServiceProvider extends ServiceProvider
{
public function register(){
$this->app->bind(
ArticleInterface::class,
ArticleRep... |
<script type="text/javascript">
$(document).ready(function() {
$('#example-getting-started').multiselect();
var player_range = $("input#player_range").bootstrapSlider({
id: "player_slider",
min: 1, max: 20,
range: true,
value: [{{ $product->min_player... |
@extends('cardgame::layouts.admin_layout')
@section('inner_content')
<table class="table">
<thead>
<tr style="background-color: #9696e4;color: #000;">
<td></td>
<td>ID</td>
<td>Сорт.</td>
<td>class_css</td>
... |
<?php
/**
* @package ImpressPages
*/
/**
* Created by PhpStorm.
* User: mangirdas
* Date: 8/10/14
* Time: 10:53 PM
*/
namespace Ip\Internal\Grid\Model;
interface Transformation
{
public function transform($value, $options = []);
} |
<?php
/**
* Hoa
*
*
* @license
*
* New BSD License
*
* Copyright © 2007-2014, Ivan Enderlin. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must ... |
@extends('auth.templatea')
@section('content')
<div class="register-box">
<div class="register-logo">
<a href="../../index2.html"><i class="fa fa-fw fa-check-square-o"></i><b>Lara</b>APP</a>
</div>
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach (... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class MenuTobaccoTableSeeder extends Seeder
{
/**
* Auto generated seed file
*
* @return void
*/
public function run()
{
\DB::table('menu_tobacco')->delete();
\DB::table('menu_tobacco... |
<?php
namespace Statamic\Console\Commands\Test;
use Symfony\Component\Process\ProcessBuilder;
use Symfony\Component\Process\Exception\RuntimeException;
class TestAddonsCommand extends TestCommand
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signatur... |
<?php
namespace NodeAdWordsApiPhpLib;
require_once dirname(__FILE__).'/../base.php';
use Google\AdsApi\AdWords\AdWordsServices;
use Google\AdsApi\AdWords\v201809\cm\Selector;
use Google\AdsApi\AdWords\v201809\mcm\CustomerService as GoogleCustomerService;
class CustomerService extends base {
/**
* Return cust... |
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Support\Facades\Crypt;
class Controller extends Bas... |
<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| r... |
<?php
namespace App\Entity;
use App\Repository\CategoryRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CategoryRepository::class)
*/
class Category
{
public const PUBLISHED = 1;
public const DRAFT = 0;
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(t... |
<?php
declare(strict_types=1);
namespace App\Model\Filter;
use Cake\ORM\Query;
use Search\Model\Filter\FilterCollection;
class FilmActorsCollection extends FilterCollection
{
/**
* @return void
*/
public function initialize(): void
{
$this
->add('actor_id', 'Search.Value', [... |
<?php
/**
* [RO] Preia taxa de transport (https://github.com/celdotro/marketplace/wiki/Preia-taxa-de-transport)
* [EN] Retrieves the transport tax (https://github.com/celdotro/marketplace/wiki/Get-transport-tax)
*/
include __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'api_include.php';
use celmar... |
<?php
namespace App\models;
use Illuminate\Database\Eloquent\Model;
class crud extends Model
{
//
} |
<!DOCTYPE HTML>
<html lang="eng">
<head>
@include('layouts._head')
</head>
<body>
<div class="container">
@include('layouts._navigation')
@include('errors.error')
@yield('content')
</div>
@include('layouts._footer')
</body>
</html> |
<?php
namespace Grzesie2k\Hydrator\HydratorStrategy\ObjectHydratorStrategy;
use Grzesie2k\Hydrator\Fixture\Product;
use Grzesie2k\Hydrator\Fixture\User;
use Grzesie2k\Hydrator\Hydrator;
use Grzesie2k\Hydrator\HydratorFactory;
use Grzesie2k\Hydrator\HydratorStrategy;
use phpDocumentor\Reflection\Fqsen;
use phpDocument... |
<?php
namespace App\Http\Controllers;
use App\Transaction;
use App\User;
use App\Asset;
use App\AssetDetail;
use Illuminate\Http\Request;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\DB;
use Auth;
use Session;
use App\TransactionStatus;
use App\TransactionType;
class TransactionController extends Contr... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitaec3874fad0ab68a119b5382ff7c723e::getLoader(); |
@extends('layouts.app')
@section('content')
<section class="content-header">
<h1>
Samples
</h1>
</section>
<div class="content">
<div class="box box-primary">
<div class="box-body">
<div class="row" style="padding-left: 20px">
... |
<?php
// func
$uyear = array();
$uyear = array_unique($yearAr);
// events array which will contain the whole array tree for converting to json
$yearData = array();
// looping over unique years to populate further data
foreach ($uyear as $year) {
// rows from the events table in this particular year
$ev... |
<?php
namespace App\Repositories\Conditions;
use App\User;
trait UserCondition
{
public function verified()
{
return ['users.verified' => User::USER_ACTIVE];
}
public function active()
{
return ['users.active' => User::USER_ACTIVE];
}
public function email(string $emai... |
<?php
namespace hanbj\weixin;
use hanbj\HBConfig;
use think\Db;
use think\db\exception\DataNotFoundException;
use think\db\exception\ModelNotFoundException;
use think\exception\DbException;
use util\MysqlLog;
use util\ValidateTimeOper;
class WxTemp
{
const URL = 'https://api.weixin.qq.com/cgi-bin/message/templa... |
@extends('layouts.app')
@section('title','Profile')
@section('css')
<style>
</style>
@endsection
@section('content')
<div style="padding-top: 150px; padding-left: 40px;">
<div class="row">
<div class="col-sm-2">
<a href="{{ route('home') }}"> <button class="btn btn-dark" >
<i class="fas ... |
<?php
defined('BASEPATH') OR exit('Maaf,Alamat Yang tuju Tidak Ditemukan');
class Model_listrik extends CI_model
{
public function get_all(){
$query = $this->db->select('*')
->from('daya')
->order_by('id','ASC')
->get();
return $query->result();
}
public function simpan($data){
$query = $... |
<?php
namespace app\modules\PhoneBook\models;
/**
* This is the ActiveQuery class for [[UserPhone]].
*
* @see UserPhone
*/
class UserPhoneQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* {@inheritdoc}
* @return Us... |
<div id="leads_list">
<input type="hidden" id="api_key" value="<?= $account->api_key; ?>"/>
<div class="row title_div">
<div class="col-md-3"></div>
<div class="col-md-6">
<h3 class="text-center">Постійні витрати</h3>
</div>
<div class="col-md-3 title_div_icons">
<a href="https://www.youtube.com/embed/n... |
<!DOCTYPE html>
<html lang="en">
<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>Test</title>
</head>
<body>
test
</body>
</html> |
<?php snippet( 'head') ?>
<?php snippet( 'header') ?>
<main class="main" role="main">
<!-- Header content -->
<div class="container">
<div class="[ row top-md ] page-header">
<div class="[ col-xs-12 col-md-6 ]">
<h1 class="mb05"><?php echo $page->title()->html() ?></h1>
... |
<a href="<?= \yii\helpers\Url::to(['jui/update-ajax']) ?>" class="a1">начать новую игру</a>
<?php foreach($moves as $move): ?>
<div class="draggable" href="<?= $move->id ?>" style="background: <?= $move->color ?>;left: <?= $move->pagex ?>px; top: <?= $move->pagey ?>px"></div>
<?php endforeach; ?>
<?php
$css = <<< CS... |
@extends('layout.app')
@section('title', 'Our awesome home page')
@section('maincontent')
<!-- BANNER -->
<section class="banner_sec">
<div class="container">
<div class="row">
<div class="col-12 col-md-10 col-lg-8">
<div class="row">
@if (count($categories)>0)
@foreach ($categorie... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateKotaTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('kota', function (B... |
@extends('layouts.panel')
@section('content')
<div class="card shadow">
<div class="card-header border-0">
<div class="row align-items-center">
<div class="col">
<h3 class="mb-0">Editar Producto</h3>
</div>
<div class="col text-right">
<a href="{{ url('produc... |
@extends('layouts.header')
@section('isi')
<section class="content-header">
<h1>
Role Menu
<small></small>
</h1>
<ol class="breadcrumb">
<li><a href="#"> Home</a></li>
<li class="active">Role Menu</li>
</ol>
</section>
<!-- M... |
<?php
/**
* TechDivision\Import\Product\Link\Utils\ColumnKeys
*
* PHP version 7
*
* @author Tim Wagner <t.wagner@techdivision.com>
* @copyright 2016 TechDivision GmbH <info@techdivision.com>
* @license https://opensource.org/licenses/MIT
* @link https://github.com/techdivision/import-product-link
* ... |
<div id="edit" style="display: none;">
<?= $this->formTag(array('post#update', 'id' => $this->post->id), array('id' => 'edit-form', 'level' => 'member'), function() { ?>
<?= $this->hiddenFieldTag("post[old_tags]", $this->h($this->post->cached_tags)) ?>
<table class="form">
<tfoot>
<tr>
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddQuestinnaryTypeToQuestionnares extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('... |
@extends('admin.layouts.main')
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
... |
<?php
namespace WU_Stripe\Issuing;
/**
* Class Card
*
* @property string $id
* @property string $object
* @property mixed $authorization_controls
* @property mixed $billing
* @property string $brand
* @property Cardholder $cardholder
* @property int $created
* @property string $currency
* @property int $ex... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.