text stringlengths 2 1.03M |
|---|
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Checkin extends Model
{
protected $guarded = [];
} |
<?php
$edit_data = $this->db->get_where('payment' , array(
'payment_id' => $param2
))->result_array();
foreach ($edit_data as $row):
?>
<div class="row">
<div class="col-md-12">
<div class="panel panel-primary" data-collapsed="0">
<div class="panel-heading">
<div class="panel-title" >
... |
<?php
include 'config.php';
$query_select = "SELECT DISTINCT(c.classID), b.blockCode FROM classes c
INNER JOIN classList cs ON c.classID = cs.studentID
INNER JOIN students s ON cs.studentID = s.studentID
INNER JOIN blocks b ON s.blockID = b.blockID";
$result2 ... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Eagle Financial</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<style>
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-colo... |
<!-- Modal -->
<form id="createform" method="POST" enctype="multipart/form-data">
<div class="modal-dialog">
<div class="modal-content" >
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel" style="color: black" >NUEVO ADJUNTO</h5>
<button type="button" cla... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Student extends Model
{
const SEX_UN=10;
const SEX_BOY=20;
const SEX_GRIL=30;
protected $table='student';
protected $fillable=['name','age','sex'];
public $timestamps= true;
protected function getDateFormat()
{
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\URL;
class SettingsController extends Controller
{
/**
* @return mixed
*/
public static function title() {
$root = url('/');
$current = URL::current();
$parse = str_replace($root . "/", "", $current);
... |
<?php
namespace common\components;
class Request extends \yii\web\Request {
public $web;
public $adminUrl;
public function getBaseUrl() {
return str_replace($this->web, "", parent::getBaseUrl()) . $this->adminUrl;
}
public function resolvePathInfo() {
if($this->getUrl()===$this-... |
<?php
//dezend by http://www.yunlu99.com/
if (!defined('IN_IA')) {
exit('Access Denied');
}
class Index_EweiShopV2Page extends PluginMobilePage
{
public function main()
{
global $_W;
global $_GPC;
$category = pdo_fetchall('select * from ' . tablename('ewei_shop_qa_category') . ' where isrecommand=1 and enable... |
<?php
// Define the content width
if (!isset($content_width)) {
$content_width = 600;
}
// Add support for WordPress 3.0's custom menus
add_action('init', 'register_my_menu');
// Register area for custom menu
function register_my_menu() {
register_nav_menu('primary-menu', __('Primary Menu'));
register_na... |
<?php
use yii\db\Migration;
/**
* Handles the creation of table `team`.
*/
class m170814_144813_create_team_table extends Migration
{
/**
* @inheritdoc
*/
public function up()
{
$tableOptions = 'CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB';
$this->createTable('tea... |
@extends('layouts.master')
@section('content')
<form method="POST" action="{{ action('PostsController@update', $post->id) }}">
{{ method_field('PUT') }}
{!! csrf_field() !!}
Title: <input type="text" name="title" value="{{ old('title') }}">
Content: <textarea name="content" rows="5" cols="40">{{ old('content') }}<... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Auth;
use App\Models\User;
use App\Models\Post;
use Illuminate\Http\Response;
use App\Models\Profile;
use App\Models\SocialAccessRequests;
class ProfileController extends Controller
{
//
public function __construct()
{
$this-... |
<?php
namespace Victoire\Bundle\WidgetBundle\Cache;
use Predis\Client;
use Symfony\Component\Security\Core\Authorization\AuthorizationChecker;
use Victoire\Bundle\WidgetBundle\Entity\Widget;
use Victoire\Bundle\WidgetBundle\Entity\WidgetSlotInterface;
use Victoire\Bundle\WidgetBundle\Helper\WidgetHelper;
/**
* This... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<style type="text/css">
/*Coupons */
.coupons {
posi... |
@extends('layouts.recruit')
@section('title')
校园招聘
@endsection
@section('style')
<link rel="stylesheet" href="/css/frontend/schoolrecruit/detail.css">
<link rel="stylesheet" href="/bootstrap/css/bootstrap.css">
<script type="application/javascript" src="/bootstrap/js/bootstrap.js"></script>
<scrip... |
<!DOCTYPE html>
<html lang="<?php echo e(app('l')); ?>" >
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo e(trans('admin.forgot_password')); ?></title>
<!-- Google Font: Source Sans Pro -->
<!-- Font Awesome... |
<?php $__env->startSection('title', 'Table - Brand'); ?>
<?php $__env->startSection('content'); ?>
<div class="container-fluid">
<h3 class="text-dark mb-4"><strong>Detalhes da Categoria: <?php echo e($category->name); ?></strong></h3>
<div class="card shadow">
<div class="card-body">
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Chatbot\V20171011\Models;
use AlibabaCloud\Tea\Model;
class GetAsyncResultRequest extends Model
{
/**
* @var string
*/
public $taskId;
protected $_name = [
'taskId' => 'TaskId',
];
public f... |
<?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare(strict_types=1);
namespace Nette\PhpGenerator;
/**
* PHP return, property and parameter types.
*/
class Type
{
public const
STRING = 'string',
INT = 'int',
FLOAT... |
@extends('layouts.panel')
@section('styles')
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/css/bootstrap-select.min.css">
@endsection
@section('content')
<div class="card bg-secondary shadow">
<form method="POST" action="{{ url('/doctors/'.$doctor->id) }}">
@csrf... |
<?php
namespace app\admin\controller;
use think\Controller;
use think\Request;
use app\admin\model\Lq_proprety;
class Property extends Controller
{
public function index()
{
$model=new Lq_proprety();
$list=$model->query_pro();
$this->assign('list',$list);
return $this->fetch()... |
<?php
return [
'advs' => [
'title' => 'ڕیکلامەکان',
],
'categories' => [
'title' => 'کەتێگۆریکان',
],
'countries' => [
'title' => 'وڵاتەکان',
],
'cities' => [
'title' => 'شارەکان',
],
'districts' => [
'title' => 'ناوچەکان',
],
'neighbo... |
<?php
class registerNotifiersFilter extends sfFilter
{
public function execute($filterChain)
{
if($this->isFirstCall())
{
$notifiers = sfYaml::load(dirname(__FILE__).'/../../config/notifiers.yml');
if(!is_null($notifiers) && is_array($notifiers))
{
foreach($notifiers as $notifier... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Ticket */
/* @var $searchModel app\models\TicketSearch */
$this->title = \Yii::t('ticket', 'Edit Ticket: {token}', [ 'token' => $model->token ]);
$this->params['breadcrumbs'][] = ['label' => \Yii::t('ticket', 'Tickets'), 'url' => ['i... |
<?php
namespace App\Jobs;
use App\Models\InviteBonus;
use App\Models\RechargeLog;
use App\Models\User;
use App\Models\UserBonus;
use Illuminate\Bus\Queueable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispa... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'XdgBaseDir\\' => array($vendorDir . '/dnoegel/php-xdg-base-dir/src'),
'Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'),
'Symfony\\Component\\VarDump... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use PDF;
use App\Models\CotizacionMantenimiento;
use App\Models\Anio;
use App\Models\Empresa;
use App\Models\Equipo;
class MantenimientosController extends Controller
{
public function listarMantenimientos(){
$anios = Anio::consult... |
<?php
use Illuminate\Database\Seeder;
class CategorySeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(\App\Category::class,50) -> create();
}
} |
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* KzLjsRecs
*
* @ORM\Table(name="kz_ljs_recs")
* @ORM\Entity
*/
class KzLjsRecs
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
* @ORM\Id
* @ORM\GeneratedValue(str... |
<?php
// Under MIT License
// Distribute, Modify and Contribute under MIT License.
// Use of Software under MIT License.
?>
<?php
/**
* Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
*
* Uses hash() or mhash() if available and an internal imp... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Details extends Model
{
protected $guarded = [];
public function task()
{
return $this->belongsTo(Task::class);
}
} |
@extends('layouts.app')
@section('content')
<div class="container">
<h1>view Ratings Per Service</h1>
<div class="row">
<div class="col-4">
<ul class="list-unstyled">
@include('inc.rating')
<li><a href="/service">Go Back</a></li>
</ul>
</div>
<div class="col-8">
... |
<!-- Navigation -->
<nav class="navbar navbar-expand navbar-dark" style="background-color: #2C3E50">
<a class="sidebar-toggle text-light mr-3" id="sidebarCollapse"><i class="fa fa-bars"></i></a>
<a class="navbar-brand" href="<?php echo 'index.php'; ?>"><i class="fa fa-code-branch"></i>Amazon Settlement Projec... |
<?php
namespace App\Http\Controllers;
use Auth;
use URL;
use App\Tag;
use App\Comentario;
use Laracasts\Flash\Flash;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
use App\Http\Requests\ComentarioRequest;
class ComentarioController extends Controller
{
public function __construct()
{
... |
<h1>Widgets</h1>
<?php
// if this is /admin/widgets/new and not /admin/widgets/new/WIDGETNAME then show list of widgets we can add
if (sizeof(CMS::Instance()->content_parameters)==0) { ?>
<div class='table-responsive'>
<table class='table'>
<thead><tr><th>Name</th><th>Description</th><th>Action</th></tr></thead>
... |
<?php
namespace App\Http\Controllers\API;
use App\Models\HelpCategory;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class HelpCategoryController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function inde... |
<!-- DataTables CSS -->
<link rel="stylesheet" type="text/css" href="<?= base_url('asset/css/jquery.dataTables.css');?>">
<!-- DataTables -->
<script type="text/javascript" charset="utf8" src="<?= base_url('asset/js/jquery.dataTables.js');?>"></script>
<script type="text/javascript" language="javascript" class="init"... |
<?php
declare(strict_types=1);
namespace Scheb\Tombstone\Analyzer\Report\Html\Renderer;
use Scheb\Tombstone\Analyzer\Model\AnalyzerFileResult;
use Scheb\Tombstone\Analyzer\Model\AnalyzerResult;
use Scheb\Tombstone\Analyzer\Report\FileSystem;
use Scheb\Tombstone\Analyzer\Report\Html\TemplateProvider;
use Scheb\Tombst... |
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model backend\modules\quantri\models\BackendUser */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Backend Users', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class... |
<?php
namespace App\Http\Controllers\Dashboard;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\User;
use Auth;
class ProfileController extends Controller
{
public function index()
{
$user = User::findOrFail(Auth::user()->id);
return view('admin.profile.index', comp... |
<?php
namespace App;
use App\User;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Device extends Model
{
use SoftDeletes;
protected $fillable = [
'device_id', 'device_name', 'browser', 'platform', 'user_id', 'user_token', 'verification_code'
];
... |
<?php
class White_CardExceptionsTest extends \PHPUnit_Framework_TestCase
{
function setUp()
{
White::setApiKey('test_sec_k_25dd497d7e657bb761ad6');
}
function testCardDeclined()
{
$data = array(
"amount" => 1050,
"currency" => "usd",
"email" => "ahmed@example.com",
"card" =>... |
<?php
namespace nhockizi\translatemanager\controllers\actions;
use nhockizi\translatemanager\services\Optimizer;
class OptimizerAction extends \yii\base\Action {
/**
* Removing unused language elements.
* @return string
*/
public function run() {
$optimizer = new Optimizer;
$o... |
<?php require __DIR__.'/views/header.php'; ?>
<form class="" action="app/posts/store.php" method="post" enctype="multipart/form-data">
<div class="card mx-auto" style="width: 24rem;">
<ul class="list-group list-group-flush">
<div class="card-body">
<h5 class="card-title">Create new Post</h5>
<p class="c... |
<?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 a... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Like extends Model
{
protected $fillable = [
'user_id', 'post_id', 'status'
];
public function user()
{
return $this->belongsTo('App\User');
}
public function post()
{
return $this->belongsTo('App\Post');
}
public fun... |
<?php
namespace controller;
use controller\Database as DB;
class User extends DB
{
public function login($data)
{
$sql = $this->prepare("
SELECT * FROM users WHERE username = '".$data['username']."' AND password = md5('".$data['password']."')
");
$sql->execute();
if($sql->rowCount() == 1){
... |
@extends('admin.base')
@section('content')
<div class="container-fluid">
<div class="fade-in">
<div class="row">
<div class="col-sm-12">
<div class="card">
<div class="card-header">
<h4>{{ $title }}</h4>
... |
<?php
/**
* The class which handles suggested feeds tab.
*
* @author Time.ly Network Inc.
* @since 2.4
*
* @package AI1EC
* @subpackage AI1EC.Calendar-feed
*/
class Ai1ecSuggestedConnectorPlugin extends Ai1ec_Connector_Plugin {
/**
* @var array
* title: The title of the tab and the... |
<?php
declare(strict_types=1);
/*
* Copyright 2021 mlucas.
*
* 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 b... |
<?php
return [
'hot' => 'ما الجديد ؟',
'see-more' => 'رؤية المزيد',
'view-amazon' => 'الانتقال الي المنتج',
'today-deal' => "عروض اليوم",
'your-name' => 'اسمك بالكامل',
'phone' => 'رقم الهاتف',
'city' => 'المحافظة',
'save-changes' => 'حفظ التغييرات',
'new-password' => 'كلمة المرور ا... |
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... |
<?php
namespace App\Common\Models\Qyweixin\ReplyMsg;
use App\Common\Models\Base\Base;
class SendLog extends Base
{
function __construct()
{
$this->setModel(new \App\Common\Models\Qyweixin\Mysql\ReplyMsg\SendLog());
}
} |
<?php
/**
* @copyright 2019 Wayfair LLC - All rights reserved
*/
namespace Wayfair\Services;
use Wayfair\Core\Contracts\StorageInterfaceContract;
use Wayfair\Repositories\KeyValueRepository;
class StorageService implements StorageInterfaceContract {
/**
* @var KeyValueRepository
*/
private $keyValueRepo... |
<?php
namespace Madewithlove\ElasticSearcherLaravel\Console;
use ElasticSearcher\Managers\IndicesManager;
use Illuminate\Console\Command;
/**
* Create an index in elasticsearch.
*/
class CreateIndexCommand extends Command
{
/**
* @var string
*/
protected $signature = 'search:create-index
{index : The ... |
<?php
namespace App\Providers;
use App\User;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\ServiceProvider;
use Dusterio\LumenPassport\LumenPassport;
class AuthServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public funct... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Tipo extends Model
{
protected $table = 'TIPO';
public $timestamps = false;
protected $fillable = [
'descripcion',
'objeto'
];
} |
<?php
declare (strict_types=1);
namespace RectorPrefix20210923;
use Rector\Symfony\Rector\ClassMethod\RemoveServiceFromSensioRouteRector;
use Rector\Symfony\Rector\ClassMethod\ReplaceSensioRouteAnnotationWithSymfonyRector;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return sta... |
<?php
namespace App\Exceptions;
use App\Http\Controllers\Api\Oauth\InvalidCredentialsException;
use Throwable;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Contracts\Encryption\DecryptException;
use Illuminate\Database\Eloquent\JsonEncodingException;
u... |
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class AdvertType extends AbstractType
{
/**
* {@inheritdoc}
*/
... |
<?php
namespace Cocorico\PaymentBundle\Enum\PayPal;
/**
* Class Command
* @package Cocorico\PaymentBundle\Enum\PayPal
*/
class Command
{
const EXPRESS_CHECKOUT = '_express-checkout';
const AP_PAYMENT = '_ap-payment';
} |
<?php
return array(
'pageTitle' => 'Create Course',
'smalladd' => 'Add new Course',
'create_track' => 'There is no Tracks, Create one now!',
'level_track' => 'There is no Levels, Create one now!',
'newdata' => 'New Course data',
'newtitle' => 'Enter Course title',
'newdesc' => 'Place some text here',
... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use DB;
class BucketsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table("buckets")->insert([
'name' => 'my bucket',
'location'... |
<?php
/**
* Created by PhpStorm.
* User: csq
* Date: 2019/7/5
* Time: 16:29
*/
namespace app\admin\controller;
use think\Controller;
use think\Db;
class Gift extends Controller{
//礼物列表
public function index(){
//查询列表
$list = DB::name('gift')->paginate(30,false,['request' => request()->pa... |
<?PHP
require_once 'header.php';
/* В режиме администратора отразит нам форму добавления товара */
if (isset($_GET['admin'])) {
echo '<form action="upload.php" method="POST" enctype="multipart/form-data">
<div id="item">
Название товара<br/>
<input type="text" name="name" pattern="[A-Za-zА-Яа-я ]{6,64}" requi... |
<?php $__env->startSection('title', 'Literatura'); ?>
<?php $__env->startSection('content'); ?>
<?php
if(Auth::check()){
if(Auth::user()->name=='admin'){
?>
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>Dostupna literatura</h2>
<... |
<?php
Class page extends CI_controller {
function index (){
$this->load->view('login');
}
} |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\StoreArticleRequest;
use App\Models\Admin;
use App\Models\Article;
use App\Models\Category;
use Illuminate\Http\Request;
class ArticleController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\R... |
<?php
if (!defined('WPINC')) {
die('Closed');
}
if(defined('REGMAGIC_ADDON')) include_once(RM_ADDON_ADMIN_DIR . 'views/template_rm_login_retention.php'); else {
?>
<div class="rmagic">
<!--Dialogue Box Starts-->
<div class="rmcontent">
<div class="rmheader"><?php echo _e('Logs Retention', 'cus... |
<?php
/**
* CJuiInputWidget class file.
*
* @author Sebastian Thierer <sebathi@gmail.com>
* @link http://www.yiiframework.com/
* @copyright Copyright © 2008-2011 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
Yii::import('zii.widgets.jui.CJuiWidget');
/**
* CJuiInputWidget is the bas... |
<?php
namespace Logit\Http\Controllers;
use Illuminate\Http\Request;
use Carbon\Carbon;
use Illuminate\Support\Facades\Auth;
use Logit\Classes\LogitFunctions;
use Logit\RoutineJunction;
use Logit\WorkoutJunction;
use Logit\Settings;
use Logit\Routine;
use Logit\Workout;
use Logit\Note;
use Logit\User;
class StartW... |
<?php
declare(strict_types=1);
namespace Sinbadxiii\PhalconAuth\Events;
class AfterLogin extends EventAbstract
{
} |
<?php
namespace App\Http\Controllers\admin;
use App\Http\Controllers\Controller;
use App\Models\GroupParameter;
use App\Models\Parameter;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
class ParameterController extends Controller
{
public function index()
{
$group = GroupParame... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('products', fun... |
<?php
/*
* Copyright (c) 2008-2016 vip.com, All Rights Reserved.
*
* Powered by com.vip.osp.osp-idlc-2.5.11.
*
*/
namespace com\vip\domain\order;
class OrderTrackInfo {
static $_TSPEC;
public $erp_order_sn = null;
public $transport_code = null;
public $transport_detail = null;
public $action_time = null;
... |
<!DOCTYPE html>
<html lang="en">
<head>
@include('layouts.shared.title-meta', ['title' => "Log In"])
@include('layouts.shared.head-css')
</head>
<body class="authentication-bg authentication-bg-pattern" style="background-color:#282828;">
<div class="account-pages mt-5 mb-5"><br><b... |
<?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 Enbit\eBaySDK\PostOrder\Enums;
class ReturnCountFilterEnum
{
const C_ALL_OPEN = 'ALL_OPEN';
co... |
<?php
namespace App\Http\Controllers\Api;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Mail;
use App\Mail\CredentialsMailable;
use App\Models\User;
use App\Utils\Util;
class LoginController ... |
<?php
/** @noinspection ReturnTypeCanBeDeclaredInspection */
/** @noinspection AccessModifierPresentedInspection */
namespace Czim\CmsCore\Test\Providers;
use Czim\CmsCore\Contracts\Core\BootCheckerInterface;
use Czim\CmsCore\Contracts\Core\CoreInterface;
use Czim\CmsCore\Providers\MiddlewareServiceProvider;
use Czim... |
@extends('layouts.main')
@section('content')
<div class="panel panel-default">
@if(count($contacts)>0)
<table class="table">
@foreach($contacts as $row)
<tr>
<td class="middle">
<div class="media">
<div class="media-left">
<a href="#">
<... |
<?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 RectorPrefix20211123\Symfony\Component\Config\Loader;
/**
* LoaderResol... |
<?php
namespace mibexx\dockercomposefile;
use mibexx\collection\Collection\CollectionInterface;
interface FileInterface
{
/**
* @return string
*/
public function getFilename();
/**
* @param string $filename
*/
public function setFilename(string $filename);
/**
* @return... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => 'plugins://error/error.yaml',
'modified' => 1544825660,
'data' => [
'enabled' => true,
'routes' => [
404 => '/error'
]
]
]; |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>欢迎页面-X-admin2.0</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, i... |
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
class Admin extends Authenticatable
{
use HasApiToke... |
<?php
namespace Tests;
use Demency\Friendships\Traits\Friendable;
use Illuminate\Auth\Authenticatable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\... |
<?php
/*
* This file for make the site language is English
*
* Taken files from controller Folder
*
* $data['title '] it is the target :)
*/
//come from app/controllers Folders
//
// $lang['FileName_FunctionName'] = "";
$lang['page_add_new_page'] = "-- إدارة الصفحات -- أضافة صفحة جديده";
$lang['pag... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\bootstrap;
use Yii;
use yii\helpers\ArrayHelper;
/**
* NavBar renders a navbar HTML component.
*
* Any content enclosed between the [[begin()]] and [... |
@extends('layouts.app')
@section('content')
<section class="content-header">
<h1>
@lang('view.Taskcomment')@lang('view.show')
</h1>
</section>
<div class="content">
<div class="box box-primary">
<div class="box-body">
<div class="row" style="... |
<?php
/**
* Copyright 2019 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 agr... |
@extends('admin.layout.app')
@section('head-section')
@endsection
@section('content')
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">
... |
<?php
use yii\db\Migration;
/**
* Handles the creation of table `brand`.
*/
class m181008_015533_create_brand_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->createTable('brand', [
'id' => $this->primaryKey(),
'name'=>$this->st... |
<?php
exec('grep -c ^processor /proc/cpuinfo',$resultNumberOfCores);
header('Content-Type: application/json; charset=UTF-8');
$numberOfCores = $resultNumberOfCores[0];
exec('cat /proc/loadavg | awk \'{print $1","$2","$3}\'',$resultLoadAvg);
header('Content-Type: application/json; charset=UTF-... |
<?php
namespace app\admin\controller;
use app\admin\Model\User as UserModel;
use app\admin\Model\Userinfo as UserinfoModel;
use think\Loader;
class Userinfo extends Lock{
public function index(){
$search=input('param.search');
$data=db('userinfo')->alias('ui')->join('user u','ui.userid=u.id')->field('ui... |
@extends('admin.layout.master')
@php
use App\Helpers\MyHelper as MyHelper;
@endphp
@section('css')
<link rel="stylesheet" href="{{ URL::asset('backend/theme/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css') }}">
@stop
@section('content')
<section class="content">
<div class="row">
... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>The Doers</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/... |
@extends('layout.main')
@section('styles')
<link rel="stylesheet" href="/css/home.css">
@stop
@section('scripts')
<script type="text/javascript" src="{!! asset('js/home.js') !!}"></script>
@stop
@section ('content')
<main>
<div class="header">
<h1 class="center-align" id="">Giacomo Caruso</h1>
<h4 cla... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Users_controller extends CI_Controller {
public function __construct() {
parent::__construct();
}
public function index() {
$this->load->view('layout/header');
if ($this->session->connected) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.