text stringlengths 2 1.03M |
|---|
<?php
use common\models\media\Acl;
use common\models\media\MediaType;
use yii\helpers\Html;
use yii\web\View;
/* @var $this View */
/* @var $model Acl */
$this->title = Yii::t('app', 'Preview');
?>
<div class="acl-preview">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">... |
<?php
namespace Container94mHoPT;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/*
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getForm_Type_FormService extends ... |
<?php
/* editcourse.twig */
class __TwigTemplate_65dd7f0c56b10e70f2112ea3e15cf28718f86713f3563507883dc3763b4b16f8 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("index.twig", "editcou... |
@extends('layouts.master')
@section('title','تعديل الفاتورة')
@section('css')
<!--- Internal Select2 css-->
<link href="{{ URL::asset('assets/plugins/select2/css/select2.min.css') }}" rel="stylesheet">
<!---Internal Fileupload css-->
<link href="{{ URL::asset('assets/plugins/fileuploads/css/fileupload.css') }}" rel="st... |
<?php
use App\Aperturacierrecaja;
use Illuminate\Support\Facades\Auth;
$user = Auth::user();
$ind = 0; // 0=Abierto , 1=Cerrada
$aperturacierrecaja = Aperturacierrecaja::where('estado','=','A')->first();
if ($aperturacierrecaja !== null) {
$ind =1;
}
$url = URL::to("aperturacierrecaja");
?>
<!-- Content Header (P... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Property extends Model
{
use HasFactory;
public function properties()
{
return $this->hasMany(PropertyItem::class);
}
protected $fillable = [
'name_am'... |
@extends('layouts.app')
@section('content')
<div class="container">
<h2>Crear un Skill</h2>
<form action="/skill" method='POST'>
@csrf
<input type="text" name='name' placeholder='Nombre de Skill'>
<input type="text" name='rating' placeholder='Rating'>
{{-- <div class="form... |
@section('left-products')
<h2><span>产品展示</span></h2>
<div id="LeftMenu" class="ddsmoothmenu-v">
<ul>
@foreach ($categories as $category)
@if ($flag == $category->id)
<li><a href="{{ URL('/products/'.$category->id) }}" title="{{ $category->name }}" ... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class Order extends Model
{
protected $table = "orders";
public function order_detail(){
return $this->hasMany('App\Model\OrderDetail', 'id_order', 'id');
}
public function user(){
return $this->belongsTo('App\User', '... |
<?php
return array (
'Unarchive' => 'Dearchiveer',
'Move to archive' => 'Verplaats naar archief',
); |
<?php
declare (strict_types=1);
namespace RectorPrefix20211118\Symplify\Astral\ValueObject\NodeBuilder;
use PhpParser\Builder\Use_;
use PhpParser\Node\Stmt\Use_ as UseStmt;
/**
* @api
* Fixed duplicated naming in php-parser and prevents confusion
*/
final class UseBuilder extends \PhpParser\Builder\Use_
{
publ... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateStudentCommentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('student... |
<!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>messageを表示する</title>
</head>
<body>
<h1>messageを表示する</h1>
<p>{{$message}}</p>
{{$element}}
{!!$element!!}
</b... |
<!DOCTYPE html>
<html lang="pt-br">
<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>Editar Aluno</title>
<style>
label{
float: left;
display: block;
... |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
<?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class User extends Model
{
//
protected $table = 'user';
protected $fillable = [
'name'
];
public static function getUsers()
{
$users = User::all();
return $users;
}
public function sav... |
<?php
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalconphp.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Unit\Annotations\Adapter;
use function outputDir;
use ... |
<?php
namespace App\Http\Filters;
use Illuminate\Http\Request;
use App\Models\Countries;
use App\Filters\QueryFilters;
class CountryFilter extends QueryFilters
{
protected $request;
public function __construct(Request $request)
{
$this->request = $request;
parent::__construct($request);
... |
<?php
$host = "localhost";
$user = "zainulabd786";
$pass = "123456";
$name ="safg";
function EXPORT_TABLES($host,$user,$pass,$name, $tables=false, $backup_name=false){
set_time_limit(3000); $mysqli = new mysqli($host,$user,$pass,$name);
$mysqli->select_db($name); $mysqli->query("SET NAMES 'utf8'");
$queryTab... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Category;
use App\Models\Book;
use Illuminate\Support\Str;
class CategoryController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Htt... |
@extends('dashboard.layouts.main')
@section('container')
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 class="h2">Edit Portofolio</h1>
</div>
<div class="col-lg-8">
<form method="post" action="/dashboard/portofolio/{{ $portofolio->id ... |
<?php
namespace App\Http\Controllers;
ini_set('upload_max_size','100M');
ini_set('post_max_size','200M');
use Illuminate\Http\Request;
use App\Post;
use Auth;
use App\Profile;
use App\User;
use App\Comment;
class AnswerController extends Controller
{
public function addAnswer(Request $req,int $id){
$rules=[
... |
<?php
header("Content-Type: application/json; charset=utf-8");
if ($request === "/api/auth") {
require_once "api_auth.php";
} else if ($request === "/api/posts") {
require_once "api_posts.php";
} else if ($request === "/api/post/save") {
require_once "api_post_save.php";
} else if ($request === "/api/post/delet... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class TablaColeccion extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('coleccions', function (Blueprint $table) {
$ta... |
{!! Form::open(['route' => 'editarMu3', 'id' => 'imagen-form', '', 'enctype'=>'multipart/form-data', 'class' => 'form-horizontal validate', 'data-success' => 'Se ha cambiado la imágen de perfil con éxito','data-toastr-position' => 'top-right', 'onsubmit' => 'location.reload()']) !!}
{!! Form::input('hidden', 'id', $p... |
<?php $__env->startSection('title'); ?>
منطقة الإختبار
<?php $__env->stopSection(); ?>
<?php $__env->startSection('header'); ?>
<?php echo HTML::style('public/css/bootstrap-tagsinput.css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<input type="text" value="" data-role="tag... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class Usuario extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('usuarios', function (Bluep... |
<?php
namespace live\Request\V20161101;
/**
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
*
* Request of DescribeCasterComponents
*
* @method string getComponentId()
* @method string getCasterId()
* @method string getOwnerId()
*/
class DescribeCasterComponentsRequest extends \RpcAcsReques... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRolesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('roles', function ... |
<?php
namespace Drupal\search_api\Utility;
use Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
use Drupal\Core\Entity\EntityStorageException;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
us... |
<?php $this->template("/content/default.php"); ?>
<?php if(!$this->success) { ?>
<?php if($this->getParam("submit")) { ?>
<div class="alert alert-danger">
<?= $this->translate("Sorry, something went wrong, please check the data in the form and try again!"); ?>
</div>
<br />
... |
<?php
/**
* PoiSpuSyncResponseTest
*
* PHP version 5
*
* @category Class
* @package Douyin\Open
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* Ope... |
<?php
/* OnlineTestMainBundle::student.html.twig */
class __TwigTemplate_2bf49b6cd56c5fafb384c911ba46f9465ada098866dfa1564df1e4452783fa38 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arra... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProfilesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('profiles', fun... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\Tags\CreateTagRequest;
use App\Http\Requests\Tags\UpdateTagsRequest;
use App\Models\Tag;
use Illuminate\Http\Request;
class TagsController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Respon... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Payment_voucher extends MY_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model([
'general_model',
'ledger_model']);
$this->modules = $this->get_module... |
@extends('cms.parent')
@section('title',__('cms.patient'))
@section('styles')
@endsection
@section('large-page-name',__('cms.index'))
@section('main-page-name',__('cms.patient'))
@section('small-page-name',__('cms.index'))
@section('content')
<!-- Main content -->
<section class="content">
<div class="container-... |
<?php
final class PhabricatorConfigEdgeModule extends PhabricatorConfigModule {
public function getModuleKey() {
return 'edge';
}
public function getModuleName() {
return pht('Edge Types');
}
public function renderModuleStatus(AphrontRequest $request) {
$viewer = $request->getViewer();
$t... |
<?php
namespace LaravelCommode\Common\Resolver;
use Exception;
use Illiminate\Foundation\Application;
use PHPUnit_Framework_MockObject_MockObject as Mock;
class ResolverTest extends \PHPUnit_Framework_TestCase
{
/**
* @var Resolver
*/
private $resolver;
/**
* @var Application|Mock
*/... |
<?php //begin
/*global variables */
$actualName = "a";
$file_name = "";
$test_name = "";
$uploadFileOk = false;
$uploadTestOk = false;
/* functions */
function log_info($str) {
echo "<script>console.log(".json_encode($str).") </script>";
}
function generate_name($name){
$result = "";
$tail = "";
$test = 0;
$i ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Title as Title;
use App\Client as Client;
use Illuminate\Support\Facades\DB;
class ClientController extends Controller
{
//
public function __construct( Title $titles, Client $client )
{
$this->titles = $titles->all();
... |
<?php
/**
* ProjectLookupSecretConfigTest
*
* PHP version 7.3
*
* @category Class
* @package Ory\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Ory APIs
*
* Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed wit... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class RCadastroDeClientesData extends Model
{
protected $table = 'r_cadastro_de_clientes_data';
protected $primaryKey = 'id';
public $timestamps = false;
protected $guarded = ['_token'];
public function makeHidden($attributes)
{
... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Repository\Vcs;
use Composer\Co... |
<?php namespace Iome\Macate\Nebula\Auth;
use Illuminate\Contracts\Auth\UserProvider as BaseUserProvider;
use Illuminate\Contracts\Hashing\Hasher as HasherContract;
use Illuminate\Contracts\Auth\Authenticatable as UserContract;
use Nebula;
class UserProvider implements BaseUserProvider {
/**
* The hasher implement... |
<?php
namespace DamianTW\LaravelRoles\Services;
/**
* Class RoleGroupSeederService
* @package DamianTW\LaravelRoles
*/
class RoleGroupSeederService
{
protected $roleControllerService;
function __construct(RoleControllerService $roleControllerService)
{
$this->roleControllerService = $roleContr... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRegistrationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('registrat... |
<?php
namespace App\Http\Controllers;
use App\Order;
use App\Status;
use http\Cookie;
use Illuminate\Http\Request;
class AdminController extends Controller
{
//Restaurants
public function index(){
return view('admin.index')
->with('restaurants', RestaurantController::getAllRestaurants())
... |
<?php
namespace backend\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use backend\models\Departments;
/**
* DepartmentsSearch represents the model behind the search form about `backend\models\Departments`.
*/
class DepartmentsSearch extends Departments
{
/**
* @inheritdoc
*/
... |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use App\Models\User;
use Illuminate\Foundation\Auth\RegistersUsers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Intervention\Image... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
ERROR - 2021-04-18 08:57:08 --> Severity: Warning --> Invalid argument supplied for foreach() /var/www/html/admin.cw360/application/views/subscription_trans_history.php 37
ERROR - 2021-04-18 18:10:12 --> 404 Page Not Found: Robotstxt/index
ERROR ... |
@extends('layouts.app')
@section('content')
@while(have_posts()) @php the_post() @endphp
@include('partials.content-page-vote')
@endwhile
@endsection |
@extends('site_pages.layouts.main')
@section('content')
@include('site_pages.general_components.header')
@include('site_pages.pages.about.components.tabs')
@include('site_pages.general_components.footer')
@endsection |
<?php
namespace App\Http\Controllers\Admin\Posts;
use App\Models\Category;
use App\Http\Controllers\Controller;
use App\Models\Post;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use Illuminate\Validation\Rule;
use Illuminate\Support\Facades\Auth;
use App\Models\Tag;
use Illuminate\Support\Facades\Storage;... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProceedingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('proceedings... |
<?php
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
<?php
/**
* Class MEmail
*/
class Memail extends CI_Model
{
/**
* MEmail constructor.
*/
public function __construct()
{
parent::__construct();
}
/**
* Busca la configuración del envío de correo
*
* @param $id
* @return mixed|null
*/
public functio... |
<?php
namespace common\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\ParameterMasterItem;
/**
* SearchParameterMasterItem represents the model behind the search form about `common\models\ParameterMasterItem`.
*/
class SearchParameterMasterItem extends ParameterMasterItem
{... |
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2019 http://shopxo.net All rights reserved.
// +-------------------------------------------------------------... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class VolunteerRegistrationRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**... |
<?php
namespace Hazaar\Controller\Exception;
class ActionNotFound extends \Hazaar\Exception {
function __construct($controller, $action) {
parent::__construct("Controller '$controller' does not have the action '$action'.", 404);
}
} |
<?php
/**
* The template for displaying comments
*
* This is the template that displays the area of the page that contains both the current comments
* and the comment form.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Dissan
*/
/*
* If the current post is protected... |
<?php
namespace app\common\model;
use think\Model;
class Comment extends Model
{
// 表名
protected $name = 'comment';
// 自动写入时间戳字段
protected $autoWriteTimestamp = 'int';
// 定义时间戳字段名
protected $createTime = 'createtime';
protected $updateTime = 'updatetime';
protected... |
<?php
namespace Enobrev\API;
use cebe\openapi\SpecObjectInterface;
interface OpenApiInterface {
public function getSpecObject(): SpecObjectInterface;
} |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta -->
<meta charset="UTF-8">
<meta name="description" content="DSS" >
<meta name="keywords" content="DSS,Workflows,KPI" >
<meta name="author" content="Jefferson Lizarzabal" >
<meta http-equiv="X-UA-Compatible" content="IE=ed... |
@extends('default')
@section('pagetitle') {{ $title }} - EdPaste @endsection
@section('navbar')
<li class="nav-item"><a href="/" class="nav-link">Home</a></li>
@if (Auth::check())
<li class="nav-item"><a href="/users/dashboard" class="nav-link">Dashboard</a></li>
<li class="nav-item"><a href="/users/account" class="n... |
<?php
/**
* 2007-2017 PrestaShop
*
* 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... |
<html>
<head>
<title>Basic Form</title>
<link href="<?php echo base_url("assets/css/style.css"); ?>" rel="stylesheet">
<script src="<?php echo base_url("assets/js/formValidaiton.js"); ?>" type="text/javascript">
</script>
<style>
table,
th,
td {
border: 0px solid... |
<div class="password" x-data="{show: false}">
<input type="password" x-bind:type="show ? 'text' : 'password'"
{!! $attributes->merge([
'name' => $name,
'id' => $id,
]) !!}
{{ $required ? 'required' : '' }}
@disabled($disabled)
{!! $describedBy() ? 'ari... |
@extends('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">Register</div>
<div class="card-body">
<form method="post" action=... |
<select v-validate="'{{$validations}}'" class="control" id="{{ $attribute->code }}" name="{{ $attribute->code }}" data-vv-as=""{{ $attribute->admin_name }}"" {{ $disabled ? 'disabled' : '' }}>
<?php $selectedOption = old($attribute->code) ?: $product[$attribute->code] ?>
@if ($attribute->code != 'ta... |
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{blockcategories}prestashop>blockcategories_8f0ed7c57fca428f7e3f8e64d2f00918'] = 'Bloco das categorias';
$_MODULE['<{blockcategories}prestashop>blockcategories_15a6f5841d9e4d7e62bec3319b4b7036'] = 'Adiciona um bloco com categorias de produtos.';
$_MODULE['<{blockc... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCartsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('carts', function (Blueprint $table)... |
@extends('admin.layouts.common')
@section('pageTitle')
{{trans('app.brochure_edit_title')}}
@endsection
@push('externalCssLoad')
@endpush
@push('internalCssLoad')
@endpush
@section('content')
<div class="be-content">
<div class="page-head">
<h2>{{trans('app.brochure')}} {{trans('app.manage... |
<?php
namespace app\api\model;
use think\Model;
use traits\model\SoftDelete;
class Message extends Model
{
use SoftDelete;
protected $deleteTime = 'delete_time';
} |
<?php
/**
* Copyright (c) Qobo Ltd. (https://www.qobo.biz)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Qobo Ltd. (https://www.qobo.biz)
* @license ... |
<?php
class Batches extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->library('session');
$this->load->model('batch_model');
$this->load->model('course_model');
$this->load->model('user_model');
$this->load->model('branch... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function ... |
<?php
use Faker\Factory as Faker;
use Illuminate\Database\Seeder;
class inventory_receipt_table_seeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$faker = Faker::create('fi_FI');
$materials = DB::table('material_names')->whereNotIn('m... |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may s... |
/* {{{ proto bool wxInitialize()
Initialize the library (may be called as many times as needed,
but each call to wxInitialize() must be matched by
wxUninitialize()). */
PHP_FUNCTION(php_wxInitialize)
{
wxInitAllImageHandlers();
RETVAL_BOOL(wxInitialize());
}
/* }}} */ |
<?php
$params = require __DIR__ . '/params.php';
$db = require __DIR__ . '/db.php';
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'components' => [
... |
@extends('layouts.app')
@section('style')
<link rel="stylesheet" href="{{ asset('css/payment.css')}}">
@if (LaravelLocalization::getCurrentLocale() == 'ar')
<link rel="stylesheet" href="{{ asset('css/payment_ar.css') }}">
@endif
<style>
section .container .cont... |
<?php
namespace App\Library\lib;
use App\Library\lib\ContentTypes;
// require_once 'ContentTypes.php';
/**
* A http request class
*/
class Request
{
/**
* The URL being requested.
*/
public $url;
/**
* The URL query string
*/
public $params;
/**
* The request raw body... |
<?php
include("modules/trm.php");
include("modules/help.php");
include("modules/trip.php");
function logo() {
system("clear");
echo <<<EOL
\033[01;33m
\033[01;31m _\033[01;33m ____ _
\033[01;31m(_)\033[01;33m _ \ | |_ _ __ __ _ ___ ___ _ __
| | |_) | | __| '__/ _` |/ __/ _ \ '__|
| | _... |
<?php
namespace Drupal\Tests\file\Functional\Hal;
use Drupal\Tests\rest\Functional\FileUploadResourceTestBase;
use Drupal\Tests\hal\Functional\EntityResource\HalEntityNormalizationTrait;
/**
* Tests binary data file upload route for HAL JSON.
*/
abstract class FileUploadHalJsonTestBase extends FileUploadResourceTe... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRegistrationModelsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('regi... |
@include('jen/pages/assets/header')
<style>
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
.main-body {
padding: 15px;
}
.card {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.card {
position:... |
<?php
Class Fungsi {
protected $ci;
function __construct(){
$this->ci =& get_instance();
}
function user_login(){
$this->ci->load->model('user_m');
$user_id = $this->ci->session->userdata('user_id');
$user_data = $this->ci->user_m->get($user_id)->row();
return $user_data;
}
} |
<?php header( "HTTP/1.0 $status_code" ); ?>
<?php $this->view('partials/head'); ?>
<div class="container">
<div class="row">
<div class="col-xs-4 col-xs-offset-4">
<div class="panel panel-danger">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-exclamation-sign"></i> <span data-i1... |
<?php
/**
* Author: Nil Portugués Calderó <contact@nilportugues.com>
* Date: 12/18/15
* Time: 11:36 PM.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace NilPortugues\SchemaOrg\Classes;
use NilPortugues\SchemaOrg\SchemaCl... |
<!DOCTYPE html>
<html>
<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>@yield('title')</title>
<link href="{{ URL::asset('css/bootstrap.min.css') }}" rel="stylesheet">
<link href="{... |
<?php
/* AcmeDemoBundle:Welcome:index.html.twig */
class __TwigTemplate_57df35091f3a08db8d26570b487310f3d35204284c4d701a17535574dbfe0177 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("AcmeDemoBun... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Permission Language Lines
|--------------------------------------------------------------------------
*/
// User
'list_user' => 'Lista de usuarios',
'create_user' => 'Crear usuario',
'up... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use DB;
use App\Http\Requests;
use App\Http\Controllers\Controller;
class AddressController extends Controller
{
// 地址插入操作
public function insert(Request $request){
// dd($request->all());
//获取参数信息
$data=$request->except([... |
@extends('admin/admin_header')
@section('content')
<div class="page has-sidebar-left">
<header class="blue accent-3 relative">
<div class="container-fluid text-white">
<div class="row p-t-b-10 ">
<div class="col">
<h4>
<i class="icon-pa... |
<?php
namespace App\Http\Controllers\Api\User;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Validator;
class AuransiController extends Controller
{
public function index()
{
$data = DB::table('table_asur... |
<?php
/////////////////////////////////////////////////////////////////////////////////////
// xbtit - Bittorrent tracker/frontend
//
// Copyright (C) 2004 - 2020 xbtitFM Team
//
// This file is part of xbtitFM.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.