text stringlengths 2 1.03M |
|---|
<?php
namespace PhpOffice\PhpSpreadsheet\Calculation;
/* FINANCIAL_MAX_ITERATIONS */
define('FINANCIAL_MAX_ITERATIONS', 128);
/* FINANCIAL_PRECISION */
define('FINANCIAL_PRECISION', 1.0e-08);
/**
* Copyright (c) 2006 - 2016 PhpSpreadsheet.
*
* This library is free software; you can redistribute it and/or
* modi... |
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\Api\Models\Common;
use Commercetools\Api\Models\Channel\ChannelReference;
use Commercetools\Api\Models\CustomerGroup\CustomerGroupReference;
use Commercetools\Api\Models\Type\CustomFields;
use Com... |
<!DOCTYPE html>
<html>
<head>
<title> App- @yield('title')</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/poppe... |
@extends('admin.master')
@section('page-title', 'President Message Information ')
@section('header-section')
<link rel="stylesheet" type="text/css" href="{{ asset('admin') }}/files/bower_components/datatables.net-bs4/css/dataTables.bootstrap4.min.css">
<link rel="stylesheet" type="text/css" href="{{ asset('admin') }... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
//uso de modelos
use App\Viaje;
class ViajeController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
// Retorna la lista de v... |
<?php
class Pessoa{ // CLASSE MÃE "PROGENITORA ou SUPER CLASSE"
//ATRIBUTOS
private $nome, $idade, $sexo;
//GETERS E SETERS
public function getNome(){ return $this->nome;}
public function setNome($nome){$this->nome = $nome; }
//GETERS E SETERS
public function getIdade(){ return $this->ida... |
<?php
namespace gossi\swagger\parts;
use phootwork\collection\Map;
use phootwork\collection\Set;
trait ConsumesPart {
private $consumes;
private function parseConsumes(Map $data) {
$this->consumes = $data->get('consumes', new Set());
}
/**
* Return consumes
*
* @return Set
*/
public function getCons... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class LpRolePermission extends Model
{
//
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\DB;
class CreateUsuarios extends Migration
{
public function up()
{
Schema::create('usuarios', function (Blueprint $table... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
require APPPATH . '/libraries/REST_Controller.php';
use Restserver\Libraries\REST_Controller;
class Peranan extends REST_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model("Tr_peranan_lan... |
<?php
namespace common\models\media;
use Yii;
/**
* This is the model class for table "images".
*
* @property integer $id
* @property string $name
* @property string $path
* @property string $display_name
* @property string $alias
* @property integer $height
* @property integer $width
* @property integer $... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateSubjectsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('subjects', fun... |
@extends('layouts.master-layouts')
@section('title', 'Listar cuentas')
@section('container')
<div class="container">
<h1>Listar cuentas PS3</h1>
<!-- COMPONENTE DE CUENTAS -->
{{--
@component('components.account.index')
@slot('accounts', $accounts)
@endcomponent
--}}
<div class="table-responsive">
... |
<?php
namespace App\Repositories;
use App\Models\Message;
use App\Repositories\BaseRepository;
use Illuminate\Support\Facades\Auth;
/**
* Class MessageRepository
* @package App\Repositories
* @version December 13, 2020, 10:50 am UTC
*/
class MessageRepository extends BaseRepository
{
/**
* @var array
... |
<?hh
function folder4_sub2_fixture() {
echo __DIR__ . "\n";
echo dirname(__FILE__) . "\n";
} |
@extends('todos.layout')
@section('content')
<div class="flex justify-between border-b pb-4 px-4">
<h1 class="text-2x1 pb-4">Update your Todo List</h1>
<a href="{{route('todo.index')}}" class=" mx-5 px-2 text-gray-600 cursor-pointer text-white rounded">
<span class="fas fa-arrow-left"/>Back</a>
</div... |
<?hh
<<__EntryPoint>>
function main_611() {
$a = 't';
$a = 10;
$b = 9;
$a ^= $b;
var_dump($a);
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('page_title') Movie App</title>
<link rel="stylesheet" type="text/css" href="{{ asset('css/main.css') }}">
<livewire:styl... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;600&display=sw... |
@extends('admin.main')
@section('content')
<!-- Main Content -->
<div id="content">
<!-- Topbar -->
@include('admin.include.topbar')
<!-- End of Topbar -->
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 clas... |
<?php
use App\Api\V1\Enums\CassaAccessType;
use App\Api\V1\Enums\Currency;
use App\Database\Blueprint;
use App\Database\Migration;
class CreateCassaTable extends Migration
{
public function up(): void
{
$this->schema->create('cassas', function (Blueprint $table) {
$table->increments('id');... |
<?php
/**
* Contact Form plugin for Craft CMS 3.x
*
* Sends an email to Zendesk
*
* @link https://trendyminds.com/
* @copyright Copyright (c) 2018 Trendyminds
*/
/**
* Contact Form config.php
*
* This file exists only as a template for the Contact Form settings.
* It does nothing on its own.
*
* Don'... |
@extends('layouts.dashboard')
@section('content')
<div class="col-lg-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-md-10">
<h4 class="card-title">Show Product 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\Bundle\FrameworkBundle\Templating;
use Symfony\Component\Depend... |
<div class="card card-custom">
<div class="card-body">
<?php
if ($privilege['create']) { // jika memiliki privilege tambah data / create
echo '<div class="text-right">'
. '<div class="form-group">'
. '<button type="button" class="btn btn-primary mr-2" data-toggle=... |
<?php
class Klevu_Search_Model_Config_Log_Level extends Mage_Core_Model_Config_Data
{
/**
* Return the log level value. Return Zend_Log::WARN as default, if none set.
*
* @return int
*/
public function getValue()
{
$value = $this->getData('value');
return ($value != n... |
<?php
namespace AlibabaCloud\Polardbx;
/**
* @method string getDbInstanceName()
* @method $this withDbInstanceName($value)
* @method string getKeys()
* @method $this withKeys($value)
* @method string getEndTime()
* @method $this withEndTime($value)
* @method string getStartTime()
* @method $this withStartTime... |
<?php
namespace GoRemote\Controller;
use Silex\Application;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class HomepageController
{
public function indexAction(Request $request, Application $app)
{
$latestJobs = (new \GoRemote\Model\JobModel())->getLatestJo... |
<?php
namespace Ap\Tender\Controllers;
use Ap\Tender\Models\Company;
use Backend\Classes\Controller;
use Backend\Facades\Backend;
use Backend\Facades\BackendAuth;
use Backend\Facades\BackendMenu;
use Event;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades... |
<?php
/**
* Combyna
* Copyright (c) the Combyna project and contributors
* https://github.com/combyna/combyna
*
* Released under the MIT license
* https://github.com/combyna/combyna/raw/master/MIT-LICENSE.txt
*/
namespace Combyna\Plugin\Core\Renderer\Html\WidgetRenderer;
use Combyna\Component\Program\ProgramI... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\MerchantData\Enums;
class BestOfferActionCodeType
{
const C_ACCEPT = 'Accept';
con... |
@extends('layouts.app')
@section('title', trans('main.user_profile.my_profile'))
@section('content')
<div class="ogami-breadcrumb">
<div class="container">
<ul>
<li>
<a class="breadcrumb-link" href="{{ route('home') }}"> <i class="fas fa-home"></i>@lang('main.home')</a>
... |
<?php
namespace App\Http\Middleware;
use App\Providers\RouteServiceProvider;
use Closure;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Redirect;
use SebastianBergmann\CodeCoverage\Report\Html\Dashboard;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @p... |
<?php
namespace Psalm\Internal\Analyzer\Statements\Expression;
use PhpParser;
use Psalm\CodeLocation;
use Psalm\Codebase;
use Psalm\Context;
use Psalm\Internal\Analyzer\Statements\ExpressionAnalyzer;
use Psalm\Internal\Analyzer\StatementsAnalyzer;
use Psalm\Internal\Codebase\TaintFlowGraph;
use Psalm\Internal\Codebase... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use common\models\User;
/* @var $this yii\web\View */
/* @var $model common\models\User */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="user-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'user_name')->textInput(['maxl... |
<?php
use App\Http\Controllers\BotManController;
$botman = resolve('botman');
$botman->hears('Inscription', BotManController::class.'@signupConversation');
$botman->hears('Joke', BotManController::class.'@jokeConversation');
$botman->hears('Button', BotManController::class.'@buttonConversation'); |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Admin\AdminController;
class DashboardController extends AdminController {
//
public function index() {
return $this->view('admin.dashboard.index');
}
} |
<?php
/*
* This file is part of the Conveyor package.
*
* (c) Jeroen Fiege <jeroen@webcreate.nl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Webcreate\Conveyor\Config\Definition\Builder;
use Symfony\Component\Confi... |
<?php
declare(strict_types=1);
/*
* This file is part of gpupo/common-schema
* Created by Gilmar Pupo <contact@gpupo.com>
* For the information of copyright and license you should read the file
* LICENSE which is distributed with this source code.
* Para a informação dos direitos autorais e de licença você deve ... |
<?php
namespace App\Ninja\Transformers;
use App\Models\Account;
use App\Models\Client;
use App\Models\Invoice;
/**
* @SWG\Definition(definition="Invoice", required={"invoice_number"}, @SWG\Xml(name="Invoice"))
*/
class InvoiceTransformer extends EntityTransformer
{
/**
* @SWG\Property(property="id", type="... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Quiz_Question_Option extends Model
{
use HasFactory;
public $table = "Quiz_Question_Option";
public $timestamps = false;
protected $primaryKey = 'Quiz_Question_Option_Id';
... |
<div class='text'>Списки абитуриентов, подавших заявления о приёме на специальности(на 20 августа 2015)</div>
<br>
<div class='text header_underline'>На базе 9 классов (коммерческая основа)</div>
<div class='divider'></div>
<ul>
<li><a class='link' onclick='DocumentBox("/files/EC.pdf");'>Экономика и бухгалтерски... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class User extends CI_Model{
function __construct() {
$this->tableName = 'users';
$this->primaryKey = 'id';
}
public function checkUser($data = array()){
$this->db->select($this->primaryKey);
$this->db... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class satisfaction extends Model
{
protected $table = 'satisfaction';
} |
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... |
<?php
use app\modules\catalog\models\FinTool;
use app\modules\catalog\models\Period;
use app\modules\news\models\News;
use app\modules\news\models\NewsData;
use yii\bootstrap\Html;
use yii\helpers\ArrayHelper;
/**
* @var $this yii\web\View
* @var $model app\modules\news\models\News
* @var $associated News[]
* @va... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Room;
use App\RoomTypes;
use App\Post;
use App\Category;
class FrontController extends Controller
{
public function index()
{
}
public function getShowFacility()
{
$roomCounts = [];
$rooms=Room::a... |
<?php
namespace wickedsoft\NetBox\Api\Virtualization;
use wickedsoft\NetBox\Api\AbstractApi;
class Clusters extends AbstractApi
{
/**
* @param $params
* @return mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function add($params=[])
{
return $this->post("/virt... |
<?php
namespace Tweeter\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'password',
'password_... |
<?php
/**
* Copyright 2013 François Kooman <fkooman@tuxed.net>
*
* 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 ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddIsGradeAdminToUsers extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', func... |
<?php
// This test is invoked by pdo_1063_locale_configs.phpt
function dropTable($conn, $tableName)
{
$tsql = "IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'" . $tableName . "') AND type in (N'U')) DROP TABLE $tableName";
$conn->exec($tsql);
}
function printMoney($amt, $info)
{
// Th... |
#!/bin/env php
<?php
trait bar {
public function call() {
var_dump(self::class);
var_dump(__CLASS__);
var_dump(array(__CLASS__ => __CLASS__));
}
}
function a() {
var_dump(__CLASS__);
}
class foo { use bar; }
class baz extends foo {}
<<__EntryPoint>>
function main_class() {
var_dump(__CLASS__);
a()... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... |
<?php
$dari_tgl =($this->input->get("tgl_trans"))?$this->input->get("tgl_trans"):date("d/m/Y",strtotime("-1 Days"));
$no_trx=$this->input->get("n");
$disable=($no_trx)?"":"disabled-action";
?>
<section class="wrapper">
<div class="breadcrumb margin-bottom-10">
<?php echo breadcrumb();?>
<div c... |
<?php $__env->startSection('content'); ?><p>The Home Office has repatriated an orphaned British child from Syria for the first time since November.</p>
<p>The child, who cannot be identified, was brought back to the UK after the Islamic State collapsed.</p>
<p>The Guardian reports that Save The Children had been look... |
<?php
use Illuminate\Database\Seeder;
class DealerSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
\App\User::create([
'name' => 'Dealer',
'email' => 'dealer@test.com',
'email_verified_at' => n... |
<?php
class Subarea_model extends CI_Model
{
function __construct()
{
parent::__construct();
}
//function menampilkan data Subarea
function getSubarea()
{
$query=$this->db->query("select * from subarea");
foreach ($query->result_array() as $row) {$array[] = $row;}
if (!isset($array)) { ... |
<?php
namespace App\Http\Controllers;
use App\data;
use Illuminate\Support\Facades\DB;
use Illuminate\Http\Request;
use App\AppService\ApplicationService;
class DataController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public fun... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
class Blog extends Model
{
use Notifiable;
protected $table = 'blogs';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'catg_id'... |
<?php
namespace Erp\Models\Gender;
use Dimsav\Translatable\Translatable;
use Erp\Models\ProjectModel;
use Erp\Models\User\User;
use Illuminate\Database\Eloquent\Model;
class Gender extends ProjectModel
{
use Translatable;
const NAME = 'gender_name';
const STATUS = 'status';
public $timestamps = fal... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php $title = "شرکت افراگسترنوین-ثبت نام"; ?>
<?php
class Content{
public $h;
}
?>
<?php
/*if((isset($_COOKIE['time'])) && isset($_COOKIE['firstname']) && isset($_COOKIE['lastname']) && isset($_COOKIE['national_code']) && isset($_COOKIE['email'])){
header("Location: verify-email.php");
... |
<?php
namespace Rennokki\Plans\Helpers;
class StripeHelper
{
public static $stripeZeroDecimalCurrencies = [
'BIF', 'CLP', 'DJF', 'GNF', 'JPY', 'KMF', 'KRW',
'MGA', 'PYG', 'RWF', 'UGX', 'VND', 'VUV', 'XAF', 'XOF', 'XPF',
];
/**
* Check if the currency is zero decimal currency.
*
... |
@extends('layouts.adminex')
@section('title', 'Submissões')
@section('content')
<h1 class="pull-left">Submissões</h1>
<a class="btn btn-primary pull-right" style="margin-top: 25px" href="{!! route('submissoes.create') !!}">Adcionar Novo</a>
<div class="clearfix"></div>
@include('flas... |
<?php
declare(strict_types=1);
namespace DcrPHP\Form\Driver;
use DcrPHP\Form\Concerns\Element;
class Textarea extends Element
{
public function html()
{
// TODO: Implement html() method.
$html = '';
if ($this->label && $this->label instanceof Label) {
$html .= $this->lab... |
<?php
namespace Garbetjie\Laravel\JsonApi\Extractors;
use Garbetjie\Laravel\JsonApi\IncludeExtractorInterface;
use Illuminate\Contracts\Pagination\Paginator;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Collection;
use function collect;
use function explode;
use function Garbetjie\Laravel\JsonApi\to... |
<?php
namespace Krishna\DataValidator\Types;
use Krishna\DataValidator\Returner;
use Krishna\Utilities\Base64;
class String64BinType implements \Krishna\DataValidator\TypeInterface {
use \Krishna\Utilities\StaticOnlyTrait;
const Name = 'string:{Base64URL encoded}';
public static function validate($value, bool $all... |
<?php
namespace App\Http\Controllers;
use App\Models\Departamentos;
use Illuminate\Http\Request;
class DepartamentosController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Dashboard</div>
<div class="panel-body">
You are logged ... |
@extends('layouts.admin_layout')
@section('title','Изменить характеристику')
@section('content')
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0">Изменить характеристику</h1>
... |
<?php
/**
* flightzilla
*
* Copyright (c) 2012-2013, Hans-Peter Buniat <hpbuniat@googlemail.com>.
* 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 m... |
<?php
namespace Psalm\Tests;
use Psalm\Context;
use Psalm\Tests\Traits\InvalidCodeAnalysisTestTrait;
use Psalm\Tests\Traits\ValidCodeAnalysisTestTrait;
use Psalm\Type;
class ArrayAssignmentTest extends TestCase
{
use InvalidCodeAnalysisTestTrait;
use ValidCodeAnalysisTestTrait;
public function testCondi... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\HasilProyeksiLp */
$this->title = 'Update Hasil Proyeksi Lp: ' . $model->no_proyeksi;
$this->params['breadcrumbs'][] = ['label' => 'Hasil Proyeksi Lps', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->no_pro... |
@extends('admin.layout')
@section('title', 'Новый партнер')
@section('content')
<div class="card card-primary card-outline mb-0">
<form action="{{ route('partners.store') }}" method="post">
@csrf
@method('post')
<div class="card-body p-0">
<table class="table">
<thead>
<tr>
<th style... |
<!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">
<title> About Us - {{ env('AUTHOR') }} </title>
<meta name="author" content="{{ env('AUTHOR') }}">
<meta name="description" content="{... |
<section id="luxury-rooms" class="section-padding">
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-6 luxury-img luxury-room-imgs">
<div class="row">
<div class="col-xs-6 col-sm-6 luxury-room-block">
<a ... |
<?php
/* SonataAdminBundle:Form:form_admin_fields.html.twig */
class __TwigTemplate_a3a76e8548466d59500242db037ff9bec97f4cd4553471af9ca820031583b314 extends Sonata\CacheBundle\Twig\TwigTemplate14
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 12
... |
<?php
class Contact{
// database connection and table name
private $conn;
private $table_name = "contact";
// object properties
public $_id;
public $name;
public $phone;
public $email;
public $address;
public $latitude;
public $longitude;
public $contact_image;
/... |
<style>
img.entryImage {
width: 90px;
height: 70px;
border-radius: 10px;
}
</style>
<div class="main-panel">
<div class="content-wrapper">
<div class="row">
<div class="col-md-12">
<h3 style="display:inline;" class="card-title"><?= $pageTitle = "J... |
<?php
include "header.php" ;?>
<div id="page">
<div id="content">
<?php
if (isset($_GET['research'])) {
include("research.php");
}
else if (isset($_GET['publi'])) {
include("publications.php");
}
else if (isset($_GET['teaching'])) {
inclu... |
@extends('main')
@section('title', '| Create New Question')
@section('stylesheets')
{!! Html::style('css/parsley.css') !!}
{!! Html::style('css/select2.min.css') !!}
<script src="{{ URL::to('src/js/vendor/tinymce/js/tinymce/tinymce.min.js') }}"></script>
<script>
var editor_config = {
he... |
<?php
namespace App\Console\Commands;
use App\Helpers\Util;
use App\Imports\ProductsImport;
use App\Models\product;
use App\Models\product_category;
use App\Models\product_extend;
use App\Models\product_master;
use App\Models\product_unit;
use App\Models\unit_master;
use Illuminate\Console\Command;
use Illuminate\Sup... |
]<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCommentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('comments', fu... |
<?php include 'extension/header.php'; ?>
<section class="category">
<div class="container ">
<div class="row container">
<div class="col-md-8 text-left">
<div class="row ">
<div class=" col-md-12 col-lg-8 col-sm-12">
<ol class="breadcrumb">
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
protected $guarded = [];
public function orderable(){
return $this->morphTo();
}
public function product(){
return $this->belongsTo('App\Models\Product');
}
} |
<?php
class TicketAutoreply extends Eloquent {
protected $table = 'ticket_autoreply';
public static $unguarded = true;
public function deps()
{
return $this->belongsToMany('TicketDeps', 'ticket_autoreply_deps');
}
public function actions()
{
return $this->belongsToMany('TicketActio... |
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>@yield('meta-title', config('app.name') . " | Cool")</title>
<meta name="description" content="@yield('me... |
<div class="navbar-custom">
<ul class="list-unstyled topbar-menu float-end mb-0">
<li class="notification-list">
<a class="nav-link end-bar-toggle" href="{{ route('home') }}" title="Home">
<i class="dripicons-home noti-icon"></i>
</a>
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="profileArea">
<?php featureheader($siteinfos)?>
<div class="mainArea">
<div class="areaTop">
<div class="studentImage">
<img class="studentImg" src="<?=pdfimagelink($teacher->photo)?>" alt="">
... |
<?php echo _css('selectize,datepicker') ?>
<ul id="top-page" class="">
<li><a href="#sample-card-box-title" target="_blank"> Card Box</a></li>
<li><a href="#sample-panel-title" target="_blank"> Panel</a></li>
<li><a href="#sample-panel-lte-title" target="_blank"> Panel Style LTE 3</a></li>
<li><a href="<?php echo ... |
<?php
class Projectdelegation_model extends CI_model{
public function getprojectdelegation($limit, $start){
$user_id = $this->session->userdata['id'];
$this->db->limit($limit, $start);
$this->db->where("user_id", $user_id);
$query = $this->db->get("project_delegation");
if ($query->num_rows() > 0) {
... |
<?php
/**
* This file contains the NullDispatcherTest class.
*
* @package Lunr\Spawn
* @author Leonidas Diamantis <leonidas@m2mobi.com>
* @copyright 2014-2018, M2Mobi BV, Amsterdam, The Netherlands
* @license http://lunr.nl/LICENSE MIT License
*/
namespace Lunr\Spawn\Tests;
use Lunr\Halo\LunrBaseTe... |
<?php
declare(strict_types=1);
/*
* This file is part of eelly package.
*
* (c) eelly.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Eelly\SDK\Live\Api;
use Eelly\SDK\EellyClient;
use Eelly\SDK\Live\Service\LabelR... |
@extends('layouts.app')
@section('content')
<div class="container">
@if (session('mssg') !== null)
<div class="alert alert-{{session('alerttype')}} alert-dismissible fade show" role="alert">
{{ session('mssg') }}
<strong> </strong>
<button type="button" ... |
<?php
/**
* Autogenerated by Thrift Compiler (0.13.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
use Thrift\Base\TBase;
use Thrift\Type\TType;
use Thrift\Type\TMessageType;
use Thrift\Exception\TException;
use Thrift\Exception\TProtocolException;
use Thrift\Protocol\TProt... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCompaniesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('companies', f... |
<?php
namespace App\Http\Livewire\Component;
use Livewire\Component;
class SideMenu extends Component
{
public function render()
{
return view('livewire.component.side-menu');
}
} |
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.