text stringlengths 2 1.03M |
|---|
<?php
namespace Cryptopay\Config;
use Cryptopay\AbstractResponse;
use Cryptopay\Exceptions\ConfigException;
use Exception;
class AbstractConfig implements ConfigInterface
{
protected string $apiKey;
protected string $apiSecret;
protected string $baseUrl = 'https://business.cryptopay.me';
protected... |
<?php
$arr = array_map('intval', explode(" ", readline()));
while (true) {
$line = readline();
if ($line == 'end') {
break;
}
$tokens = explode(" ", $line);
switch ($tokens[0]) {
case "Add":
$numberToAdd = intval($tokens[1]);
$arr[count($arr)]=$numberToAdd... |
@extends('layout')
@section('contenido')
<h1>Login</h1>
<form method="post" action="/login">
{!! csrf_field() !!}
<input type="email" name="email" placeholder="Email">
<input type="password" name="password" placeholder="Password">
<input type="submit" value="Enviar">
... |
<?php
namespace Twig\Node;
use Twig\Compiler;
use Twig\Node\Expression\AbstractExpression;
use Twig\Node\Expression\ConstantExpression;
/**
@author
*/
class DeprecatedNode extends Node
{
public function __construct(AbstractExpression $expr, int $lineno, string $tag = null)
{
parent::__construct(['expr' =>... |
</div>
<!-- End of Main Content -->
<!-- Footer -->
<footer class="sticky-footer bg-white">
<div class="container my-auto">
<div class="copyright text-center my-auto">
<span>Copyright © KoiFarmDeni 2022</span>
</div>
</div>
</footer>
<!-- End of Footer -->
</div>
<... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for y... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Order;
use App\Models\User;
use App\Models\Plant;
use App\Models\Order_product;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Collection;
class OrderController extends Controller {
//
public function add_ord... |
<style type="text/css">
.skin-black-light .sidebar-menu>li.active {
border-right: 3.5px solid #353535;
}
</style>
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pul... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to... |
<?php
/*
* This file is part of TAnt.
* @link https://github.com/edenleung/think-admin
* @document https://www.kancloud.cn/manual/thinkphp6_0
* @contact QQ Group 996887666
* @author Eden Leung 758861884@qq.com
* @copyright 2019 Eden Leung
* @license https://github.com/edenleung/think-admin/blob/6.0/LICE... |
<style>
.dataTables_wrapper {
font-size: 16px
}
</style>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
<div class="row mb-2">
... |
<!-- ##### Listing Content Wrapper Area Start ##### -->
<section class="listings-content-wrapper section-padding-100">
<div class="container">
<div class="row">
<div class="col-12">
<div class="listings-top-meta d-flex justify-content-between mb-100">
<div cl... |
@extends('layouts.adminlayout')
@section('content')
<div id="content">
<!-- Top Navigation -->
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="responsive-logo">
<a href="index.html"><img src="images/logo-dark.png" class="logo" alt="logo"></a>
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Post;
use App\Like;
use App\Comment;
use DB;
class PostController extends Controller
{
//fungsi crud
public function index() {
$posts = DB::table('posts')->join('user_logins', 'posts.user_id', '=', 'user_logins.id')->get(... |
<?php
namespace App\Models;
use Cviebrock\EloquentSluggable\Sluggable;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Idea extends Model
{
use HasFactory, Sluggable;
public const PAGINATION_COUNT = 10;
protected $guarded = [];
// eloquent slugg... |
<?php
/**
* This file is part of the Mesour GeoServices (http://geo-services.mesour.com)
* Copyright (c) 2015 Matous Nemec (http://mesour.com)
*/
namespace Mesour\GeoServices\Direction\Transit;
/**
* @author Matous Nemec
*/
class Time {
private $time = array();
public function __construct($time) {
$this->t... |
@extends('layouts/main')
@section('Banner')
<section class="banner_area">
<div class="booking_table d_flex align-items-center">
<div class="overlay bg-parallax" data-stellar-ratio="0.9" data-stellar-vertical-offset="0" data-background="">
</div>
<div class="container">
<div clas... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
use App\Role;
use DB;
use Hash;
class UserController extends Controller
{
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index(Request $request)
{
$users = User::ord... |
@extends('layouts/master')
@section('content')
<form action="{{route('contactmail')}}" method="post">
@csrf
<div class="form-row mt-5">
<div class="col-2"></div>
<div class="form-group col-md-4">
<input type="text" class="form-control" name="nom" id="nom" placeholder="Nom" data-rule... |
@extends('layouts.app')
@section('content')
<!--<div class="row">
<div class="col-11 col-sm-11 col-md-11 col-lg-11 col-xl-11">
<div id="cont">
<br><br><br><br>
<div class="d-flex justify-content-center" id="colo">
<h1>Gestion de Fichas </h1>
... |
<?php
/**
* @copyright © 2017 Zesk Foundation
* @author kent
* @category Management
*/
namespace zesk;
/**
* FIFO is a simple mechanism to support inter-process communication
*
* This particular one allows the passing of arbitrary PHP data between processes, without a lot of extra baggage.
*
* You can al... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Start your development with a Dashboard for Bootstrap 4.">
<meta name="author" content="Narayan Rahul">
<title>DashBoard - LemonPrep</t... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMovimientosTareasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('movim... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use App\Unit;
class Hour extends Unit
{
protected $symbol = "h";
protected $siunit = "s";
protected $unitValue = 3600;
} |
<?php
namespace App\Http\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class CommentUserResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function toArray($request)
{
... |
<?php
namespace Backend\Modules\Mailmotor\Actions;
/*
* This file is part of Fork CMS.
*
* For the full copyright and license information, please view the license
* file that was distributed with this source code.
*/
use Common\Uri as CommonUri;
use Backend\Core\Engine\Base\ActionEdit as BackendBaseActionEdit;
... |
<?php
namespace Blog\UserBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfony.c... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Alumno;
use App\Grupo;
use Faker\Generator as Faker;
$factory->define(Alumno::class, function (Faker $faker) {
return [
'nombre'=>$faker->name,
'apellidos'=>$faker->lastName,
'email'=>$faker->unique()->safeEmail,
... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: rpc.proto
namespace Etcdserverpb;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>etcdserverpb.MemberUpdateRequest</code>
*/... |
<!DOCTYPE html>
<html>
<head>
<title>Catch App</title>
<!-- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> -->
<link rel="style... |
<?php
/**
* Created by PhpStorm.
* User: ELHEM
* Date: 04/04/2016
* Time: 10:58
*/
namespace AppBundle\Manager;
use AppBundle\Entity\Log;
use AppBundle\Manager\BaseManager;
use AppBundle\Repository\UserRepository;
use Doctrine\ORM\EntityManager;
class LogManager extends BaseManager
{
protected $em;
publ... |
<?php
namespace App\Http\Controllers\Practice;
use App\Http\Requests\PracticeImageUploadRequest;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Storage;
use App\Repositories\PracticeImagesRepository;
class ImageController extends BaseController
{
private $practic... |
@extends('layouts.app')
@section('title', 'Asociacion')
@section('content')
<h1>Asociaciones</h1>
@endsection |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
class CoursesController extends \BaseController {
/**
* Display a listing of the resource.
* GET /courses
*
* @return Response
*/
public function index()
{
return Course::with('campus')->get();
}
/**
* Show the form for creating a new resource.
* GET /courses/create
*
* @return Response... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddPhotoProfileToUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users',... |
@component('admin.layouts.content' , ['title' => 'ویرایش محصول'])
@slot('breadcrumb')
<li class="breadcrumb-item"><a href="/admin">پنل مدیریت</a></li>
<li class="breadcrumb-item"><a href="{{ route('admin.users.index') }}">لیست محصولات</a></li>
<li class="breadcrumb-item active">ویرایش محصول<... |
<?php
namespace App\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 AuthorizesReques... |
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 上海牛之云网络科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com.cn
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用。
* 任何企业和个人不允许对程序代码以任何形式任何目的再发布。
* ========... |
@extends('layouts.backend')
@section('title', $content->exists ? 'Editing '.$content->id : 'Create New Content Home')
@section('content')
{!!
Form::model($content, [
'method' => $content->exists ? 'put' : 'post',
'files' => true,
'route' => $content->exists ? ['backend.content.update', $content->id] : [... |
<?php
namespace Site\FrontendBundle\Form;
use Site\BackendBundle\Entity\Product;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\Extension\Core\Type\NumberType;
use Symf... |
<div class="users form">
<?php echo $this->Session->flash('Auth'); ?>
<?php echo $this->Form->create('User'); ?>
<fieldset>
<legend>
<?php echo __('Por favor ingrese su usuario y password'); ?>
</legend>
<?php echo $this->Form->input('username',array('label'=>'Usuario'));
... |
<?php
function simplexml_load_file(string $filename, ?string $class_name = SimpleXMLElement::class, int $options = 0, string $ns = '', bool $is_prefix = false): SimpleXMLElement|false {}
function simplexml_load_string(string $data, ?string $class_name = SimpleXMLElement::class, int $options = 0, string $ns = '', bool... |
@extends('layouts.main')
@section('content')
<!-- Page Heading -->
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">
{{ __('Update User') }}
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use kartik\select2\Select2;
use kartik\date\DatePicker;
use backend\models\TranslationFactory;
$translatorFactory = new TranslationFactory();
$translator = $translatorFactory->translator;
/* @var $this yii\web\View */
/* @var $model app\models\Product */
/* @v... |
@extends('layouts.default')
@section('content')
@include('partials.navbar')
<section class="text-gray-600 body-font">
<div class="container mx-auto flex px-5 py-24 items-center justify-center flex-col padding-mobile">
<div class="text-center lg:w-2/3 w-full">
<h1 class="text-title name_welcome title-fo... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<!--meta charset="u... |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
?>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" id="trigger_close" aria-label="Close">... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<div class="jumbotron jumbotron-fluid section-marginTop mb-0">
<div class="container">
<div class="row">
<div class="col-md-3 col-lg-3 col-sm-6">
<h3 class="service-card-title">অনুসরণ </h3>
<hr>
<p><a target="_blank" href="" class="footer-link"><i... |
<?php $this->load->view('restrita/layout/navibar'); ?>
<?php $this->load->view('restrita/layout/sidebar'); ?>
<!-- Main Content -->
<div class="main-content">
<section class="section">
<div class="section-body">
<!-- add content here -->
<div class="row">
<div c... |
<?php
namespace App;
namespace App\models;
use Illuminate\Database\Eloquent\Model;
class Language extends Model
{
protected $table = 'languages';
protected $fillable = ['name','slug','default'];
} |
<?php
namespace App\Engines\ParserEngine\Modules;
use App\Engines\ParserEngine;
use App\Engines\ParserEngine\Models\BookCreator;
use App\Engines\ParserEngine\Modules\Interface\Module;
use App\Engines\ParserEngine\Modules\Interface\ModuleInterface;
use App\Services\ConsoleService;
use DateTime;
use File;
use Imagick;
... |
<?php
namespace App\Console;
use App\Jobs\SxGeoUpdateJob;
use App\Jobs\UpdateAvailabilityJob;
use App\Jobs\UpdateProductsRatingJob;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided ... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<div class="modal fade" id="scheduleExceptionsModal" tabindex="-1" role="dialog" aria-labelledby="editModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="mo... |
@extends('backend.master')
@section('dashboard')
<h4 style="text-align: center;color:white;background-color:indigo;"><b>Products Category </b></h4>
<p style="text-align:center; margin-top:25px;">
<a class="btn btn-success" href="{{route('category.form')}}">Add category</a>
</p>
<div class="form-group col-md-12 ">... |
<?php
/* :cv:edit.html.twig */
class __TwigTemplate_f33c09758c2f3849b4a17b0d437158d08c7b1271a97c10b2a82e753d756cb7e6 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("admin.html.twig", ... |
<?php
namespace Opifer\CmsBundle\Entity;
use Faker\Provider\DateTime;
use PHPUnit\Framework\TestCase;
class PostTest extends TestCase
{
public function testValueSet()
{
$post = new Post();
$valueSet = new ValueSet();
$expected = $valueSet;
$post->setValueSet($valueSet);
... |
<!DOCTYPE html>
<html lang="fr">
<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>View structure</title>
<link rel="stylesheet" href={{asset('css/app.css')}}>
</head>
<body>
@yie... |
<?php
namespace Codeception\TestCase;
use PHPUnit\Framework\AssertionFailedError;
abstract class WPRestPostTypeControllerTestCase extends WPRestControllerTestCase
{
protected function check_post_data($post, $data, $context, $links)
{
$post_type_obj = get_post_type_object($post->post_type);
... |
<?php
/*
* system_information.widget.php
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2004-2018 Rubicon Communications, LLC (Netgate)
* Copyright (c) 2007 Scott Dale
* All rights reserved.
*
* originally part of m0n0wall (http://m0n0.ch/wall)
* Copyright (c) 2003-2004 Manuel Kasper <mk@neon1.n... |
<?php
namespace Boatrace\Analytics\Cherry\Blossom\Tests;
use Boatrace\Analytics\Cherry\Blossom\MainTrimmer;
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
/**
* @author shimomo
*/
class MainTrimmerTest extends PHPUnitTestCase
{
/**
* @var \Boatrace\Analytics\Cherry\Blossom\MainTrimmer
*/
prot... |
<?php
// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
empty($_POST['phone']) ||
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = strip_tags(htmlspecialchars($_P... |
<?php
declare(strict_types=1);
namespace Ivory\Documentation;
use Ivory\Value\StrictComposite;
/**
* @property-read string $file
* @property-read int $line
* @property-read string|null $message
*/
class ParseError extends StrictComposite
{
public function __construct(string $file, int $line, ?string $message ... |
<?php
/**
* Create custom controls to use with Theme Customizer by extending WP_Customize_Control.
*/
namespace SDES\CustomizerControls;
require_once( ABSPATH . WPINC . '/class-wp-customize-control.php' );
use \WP_Customize_Control;
/**
* Display a TEXTAREA element within Theme Customizer.
*/
class Textarea_Custo... |
<?php
/**
* This is the model class for table "endereco_permitido".
*
* The followings are the available columns in table 'endereco_permitido':
* @property integer $id
* @property string $local
* @property string $bairro
* @property double $frete
* @property integer $ativo
*/
class EnderecoPermitido extends C... |
<?php
namespace ConnerTests;
use Conner\Tagging\Model\Tag;
use Conner\Tagging\Model\TagGroup;
class TagGroupTest extends TestCase
{
public function test_create_group()
{
$tagGroup = $this->createTagGroup('MyTagGroup');
$this->assertCount(1, TagGroup::all());
}
public function test_t... |
<?php
namespace Container2xcnrI5;
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 get_Console_Command_CacheClear_La... |
@extends('layouts.backoffice.master')
@section('cuerpobackoffice')
<div class="panel panel-danger" data-sortable-id="ui-widget-3">
<div class="panel-heading ui-sortable-handle">
<div class="btn-group btn-group-toggle pull-right">
<a href="javascript:;" class="btn btn-warning" onclick="modal({rout... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php declare(strict_types=1);
namespace ApiClients\Tests\Github\CommandBus\Handler\Repository;
use ApiClients\Client\Github\CommandBus\Command\Repository\CommitCommand;
use ApiClients\Client\Github\CommandBus\Handler\Repository\CommitHandler;
use ApiClients\Client\Github\Resource\Git\CommitInterface;
use ApiClients\... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2009 http://thinkphp.cn All rights reserved.
// +---------------------------------------------------... |
<aside class="main-sidebar sidebar-dark-primary elevation-4">
<!-- Brand Logo -->
<a href="#" class="brand-link">
<img src="<?php echo $helper->asset_url(); ?>/dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
<span class="brand-text font-... |
<?php
namespace App\Http\Controllers;
use App\Classes;
use App\Subject;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
class SubjectController extends Controller
{
function Subjects(){
$classes = Classes::all();
$subject_list = Subject::paginate();
$trushed_subject = Subject::on... |
<?php
namespace CH\basic;
use app\configs\php\Path;
// require_once '../application/configs/path.config.php';
class BC_Log
{
private $logPath;
private $warningPath;
private $errorPath;
/**
* Method __construct
*
* @return void
*/
public function __construct()
{
Pa... |
<?php
namespace Drupal\ic_fb_pages;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Entity\Routing\AdminHtmlRouteProvider;
use Symfony\Component\Routing\Route;
/**
* Provides routes for Ic fb page entity entities.
*
* @see \Drupal\Core\Entity\Routing\AdminHtmlRouteProvider
* @see \Drupal\Core\Entity\... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\estadoservicio;
use App\ordenesdeservicio;
use App\wo;
use App\servicios_adicionales;
use App\servicios_adicionales_occidental;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Eloquent\Model;
use App\Http\Controllers\Flash;
use Illum... |
<?php
namespace api\controllers;
use Yii;
use yii\base\InvalidArgumentException;
use yii\web\BadRequestHttpException;
use yii\web\Controller;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use common\models\Employee;
use common\models\SMS;
use frontend\models\LoginForm;
class LoginController extends BaseC... |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2013 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... |
<?php
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
use yii\helpers\URL;
use common\models\Grid;
/* @var $this yii\web\View */
/* @var $searchModel frontend\models\programacion\ProgramacionesSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = $title;
$semana = $semanas['semana1']['valu... |
<?php
//header("Content-Type: text/json");
require('../setup.php');
$valid_table =array('tlr_antennas', 'tlr_modems', 'tlr_remarks', 'tlr_technicians', 'tlr_telephones', 'tlr_disconnections');
$valid_column =array('antenna_name', 'modem_name', 'remarks_name', 'firstname', 'telephone_name', 'disconnection_name'... |
<?php
namespace App\Http\Controllers\Website;
use Illuminate\Http\Request;
use App\Services\ImageFileService;
use App\Http\Controllers\Controller;
class ImageController extends Controller
{
public function __construct()
{
//
}
public function createFile(Request $request)
{
$attr... |
<?php
/**
* This file is part of the Nette Framework (http://nette.org)
* Copyright (c) 2004 David Grudl (http://davidgrudl.com)
*/
namespace Nette\Http;
use Nette;
/**
* User session storage. @see http://php.net/session_set_save_handler
*
* @author David Grudl
*/
interface ISessionStorage
{
function ... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Notifications */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="notifications-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'type')->dropDownList([ 'FR' => 'FR', '... |
<?php
declare(strict_types=1);
namespace DiContainerBenchmarks\Fixture\C;
class FixtureC198
{
public function __construct(FixtureC197 $dependency)
{
}
} |
<br>
</div>
</div>
<footer class="footer text-center" style="margin-top: -56px;">
<nav class="navbar navbar-expand-sm bg-dark navbar-dark" style="display: block">
<span class="navbar-text">Text goes here and stuff...</span>
</nav>
</footer>
</body>
</html> |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class AdminController extends Controller
{
public function index(){
return view('admin.index');
}
public function usermanagement_index(){
return view('admin.user-management');
}
} |
<?php
/**
* User Authorisation Interface
*
* @package User
* @copyright 2014-2015 Amy Stephen. All rights reserved.
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*/
namespace CommonApi\User;
/**
* User Authorisation Interface
*
* @package User
* @license http://www.o... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<h1><?php echo $list_unsubscribe['list']; ?></h1>
<p class="lead">
From <?php echo getenv('app_name') ?>
</p>
<?php
$list = rawurlencode(strtolower($list_unsubscribe['list']));
if (empty($subscribe_uri)) $subscribe_uri = base_url('open/subsc... |
<?php
namespace Admin\Model;
use Think\Model;
class ActivityModel extends Model{
public $tablename='activity';
} |
<div class="modal fade" tabindex="-1" role="dialog" id="track">
<div class="modal-dialog modal-md" role="document">
<div class="modal-content">
<div class="modal-header" style="background-color:darkmagenta;">
<button type="button" class="close" data-dismiss="modal" aria-label="Cl... |
<div class="container mt-5 mb-5">
<!-- Outer Row -->
<div class="row justify-content-center">
<div class="col-md-7">
<div class="card o-hidden border-0 shadow-lg my-5">
<div class="card-body p-0">
<!-- Nested Row within Card Body -->
<div class="row">
... |
@extends('layouts.form')
@section('main')
<div class="page-title">
<div class="title_left">
<h3>Create Outbox <small></small></h3>
</div>
</div>
<div class="clearfix"></div>
@if ($errors->any())
<div class=... |
<?php
declare(strict_types=1);
namespace Paysera\Bundle\ApiBundle\Tests\Functional\Fixtures\FixtureTestBundle\PathAttributeResolver;
use Paysera\Bundle\ApiBundle\Service\PathAttributeResolver\PathAttributeResolverInterface;
class NullResolver implements PathAttributeResolverInterface
{
public function resolveFro... |
<?php
namespace RectorPrefix20211030;
if (\class_exists('tx_rtehtmlarea_removeformat')) {
return;
}
class tx_rtehtmlarea_removeformat
{
}
\class_alias('tx_rtehtmlarea_removeformat', 'tx_rtehtmlarea_removeformat', \false); |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2015, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... |
<?php
namespace App\Http\Livewire\Front\Pages\Auth;
use App\User;
use Livewire\Component;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Validator;
class Register extends Component
{
public $form = [
'name' => '',
'password' => '',
'confirmation' => '',
];
p... |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\models\ImagepageproductoSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Imagepageproductos';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="imagepageproducto-index">... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.