text stringlengths 2 1.03M |
|---|
@extends('template.template')
@section('content')
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="pull-left">
<h2>اضافة مستخدم جديد</h2>
</div>
<div class="pull-right">
<a class="btn btn-primary" href="{{ route('users.index') }}"> Back</a>
</di... |
<?php
/**
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* This file is licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
... |
<?php
/*
* ### CKFinder : Configuration File - Basic Instructions
*
* In a generic usage case, the following tasks must be done to configure
* CKFinder:
* 1. Check the $baseUrl and $baseDir variables;
* 2. If available, paste your license key in the "LicenseKey" setting;
* 3. Create the CheckAuthent... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Pronostico 2018 MC</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewpo... |
<?php
if ( ! class_exists( 'GFForms' ) ) {
die();
}
//Prints required tooltip scripts
add_action( 'admin_print_scripts', 'print_tooltip_scripts' );
/**
* Prints scripts required by the tooltips
*/
function print_tooltip_scripts() {
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG || isset( $_GET['gform_debug'] )... |
<?php
namespace MembersBundle\Controller;
use Pimcore\Model;
use Pimcore\Tool\Console;
use MembersBundle\Configuration\Configuration;
use MembersBundle\Security\RestrictionUri;
use Symfony\Component\HttpFoundation\ResponseHeaderBag;
use Symfony\Component\HttpFoundation\StreamedResponse;
use Symfony\Component\HttpKern... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\Unidade */
$this->title = 'Criar Unidade';
$this->params['breadcrumbs'][] = ['label' => 'Unidades', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="unidade-create">
<h1><?= Html::encode($this->... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to place... |
<?php
/**
* @author Marcos
*/
class Documento extends TRecord
{
const TABLENAME = 'ufc_documento';
const PRIMARYKEY= 'id';
const IDPOLICY = 'max'; // {max, serial}
const CACHECONTROL = 'TAPCache';
use SystemChangeLogTrait;
private $cidade;
public function __construct($id = NULL)... |
<?php
/**
* SimpleReturnRepository.php
*
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License, which
* is bundled with this package in the file LICENSE.txt.
*
* It is also available on the Internet at the following URL:
* https://docs.auroraextensions.com/magento/extensions/2.x/simplereturns/... |
<?php
/**
* This file is part of the Certificationy web platform.
* (c) Johann Saunier (johann_27@hotmail.fr)
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
**/
namespace Certificationy\Component\Certy\Builder;
use Certificationy\C... |
<?php
namespace drsdre\HelloCash\Requests;
use drsdre\HelloCash\Exceptions\HelloCashException;
use GuzzleHttp\Exception\GuzzleException;
class Connection extends BaseRequest
{
const ENDPOINT = '/connections/';
/**
* Create Transaction event.
*/
const CREATE_TRANSFER = 1796;
/**
* Can... |
<div>
<select id="input_province">
<option value="">กรุณาเลือกจังหวัด</option>
@foreach($provinces as $item)
<option value="{{ $item->province }}">{{ $item->province }}</option>
@endforeach
</select>
</div>
<div>
<select id="input_amphoe">
<option value="">กรุณาเลือกเ... |
<div class="row">
<div class="col-lg-12">
<section class="panel">
<header class="panel-heading">
</header>
<div class="panel-body">
<div class="form">
<form class="form-validate form-horizontal" id="feedback_form" method="get" action=""... |
<?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 namespace Watchlearn\Movies\Updates;
use Schema;
use October\Rain\Database\Updates\Migration;
class BuilderTableUpdateWatchlearnMovies2 extends Migration
{
public function up()
{
Schema::table('watchlearn_movies_', function($table)
{
$table->text('actor')->nullable();
... |
<?php
/***************************************************************************
*
* Copyright (c) 2021 liumingzhi, Inc. All Rights Reserved
*
**************************************************************************
*
* @file WeChatBase.php
* @author liumingzhi(liumingzhij26@gmail.com)
* @date 2021-02-23 10... |
<?php
namespace App\Console\Commands;
use App\Http\Webhooks\Telegram\Bot;
use App\Models\BinanceListing;
use App\Models\TelegramChat;
use App\Notifications\NewBinanceListing;
use Exception;
use Illuminate\Console\Command;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Support\Carbon;
use Illuminate\Suppo... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header">Dashboard</div>
<div class="card-body">
@if (session('status'))
... |
<html>
<!-- PAGE TYPE: 404.php -->
<?php get_header( "html" ); ?>
<body>
<div id="doc_wrapper">
<?php get_header( "doc" ); ?>
<div id="doc_main">
<div id="content">
<h1>Sorry :(</h1>
<h3>404 file not found</h3>
</div>
</div>
</div>
<?php get_footer( "doc" ); ?>
</body>
</html> |
<?php
/**
* AvailablePromotionPackages
*
* PHP version 7.2
*
* @category Class
* @package AllegroApi
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Allegro REST API
*
* https://developer.allegro.pl/about Documentation is generated from [this](https://developer.alle... |
<?php
namespace Oro\Bundle\TagBundle\Tests\Unit\Grid;
use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration;
use Oro\Bundle\DataGridBundle\Datagrid\Common\MetadataObject;
use Oro\Bundle\DataGridBundle\Datagrid\ParameterBag;
use Oro\Bundle\DataGridBundle\Extension\InlineEditing\Configuration;
use Oro\Bun... |
<?php
global $profile;
?>
<div id="login">
<img src="<?php print_unescaped(OCP\image_path("", "logo.png")); ?>" alt="ownCloud" />
<ul>
<li class='error'>
<div id="setup_form">
<p><?php p($l->t('This is an OpenID server endpoint. For more information, see '));?><a href='http://openid.net/' title='openid.ne... |
@extends('app')
@section('heading-title', trans('lang.about_djsfans_title') )
@section('text-description')
{!! trans('lang.about_djsfans_content') !!}
@endsection |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// \App\Models\User::factory(10)->create();
$this->call(ServiceSeeder::class);
... |
<?php
namespace Chaos\Support\Doctrine\DBAL\Types;
/**
* Class BooleanType.
*
* @see \Doctrine\DBAL\Types\BooleanType
*/
class BooleanType extends Type
{
// <editor-fold defaultstate="collapsed" desc="Default properties">
/**
* @var array
*/
private $literals = ['0', 'f', 'false', '(false)'... |
<?php
/**
* Template part for showing Travel Section
* @package Holidays
*/
?>
<?php $section_travel_title = holidays_get_option( 'section_travel_title' );
$travel_category = holidays_get_option( 'travel_category' );
$travel_number = holidays_get_option( 'travel_number' );
... |
@extends('layout')
@section('content')
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="https://js.stripe.com/v2/"></script>
<script type="text/javascript">
// This identifies your website in the createToken call below
Stripe.setPubl... |
<?php
declare(strict_types=1);
namespace ShopifyTest\Rest;
use Shopify\Auth\Session;
use Shopify\Context;
use Shopify\Rest\Redirect;
use ShopifyTest\BaseTestCase;
use ShopifyTest\Clients\MockRequest;
final class Redirect202110Test extends BaseTestCase
{
/** @var Session */
private $test_session;
public... |
<?php
/**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not... |
<?php
/*
* Copyright (C) 2015 STFC
* 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 to in writing... |
<?php
declare(strict_types=1);
namespace Xianzhe18\Chatwork\Api\Rooms;
use Xianzhe18\Chatwork\Client\ClientInterface;
use Xianzhe18\Chatwork\Entity\Collection\MemberCollection;
use Xianzhe18\Chatwork\Entity\Factory\MemberFactory;
/**
* Class Members.
*/
class Members
{
/**
* @var ClientInterface
*/
... |
<?php
declare(strict_types=1);
namespace App\Form;
use App\Entity\Category;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\OptionsResolver\OptionsResolve... |
<?php
namespace App\Tasks\Live;
use App\Tasks\Task;
use App\Core\Cli\Task\WebSocket;
use App\Utils\Redis;
use swoole_websocket_frame;
use swoole_websocket_server;
use Xin\Cli\Color;
use swoole_http_request;
class WebrtcTask extends WebSocket
{
// 端口号
protected $port = 13001;
public $live = 'websocket:li... |
<?php
/**
* @author Orhan POLAT
*/
if (version_compare(PHP_VERSION, '5.4', '<')) {
die('PHP version (' . PHP_VERSION . ') must be at least 5.4');
}
define('WEBIM', true);
define('VERSION', '11.0.0');
define('AUTHOR', 'Orhan POLAT');
define('COPYRIGHT', '© 2017 Powered By Masters');
define('DS', DIRECTORY_SEPARATO... |
<?php
declare(strict_types=1);
namespace Matchory\Elasticsearch;
use Elasticsearch\ClientBuilder as ElasticBuilder;
use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Log\Logger;
use Illuminate\Sup... |
<script src="plugins/js/jquery.min.js"></script>
<section class="content">
<div class="row">
<div class="col-md-12">
<form role="form" method="post" action="./?action=/programacion/validar">
<div class="input-group " style="visibility:hidden;">
<span class="input-group... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Banque du peuple</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url().'assets/css/bootstrap.min.css';?>">
</head>
<body>
<div class="navbar n... |
<?php
function convert_content($html_string, $customer = null){
$CI =& get_instance();
if(!empty($customer)) {
if($customer > 0 && is_numeric($customer)) {
$CI->load->model('Customer');
$customer = $CI->Customer->get_information($customer);
}
}
$customer_info = ... |
<html>
<body>
<form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>">
Mensaje: <input type="text" name="mensaje">
<input type="submit">
</form>
<?php
$xml=simplexml_load_string($_POST['mensaje']);
$lista_compra = $xml->cuerpo->listaCompra;
$array_productos = array();
foreach($list... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
class DashboardController extends Controller
{
/**
* @return Illuminate\Http\Response
*/
public function index()
{
return view('admin.dashboard');
}
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| T... |
<?php
namespace Jetimob\NotaFacil\Entity;
use Jetimob\Http\Traits\Serializable;
class HomologatedCity
{
use Serializable;
protected int $id;
protected Webservice $webservice;
protected City $cidade;
/**
* @return int
*/
public function getId(): int
{
return $this->id;
... |
<!DOCTYPE html>
<html>
<head>
<!-- Basic Page Info -->
<meta charset="utf-8">
<title>DeskApp - Bootstrap Admin Dashboard HTML Template</title>
<!-- Site favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo base_url() ?>assets/vendors/images/apple-touch-icon.png">
<link rel="icon" type="image... |
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\commerce\models;
use craft\commerce\base\AddressZoneInterface;
use craft\commerce\base\Model;
use craft\commerce\Plugin;
use craft\commerce\records\TaxZone as Ta... |
<?php
namespace App;
use Carbon\Carbon;
use App\Services\Markdowner;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
class Post extends Model
{
protected $dates = ['published_at'];
protected $fillable = [
'title', 'subtitle', 'content_raw', 'page_ima... |
<?php
return [
'merchant_code' => env('DUITKU_MERCHANT_CODE'),
'api_key' => env('DUITKU_API_KEY'),
'callback_url' => env('DUITKU_CALLBACL_URL'),
'return_url' => env('DUITKU_RETURN_URL'),
'env' => env('DUITKU_ENV', 'production'),
'url' => [
'base' => [
'dev' => 'https://sandb... |
<?php
declare(strict_types=1);
namespace AveProophPackage\EventStore;
use AveProophPackage\MetadataEnricher\MetadataEnricherAggregate;
use PDO;
use Prooph\Common\Event\ProophActionEventEmitter;
use Prooph\Common\Messaging\FQCNMessageFactory;
use Prooph\EventStore\ActionEventEmitterEventStore;
use Prooph\EventStore\E... |
<?php
declare(strict_types=1);
namespace Prometheus\Storage;
use InvalidArgumentException;
use Prometheus\Counter;
use Prometheus\Exception\StorageException;
use Prometheus\Gauge;
use Prometheus\Histogram;
use Prometheus\MetricFamilySamples;
class Redis implements Adapter
{
const PROMETHEUS_METRIC_KEYS_SUFFIX =... |
<?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 if (!defined('THINK_PATH')) exit(); /*a:3:{s:66:"D:\lp\WWW\jingguan\public/../application/admin\view\jpkc\edit.html";i:1547176898;s:70:"D:\lp\WWW\jingguan\public/../application/admin\view\template\base.html";i:1547105797;s:81:"D:\lp\WWW\jingguan\public/../application/admin\view\template\javascript_vars.html";i:15... |
<?php
require_once ("conexao.php");
$nomesala = $_GET['posi'];
$nome = $_GET['nome'];
$sql = mysqli_query($conn,"UPDATE onlinemode SET nome_2 = '$nome' WHERE nome_sala = '$nomesala'");
if ($sql){
echo 1;
} else {
echo 2;
}
?> |
<?php
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Landing Routes
|--------------------------------------------------------------------------
|Routes for Landing
|
| Here is where you can register web routes... |
<?php
/**
* EUnionZ PHP Framework SortClass Plugin class
* 针对php 二维数组中某字段进行排序
* Created by PhpStorm.
* User: liulin (84611913@qq.com)
* Date: 15-4-30
* Time: 上午10:16
*/
namespace package\plugin\sortclass;
defined('APP_IN') or exit('Access Denied');
class SortClass extends \cn\eunionz\core\Plugin{
/**
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class PortfolioController extends Controller
{
public function getPortfolio()
{
return view('portfolio');
}
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ContactController extends Controller
{
public function nam($name) {
dd($name);
}
public function holiday($name) {
dd($name);
}
} |
<?php
/* set the email of the recipient (your email) */
$recipient = "info@proteusthemes.com";
if ( isset($_POST['submit']) ) // just send the email if the $_POST variable is set
{
$name = $_POST['name'];
$email = $_POST['email'];
$url = $_POST['url'];
$message = $_POST['message'];
$subject = "Email From W... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
@extends('partials.app')
@section('content')
<div class="jumbotron">
<h1>Navbar example</h1>
<p>This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
<p>To see the diff... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AntChain\CAS\Models;
use AlibabaCloud\Tea\Model;
class ExecRequestTaskRequest extends Model
{
// OAuth模式下的授权token
/**
* @var string
*/
public $authToken;
// rmc_request_id,注意区分OPENAPI自身的request_id
/**
* @var s... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">Navbar</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="... |
<?php
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multip... |
<?php
/*
* This file is part of the "Composer Shared Package Plugin" package.
*
* https://github.com/Letudiant/composer-shared-package-plugin
*
* For the full license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace LEtudiant\Composer\Installer\Solver;
use C... |
@section('scripts')
<script>
@if(isset($award_descriptions))
const award_descriptions = {!! json_encode($award_descriptions) !!};
@else
const award_descriptions = {};
@endif
const changeParamDescription = (award_class) => {
const descrip = award_descriptions[award_class];
... |
@extends('admin.layouts.main')
@section('title')
Редактируемый Бренд - {{$brand->name}}
@endsection
@section('content')
<div class="col-lg-5 offset-lg-1">
@if ($errors->any())
<div class="alert alert-danger">
@foreach ($errors->all() as $error)
<span style="display:bloc... |
<?php
trait A { public function foo() {return 1;} }
trait B { public function foo() {return 2;} }
class Thing {
use A, B {
A::foo insteadof A, B;
}
}
<<__EntryPoint>>
function main_traits_and_interfaces10() {
$t = new Thing;
var_dump($t->foo());
} |
<?php
use backend\models\Service;
use backend\models\Tentang;
use backend\models\Portofolio;
use backend\models\Berita;
use backend\models\Project;
use backend\models\Team;
$this->title = "Home | Promedia";
$baseUrl = Yii::$app->request->baseUrl;
$slider = \backend\models\SliderHomepage::find()->orderBy(['id' => SORT_... |
<?php
namespace Sudoux\MortgageBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
/**
* Class RealtyWareConnectionType
* @package Sudoux\MortgageBundle\Form
* @author Dan Alvare
*/
class RealtyWare... |
<?php
/**
* SuccessfulSelfServiceRegistrationWithoutBrowser
*
* PHP version 7.3
*
* @category Class
* @package Ory\Kratos\Client
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Ory Kratos API
*
* Documentation for all public and administrative Ory Kratos APIs. Public... |
@extends('layouts.layout')
@section('content')
<table class="table table-dark table-striped table-bordered">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">First Name</th>
<th scope="col">Last Name</th>
<th scope="col">Email<... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitb3180ecef29eb19a0e9190dca3f74b9b
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
'667aeda72477189d0494fecd3... |
<?php
namespace JnJairo\Laravel\EloquentCast;
use Illuminate\Support\ServiceProvider;
class EloquentCastServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot() : void
{
if ($this->app->runningInConsole()) {... |
<?php
namespace Bnet\Core;
use ArrayAccess;
use JsonSerializable;
abstract class AbstractEntity implements ArrayAccess, JsonSerializable
{
/**
* @var array
*/
protected $attributes = [];
/**
* @param array $body
*/
public function __construct(array $body)
{
$this->attr... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\Redirect;
use DB;
use Session;
session_start();
class All_Slider_Controller extends Controller
{
public function allslider(){
$all_category_information=DB::table('tb1_slider')
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateQuestionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('questions', f... |
<div class="col-md-12">
<form action="{{ url('/chemical-purchase') }}" method="post" class="form-horizontal" role="form">
<div class="col-md-12">
@csrf
<div class="col-md-6">
<div class="form-group">
<label class="col-sm-4 control-label no-padding... |
<?php
namespace Application\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Conversa
*
* @ORM\Table(name="Conversa", indexes={@ORM\Index(name="id_mention", columns={"id_mention"}), @ORM\Index(name="idUser", columns={"idUser"}), @ORM\Index(name="dt_coleta", columns={"dt_coleta"}), @ORM\Index(name="dt_process", colu... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Teguran_m extends CI_Model
{
public $namaTable = 'teguran';
public $pk = 'idTeguran';
function getAllData()
{
$this->db->join('pegawai', 'pegawai.nik = teguran.nik', 'left');
$this->db->join('devisi', 'devisi... |
<?php
namespace Common\DataBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Common\DataBundle\Entity\ChargeTimePrice;
/**
* @ORM\Table(name="charge")
* @ORM\Entity()
*/
class Charge
{
/**
* @var integer $id
*
* @ORM\Column(name="id", type="in... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBooksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('books', function ... |
<?php
namespace App\Imports;
use App\Models\Role;
use App\Models\User;
use App\Models\Title;
use App\Models\Degree;
use App\Models\Gender;
use App\Models\Subject;
use App\Models\Department;
use Maatwebsite\Excel\Row;
use App\Services\SettingService;
use Maatwebsite\Excel\Concerns\OnEachRow;
use Maatwebsite\Excel\Conc... |
<?php namespace App\Exception;
use Exception;
class CannotSignInException extends Exception
{
} |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<div class="panel-body">
@if (sessio... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... |
<?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Form;
defined('JPATH_PLATFORM') or die;
use Joomla\CMS\Form\Factory\LegacyFo... |
<?php
declare(strict_types=1);
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\Fixe... |
<?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... |
@extends('default')
@section('content')
@if ($users->count() == 1)
<h1 style="text-align: center">1 résultat trouvé </h1>
@else
<h1 style="text-align: center">{{$users->count() }} résultats trouvés</h1>
@endif
<table class="table">
<thead>
<tr>
<th sco... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
class TipoEstabelecimento extends \Eloquent {
// Add your validation rules here
public static $rules = [
// 'title' => 'required'
];
// Don't forget to fill this array
protected $fillable = [];
} |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateClientesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('clientes', function (Blueprint $... |
<?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
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateWasteBagsTable extends Migration
{
/**
* Merma de bolsas
*
* @return void
*/
public function up()
{
Schema::create('waste_bags', func... |
<?php
/*
* This file is part of Bens Penhorados, an undergraduate capstone project.
*
* (c) Fábio Santos <ffsantos92@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Illuminate\Database\Migrations\Migration;
use Ill... |
@extends('backend.layouts.default')
@section('content')
<div class="kt-content kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor" id="kt_content">
<!-- begin:: Subheader -->
<div class="kt-subheader kt-grid__item" id="kt_subheader">
</div>
<!-- end:: Subheader -->
<!-- begin:: Content -->
... |
<?php
return array(
'site_title' => 'Thinkin Cab',
'site_logo' => 'https://cab2019.axum/uploads/a79029b851377d2d2184d711a7957afd3d69ea93.png',
'site_email_logo' => '',
'site_icon' => 'https://cab2019.axum/uploads/56057c09115ac14fc3952d3bedd49bf0b7c28e31.png',
'site_copyright' => 'Thinkin Cab',
... |
<?php
namespace app\controllers;
use Yii;
use app\models\Viabayar;
use app\models\search\Viabayar as ViabayarSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* ViabayarController implements the CRUD actions for Viabayar model.
*/
class ViabayarController extends Co... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('category', f... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInitc0f4f4a7918db41a74abdd0dff7be4ed::getLoader(); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.