text stringlengths 2 1.03M |
|---|
<?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
/*
* Copyright 2021 LABOR.digital
*
* 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 ag... |
<?php
include '../tpl/tpl_func_admin.php';
$title="站点管理菜单";
display('bankuai_leftmenu.html',compact('title')); |
<?php
/* partials/dashboard-pages.html.twig */
class __TwigTemplate_58f548ec714505800291728a1767db47924f2e019e60080ee55365d910ccb89b extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
@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">{{ __('Reset Password') }}</div>
<div class="card-body">
<form met... |
<?php
namespace PhpAjaxFormDemo\Forms;
use stdClass;
/**
* AJAX form template class; other forms must extend this class
*
* @package ajax-form-demo
*
* @author Juan Carrión
*
* @version 0.0.1
*/
abstract class AjaxForm
{
/**
* @var string $formId Form identifier.
* @var string FORM_I... |
<?php
namespace FilippoToso\Travelport\Util;
class PenaltyInformation
{
/**
* @var string $_
*/
public $_ = null;
/**
* @var typeCarrier $Carrier
*/
public $Carrier = null;
/**
* @var string $FareBasis
*/
public $FareBasis = null;
/**
* @var int $Fare... |
<?php
namespace App\Controller;
use App\Entity\User;
use App\Form\RegistrationFormType;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface... |
<?php
/*
* CPHP框架 工具函数
* str_xxxx string工具函数
*/
//each,正则匹配,并循环
function str_each($str = "", $reg = "", $closure = null)
{
if (!is_notempty_str($str)) return false;
preg_match_all($reg, $str, $matches);
$ms = $matches[0];
if (!empty($ms)) {
$rst = [];
foreach ($ms as $k => $v) {
... |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\NikonCustom;
use JMS\Serializer\Annotation\ExclusionP... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Home</title>
<link rel="shortcut icon" type="image/x-icon" href="asset('assets/images/favicon.ico')">
<link href="htt... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model quantri\modules\products\models\ProductsSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="products-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'ge... |
<?php
/*
* This file is part of the Money package.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SebastianBergmann\Money;
/**
* @author Sebastian Bergmann <sebast... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\subsidy\models\ProjectSubsidyWork */
$this->title = Yii::t('app', 'Update Project Subsidy Work: {name}', [
'name' => $model->id,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Project Subsidy Works'), 'url' => [... |
<?php
//Including conn.php
//Starting session
session_start();
include('conn.php');
//Defining timezone
date_default_timezone_set('Asia/Kuala_Lumpur');
//Declaring variables to contain user-inserted username and password
$_username = mysqli_real_escape_string($_conn, $_POST['mgruname']);
$_password = mysqli_real_... |
<?php
/**
* DocumentUpdateInfo
*
* PHP version 5
*
* @category Class
* @package DocuSign\eSign
* @author Swaagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* DocuSign REST API
*
* The DocuSign REST API provides you with a powerful, convenient, and simple Web services... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDealearsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('dealears', fun... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Product;
class ProductsController extends Controller
{
/**
* 商品検索
* @return $datas
*/
public function index(Request $request)
{
$query = Product::query();
$product_name = $request->product_name;
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateDepartmentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('departments... |
<?php
/*
* This file is part of the WPFoundation library.
*
* Copyright (c) 2015-present LIN3S <info@lin3s.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace spec\LIN3S\WPFoundation\Configuration\Acf;
use fixtures\LI... |
<?php
namespace Google\AdsApi\AdManager\v201811;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class LiveStreamEventActionError extends \Google\AdsApi\AdManager\v201811\ApiError
{
/**
* @var string $reason
*/
protected $reason = null;
/**
* @param string $fieldPath
* @p... |
<?php
namespace App\Models\Traits;
trait ClassNameTrait
{
public function getClassName()
{
return self::class;
}
} |
<?php
namespace XeroPHP\Models\PayrollAU\PayItem;
use XeroPHP\Remote;
class ReimbursementType extends Remote\Object {
/**
* Name of the reimbursement type (max length = 50)
*
* @property string Name
*/
/**
* See Accounts
*
* @property string AccountCode
*/
/**
... |
<?php
namespace iodev\commons\templates\model;
/**
* @author Sergey Sedyshev
*/
abstract class Block
{
/**
* @return string
*/
abstract public function type();
/**
* @return string
*/
public function toString()
{
return "";
}
} |
<?php
namespace app\Admin\controller;
use app\admin\model\OrderModel;
use think\Controller;
use think\Db;
class Order extends Controller
{
public function index()
{
$map = [];
$type = input('post.type');
$select = input('post.num');
$start = input('post.start');
$end =... |
<section class="main-menu">
<div class="container">
<div class="col-md-9 tab-content">
<div class="list-product">
<div role="tabpanel" class="tab-pane fade in active" id="vo">
<ul class="list-img">
<?php
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class ProgrammingLanguage extends Model
{
//
} |
<?php
use app\assets_b\AppAsset;
use yii\helpers\Html;
/* @var $this \yii\web\View */
/* @var $content string */
raoul2000\bootswatch\BootswatchAsset::$theme = 'cerulean';
dmstr\web\AdminLteAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
<meta ... |
<?php
declare(strict_types=1);
namespace Square;
use Square\Http\HttpRequest;
/**
* Utility class for authorization and token management.
*/
class BearerAuthManager implements AuthManagerInterface, BearerAuthCredentials
{
private $accessToken;
/**
* Returns an instance of this class.
*
* @... |
<?php namespace User\Entity;
use Doctrine\ORM\Mapping\Column;
use Doctrine\ORM\Mapping\Entity;
use Doctrine\ORM\Mapping\GeneratedValue;
use Doctrine\ORM\Mapping\Id;
use Doctrine\ORM\Mapping\JoinColumn;
use Doctrine\ORM\Mapping\ManyToOne;
use Doctrine\ORM\Mapping\OneToOne;
use Doctrine\ORM\Mapping\Table;
/**
* Entity... |
<!doctype html>
<html lang="ru">
<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">
<!-- CSRF Token -->
<meta name="csrf-token" co... |
<?php
/*
* This file is part of the Elcodi package.
*
* Copyright (c) 2014 Elcodi.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Feel free to edit as you please, and have fun.
*
* @author Marc Morera <yuhu@mmoreram.com>
... |
<?php
declare(strict_types=1);
namespace App\Tests\Book\Infrastructure\ApiPlatform\Resource\Book;
use App\Book\Domain\Model\Book\Author;
use App\Book\Domain\Model\Book\BookId;
use App\Book\Domain\Model\Book\Command\CreateBook;
use App\Book\Domain\Model\Book\Description;
use App\Book\Domain\Model\Book\Isbn;
use App\B... |
<?php
namespace App\Mail;
use App\Models\OrderedTime;
use Carbon\Carbon;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Mail;
class OrderedTimeShip extends Mailable
{
use Queueable, Seri... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Model handling database interacions for the Connect library.
*/
// CI 2.0 Compatibility
//if(!class_exists('CI_Model')) { class CI_Model extends Model {} }
class Connect_model extends CI_Model
{
public $error = false;
/**
* The... |
<?php
use Illuminate\Database\Seeder;
use App\Models\User\User;
use App\Models\_partials\Address;
class UserTableSeeder extends Seeder
{
public function run()
{
$users = [
['first_name' => 'admin',
'type' => 'admin',
'email' => 'znack@gmail.com',
'password... |
<?php
// namespace App\Laravel\Controllers\System;
use Illuminate\Support\Facades\Route;
Route::group([
'prefix' => 'admin',
'namespace' => "System",
'as' => 'system.',
],function(){
Route::group(['middleware' => "guest"],function(){
Route::get('',['uses' => 'AuthController@redirect']);
... |
<?php
namespace Parle;
class Stack
{
/* Properties */
/**
* @var bool Whether the stack is empty, readonly.
* @property-read
*/
public $empty = true;
/**
* @var int Stack size, readonly.
* @property-read
*/
public $size = 0;
/**
* @var mixed Element on th... |
<?php $team = page('teams')->children()->find($uid); ?>
<span class="from" style="color:<?php echo $page->thecolor() ?>"><?php echo l::get('from') ?> <?php echo $team->from() ?></span></br>
<h2><?php echo $team->title() ?></h2>
<?php $thecover = $team->coverimage()->toFile(); ?>
<div class="thumb-image">
<a href=... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration {
public function up()
{
Schema::create('users', function(Blueprint $table)
{
$table->increments('id');
$table->string('name',200);
$table->string('email',200);
$ta... |
<?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
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateStudentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('students', fun... |
<div class="bottom-bar">
<div class="container-fluid">
<div class="row align-items-center">
<div class="col-md-3">
<div class="logo">
<a href="index.html">
<img src="{{URL::asset('img/logo.png')}}" alt="Logo">
</a>
... |
<?php
use Illuminate\Support\Facades\Broadcast;
/*
|--------------------------------------------------------------------------
| Broadcast Channels
|--------------------------------------------------------------------------
|
| Here you may register all of the event broadcasting channels that your
| application suppo... |
<?php declare(strict_types=1);
namespace ApiClients\Tests\Client\Github\Resource\Async\Repository;
use ApiClients\Client\Github\Resource\Async\Repository\EmptyCommunityHealth;
use ApiClients\Tools\ResourceTestUtilities\AbstractEmptyResourceTest;
/**
* @internal
*/
final class EmptyCommunityHealthTest extends Abstr... |
<?php
/*
* This file is part of the Qsnh/meedu.
*
* (c) 杭州白书科技有限公司
*/
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddCommentStatusColumnForCoursesTable extends Migration
{
/**
* Run the migrations.
*
* @re... |
@extends('backend.layouts.app')
@section('title', __('labels.backend.access.users.management') . ' | ' . __('labels.backend.access.users.create'))
@section('breadcrumb-links')
@include('backend.auth.user.includes.breadcrumb-links')
@endsection
@section('content')
<div class="content">
{{ html()->form... |
<?php
/**
* This file is part of the SevenShores/NetSuite library
* AND originally from the NetSuite PHP Toolkit.
*
* New content:
* @package ryanwinchester/netsuite-php
* @copyright Copyright (c) Ryan Winchester
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0
* @link https://githu... |
<?php
/**
* @package Module
* @subpackage About
*/
/**
* @package Module
* @subpackage About
*/
class AboutWebModule extends WebModule {
protected $id = 'about';
protected function getPhraseForDevice() {
switch($this->platform) {
case 'iphone':
return $this->pagetype == 'tablet' ? 'i... |
<?php
$con = mysqli_connect("127.0.0.1","root","","mini");
$query="select * from trialcart where username = (select username
from login
where id=(select max(id) from login))";
$result = $con->query($query);
?>
<!DOCTYPE html>
<html>
<head>
<style>
.buttonlogout{
background-color: #301601;
opacity: 0.85;
border: no... |
@extends('layouts.home')
@section('conteudo_principal')
#cadastro-games
%form.form-horizontal{:action => "/cadastro-games", :method => "POST", :role => "form"}
{!! csrf_field() !!}
.campo_cadastro
%span Nome
%input.form-control{:name => "nome", :type => "text"}
.campo_cadastro.botao
%but... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Tag extends Model
{
protected $table = "tags";
protected $fillable = ['name'];
public function articles()
{
return $this->belongsToMany('App\Article')->withTimestamps();
}
public function scopeSearch($query, $name)
... |
<?php
/**
* Phoole (PHP7.2+)
*
* @category Library
* @package Phoole\Logger
* @copyright Copyright (c) 2019 Hong Zhang
*/
declare(strict_types=1);
namespace Phoole\Logger\Handler;
use Phoole\Logger\Entry\LogLevelTrait;
use Phoole\Base\Queue\UniquePriorityQueue;
use Phoole\Logger\Entry\LogEntryInterface;
use... |
<mets:dmdSec ID="{{ $fidx_y }}-dmd">
<mets:mdWrap MDTYPE="DC">
<mets:xmlData>
<dc:record xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mods="http://www.loc.gov/mods/v3">
<dc:title>{{ $fidx_y_dmd_titl... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
*
* @author Ifan Lumape
* @Email fnnight@gmail.com.
* @Start 22 April 2014
* @Web http://www.ifanlumape.com
*
*/
class Dashboard extends CI_Controller
{
function __construct()
{
parent::__construct();
}
function index... |
@extends('layouts.app')
@section('content')
<div class="contents row" >
<p>{{ $name }}さんの投稿一覧</p>
@foreach($tweets as $tweet)
<div class="content_post" style="background-image: url({{ $tweet->image }});">
<p>{{$tweet->text}}</p>
<span class="name">
... |
<!doctype html>
<!--
* Tabler - Premium and Open Source dashboard template with responsive and high quality UI.
* @version 1.0.0-alpha.14
* @link https://tabler.io
* Copyright 2018-2020 The Tabler Authors
* Copyright 2018-2020 codecalm.net Paweł Kuna
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LI... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateClientsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('clients', funct... |
<?php
namespace app\modules\forum;
class Module extends \yii\base\Module
{
public function init()
{
parent::init();
$this->params['foo'] = 'bar';
// ... 其他初始化代码 ...
}
} |
<?php
namespace Bitrix\Main\Annotations;
use Bitrix\Main\SystemException;
class AnnotationReader
{
const RULE_FIRST_CAPITAL_LETTER = 0x001;
protected $collectRules = self::RULE_FIRST_CAPITAL_LETTER;
/**
* AnnotationReader constructor.
*/
public function __construct()
{
if (
extension_loaded('Zend Opt... |
<?php $this->setSiteTitle("Add Product") ?>
<?php $this->start('head') ?>
<script src='<?=PROOT?>vendor/tinymce/tinymce/tinymce.min.js'></script>
<?php $this->end() ?>
<?php $this->start('body') ?>
<div class="row align-items-center justify-content-center">
<div class="col-md-8 bg-light p-3">
<h1 class="text-c... |
@extends('layouts.app')
@section('title', '所有商品')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1><small>商品共 {{ $products->total() }} 件</small></h1>
</div>
</div>
<div class="row">
<... |
<div class="modal fade" id="showrating_modal" tabindex="-1" role="dialog" aria-labelledby="#showrating_modal"
aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body text-left">
<div class="row direction">
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Index Page</title>
<link rel="stylesheet" href="{{asset('css/app.css')}}">
</head>
<body>
<div class="container">
<br />
@if (\Session::has('success'))
<div class="alert alert-success">
<p>{{ \Session::get('success')... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div id ="" class="card-header">
<input id="token" type="text" class="form-control" ... |
<?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Mobile Factory - Contact</title>
<link rel="stylesheet" href="contact.css">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
</head>
<body>
<div class="contai... |
<?php
namespace App\Entries\Infra\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController
{
use Au... |
@extends('layouts.no_nav')
@section('title', '新規アカウント作成')
@section('css')<link href="{{ mix('css/register.css') }}" rel="stylesheet">@endsection
@section('content')
<div class="container">
<h1 class="content-title">新規アカウント作成</h1>
<form method="POST" action="{{ route('register') }}">
@csrf
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagi... |
<?php
namespace App\Core\Providers;
use Laravel\Passport\Passport;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies =... |
@extends('admin.includes.master-admin')
@section('content')
<div id="page-wrapper">
<div class="container-fluid">
<div class="row" id="main">
<!-- Page Heading -->
<div class="go-title">
<h3>Testimonial Section</h3>
<div c... |
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Usuario
*
* @ORM\Table(name="usuario")
* @ORM\Entity(repositoryClass="AppBundle\Repository\UsuarioRepository")
*/
class Usuario
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\Gener... |
@extends('layouts.admin.app')
@section('admin_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">
<fo... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateImagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('images', functio... |
<?php
namespace Synapse\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class Version20150810133358 extends AbstractMigration
{
public function up(Schema $schema)
{
// this up() migration is... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ComposantController extends Controller
{
//
} |
<?php
class OtherApps extends CI_Controller {
public function _construct()
{
parent::_construct();
$CI =& get_instance();
$CI->load->library('form_validation');
// generic global page variables used for all pages
$vars = ... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTasksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tasks', function ... |
<?php
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
class Authenticate extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param \Illuminate\Http\Request $request
* @return string|null
... |
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
@if(Session('msg'))
{{ Session('msg')}}
@endif
<a href="{{ url('/showsubcategory')}}">Show SubCategory</a><br><br>
<form method="post" action="{{ url('/subcategoryData') }}">
{{ csrf_field() }}
<select name="category_sub_id">
<option va... |
<?php
namespace App\Http\Controllers\PourashavaFrontend;
use App\Models\Admin;
use App\Models\Notic;
use App\Models\MainMayor;
use App\Models\MayorList;
use App\Models\CounselorList;
use App\Models\ImportantLink;
use App\Models\ImportantApplication;
use App\Models\UserWallet;
use App\Models\Information;
use App\Model... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Auth;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Session;
use App\User;
use App\Models\Setting;
use Redirect;
use Illuminate\Support\Facades\DB;
use App\Models\Notification;
use Ap... |
<?php
$mainContent = getOption('footer', 'main_content');
$contactBoxes = getOption('contact', 'group');
$footerLinks = getOption('footer', 'links');
$copyright = getOption('footer', 'copyright');
$socials = [];
foreach(['twitter', 'facebook', 'linkedin', 'instagram'] as $site) {
$link = getOption('so... |
<?php include("header.php"); ?>
<?php include("connection.php"); ?>
<link rel="stylesheet" href="../css/dashboard.css">
<link rel="stylesheet" href="button.css">
<style>
.wrapper{
width: 400px;
height: 340px;
margin: 0 auto;
background-color: darkgray;
opacity: 0.8... |
<?php
declare(strict_types=1);
namespace Pggns\MidocoApi\Booking\StructType;
use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for UpdateTempPrintjobInfoResponse StructType
* @subpackage Structs
*/
class UpdateTempPrintjobInfoResponse extends AbstractStructBase
{... |
<br>
<div id="content">
<table width="569">
<tr>
<td class="c" colspan="2">{construction}</td>
</tr>
{list_of_constructions}
<tr>
<th class="l" width="40%">
<table width="100%">
<tr>
<td style="backgr... |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token()... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateUserRoleTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_role', fu... |
<?php
/**
* Twitter-API wrapper
*/
class TwitterAPIExchange
{
private $oauth_access_token;
private $oauth_access_token_secret;
private $consumer_key;
private $consumer_secret;
private $postfields;
private $getfield;
protected $oauth;
public $url;
public $requestMethod;
... |
@extends('layouts.app')
@section('content')
<nav class="navbar navbar-expand-lg navbar-light fixed-top" style="background: #37517e">
<a class="navbar-brand text-white container pl-5" href="#">Formulir Pendaftaran</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSuppor... |
<?php
/**
* PHP version 7.3
*
* @category CustomersUploadRequest
* @package RetailCrm\Api\Model\Request\Customers
*/
namespace RetailCrm\Api\Model\Request\Customers;
use RetailCrm\Api\Component\FormData\Mapping as Form;
use RetailCrm\Api\Interfaces\RequestInterface;
/**
* Class CustomersUploadRequest
*
* @... |
<?php
/**
* amadeus-ws-client
*
* Copyright 2015 Amadeus Benelux NV
*
* 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 requir... |
<?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 Drupal\webform\Plugin\WebformElement;
/**
* Provides a 'buttons' element.
*
* @WebformElement(
* id = "webform_buttons",
* label = @Translation("Buttons"),
* description = @Translation("Provides a group of multiple buttons used for selecting a value."),
* category = @Translation("Option... |
@extends('layouts.app')
@section('page-title')
ERP Σ
@endsection
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">Dashboard</div>
<div class="card-body">
... |
<?php
use yii\db\Migration;
/**
* Handles the creation of table `place`.
*/
class m190118_200403_create_place_table extends Migration {
/**
* {@inheritdoc}
*/
public function safeUp() {
$this->createTable('place', [
'id' => $this->primaryKey(),
'name' ... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Professional;
use App\Tecnology;
use Illuminate\Support\Facades\DB;
class ProfessionalController extends Controller
{
public function list(Request $request) {
$professionalsList = Professional::all();
//return view ('/prof... |
<?php
if (!defined("SOFAWIKI")) die("invalid acces");
class swNameURLfunction extends swFunction
{
function info()
{
return "(s) translates string to URL";
}
function arity()
{
return 1;
}
function dowork($args)
{
$s = $args[1];
return swNameURL($s);
}
}
$swFunctions["nameurl"] = new swN... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\search\OrdersSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="orders-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
'op... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.