text stringlengths 2 1.03M |
|---|
@csrf
{{-- Essa linha foi colocada dentro do "form" do create: --}}
{{-- <input type="hidden" name="tipo" value="{{ $tipo }}"> --}}
{{-- Este helper "old()" recebe um segundo argumento para valor padrão, caso ele não tenha
um êrro de validação, ou seja, quando não tem um dado de validação antigo, exiba então
... |
<?php declare(strict_types=1);
/**
* This File is part of JTL-Software
*
* User: pkanngiesser
* Date: 2020/04/17
*/
namespace JTL\Nachricht\Log;
use Psr\Log\LoggerInterface;
use Psr\Log\LogLevel;
class EchoLogger implements LoggerInterface
{
/**
* @inheritDoc
*/
public function emergency($mes... |
<?php
namespace DBClass\MySQL;
class ColumnDateTime extends Column implements Interfaces\ColumnDateTime
{
private $default;
private $on_update_current = false;
public function __construct(string $name)
{
$this->setName($name);
$this->setType('datetime');
}
final public functi... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTermsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('terms', function ... |
<?php
namespace ClassesBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class ClasseControllerTest extends WebTestCase
{
} |
<link rel="stylesheet" href="<?php echo base_url('assest/'); ?>bower_components/bootstrap/dist/css/bootstrap.min.css">
<div class="container">
<div class="row">
<div class="col-md-7">
<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="... |
<?php
namespace App\Estatico;
use App\Estatico\Clasificacione;
use Illuminate\Database\Eloquent\Model;
class Inmueble extends Model
{
//
public $timestamps = false;
public $incrementing = false;
protected $fillable = [
'id', 'tipo'
];
public function clasificaciones()
{
... |
<?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.
*/
/**
* Description of usuario
*
* @author Sammy Guergachi <sguergachi at gmail.com>
*/
require_once APPPATH.'third_party/pdf... |
<script type="text/javascript">
function get_detail(val){
var stok_awal = $("#jml-"+val).val();
var beredar = $("#beredar-"+val).val();
document.getElementById("stok-awal").innerHTML = stok_awal;
document.getElementById("jml-beredar").innerHTML = beredar;
}
$("#form-dtl-barang").hide();
$("#form-input")... |
<?php
namespace App\Models;
use Spatie\Searchable\Searchable;
use\Spatie\Searchable\SearchResult;
use Illuminate\Database\Eloquent\Model;
class Department extends Model implements Searchable
{
//
protected $table = 'departments';
protected $fillable = ['name','code','phone_no','head_name','asshead_name',... |
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AdminLTE 2 | Log in</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maxi... |
[expect ct-error] Only variables can be passed by reference
[file]
<?php
function foo (&$var)
{
echo $var++;
}
foo(5); // Constant, not variable
?> |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="author" content="Kodinger">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Halaman Login</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="s... |
@extends('admin.master')
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
@push('plugin-styles')... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Activity extends Model
{
protected $guarded = [];
protected $casts = [
'changes' => 'array'
];
public function subject(){
return $this->morphTo();
}
public function user(){
return $this->belongsTo(Us... |
<?php
/**
* Created by PhpStorm.
* User: admin
* Date: 3/12/2019
* Time: 8:20 AM
*/
namespace App\Decorators;
use App\Services\Service;
interface Decorator extends Service
{
} |
<?php
$ini=$_GET['ini'];
$letra=$_GET['letra'];
$lleg=$_GET['lleg'];
$guardar=fopen('cam1.txt','a+');
fwrite($guardar,$ini);
fwrite($guardar,",");
fwrite($guardar,$lleg);
fwrite($guardar,"\n");
fwrite($guardar,$letra);
fwrite($guardar,"\n");
fclose($guardar);
?>
<!DOCTYPE HTML>
<html lang="... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Product */
$this->title = 'Добавление товарного предложения';
$this->params['breadcrumbs'][] = ['label' => 'Products', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="product-create">
<div c... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
public function events(){
return $this->hasMany(Event::class);
}
} |
<?php
/* database/structure/structure_table_row.twig */
class __TwigTemplate_cb0dbdee3bfd0c6bf9382e80f357a4501deda6c2471245eba01a8cd7ebaf3f4f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = ... |
<?php
declare(strict_types=1);
/**
* Contains the Taxonomy interface.
*
* @copyright Copyright (c) 2018 Attila Fulop
* @author Attila Fulop
* @license MIT
* @since 2018-08-25
*/
namespace Vanilo\Category\Contracts;
use Illuminate\Support\Collection;
interface Taxonomy
{
/**
* Retur... |
<?php
namespace App\Http\Controllers\Settings;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class SettingController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\db;
use Yii;
use yii\base\InvalidArgumentException;
use yii\base\InvalidCallException;
use yii\base\InvalidConfigException;
use yii\base\InvalidParamExce... |
<?php
// +----------------------------------------------------------------------
// | [KyPHP System] Copyright (c) 2020 http://www.kuryun.com/
// +----------------------------------------------------------------------
// | [KyPHP] 并不是自由软件,你可免费使用,未经许可不能去掉KyPHP相关版权
// +----------------------------------------------------... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateArticleNombreVueMigration extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('ar... |
@extends('layouts.app')
@section('content')
@php
App::setLocale(session('lng'));
@endphp
<section class="content-header">
<h1>
@lang('site.zakaz')
</h1>
</section>
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div ... |
<?php
/**
* Webino (http://webino.sk)
*
* @link https://github.com/webino/WebinoDraw for the canonical source repository
* @copyright Copyright (c) 2012-2017 Webino, s. r. o. (http://webino.sk)
* @author Peter Bačinský <peter@bacinsky.sk>
* @license BSD-3-Clause
*/
namespace WebinoDraw\Dom;
u... |
<?php
/*
* Candidate Default page template
*/
// execute short code
wp_enqueue_style('jobsearch-datetimepicker-style');
wp_enqueue_script('jobsearch-datetimepicker-script');
wp_enqueue_script('jquery-ui');
$output = do_shortcode('[jobsearch_candidate_shortcode
candidate_cat = ""
candidate_vi... |
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SaFaRaChAt</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nuni... |
<?= $this->layout('painel/_template', ['name' => 'Perfil']) ?>
<?php
$json = file_get_contents("assets/js/cep.json");
$estados = json_decode($json);
?>
<!-- top bar -->
<div class="col-12 mb-3 d-flex" style="position: relative;">
<!-- nome da página -->
<span class="title">Perfil</span>
<!-- btn close -->
<a href... |
--TEST--
swoole_channel_coro: coro channel stats
--SKIPIF--
<?php require __DIR__ . '/../include/skipif.inc'; ?>
--FILE--
<?php declare(strict_types = 1);
require __DIR__ . '/../include/bootstrap.php';
go(function () {
$chan = new \chan(100);
$a = [];
$a['1'] = $chan;
go(function () use (&$chan) {
... |
<?php
/* Prototype : bool uasort(array $array_arg, string $cmp_function)
* Description: Sort an array with a user-defined comparison function and maintain index association
* Source code: ext/standard/array.c
*/
/*
* sorting different types of numeric arrays containing data of following type:
* integer, octal, hex... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit65734b686bd48aa64752ef7bca8cd688
{
public static $files = array (
'2cffec82183ee1cea088009cef9a6fc3' => __DIR__ . '/..' . '/ezyang/htmlpurifier/library/HTMLPurifier.composer.php',
'0e6d7bf4a58... |
<?php
/**
* @var \App\View\AppView $this
* @var array $services
*/
?>
<div class="row">
<div class="col-12 ml-auto mr-auto">
<?php
$opts = [
'class' => 'btn btn-secondary float-right',
];
echo $this->Html->link(__('Cancel'), ['controller' => ''], $opts)
?>
... |
<?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\DependencyInjection\Dumper;
use Symfony\Component\Yam... |
<?php
include('admin_header.php');
//include('admin_sidebar.php');
?>
<div id="wrapper">
<!-- Sidebar -->
<ul class="sidebar navbar-nav">
<li class="nav-item ">
<a class="nav-link" href="<?php echo base_url()?>admin/home">
<i class="fas fa-fw fa-tachometer-alt"></i>
<span>D... |
<div marginwidth="0" marginheight="0" style="margin:0;padding:0;background:#eeee;width:100%!important" bgcolor="#eee">
<center>
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;margin:0;padding:0;height:100%!important;width... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use app\models\User;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $model app\modules\admin\models\Category */
$this->title = 'Категорія: ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Категорії', 'url' => Url::to(['index'])];
$thi... |
<?php
// namespace App\Http\Controllers\Auth;
// use App\Http\Controllers\Controller;
// use App\Providers\RouteServiceProvider;
// use Illuminate\Support\Str;
// use Illuminate\Support\Facades\Hash;
// use Illuminate\Support\Facades\Validator;
// use Illuminate\Foundation\Auth\RegistersUsers;
// use Illuminate\Http\... |
<?php
namespace App\Models;
use App\User;
use Exception;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
use jkIlluminate\Support\Facades\Log;
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
class Cart extends Model
{
/**
* The cart items.
*
* @return \Illum... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{{$page_title}}</title>
@include('web._components.styles')
<style type="text/css">
.auth .brand-logo img {width: 250px... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class InvoiceDetail extends Model
{
public function category(){
return $this->belongsTo(Category::class,'category_id', 'id');
}
public function product(){
return $this->belongsTo(Product::class,'product_id','id');
}
} |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\Kelas;
class Mahasiswa extends Model
{
use HasFactory;
protected $table = 'mahasiswa';
protected $primaryKey = 'id_mahasiswa';
protected $fillable = [
'Ni... |
<?php
$params = require(__DIR__ . '/params.php');
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'components' => [
'urlManager' => [
'enablePrettyUrl' => true,
'enableStrictParsing' => false,
'showScriptName' => false,
'rules' => [
... |
<h1>Tambah Admin</h1>
<ol class="breadcrumb">
<li><a href="<?php echo base_url(); ?>admin"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="<?php echo base_url(); ?>admin/admin"><i class="fa fa-group"></i> Admin</a></li>
<li class="active"><i class="fa fa-pencil"> Input Admin</i></li>
... |
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<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>{{ config('app.name') }}</title>
<meta name="csrf-param" content="_token">
<met... |
<x-app-layout>
<x-container>
<div class="typing-field__wrapper"></div>
<x-result-table />
</x-container>
<script>
window.onload = function() {
initGame('loremipsum');
}
</script>
</x-app-layout> |
<?php
/*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Dunglas\AngularCsrfBundle\Routing;
use Symfony\Component\HttpFoundation\Request;
/**
* Routes matcher default implementation.
*
* @aut... |
@extends('layout.app')
@section('content')
<h1 class="text-black">VIEW SURE GAMES</h1>
<h3><p class="text-black link-nav"><a href="/home">Home </a> <span class="lnr lnr-arrow-right"></span> <a href="/login">Click to view</a></p></h3>
<br><br>
<hr>
<h2 class="text-black">Already Registered?</h2><h4><a href="/logi... |
<?php
/**
* Created by PhpStorm.
* User: lab
* Date: 27/11/2559
* Time: 10:45
*/
class Admin extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('category_model');
}
public function index()
{
$this->load->view('admin/layo... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\bootstrap4;
use Yiisoft\Arrays\ArrayHelper;
/**
* BaseHtml provides concrete implementation for [[Html]].
*
* Do not use BaseHtml. Use [[Html]] inste... |
<?php
namespace Cerdic\Geometrize;
use \Cerdic\Geometrize\Bitmap;
use \Cerdic\Geometrize\State;
use \Cerdic\Geometrize\Rasterizer\Rasterizer;
use \Cerdic\Geometrize\Shape\ShapeFactory;
class Core {
/**
* @param \Cerdic\Geometrize\Bitmap $target
* @param \Cerdic\Geometrize\Bitmap $current
* @param array $line... |
<?php
namespace App\Http\Controllers\Admin;
use App\Comment;
use App\Post;
use App\User;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class AdminController extends Controller
{
/**
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
public function index(){
... |
<?php
require_once 'class/class_cliente.php';
$c = new cliente("loja","localhost","root","");
?>
<!DOCTYPE html>
<html>
<head>
<title>Editar/Gerenciar Cliente</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://maxcdn.boo... |
<?php
namespace Kirby\Cms;
use Kirby\Toolkit\Str;
trait HasChildren
{
/**
* The Pages collection
*
* @var Pages
*/
public $children;
/**
* The list of available drafts
*
* @var Pages
*/
public $drafts;
/**
* Returns the Pages collection
*
... |
<?php
/*
* HELPER que contiene una función para validar el DNI.
*/
/**
* Devuelve la letra que le corresponde a un DNI.
* @param string $dni Números del DNI.
*/
function dni_LetraNIF($dni)
{
return mb_substr('TRWAGMYFPDXBNJZSQVHLCKE', substr($dni, 0, 8) % 23, 1);
} |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yiiunit\framework\di;
use Yii;
use yii\di\Container;
use yii\di\Instance;
use yii\validators\NumberValidator;
use yiiunit\data\ar\Cat;
use yiiunit\data\ar\Or... |
<?php
/** Error reporting */
error_reporting ( E_ALL );
ini_set ( 'display_errors', TRUE );
ini_set ( 'display_startup_errors', TRUE );
date_default_timezone_set ( 'Europe/London' );
define ( 'EOL', (PHP_SAPI == 'cli') ? PHP_EOL : '<br />' );
date_default_timezone_set ( 'Europe/London' );
/**
* PHPExcel
*
* Copy... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Investor extends Model
{
protected $fillable = [
'first_name','last_name','email','contact_no','nos_share','invst_amt','ref_no','address'
];
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title><?= $title ?></title>
<!-- Bootstrap core CSS -->
<link href... |
<?php
namespace App\Http\Controllers\Facebook;
use App\Http\Controllers\Controller;
use Facebook\Exceptions\FacebookSDKException;
use Facebook\Facebook;
use Illuminate\Http\Request;
class test extends Controller
{
//
public function index()
{
try {
$fb = new Facebook([
... |
<?php
return [
// Portfolios index page
'index.title' => 'Portfolios',
'index.breadcrumb' => 'Portfolios',
'index.header' => 'All the portfolios',
'index.search_field' => 'Search for portfolios...',
'index.search_button' => 'Search',
'index.empty' => 'There are no portfolios found',
'in... |
<?php
namespace backend\controllers;
use Yii;
use yii\web\Controller;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use common\models\LoginForm;
use common\models\Articles;
use yii\data\Pagination;
/**
* Site controller
*/
class SiteController extends Controller
{
/**
* @inheritdoc
*/
... |
<?php
/**
* This file is part of Hydrator lib.
* (c) 2017. Rostyslav Tymoshenko <krifollk@gmail.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types = 1);
namespace Krifollk\Hydrator\Test;
use Krifollk\Hydrator... |
<?php
use Dompdf\Dompdf;
require_once 'autoload.inc.php';
// function pdf_create($html, $xfilename, $stream=true, $papersize = 'letter', $orientation = 'portrait')
// {
// Reference the Dompdf namespace
// Instantiate and use the dompdf class
$dompdf = new Dompdf();
// Load HTML content
// $html = "
// .<tab... |
<?php
namespace common\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\DocumentsFiles;
/**
* DocumentsFilesSearch represents the model behind the search form about `common\models\DocumentsFiles`.
*/
class DocumentsFilesSearch extends DocumentsFiles
{
/**
* @inheritd... |
<html>
<head>
<title>
Verizon
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include "../../legacy-includes/Script.htmlf" ?>
</head>
<body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0">
<table width="744" cellspacing=... |
<?php
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
$this->title = '蒋龙豪 - 简书';
?>
<div class="cong-acc">
<div class="row">
<div class="col-sm-12">
<div class="row userindex-lefttop">
<div class="col-sm-2">
<?php echo Html::a('<div class="articalset-img... |
<?php
$host="127.0.0.1";
$dbname="nmm";
$user="root";
$password="";
try{
$conn= new PDO("mysql:host=$host;dbname=$dbname","$user","$password");
//var_dump($conn);
//Echo "<br/> DB connected<br/>";
}
catch (PDOException $e){
echo "<BR/><BR/>Failed to connect to DB:<BR/> ".$e->getMessage();
}
//$conn is now th... |
<?php
namespace App\Http\Controllers\Panitia;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Nilai;
class NilaiController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
... |
<?php
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @author Mutasim Ridlo, S.Kom
* @copyright Copyright (c) 2014-2019, British Columbia Institute of Technology (https://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
... |
<?php
namespace rotostock\Providers;
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
... |
<?php
namespace YOOtheme\Framework\Filter;
class FilterManager
{
/**
* @var FilterInterface[]
*/
protected $filters = array();
/**
* Applies a filter to the given value.
*
* @param mixed $value
* @param string $name
* @return mixed
*
* @throws \InvalidArgum... |
<?php
/*
* This file is part of the Miky package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Miky\Bundle\ResourceBundle\DependencyInjection\Driver;
use Miky\Component\Resource\Factory\Fa... |
<a href="/form_error" style="text-decoration: none;">Từ {{$string}} không có trong từ điển</a> |
@extends('_layouts.admin')
@section('content')
<div class="container bg-white p-5 mt-5">
@include('_includes.back.dashboard')
<h2 class="mt-1 mb-4">Histórico de Pagamentos</h2>
@include('_includes.pagamento.table.complete')
{{ $pagamentos->links() }}
</div>
@endsection |
<?php
// ---------------------------------------------
// class: GraphPattern
// ---------------------------------------------
/**
* A graph pattern which consists of triple patterns, optional
* or union graph patterns and filters.
*
* @author Tobias Gauss <tobias.gauss@web.de>
* @version $Id$
* @license http://... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCreativeCategoriesTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('creative_categories', function(Blueprint $... |
<?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 ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class PengaturanRaport extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->library('OutputView');
$this->load->library('grocery_CRUD');
}
public function index(){
$crud = new grocery_CRUD();
$... |
<?php $__env->startSection('content'); ?><p>People under the age of 60 are 2.78 times more likely to spread the coronavirus than the elderly, data from the US reveals. </p>
<p>It also found young people are more likely to be superspreaders of Covid-19 than people over 60. </p>
<p>Scientists have been discovering over... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class detail_transaksi extends Model
{
use HasFactory, SoftDeletes;
protected $table = 'detail_transaksi';
protected $primaryKey = ['id... |
<?php
use Tribe\Events\Views\V2\Manager;
/**
* Checks whether v2 of the Views is enabled or not.
*
* In order the function will check the `TRIBE_EVENTS_V2_VIEWS` constant,
* the `TRIBE_EVENTS_V2_VIEWS` environment variable and, finally, the `Manager::$option_enabled` option.
*
* @since 4.9.2
*
* @return bool W... |
<?php
// This file was auto-generated from sdk-root/src/data/healthlake/2017-07-01/api-2.json |
<div class="container-fluid">
<!-- Page Heading -->
<div class="row mb-4">
<div class="col">
<h1 class="h3 text-gray-800"><?= $title; ?></h1>
</div>
<div class="col text-right">
</div>
</div>
<?= $this->session->flashdata('message'); ?>
<?php unset($_SES... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Dashboard | Upzet - Admin & Dashboard Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="Premium Multipurpose Admin & Dashboard Template" name="description" /... |
<main>
<!-- slider Area Start-->
<div class="slider-area ">
<!-- Mobile Menu -->
<div class="single-slider slider-height2 d-flex align-items-center" data-background="<?= base_url('vendor/'); ?>assets/img/hero/contact_hero.png">
<div class="container">
<div class... |
<?php
/*
* Copyright 2008-2010 the original author or authors.
*
* 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... |
<?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... |
@extends('layout.main');
@section('content')
<div class="container">
<h1>{{$comic['title']}}</h1>
<div class="row col-8 offset-2 pt-5">
<form action="{{ route('comics.update', $comic) }}" method="post">
@csrf
@method('PATCH')
<div class="mb-3"> {{-- title --}}
<label for="title" cl... |
<?php echo Form::open(array("class"=>"form-horizontal")); ?>
<fieldset>
<div class="form-group">
<?php echo Form::label('Name', 'name', array('class'=>'control-label')); ?>
<?php echo Form::input('name', Input::post('name', isset($form) ? $form->name : ''), array('class' => 'col-md-4 form-control', 'placeho... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Donator */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="donator-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput(['autofocus'=>'true']) ?>
<... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
use App\Http\Resources\AccountResource;
class StudentResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
publ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBookingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bookings', fun... |
<?php
/**
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyrig... |
<?php
require(__DIR__ . '/common.php');
require(__DIR__ . '/language/' . ForumLanguage . '/favorites.php');
Auth(1);
$Page = Request('Get', 'page');
$TotalPage = ceil($CurUserInfo['NumFavTopics'] / $Config['TopicsPerPage']);
if ($Page < 0 || $Page == 1) {
header('location: ' . $Config['WebsitePath'] . '/favorites... |
<?php
/**
* Template part for displaying page content in page.php.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Strapped
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</hea... |
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
@foreach ($posts as $post)
<url>
<loc>{{ url('/posts/'.$post->post_id) }}</loc>
<lastmod>{{ $post->created_at->tz('UTC')->toAtomString() }}</lastmod>
<chan... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/4/14
* Time: 14:12
*/
namespace app\api\validate;
class AddressNew extends BaseValidate
{
protected $rule = [
'name' => 'require|isNotEmpty',
'mobile' => 'require|isMobile',
'province' => 'require|isNotEmpty',
... |
<?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;
/* ta... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.