text stringlengths 2 1.03M |
|---|
<!-- *** NAVBAR ***
_________________________________________________________ -->
<div class="navbar navbar-default yamm" role="navigation" id="navbar">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand home" href="index.html" data-animate-hover="bounc... |
<?php
declare(strict_types=1);
namespace OpenAPIGenerator\APIClient\BodyCoder\Factory;
use Articus\DataTransfer\ConfigAwareFactory;
use Interop\Container\ContainerInterface;
use OpenAPIGenerator\APIClient as OAGAC;
use Psr\Http\Message\StreamFactoryInterface;
class Json extends ConfigAwareFactory
{
public function ... |
<?php
namespace arslanimamutdinov\ISOStandard3166\tests\unit\standards;
use arslanimamutdinov\ISOStandard3166\Country;
use arslanimamutdinov\ISOStandard3166\ISO3166;
use PHPUnit\Framework\TestCase;
/**
* Class ISO3166GBTest
* @package arslanimamutdinov\ISOStandard3166\tests\unit
* @group standard-3166
*/
class I... |
<?php
if (!session_id()) {
session_start();
}
if ($_SESSION['username'] == null) {
header("Location:schedule.php");
die();
}
else {
echo "<script>console.log( 'Debug Objects: " . $_SESSION['valid'] . "' );</script>";
}
?>
<script src="vonder/jquery/jquery.min.j... |
<?php
namespace Garnet\Http\Middleware\userDataAuthentication;
use Garnet\Order;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthUserOrder
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Course;
use App\Http\Requests\CourseRequest;
class CourseController extends Controller
{
public function index()
{
return view('admin.course')->with('courses', Course::all());
}
... |
<?php
namespace site\tests\acceptance;
use site\tests\AcceptanceTester;
use yii\helpers\Url;
class HomeCest
{
public function checkHome(AcceptanceTester $I)
{
$I->amOnPage(Url::toRoute('/site/index'));
$I->see('My Company');
$I->seeLink('About');
$I->click('About');
$I... |
<?php
get_header();
?>
<div id="root"></div>
<?php
get_footer();
?> |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>安装成功</title>
</head>
<body>
<h1>环境安装成功!</h1>
<h2>Apache与PHP信息:</h2>
<?php echo '当前版本: ' . apache_get_version(... |
<div class="container">
<div class="row">
<div class="col-lg-10 col-xl-9 mx-auto">
<div class="card card-signin flex-row my-5">
<div class="card-img-left d-none d-md-flex"></div>
<div class="card-body">
<?php if($error) { ?>
... |
<?php
namespace AlibabaCloud\RKvstore\V20150101;
use AlibabaCloud\Client\Request\RpcRequest;
/**
* Request of ModifyInstanceSpecPreCheck
*
* @method string getResourceOwnerId()
* @method string getInstanceId()
* @method string getSecurityToken()
* @method string getResourceOwnerAccount()
* @method string getO... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class Price_Compare_List extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
*
* @retur... |
<?php
include "connect.php";
include "header.php";
//Tarkistetaan request metodi
if($_SERVER['REQUEST_METHOD'] != 'POST') {
//Jos tullaan normisti niin tarkistetaan onko käyttäjä online
if(!$_SESSION['signed_in']) {
//Jos ei ole kirjautunut niin heitetään se pois
array_push($_SESSION['alert'], lang("errorNeedToS... |
<?php
namespace App\Model\Admin;
use Illuminate\Database\Eloquent\Model;
class SystemArea extends Model
{
public $timestamps = false;//关闭时间维护
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name',
'pid',
'short_name',
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCategoryPostTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('category_p... |
<!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>Document</title>
</head>
<body>
<section>
<nav class="navbar navbar-expand-lg navbar-light bg-brown">
... |
<?
/*==================================================================*\
######################################################################
# #
# Copyright 2005 Arca Solutions, Inc. All Rights Reserved. #
# ... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<link rel="stylesheet" href="<?php echo base_url(); ?>asset/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="<?php echo base_url(); ?>asset/css/user_style.css" type="text/css">
<title>Login Page</tit... |
<?php
require dirname(__DIR__).'/api/vendor/autoload.php';
use Kreait\Firebase\Factory;
use Kreait\Firebase\RemoteConfig;
use Kreait\Firebase\Exception\RemoteConfigException;
use Kreait\Firebase\Exception\RemoteConfig\ValidationFailed;
use Kreait\Firebase\RemoteConfig\VersionNumber;
use Kreait\Firebase\RemoteConfig\F... |
<?php
namespace app\common\validate;
use think\Validate;
class Cj extends Validate
{
protected $rule = [
'name' => 'require',
'sourcecharset' => 'require',
'sourcetype' => 'require',
'urlpage' =>'require'
];
protected $message = [
'name.require' => 'valida... |
<?php
/**
* Checkout.com
* Authorised and regulated as an electronic money institution
* by the UK Financial Conduct Authority (FCA) under number 900816.
*
* PHP version 7
*
* @category SDK
* @package Checkout.com
* @author Platforms Development Team <platforms@checkout.com>
* @copyright 2010-2019 Chec... |
<?php
namespace HuaweiCloud\SDK\Ecs\V2\Model;
use \ArrayAccess;
use HuaweiCloud\SDK\Core\Utils\ObjectSerializer;
use HuaweiCloud\SDK\Core\Utils\ModelInterface;
use HuaweiCloud\SDK\Core\SdkResponse;
class ReinstallServerWithCloudInitOption implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
... |
<?php
/**
* This phpFile is auto-generated.
*/
declare(strict_types=1);
namespace AurimasNiekis\TdLibSchema;
/**
* Represents a chat event.
*/
class ChatEvent extends TdObject
{
public const TYPE_NAME = 'chatEvent';
/**
* Chat event identifier.
*
* @var string
*/
protected strin... |
<?php $this->need('header.php'); ?>
<div id="m-container" class="container">
<div class="col-md-8">
<?php if ( ! empty( $this->options->switch ) && in_array( 'ShowFortunes', $this->options->switch ) ): ?>
<div class="alert alert-success alert-dismissable">
<button type="button" clas... |
<?php
declare(strict_types=1);
/**
* This file is part of phpDocumentor.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @link https://phpdoc.org
*/
namespace phpDocumentor\Guides\RestructuredText\HTML\Directives;
use phpDocum... |
<?php declare(strict_types=1);
namespace App\Handler\Store;
use App\Template\TemplateRendererInterface;
use App\Service\StoreService;
use Psr\Http\Message\{ResponseInterface, ServerRequestInterface};
use Psr\Http\Server\RequestHandlerInterface;
use Laminas\Diactoros\Response\HtmlResponse;
class StoreUpdatePageHandle... |
<?PHP
namespace Entity;
use Closure;
use stdClass;
use ReflectionObject;
use ReflectionProperty;
use Knight\armor\CustomException;
use Entity\Map as Entity;
use Entity\Validation;
use Entity\validations\Matrioska;
use Entity\validations\ShowArray;
use Entity\field\Row;
use Entity\field\Warning;
use Entity\field\war... |
<?php $__env->startSection('content'); ?><p>She is a successful fashion designer who regularly showcases her looks to her legions of social media followers.</p>
<p>And Victoria Beckham cut an elegant figure as she shared a snap of herself showing off an outfit from her collection.</p>
<p>The businesswoman, 46, donned... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Role extends Model
{
use HasFactory;
protected $guarded =['id'];
public function belongsToUser() {
return $this->belongsTo('App\Models\User');
}
} |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class CrudResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
... |
@extends('layouts.app')
@section('content')
<section id="internship-crud" class="p-4">
<div class="row">
<div class="col-12 pt-2 pb-2 border-bottom">
<div class="card">
<div class="card-header">
<strong>Internship Detail</strong>
... |
<?php
namespace Qing7777\PhpSms\Agents;
use Qing7777\PhpSms\Interfaces\ContentSms;
use Qing7777\PhpSms\Interfaces\ContentVoice;
use Qing7777\PhpSms\Interfaces\FileVoice;
use Qing7777\PhpSms\Interfaces\TemplateSms;
use Qing7777\PhpSms\Interfaces\TemplateVoice;
use Qing7777\PhpSms\Interfaces\VoiceCode;
use Qing7777\Php... |
<?php
namespace Essential_Addons_Elementor\Elements;
// If this file is called directly, abort.
if (!defined('ABSPATH')) {
exit;
}
use \Elementor\Controls_Manager;
use \Elementor\Group_Control_Border;
use \Elementor\Group_Control_Typography;
use \Elementor\Widget_Base;
use \Essential_Addons_Elementor\Classes\He... |
<!-- Modal -->
<div class="modal fade" id="create" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"
data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-ti... |
<?php
include 'header.php';
?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text... |
@extends('layouts.admin')
@section('title', 'ニュースの編集')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 mx-auto">
<h2>ニュース編集</h2>
<form action="{{ action('Admin\NewsController@update') }}" method="post" enctype="multipart/form-data">
@if (count($e... |
<?php
declare(strict_types=1);
namespace App\Command;
use App\Model\Projector;
use App\Model\ProjectorCollection;
use App\Repository\AggregateRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Com... |
<?php
/* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\page\template$pkgid@[annot]][1]/ */
/* Type: array */
/* Expiration: 2021-11-27T22:49:57+01:00 */
$loaded = true;
$expiration = 1638049797;
$data = array();
/* Child Type: array */
$data['return'] = unserialize(base64_decode('YToxOntpOjA7TzoyNz... |
<div class="col-md-12">
<table id="myTable" class="table table-bordered table-striped mytb">
<thead>
<tr class="text-center">
<th hidden>ลำดับ</th>
<th>วันที่</th>
<th class="text-left">รายละเอียด</th>
<th>รายรับ</th>
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateHidangansTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('hidangans', f... |
<?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... |
@extends('layouts.app')
@section('content')
<div class="panel panel-default">
<div class="panel-heading text-center">Update your reply</div>
<div class="panel-body">
<form action="{{ route('reply.update' , ['id' => $reply->id]) }}" method="post">
{{ csrf_field() }}
... |
<style type="text/css">
.detail-content{
margin-top: 25px;
text-align: left;
margin-bottom: 25px;
}
</style>
<div class="container-fluid margin-bottom">
<div class="side-body padding-top">
<div class="container" >
<a href="<?php echo site_url('app/users/custom... |
<?php
namespace WPForms\Admin\Forms;
/**
* Search Forms feature.
*
* @since 1.7.2
*/
class Search {
/**
* Current search term.
*
* @since 1.7.2
*
* @var string
*/
private $term;
/**
* Current search term escaped.
*
* @since 1.7.2
*
* @var string
*/
private $term_escaped;
/**
* D... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for y... |
<?php
namespace App\Http\Controllers;
use App\Models\Maestro;
use App\Models\Clase;
use Illuminate\Http\Request;
use PDF;
/**
* Class MaestroController
* @package App\Http\Controllers
*/
class MaestroController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illumina... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider;
use DB;
use App\Models\admins;
use App\Models\User;
use App\Models\Degrees;
use App\Models\grouped_courses;
use App\Models\whatsapplinks;
use App\Models\userlogs;
use I... |
<div class="media">
<div class="avatar pull-left">
<a href="{{ route('users.show', $notification->data['user_id']) }}">
<img class="media-object img-thumbnail"
alt="{{ $notification->data['user_name'] }}"
src="{{ $notification->data['user_avatar'] }}"
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class TypeIdentitite extends Model
{
const TYPE_CLIENT = 1;
const TYPE_TRANSPORTEUR = 2;
const TYPE_STAFF_USER= 3;
protected $table = "typeidentite";
public $timestamps = false;
} |
<?php
/**
* Created by PhpStorm.
* User: mbrzuchalski
* Date: 10.06.16
* Time: 13:38
*/
namespace Madkom\NginxConfigurator\Command;
use Madkom\NginxConfigurator\Builder;
use Madkom\NginxConfigurator\Config\Server;
use Madkom\NginxConfigurator\Node\Directive;
use Madkom\NginxConfigurator\Node\Param;
use Symfony\Co... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class SponsorType extends Model
{
protected $table = 'sponsortypes';
} |
<?php
namespace Entity;
use app\models\core\BaseModel;
use app\models\core\ValidableInterface;
use lib\MyFunctions;
use Validate;
class Contact
extends BaseModel
implements ValidableInterface
{
public function validate()
{
$result = array();
// validar los contenidos de los campos
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTeachersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('teachers', fun... |
<?php
// Meta Fields
function porto_event_meta_fields() {
// Slideshow Types
$slideshow_types = porto_ct_slideshow_types();
return array(
// Visit Site Link
'event_link' => array(
'name' => 'event_link',
'title' => __( 'Event Link', 'porto-functionality' ),
'desc' => __( 'External Link for the... |
<?php
include_once("Q/QOptions.php");
/**
* @syntax php builder.php [options]
* @example php builder.php --m:in -g:xgen2
*/
class BuilderOptions extends QOptions
{
/**
* Sets model definition directory.
* @option --model -m
*/
public $ModelDir = "./Model";
/**
* Sets output directory.
* @option --... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Codeup\V20200414\Models\ListMergeRequestCommentsResponseBody\result;
use AlibabaCloud\Tea\Model;
class author extends Model
{
/**
* @var string
*/
public $externUserId;
/**
* @var string
*/
p... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache connection that gets used while
| using this caching li... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\RulePoint */
$this->title = $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Rule Points', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="rule-point-view">
... |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\SongController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your applicatio... |
<?php
namespace Base;
use \ProductStock as ChildProductStock;
use \ProductStockQuery as ChildProductStockQuery;
use \Exception;
use \PDO;
use Map\ProductStockTableMap;
use Propel\Runtime\Propel;
use Propel\Runtime\ActiveQuery\Criteria;
use Propel\Runtime\ActiveQuery\ModelCriteria;
use Propel\Runtime\ActiveQuery\Model... |
<?php
/**
* WC_Customer_Download_Data_Store class file.
*
* @package WooCommerce\Classes
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* WC Customer Download Data Store.
*
* @version 3.0.0
*/
class WC_Customer_Download_Data_Store implements WC_Customer_Download_Data_Store_Interface {
/**
* Names of the... |
<?php
use common\helpers\Html;
use common\modules\lead\models\ActiveLead;
use common\modules\lead\models\forms\LeadsUserForm;
/* @var $this \yii\web\View */
/* @var $model LeadsUserForm */
/* @var $lead ActiveLead */
$this->title = Yii::t('lead', 'Assign User to Lead');
$this->params['breadcrumbs'][] = ['label' => Y... |
<?php
use Illuminate\Database\Seeder;
use App\Models\Corte;
class CortesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$corte = Corte::create([
'nombre' => 'C.A. de Arica',
]);
$corte = Corte:... |
<?php
namespace App\Services;
use App\Exceptions\CanNotInsertException;
use App\Exceptions\CanNotUpdateException;
use App\Exceptions\CustomErrorException;
use App\Exceptions\NotFoundException;
use App\Models\Assign;
use App\Models\Attendance;
use App\Models\AttendanceDetail;
use App\Models\Grade;
use App\Models\Sche... |
{{--
Title: Case Studies
Description: Case Studies
Category: dd-blocks
Icon: portfolio
Keywords: case study, case studies, portfolio
Mode: preview
Align: wide
PostTypes: page post
SupportsAlign: false
SupportsMode: false
SupportsMultiple: false
--}}
@php
// Create id attribute allowing for custom... |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class VideoResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array|\Illuminate\Contracts\Support\Arrayable|\JsonSerializable
... |
<?php
/*
* This file is part of the Chameleon System (https://www.chameleonsystem.com).
*
* (c) ESONO AG (https://www.esono.de)
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace ChameleonSystem\CoreBundle\Service;
use Sy... |
<?php
namespace HuaweiCloud\SDK\Vpc\V2\Model;
use \ArrayAccess;
use HuaweiCloud\SDK\Core\Utils\ObjectSerializer;
use HuaweiCloud\SDK\Core\Utils\ModelInterface;
use HuaweiCloud\SDK\Core\SdkResponse;
class NeutronListFirewallGroupsRequest implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
/*... |
<?php
# $Id$
# PHPlot test - Pie Chart Sizing and Label Variations - Size/Label Position (c)
# This is a parameterized test. See the script named at the bottom for details.
$tp = array(
'suffix' => 'Sizing/label position', # Title part 2
'data_choice' => 2, # Select data array: 1 or 2
'n_slices'... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Team extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'team';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillabl... |
<?php
namespace m\modules\v1\controllers;
use common\models\GoodsImg;
class GoodsController extends Controller
{
public function verbs()
{
return [
'images' => ['get']
];
}
public function actionImages($id)
{
return GoodsImg::findByGoodsId($id);
}
} |
<?php
namespace app\controllers;
use Yii;
use app\models\Resultcall;
use app\models\ResultcallSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use \yii\web\Response;
use yii\helpers\Html;
/**
* ResultcallController implements the CRUD actions for Resultcall model.
*/
c... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class KategoriBlog extends Model
{
protected $table = "kategori_blog";
protected $fillable = ["nama"];
} |
<?php
namespace App\Models;
use App\Events\PlayerProfileUpdated;
use App\Models;
use DateTimeInterface;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
use Lorisleiva\LaravelSearchString\Concerns\SearchString;
/**
* @property int $pid... |
<?php
/* Copyright (C) 2001-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolu... |
<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:59:"F:\wamp\www\ed2k/application/admin\view\config\conflist.htm";i:1493733047;s:55:"F:\wamp\www\ed2k/application/admin\view\common\head.htm";i:1492440041;s:55:"F:\wamp\www\ed2k/application/admin\view\common\left.htm";i:1497426492;}*/ ?>
<!DOCTYPE html>
<html><head>
... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class TypeUsersRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get ... |
<!doctype html>
<html lang="<?=$lang?>">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title><?=$title?></title>
</head>
<body>
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as... |
<?php namespace houdunwang\model\build;
/** .-------------------------------------------------------------------
* | Software: [HDPHP framework]
* | Site: www.hdphp.com www.hdcms.com
* |-------------------------------------------------------------------
* | Author: 向军 <2300071698@qq.com>
* | WeChat: a... |
@extends('layouts.admin')
@section('title', __('outlet.list'))
@section('content')
<div class="mb-3">
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-2 text-gray-800">Tables</h1>
<div class="text-right">
<a href="##t... |
@extends('layouts.master')
@section('content')
<div id="layoutSidenav_content">
<main>
<div class="mt-4"> </div>
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-md-10">
<div class="card border-danger">
<div class="card-heade... |
<?php
require_once "pdo.php";
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>73574de5 - Autos Database</title>
<?php require_once "bootstrap.php"; ?>
</head>
<body>
<div class="container">
<h1>Welcome to Automobiles Database</h1>
<?php
if ( isset($_SESSION['error']) ) {
echo '<p style="color:red">'.$_SESS... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Article extends Model
{
protected $table = 'articles';
protected $fillable = [
'title', 'content', 'img','author','browse','hot','new','recommend','content_tpl','is_display','catalog_id'
];
public function catalog()
... |
<!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/css?family=Nunito:... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
class Tag extends Model
{
protected $fillable = [
'tag', 'title', 'subtitle', 'page_image', 'meta_description','reverse_direction',
];
/**
* 定义文章与标签之间多对多关联关系
*
* @return BelongsTo... |
<?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
//use Illuminate\Http\Request;
use App\ToDo;
use Request;
class ToDoController extends Controller {
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
{
$todo=To... |
<?php
$params = array_merge(
require(__DIR__ . '/../../common/config/params.php'),
require(__DIR__ . '/../../common/config/params-local.php'),
require(__DIR__ . '/params.php'),
require(__DIR__ . '/params-local.php')
);
$callback = isset($_REQUEST['callback']) ? $_REQUEST['callback'] : false;
$format = ... |
<?php
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*/
bx_import('BxDolCaptcha');
/**
* reCAPTCHA representation.
* @see BxDolCaptcha
*/
class BxBaseCaptchaReCAPTCHA extends BxDolCaptcha
{
protected $_bJsCssAdded = false;
pr... |
<?php
namespace App\Http\Controllers\Admin;
use App\Menu;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;
class MenuController extends Controller
{
//新建菜单组
public function create(Request $request){
$data['date'] = date('Y-m-d H:i:s');
//获取参数... |
<?php
/**
* @copyright Metaways Infosystems GmbH, 2011
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2015
* @package MW
* @subpackage Tree
*/
namespace Aimeos\MW\Tree\Node;
/**
* Nested set implementation of a tree node
*
* @package MW
* @subpackage Tree
* ... |
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Temporibus quia sint nulla laudantium consectetur neque, ut adipisci dolores dolor dignissimos! Sequi ullam eligendi iste. Illum quidem corporis voluptates tenetur delectus.</p>
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Temporibus quia sint... |
<?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
namespace Nemundo\Workflow\App\Wiki\Data\WikiPage;
use Nemundo\Model\Action\AbstractModelAction;
abstract class AbstractWikiPageAction extends AbstractModelAction
{
/**
* @return WikiPageRow
*/
protected function getRow()
{
$reader = new WikiPageReader();
$reader->connecti... |
<?php
session_start();
include('../../../connection2.php');
$userid=$_SESSION['user1'];
$sql_usr="select * from admin where username='$userid'";
$res_usr=mysql_query($sql_usr);
$row_usr=mysql_fetch_array($res_usr);
$usremail=$row_usr['emailid'];
$host=$row_usr['host'];
$portno=$row_usr['port'];
$ipaddress = '';
$ipaddr... |
<?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\Form;
use Symfony\Component\Form\Exception\Unexpected... |
<?php
/* @images/grav-logo.svg */
class __TwigTemplate_04cecc6ecb552ba51820a1b2ad552f2422f2ff66f3ca318beed4ef4524f9e666 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
... |
@extends('layouts.admin')
@section('content')
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0">news</h1>
</div><!-- /.col -->
<div class="col-sm... |
<?php
error_reporting(0);
use QuickBooksOnline\API\Core\ServiceContext;
use QuickBooksOnline\API\DataService\DataService;
use QuickBooksOnline\API\PlatformService\PlatformService;
use QuickBooksOnline\API\Core\Http\Serialization\XmlObjectSerializer;
use QuickBooksOnline\API\WebhooksService;
use QuickBooksOnline\... |
@extends('dashboard')
@section('content')
<div class="box box-primary">
<div class="box-header with-border">
<a href="{{url($moduleRoute)}}" class="btn btn-default btn-sm" >返回</a>
@if(session('message'))
<p class="bg-success">{{session('message')}}</p>
@endif
</div>
{{ Form::... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.