text stringlengths 2 1.03M |
|---|
<!DOCTYPE html>
<html lang="en"> <!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="News - Clean HTML5 and CSS3 responsive template">
<meta name="author" content="MyPassion">
<meta name="viewport" content="width=device-width, initial... |
<?php
/* partials/blueprints-new-folder.html.twig */
class __TwigTemplate_9346cd60f34142d27cfb4c919cb016bb9e5da783a1a6d39486b13993a7c1186f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arr... |
<?php
/*
* WellCommerce Open-Source E-Commerce Platform
*
* This file is part of the WellCommerce package.
*
* (c) Adam Piotrowski <adam@wellcommerce.org>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace WellCommerce\Bu... |
<?php
Route::group(array('module' => 'Reports', 'middleware' => ['auth:admin'], 'namespace' => 'App\Modules\Reports\Controllers'), function() {
$getUrl = config('global.getUrl');
//Pre sales my report
Route::get('/reports/getEnquiryReport', 'ReportsController@getEnquiryReport');
Route::post('/reports/g... |
<?php
namespace PagarMe\SdkTest\BalanceOperation\Request;
use PagarMe\Sdk\BalanceOperation\Request\BalanceOperationList;
use PagarMe\Sdk\RequestInterface;
class BalanceOperationListTest extends \PHPUnit_Framework_TestCase
{
const PATH = 'balance/operations';
public function balanceOperationListParams()
... |
<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
public function index(){
$this->show('hello world!');
}
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ContactController extends Controller
{
public function getContactPage()
{
return view('contact.index');
}
public function getFaqPage()
{
return view('faq.index');
}
public function getLegalPage... |
<?php
$lp=round($_SESSION['prem_plan_name']['prem']);
$rp=round($this->premcal_model->get_riskprem());
$pdabt='';
$adbt='';
$cit='';
$hist='';
$sphit='';
$fchit='';
$schit='';
$oet='';
$aage=$_SESSION['prem_plan_name']['AGE'];
if (isset($_SESSION['prem_plan_nam... |
<?php
namespace Cable\View;
interface BootableDriverInterface
{
/**
* @param array $options
* @return mixed
*/
public function boot(array $options = []);
} |
<html>
<head>
<title>Form Ubah - CRUD Codeigniter</title>
</head>
<body>
<h1>Form Ubah Data Mahasiswa</h1>
<hr>
<!-- Menampilkan Error jika validasi tidak valid -->
<div style="color: red;"><?php echo validation_errors(); ?></div>
<?php echo form_open("siswa/ubah/".$siswa->nis); ?>
<table cellpaddin... |
<?php
namespace Filament\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Str;
class MakeRelationManagerCommand extends Command
{
use Concerns\CanIndentStrings;
use Concerns\CanManipulateFiles;
use Concerns\CanValidateInput;
protected $description = 'Creates a Filament relation manag... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTweetsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tweets', functio... |
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
class PersonInstitutionContactsGotChanged extends Broadcastable
{
protected $personIntitution;
/**
* Create a new event instance.
*
* @param $personIntitution
*/
public function __construct($personIntitution)
{
... |
<?php
class Mandrill_Invalid_Key extends Mandrill_Error
{
} |
<?php
namespace wokcrontab\common\model;
use think\Model;
class WokCrontabApp extends Model
{
protected $name = 'wok_crontab_app';
protected $autoWriteTimestamp = 'datetime';
} |
<?php return array (
'providers' =>
array (
0 => 'Illuminate\\Auth\\AuthServiceProvider',
1 => 'Illuminate\\Broadcasting\\BroadcastServiceProvider',
2 => 'Illuminate\\Bus\\BusServiceProvider',
3 => 'Illuminate\\Cache\\CacheServiceProvider',
4 => 'Illuminate\\Foundation\\Providers\\ConsoleSuppor... |
<?php
namespace Codderz\YokoLite\Shared\Macros;
use Closure;
use Illuminate\Support\Arr;
use Laravel\SerializableClosure\Support\ReflectionClosure;
class EventMacros
{
public function flushClassListeners(array $except = [])
{
return function (array $except): void {
foreach ($this->listene... |
<?php
namespace Exa\ProdeBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* UsuarioRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class UsuarioRepository extends EntityRepository
{
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTableArticles extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('articles', fun... |
--TEST--
Bug #42183 (classmap cause crash in non-wsdl mode )
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
class PHPObject {
}
$req = <<<EOF
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://ws.sit.com" SOAP-ENV:encod... |
<?php
namespace AnourValar\EloquentFile\Handlers\Models\FilePhysical\Visibility;
use AnourValar\EloquentFile\FilePhysical;
use AnourValar\EloquentFile\FileVirtual;
use Illuminate\Http\UploadedFile;
class ProtectedVisibility extends PrivateVisibility implements DirectAccessInterface
{
/**
* {@inheritDoc}
... |
<?php
namespace common\auth\models;
use common\helpers\EduYearHelper;
use common\moderation\behaviors\ModerationBehavior;
use common\moderation\interfaces\YiiActiveRecordAndModeration;
use dictionary\helpers\DictClassHelper;
use dictionary\helpers\DictSchoolsHelper;
use dictionary\models\DictSchools;
use yii\behavio... |
<?php
use yii\helpers\HtmlPurifier;
use backend\controllers\TasksTypesController;
/* @var $this yii\web\View */
/* @var $model common\models\TasksTypes */
$this->title = $model->name . HtmlPurifier::process(' — ' . TasksTypesController::ROOT_LABEL . ' | ') . Yii::$app->name;
$this->params['breadcrumbs'][] = Ta... |
@extends('admin.layouts.main')
@section('main_content')
<div class="m-content">
<div class="m-portlet m-portlet--mobile">
<div class="m-portlet__head">
<div class="m-portlet__head-caption">
<div class="m-portlet__head-title">
<h3 class="m-portlet__head-text">... |
<?php
namespace App\Http\Controllers\PriceList;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Log;
class ConvertToPdfFileController extends Controller
//עדיין לא טופל ולא סיימתי טיפל
{
publ... |
<?php echo form_open('acknowledge_post/add',array("class"=>"form-horizontal")); ?>
<div class="form-group">
<div class="col-sm-offset-4 col-sm-8">
<button type="submit" class="btn btn-success">Save</button>
</div>
</div>
<?php echo form_close(); ?> |
<?php
namespace Rexlabs\Smokescreen\Resource;
use Rexlabs\Smokescreen\Serializer\SerializerInterface;
use Rexlabs\Smokescreen\Transformer\TransformerInterface;
interface ResourceInterface
{
/**
* Get the resource key.
*
* @return string|null
*/
public function getResourceKey();
/**
... |
@extends('master')
@section('content')
<div class="card">
<div class="card-header">
<h3 class="card-title">DataTable with default features</h3>
</div>
<!-- /.card-header -->
<div class="card-body">
<table id="example1" class="table table-bordered table-striped">
<the... |
<?php
include "../../../globals.php";
if (isset($_POST['submit'])) {
require "../../../keezerdb.php";
require "../../../common.php";;
try {
$connection = new PDO($dsn, $username, $password, $options);
// build array for _POST beers submitted to add
$new_beer = array(
"beername" => $_PO... |
@extends('layout')
@section('content')
<div class="banner container">
@include('profiles.profilebanner.banner')
</div>
<div class="right-container col-sm-4 float-sm-right">
@auth
<div class="booking-button">
<button type="button" class="btn btn-primary btn... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2015-11-10 09:50:57 --> Severity: 8192 --> mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead E:\www\projects\ciblog\system\database\drivers\mysql\mysql_driver.php 73
ERR... |
@extends('driver.layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Reset Password') }}</div>
<div class="card-body">
<f... |
<?php
class Language {
private $default = 'english';
private $directory;
private $data = array();
public function __construct($directory) {
$this->directory = $directory;
}
public function get($key) {
return (isset($this->data[$key]) ? $this->data[$key] : $key);
}
public function load($filename) {
$fil... |
<form method="post" action="<?php echo site_url('admin/insert_submit/');?>">
<table class="table table-striped">
<tr>
<td>Username</td>
<td><input type="text" name="username" value="" required="" class="form-control"><?php echo form_error('username', '<small class="text-danger">', '</small>') ;?></td>
</tr>... |
<?php
namespace App\Http\Controllers;
use App\Mail\EmailVerification;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Mail;
class AuthController extends Controller
{
public fun... |
@extends('admin.master')
@section('header')
<meta name="csrf-token" content="{{ csrf_token() }}"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700">
<!-- Icons -->
<link rel="stylesheet" href="{{ asset('assets/vendor/nucleo/css/nucleo.css') }}" type="text/c... |
<?php
require_once '../lib/Igo.php';
$encode = "UTF-8";
ini_set("memory_limit", "1073741824"); //1024^3
$text = mb_convert_encoding(file_get_contents("C:/Users/hirai/sanshodayu.txt"), $encode, "Shift_JIS");
$igo = new Igo("C:/Users/hirai/ipadic");
$bench = new benchmark();
$bench->start();
$result = $igo->parse($tex... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateOfflineScoreSheetsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('offl... |
@include('includes.messages')
<section class="subscribe-area ptb-100">
<div class="container">
<div class="section-title">
<h2>با جامعه ما ارتباط برقرار کنید</h2>
<div class="bar"></div>
<p>لطفا ایمیل خود را وارد نمایید تا از تازه ترین اخبار و مسابقات ... |
<?php
/**
* The template for displaying Comments
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to twentytwelve_comment() which is
* located in the functions.php file.
*
* @package WordPress
* @subpackage Twenty_Twe... |
<?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;
use Illuminate\Database\Eloquent\Model;
class tbl_1602Q extends Model
{
protected $connection = 'mysql2';
protected $fillable = [
'form_no',
'company_id',
'item1',
'item2',
'item3',
'item4',
'item5',
'item11',
'item13',
'item13A',
'item14',
'item15',
'ite... |
<?php namespace Redooor\Redminportal\Test;
use Auth;
class EditAuthenticateTest extends BaseAuthenticateTest
{
/**
* Constructs dataset for tests later
**/
public function __construct()
{
$this->test_pages = [
'admin/groups/edit/1',
'admin/products/edit-variant/1/... |
@extends('backend.layouts.master')
@section('content')
<div id="layoutSidenav_content">
<main>
<div class="container-fluid">
<h3 class="mt-4">IMS_POS</h3>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
<li cl... |
<?hh
if (apc_add('i_was_already_run', 1)) {
include 'enum-cache-1.inc';
} else {
include 'enum-cache-2.inc';
}
enum Bar: int {
VALUE = Foo::ABC;
}
var_dump(Bar::getValues()); |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
declare(strict_types=1);
/**
* This file has been auto generated
* Do not change it.
*/
namespace Commercetools\History\Models\Common;
use Commercetools\Base\Builder;
use Commercetools\Base\DateTimeImmutableCollection;
use Commercetools\Base\JsonObject;
use Commercetools\Base\JsonObjectModel;
use Commerceto... |
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
* @var bool
*/
protected $addHttpCookie = true;
/**
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
require APPPATH . '/libraries/REST_Controller.php';
class File2 extends REST_Controller {
/**
@Name File Controller
Description: Class represents controller for File module REST API CALL
Operations : uploadFile
@Author... |
<?php
namespace Sammyjo20\Saloon\Traits;
use Illuminate\Support\Arr;
use Sammyjo20\Saloon\Exceptions\SaloonMissingAttributeException;
trait CollectsAttributes
{
/**
* Attributes passed into the constructor of the request.
*
* @var array
*/
protected array $requestAttributes = [];
/**... |
<?
$BOOLEAN_ARRAY = array(
YES_VALUE => "是",
NO_VALUE => "否",
);
$VISIBLE_ARRAY = array(
YES_VALUE => '启用',
NO_VALUE => '停用',
);
$CURRENCY_SIGN = array(
'USD'=>'US$',
'EUR'=>'€',
'GBP'=>'£',
'AUD'=>'AU$',
'CAD'=>'C$',
'CHF'=>'CHF',
'CNY'=>'¥',
'SGD'=>'S$',
'AED... |
<!-- Footer -->
<div id ="footer">
<div class="container">
<div class="row">
<div class="col-md-12">
<span>© Copyright 2021 raihanuddin2002 | Powered by <a class='yahoo-baba' href="http://yahoobaba.net/">Yahoo Baba</a></span>
</div>
</div>
</div>
</div>
<!... |
<?php
namespace app\manage\model;
use think\Model;
class Product extends Model
{
protected $pk = 'id';
}
?> |
<?php
namespace Elasticquent;
use Illuminate\Support\ServiceProvider;
class ElasticquentServiceProvider extends ServiceProvider
{
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
$this->publishes([
__DIR__.'/config/elasticquent.php' => config_... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddNameToAuthorsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('authors', fun... |
<?php
namespace spec\MageTest\PhpSpec\MagentoExtension\Locator\Magento;
use PhpSpec\ObjectBehavior;
class ControllerLocatorSpec extends ObjectBehavior
{
private $srcPath;
private $specPath;
function let()
{
$this->srcPath = realpath(__DIR__.'/../../../../../../src');
$this->specPath... |
<?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding yo... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Pages extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->library('pagination');
$this->load->model('pages_model');
}
public function index()
{
$data[... |
<?php
namespace Modules\Calendar\Http\Controllers;
use App\Http\Controllers\Controller;
use Modules\Calendar\Http\Controllers\Base\CalendarController;
class CalendarCustomController extends CalendarController
{
} |
<?php
namespace Database\Factories;
use App\Models\Lab;
use App\Models\Matkul;
use App\Models\Model;
use App\Models\User;
use App\Models\Practice;
use Illuminate\Database\Eloquent\Factories\Factory;
class PracticeFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @v... |
<?php
class Notes_model extends CI_Model{
public function __construct()
{
$this->load->database();
}
public function add_notes($notetitle, $notecontent)
{
$data = array
(
'note_title' => $notetitle,
'note_content' => $notecontent,
'note_date' => tim... |
<?php
namespace App\Http\Controllers;
use App\dosen;
use App\prodi;
use App\mahasiswa;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class MahasiswaController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public fu... |
<?php
namespace Acme\TerminalOmnibusBundle\Repository;
use Doctrine\ORM\EntityRepository;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\NoResultException;
use Acme\TerminalOmnibusBundle\Entity\Estacion;
class ImpresoraOperacionesRepository extends EntityRepository
{
public function getImpresoraOperacionesPor... |
<?php
namespace SHSharkar\Laravel6MultiAuth\Commands;
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
use Symfony\Component\Console\Input\InputOption;
abstract class InstallCommand extends Command
{
/**
* The filesystem instance.
*
* @var \Illuminate\Filesystem\Filesystem
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Estoque extends Model {
protected $table = "estoques";
protected $fillable = ["nome", "endereco", "cidade_id"];
public function cidade() {
return $this->belongsTo("App\Cidade");
}
public function produto_estoques() {
... |
@extends('layouts/app')
@section('title')
Transacties
@endsection
@section('content')
<div class="menuTransaction">
<form action="" method="POST">
@csrf
<input type="submit" value="Actief" name="mode" id="activeTrans">
<input type="submit" value="Geschiedenis" name=... |
<?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.
*/
namespace cpn\chanpan\classes;
use Yii;
class CNMessage {
public static function JsonResponses(){
return \Yii::$app... |
<?php
/**
* File Name: register.blade.php
* Description: 会员注册模板文件
* Created by PhpStorm.
* Auth: Showkw
* Date: 2017/6/4
* Time: 19:02
*/
?>
@extends('home.layout')
@section('title', '用户注册-爱淘宝-淘宝网购物分享平台')
@section('content')
@include('home.public.headNav')
<!--内容开始-->
<form method="post" action="/aut... |
<?php
/**
* Shopgate GmbH
*
* URHEBERRECHTSHINWEIS
*
* Dieses Plugin ist urheberrechtlich geschützt. Es darf ausschließlich von Kunden der Shopgate GmbH
* zum Zwecke der eigenen Kommunikation zwischen dem IT-System des Kunden mit dem IT-System der
* Shopgate GmbH über www.shopgate.com verwendet werden. Eine darü... |
@include('snapgrow.layout.head')
@include('snapgrow.layout.header')
<!-- section 1 -->
<div class="hero_image" id='top'>
<div class="hero_text">
<h1>Expert Social Media Management.</h1>
<p>Lower your online customer acquisition <br>
cost to 10 cents per customer.</p>
</div>
</div>
<!-- section 2 -->
<div clas... |
@extends("layouts.master")
@section("styles")
<link href='https://fonts.googleapis.com/css?family=PT+Sans&subset=latin' rel='stylesheet' type='text/css'>
<link rel='stylesheet' href='https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css'>
<script src='https://api.mapbox.com/mapbox-gl-js/v0.50.... |
<?php
namespace App\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Twig\Environment as Twig;
final class CvController
{
private Twig $twig;
private $jsonFile;
public function __construct(Twig $t... |
<?php
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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/LICENS... |
<?php
declare(strict_types=1);
/*
* +----------------------------------------------------------------------+
* | ThinkSNS Plus |
* +----------------------------------------------------------------------+
* | Copyright (c) 2018 Chengdu ZhiYiChuangXiang Technol... |
<?php
/*
* interfaces_ppps_edit.php
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2004-2016 Rubicon Communications, LLC (Netgate)
* Copyright (c) 2010 Gabriel B. <gnoahb@gmail.com>
* All rights reserved.
*
* originally based on m0n0wall (http://m0n0.ch/wall)
* Copyright (c) 2003-2004 Manuel Kas... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use DB;
use Carbon\Carbon;
use Mail;
class ForgotPasswordController extends Controller
{
public function getEmail()
{
return view('auth.passwords.email');
}
... |
--TEST--
Bug #46408 (Locale number format settings can cause pg_query_params to break with numerics)
--SKIPIF--
<?php
require_once('skipif.inc');
if (false === setlocale(LC_ALL, "de", "de_DE", "de_DE.ISO8859-1", "de_DE.ISO_8859-1", "de_DE.UTF-8")) {
echo "skip Locale de-DE not present";
}
?>
--FILE--
<?php
require... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class clienteM extends CI_Model {
public function get_cliente(){
$pa_consultar="CALL pa_consultar()";
$query=$this->db->query($pa_consultar);
if($query->num_rows()>0){
return $query->result();
}else{
return false;
}
}
public fun... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/**
*
*/
class CostSaving extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model("Tasklist_model");
$this->load->model("Tasklog_model");
$this->load->model("Costsaving_model");... |
<?php
use yii\helpers\Html;
use kartik\grid\GridView;
use yii\helpers\Url;
use dosamigos\chartjs\ChartJs;
use yii\web\JsExpression;
use yii\bootstrap\Modal;
use kartik\widgets\ActiveForm;
use kartik\widgets\DatePicker;
use kartik\daterange\DateRangePicker;
/* @var $this yii\web\View */
/* @var $searchModel app\models... |
<?php
/**
* UpdateFormMetaDataRequest
*
* @category Class
* @package NecLimDul\MarketoRest\Asset
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* Marketo Rest API
*
* Marketo Rest API
*
* OpenAPI spec version: 1.0
* Contact: developerfeedback@marketo.co... |
<?php
namespace app\common\model;
class Banner extends BaseModel
{
public function items()
{
return $this->hasMany('BannerItem', 'banner_id', 'id');
}
/**
* @param $id int banner所在位置
* @return Banner
*/
public static function getBannerById($id)
{
$banner = self:... |
<?php
/**
* @author: Raul Rodriguez - raulrodriguez782@gmail.com
* @created: 6/21/13 - 6:06 PM
*
*/
namespace spec\D4m\NgnFeed\Ebay\Security\Auth;
use PhpSpec\ObjectBehavior;
class CredentialsSpec extends ObjectBehavior
{
function it_should_initialize()
{
$this->shouldHaveType('D4m\NgnFeed\Ebay\... |
<?php
// *************************************************************************
// * *
// * Top Classified Software *
// * Copyright (c) Top Classified Software. All Rights Reserved, *
// * R... |
@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">Reset Password</div>
<br>
<br>
<br>
... |
<?php
namespace Hazaar\Model;
/**
* Strict model child array
*
* The ChildArray class is designed to simple wrap the standard functions of a
* PHP array with the difference that it is instantiated with a data type that
* all the values it contains will be converted to.
*
* @version 1.0
* @author JamieCarl
*/... |
<?php //echo htmlspecialchars_decode($pp_forms[0]['form_data']);exit; ?>
<!-- main content start-->
<div id="page-wrapper">
<div class="main-page">
<h1 class="page-title">
Documents <small>New Forest Care</small>
</h1>
<h1 class="page-title">
<sma... |
<?php if( isset( $post ) ) bb_display_widget( get_post_meta( $post->ID, 'widget-bottom', true ) ); ?>
<?php bb_display_widget( 'page-widget-bottom' ); ?>
</main><!-- end MAIN CONTENT -->
</div>
<?php //Check if sidebar should be displayed on the right/after content
if(bb_sidebar( 'right', true ) ) get_temp... |
<?php
namespace Omniphx\Forrest;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Message\ResponseInterface;
use Omniphx\Forrest\Exceptions\InvalidLoginCreditialsException;
use Omniphx\Forrest\Exceptions\SalesforceException;
use Omniphx\Forrest\Exceptions\TokenExpiredException... |
@extends('layouts.master')
@section('content')
Pantalla auth
@stop |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>Human Behaviour Admin</title>
<meta name="description" content="overview & stats" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\models\EventSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Events';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="events-index">
<h1><?= ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddActivationToUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', f... |
<?php
namespace App\Http\Controllers;
use App\Hotel;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
class HotelController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
}... |
<?php
namespace App\Policies;
use App\Models\Product;
use App\Models\Member;
use Illuminate\Auth\Access\HandlesAuthorization;
class ProductPolicy
{
use HandlesAuthorization;
/*
* 两个参数,
* 第一个参数默认为当前登录用户实例,
* 第二个参数则为要进行授权的用户实例
* */
public function update(Member $member, Product $produc... |
<?php
class M_tulisan extends CI_Model{
function get_all_tulisan(){
$hsl=$this->db->query("SELECT tbl_tulisan.*,DATE_FORMAT(tulisan_tanggal,'%d/%m/%Y') AS tanggal FROM tbl_tulisan ORDER BY tulisan_id DESC");
return $hsl;
}
function simpan_tulisan($judul,$isi,$kategori_id,$kategori_nama,$user_id,$user_nama,$gamb... |
@extends("admin.layout")
@section("head")
@endsection
@section("title")
Пользователь: {{ $item->name }}
@endsection
@section("content")
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<ol class="brea... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?php
class FooBatch {
# Data Config
// snip...
# Log Config
public $result_logs = array(
array(
'dir' => // Log Directory Path,
'name' => 'batch_error_',
'extension' => '.log',
'path' => null,
'str' => '',
),
array(
'dir' => // Log Directory Path,
'name' => 'batch_success_',
'exte... |
<?php
/**
* Created by PhpStorm.
* User: Tanakorn
* Date: 21/9/2561
* Time: 0:08
*/
namespace metronic\widgets;
use Yii;
use yii\helpers\ArrayHelper;
use yii\helpers\Html;
use yii\helpers\Json;
use yii\helpers\Url;
use yii\widgets\Menu as BaseMenu;
use kartik\icons\Icon;
use metronic\menu\models\Menu as BaseMode... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.