text stringlengths 2 1.03M |
|---|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="http://www.movabletype.org/" />
... |
<?php
namespace Orchid\Platform\Http\Controllers;
class DashboardController extends Controller
{
/**
* @return array|\Illuminate\Contracts\View\Factory|\Illuminate\View\View|mixed
*/
public function index()
{
return view('dashboard::index', [
'widgets' => config('platform.mai... |
<?php
namespace nickurt\PostcodeApi\Providers\nl_NL;
use nickurt\PostcodeApi\Exception\NotSupportedException;
use \nickurt\PostcodeApi\Providers\Provider;
use \nickurt\PostcodeApi\Entity\Address;
class Pstcd extends Provider
{
protected function request()
{
$client = $this->getHttpClient();
$... |
<?php
if (! empty($greeting)) {
echo $greeting, "\n\n";
} else {
echo $level == 'error' ? 'Whoops!' : 'Hola!', "\n\n";
}
if (! empty($introLines)) {
echo implode("\n", $introLines), "\n\n";
}
if (isset($actionText)) {
echo "{$actionText}: {$actionUrl}", "\n\n";
}
if (! empty($outroLines)) {
echo... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
// use Illuminate\Support\Facades\DB;
class PrecioCamion extends Model
{
protected $table="dbo.Precios_Camiones(1, '', '')";
public $timestamps=false;
// public function scopeClasificacion($query, $clasificacion)
// {
// $query->wh... |
<!DOCTYPE html><html lang="en"><meta charset="utf-8"><meta content="text/html;charset=UTF-8"http-equiv="Content-Type"><meta content="IE=edge"http-equiv="X-UA-Compatible"><meta content="width=device-width,initial-scale=1"name="viewport"><meta content="NOODP"name="robots"><meta content="baby products, baby, baby's, baby ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class categories extends Model
{
//
/*public function posts(){
return $this->belongsToMany(posts::class, 'category_id');
}*/
} |
<?php
namespace App\Http\Controllers;
use App\Korisnik;
use App\Ticket;
use App\Pair;
use Illuminate\Http\Request;
use App\Game;
use App\User;
use Exception;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Eloquent\ModelNotFoundException;
class KorisniciController extends Controller
{
//https://stack... |
<?php
namespace CallFire\Api\Rest\Request;
use CallFire\Api\Rest\Request as AbstractRequest;
class ControlBroadcast extends AbstractRequest
{
protected $requestId = null;
/**
* Allowable values: [START, STOP, ARCHIVE]
*/
protected $command = null;
/**
* Max simultaneous calls
*... |
<?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class Version20160830110955 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema... |
@extends('layouts.app')
@section('content')
<div class="title">Posts Page</div>
<b1>Post ID is: {{$id}}</b1>
<br><b1>Post name is: {{$name}}</b1>
@endsection
{{--
@section('footer')
<script>alert('I am the footer from layout/footer')</script>
<div> Bla Bla Bla Bla </div>
@endsection... |
<body class="bg-gradient-primary">
<div class="container">
<!-- Outer Row -->
<div class="row justify-content-center">
<div class="col-xl-5 col-lg-12 col-md-9">
<div class="card o-hidden border-0 shadow-lg my-5">
<div class="card-body p-0">
<!-- Nested Row within Card Body -->
<div clas... |
<div class="table table-responsive">
<table class="table table-hover table-striped table-light">
<caption>Tabela: Lista de Estados</caption>
<head>
<tr class="table table-dark">
<th scope="col">Estado</th>
<th scope="col">UF</th>
</tr>
... |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalconphp.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Unit\Flash\Session;
use UnitT... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class User_model extends CI_Model
{
// SIMPAN
public function simpanData($data)
{
return $this->db->insert('user', $data);
}
public function simpanRole($data)
{
return $this->db->insert('role_id', $data);
}
/... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateKdFeedItemsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('kd_feed_ite... |
<?php
namespace Usox\JsonSchemaApi\Contract;
/**
* Lookup a method name and return the api method handler (e.g. by using a dict<methodName, methodHandler>)
*
* If the method name does not exist, lookup is expected to return null.
*/
interface MethodProviderInterface
{
public function lookup(
string $m... |
<?php
// Heading
$_['heading_title'] = 'Produtos em promoção';
// Text
$_['text_empty'] = 'Não há produtos em promoção.';
$_['text_quantity'] = 'Qtd:';
$_['text_manufacturer'] = 'Marca:';
$_['text_model'] = 'Modelo:';
$_['text_points'] = 'Pontos:';
$_['text_price'] = 'Preço:';
$_['te... |
<div class="page-header">
<h2><?= $this->url->link(t('My subtasks'), 'app', 'subtasks', array('user_id' => $user['id'])) ?> (<?= $paginator->getTotal() ?>)</h2>
</div>
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('There is nothing assigned to you.') ?></p>
<?php else: ?>
<table class="table-f... |
@extends('test.layout')
{{-- メインコンテンツ --}}
@section('contets')
<h1>ログイン</h1>
@if ($errors->any())
<div>
@foreach ($errors->all() as $error)
{{ $error }}<br>
@endforeach
</div>
@endif
<form action="/test/input" method="post"... |
<div id="ILCVendorsFilesModal" class="modal fade in" role="dialog" aria-hidden="false">
<div class="modal-dialog dialogFileAdminAccess">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
... |
<?php $this->load->view('menu')?>
<div class="container">
<h1 class="mt-4 mb-3" style="text-align:center;">4ª Semana da Matemática</h1>
<div class="row">
<div>
<img class="img-fluid rounded mb-4" style="width:750px; height:330px;" src="<?=base_url()?>assets/imagens/SEMAT/semat4/1... |
<?php
/**
* This file is part of the Spryker Commerce OS.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Orm\Zed\CmsSlotBlock\Persistence;
use Spryker\Zed\CmsSlotBlock\Persistence\Propel\AbstractSpyCmsSlotBlockQuery as BaseSpyCmsSlotBlockQuery... |
<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Facebody\V20191230\Models;
use AlibabaCloud\SDK\Facebody\V20191230\Models\CountCrowdResponseBody\data;
use AlibabaCloud\Tea\Model;
class CountCrowdResponseBody extends Model
{
/**
* @var string
*/
public $reque... |
@extends('layouts.app')
@section('content')
<div class="flex justify-center">
<div class="w-4/12 bg-white p-6 rounded-lg">
<form action="{{ route('register')}}" method="POST">
@csrf
<div class="mb-4">
<label fo... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Documento sin título</title>
</head>
<body>
<?php
include("Concesionario.php");
//Compra_vehiculo::$ayuda=10000;
Compra_vehiculo::descuento_gobierno();
$compra_Antonio=new Compra_vehiculo("compacto");
$compra_Antonio->climatizador();
$compra_Ant... |
<?php
/* @WebProfiler/Icon/redirect.svg */
class __TwigTemplate_db176051e7dcf48c0b796507fdd616e698a002fcba234c2c16ec62e6b0ee869e extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... |
<!DOCTYPE html>
<html lang="en">
<?php
require "controller/view/head.php";
require "controller/view/body.php";
require "controller/view/wrapper.php";
require "view/top-nav/top-nav.php";
require "view/left-nav/left-nav.php";
require "controller/view/page-content.php";
//
require "controller/content/page.php";
... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTableUserProfiles extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_profi... |
<?php
namespace App\Models;
use Cviebrock\EloquentSluggable\Sluggable;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Category extends Model
{
use HasFactory;
use Sluggable;
protected $fillable = ['parent_id', 'name', 'slug', 'image', 'status'];
... |
<?php
declare (strict_types=1);
namespace Rector\Composer\Guard;
use RectorPrefix20220327\Composer\Semver\VersionParser;
use Rector\Composer\Contract\VersionAwareInterface;
final class VersionGuard
{
/**
* @readonly
* @var \Composer\Semver\VersionParser
*/
private $versionParser;
public fun... |
<?php return array (
'root' =>
array (
'pretty_version' => '1.0.0+no-version-set',
'version' => '1.0.0.0',
'aliases' =>
array (
),
'reference' => NULL,
'name' => 'laravel/laravel',
),
'versions' =>
array (
'asm89/stack-cors' =>
array (
'pretty_version' => '1.3.0',... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class CareerApplication extends Model
{
public function user(){
return $this->belongsTo(User::class,'user_id');
}
public function job(){
return $this->belongsTo(Career::class,'job_id');
}
} |
<?php
new WPCOM_JSON_API_Update_Media_Endpoint( array(
'description' => 'Edit basic information about a media item.',
'group' => 'media',
'stat' => 'media:1:POST',
'method' => 'POST',
'path' => '/sites/%s/media/%d',
'deprecated' => true,
'new_version' => '1.1',
'path_labels' => array(... |
<?php
namespace ContainerPHGuKuQ;
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 getSecurity_User_Provider_Concre... |
<?php $name_page = "index" ?>
<?php $name_page_en = "index" ?>
<?php $folder = "" ?>
<?php $files = "../" ?>
<?php include_once("page_up_content.html") ?>
<?php include_once("index_content.html") ?>
<?php include_once("page_down_content.html") ?> |
<?php
/**
* This file is part of the Propel package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Propel\Tests\Generator\Behavior\Sortable;
use Propel\Generator\Util\QuickBuilder;
use Propel\R... |
@extends('layouts.app')
@section('content')
<div class="container mt-2">
<form action="/equipo" method="POST" class=" p-3 bg-white border border-dark shadow-lg mb-5 rounded text-dark">
@csrf
<div class="display-4 text-center">
Registro de equipo del barco
</div>
<hr>
... |
@extends('layouts.user')
@section('title', 'Menu Resep')
@section('content')
<header class="ml-5">
<h2>Resep</h2>
</header>
<main>
<div class="content-menu row mx-auto">
@foreach ($items as $item)
<div class="col-md-3">
<div class="card">
... |
<?php
/**
* This file is part of the Grido (https://github.com/o5/grido)
*
* Copyright (c) 2011 Petr Bugyík (http://petr.bugyik.cz)
*
* For the full copyright and license information, please view
* the file LICENSE.md that was distributed with this source code.
*/
namespace Grido\Components\Filters;
use Grido... |
<?php
/*
* af_objectbase script Copyright (c) 2005 Architected Futures, LLC
*
* V1.3 2005-NOV-07 JVS PHP restructuring
* V1.7 2008-MAR-03 JVS Code conversion to PHPv5.2
*/
// Insure a correct execution context ...
$myDynamClass = 'C_AirObjectBase';
require(AF_CORE_SCRIPTS.'/af_script_header.php');
class C_AirOb... |
<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Seeder;
class ChiefMentor_KaryawanSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$data=[
[
'id_karyawan'=>'4288191',
... |
<?php
/*
* This file is part of the Quantum Unit Solutions development package.
*
* (c) Quantum Unit Solutions <http://github.com/dmeikle/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace core\components\compression... |
<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://www.elastic.co/licensing/elastic-license
*/
namespace App\Utils;
use App\Models\Pa... |
@php
$siteLayout = get_theme_mod('siteLayout');
$sectionContainer = get_theme_mod('sectionContainer-'. $section);
$sectionLayout = get_theme_mod('sectionLayout-'. $section);
$sectionStyle = get_theme_mod('sectionStyle-'. $section);
@endphp
<small>Section: {{ $section }}, Layout: {{ $sectionLayout}}, Container: {{ $sect... |
<?php
namespace Mariojgt\Canvas\Controllers;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Mariojgt\Canvas\Models\Flow;
class ModelFlowController extends Controller
{
public function index()
{
$flow = Flow::all();
return view('canvas::content.model_flow.index', compact... |
<?php
namespace App\Http\Resources;
use App\Helpers\AuthHelper;
use Illuminate\Http\Resources\Json\JsonResource;
class ProductVariantResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public fu... |
<?php
namespace App\Http\Controllers\Web\Admin;
use App\Models\Product;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Session;
use App\Models\Category;
use DB;
class ProductController extends Controller
{
public function index()
{
$data = array(
... |
<?php
/**
* Copyright 2011-2013 Here's A Hand Limited
*
* 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 require... |
<?php
namespace App\Mail;
use Illuminate\Support\Facades\Lang;
/**
* MAIL TEMPLATE SQL
* ----
* @pwa
* @package old
*/
class MailTemplateSql extends MailTemplate
{
/**
* HTML
*
* @param string $token
*
* @return string HTML
*/
public static function html(string $time, str... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/8/15
* Time: 12:03
* Comment: 管理员控制器
*/
namespace app\admin\controller;
use app\admin\model\Admin as AdminModel;
use app\admin\validate\Admin as AdminValidate;
use app\admin\model\Role as RoleModel;
use app\admin\model\AdminRole as AdminRoleMode... |
@extends('dashboardpages.dashboardhome.app')
@section('title')
OBTMS dashboard
@endsection
@section('content')
<div class="container-fluid my-3">
<div class="d-flex row mar-top">
<div class="col-md-4"></div>
<div class="col-md-6">
<!-- Basic Validation -->
<div class="card mb... |
<?php $banner_data = $general_class->data['banner_data']?>
<form action="<?php echo $general_class->ben_link('general/'.$general_class->current_page['controller'].'/update_save'); ?>" method="POST" enctype="multipart/form-data" >
<div class="brainee-page_container col-lg-12">
<div class="brainee-page_titlebar">
<div... |
<?php
namespace Elementor;
use Elementor\Modules\DynamicTags\Module as TagsModule;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Elementor Icons control.
*
* A base control for creating a Icons chooser control.
* Used to select an Icon.
*
* Usage: @see https://developers.elemento... |
<?php
namespace Booking\ReportBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Response;
class DefaultController extends Controller
{
public function indexAction($name)
{
return $this->render('ReportBundle:Default:index.html.twig', arra... |
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UserRegister extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the ... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "diagnosa".
*
* @property string $kode_diagnosa
* @property string $nama_diagnosa
* @property string $solusi
*
* @property Konsultasi[] $konsultasis
* @property Pakar[] $pakars
*/
class Diagnosa extends \yii\db\ActiveRecord
{
/... |
<?php
return [
'aspect' => [
// \nyuwa\aop\example\UserAspect::class,
\nyuwa\aspect\SaveAspect::class
],
]; |
<?php
declare(strict_types=1);
namespace App\Listeners;
use App\Events\Contribution\ContributionApproved;
use App\Events\Contribution\ContributionCreated;
use App\Events\Contribution\ContributionRejected;
use App\Events\Contribution\ContributionUpdated;
use App\Mail\TemplateMail;
use App\Models\Setting;
use App\Vari... |
<nav class="main-header navbar navbar-expand navbar-white navbar-light">
<!-- Left navbar links -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
</li>
<li class="nav-item d-none... |
<?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 RectorPrefix20220124\Symfony\Component\DependencyInjection\ParameterBag;
... |
<style type="text/css">
table tr > th, table tr > td {
border: 1px solid #000000;
}
.lightgray {
background-color: #C0C0C0;
}
</style>
<table>
<thead>
<tr>
<th colspan="6" align="center">Program Top Sheet</th>
</tr>
{{-- <tr>
<th colspan="6">Year: {{ date('Y') }}</th>
</tr> --}}
<tr>
<th row... |
<?php
namespace App\Http\Controllers;
use App\Models\Admin;
use App\Models\Role;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Storage;
class AdminController extends Controller
{
/**
* Display a listing of the resource.
*
* @r... |
<?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... |
<?
$MESS["LANDING_DEMO_STORE_CHATS_LIGHT-MAIN-DESC_NEW"] = "Online store to enable sales in social media and messengers. Send product and service pages to a customer and accept payment directly in chat.";
$MESS["LANDING_DEMO_STORE_CHATS_LIGHT-MAIN-NAME"] = "Chat enabled sales";
$MESS["LANDING_DEMO_STORE_CHATS_LIGHT-MAI... |
<?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
| ... |
@extends('site.layout.master')
@section('content')
<!-- s-content
================================================== -->
<section class="s-content s-content--top-padding">
<div class="row narrow">
<div class="col-full s-content__header" data-aos="fade-up">
<h1 class="di... |
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class BotMessageServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
public function boot()
{
# code.... |
<?php
namespace App\Http\Controllers\Tenant;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class TenantController extends Controller
{
public function index()
{
return view('tenants.home.index');
}
} |
<?php
use WP_CLI\CommandWithMeta;
/**
* Adds, updates, deletes, and lists term custom fields.
*
* ## EXAMPLES
*
* # Set term meta
* $ wp term meta set 123 bio "Mary is a WordPress developer."
* Success: Updated custom field 'bio'.
*
* # Get term meta
* $ wp term meta get 123 bio
* M... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('posts', function ... |
<?php
spl_autoload_register(function ($name) {
$d = (strpos(__FILE__, ".phar") === false ? __DIR__ : "phar://" . __FILE__ . "/src");
if ($name == "querystring") require_once($d . "/querystring.php");
});
__HALT_COMPILER(); |
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="base-url" content="{{ url('/') }}">
<meta name="csrf-token" content="{{ csrf_token() }}">
... |
<?php
declare(strict_types=1);
namespace OpenStack\Images\v2\Models;
use OpenStack\Common\JsonSchema\Schema;
use OpenStack\Common\Resource\Alias;
use OpenStack\Common\Resource\Creatable;
use OpenStack\Common\Resource\Deletable;
use OpenStack\Common\Resource\Listable;
use OpenStack\Common\Resource\OperatorResource;
u... |
<?php
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model app\models\LoginForm */
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title = 'Login';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-login">
<h1>Вход</h1>
<?php $form = Active... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit51ccc8b0e8f992fd06d64064430d49e8::getLoader(); |
<div>
<div class="bg-gray-200 px-3 py-4 rounded-md flex justify-start items-center">
<div class="text-indigo-600 px-3 py-3 mr-2"><a href="{{route('admin.home')}}">Dashboard</a></div><div class="mr-2">/</div><div class="text-indigo-600 px-3 py-3 mr-2"><a href="{{route('admin.classification')}}">Classification</a>... |
<?php
namespace NSclasses;
class Autoloader
{
static function register()
{
spl_autoload_register(array(__CLASS__, 'autoload'));
}
static function autoload ($class_name)
{
echo $class_name;
$namespace = explode('\\', $class_name);
$test = end($namespace)... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Sitemodel extends CI_Model {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this controlle... |
<?php
/** ************************************************************************ *
* !ATENCION! *
* *
* Este codigo es generado automáticamente. Si lo modificas, tus cambios ... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Setting extends Model
{
protected $table = "settings";
protected $fillable = [
'title_ar', 'title_en', 'description_ar', 'description_en', 'contact_description_ar', 'contact_description_en', 'contact_image', 'facebook', 'whatsapp', '... |
<?php
namespace SmartWiki\Models;
use DB;
use Cache;
use Carbon\Carbon;
use SmartWiki\Exceptions\DataNullException;
use SmartWiki\Exceptions\FormatException;
use SmartWiki\Exceptions\ResultException;
/**
* SmartWiki\Models\Project
*
* @property integer $project_id
* @property string $project_name 项目名称
* @proper... |
<?php
namespace Oro\Component\ConfigExpression\Tests\Unit\Condition;
use Doctrine\Common\Collections\ArrayCollection;
use Oro\Component\ConfigExpression\Condition\ExpressionAvailable;
use Oro\Component\ConfigExpression\FactoryWithTypesInterface;
class ExpressionAvailableTest extends \PHPUnit\Framework\TestCase
{
... |
<?php
namespace App\Http\Livewire\Dashboard;
use Livewire\Component;
use App\Traits\Reports\Coupons;
class CuponesCanjeados extends Component
{
use Coupons;
public $store;
public function mount($store)
{
$this->store = $store;
}
public function render()
{
$coupons = nul... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Code extends Model
{
public function scopeSearchUser($query)
{
return $query->with(['getUser'=>function ($query) {
$query->select('id', 'name', 'mobile', 'password', 'expired_at', 'status', 'froze_at', 'froze_days',... |
<?php
session_start();
require "header.php";
include "Model/User.php";
$user = new UserId();
$connected=$user->isConnected();
if(!$connected)
{
//echo '<script>window.location.replace("login.php");</script>';
}
?>
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page He... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateBrandsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('brands', functio... |
<?php
require_once('../../server/bootstrap.php');
$smarty->display('../templates/admin_index.tpl'); |
<?php
namespace AlibabaCloud\Uis;
/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method string getUisConnectionId()
* @method $this withUisConnectionId($value)
* @method string getResourceOwnerAccount()
* @method $this withResourceOwnerAccount($value)
* @method string ... |
<?php
include '../../main/koneksi.php';
session_start();
$user_id = "";
$username = "";
$emp_id = "";
$emp_name = "";
$io_id = "";
$io_name = "";
$loc_id = "";
$loc_name = "";
$org_id = "";
$org_name = "";
if(isset($_SESSION[APP]['user_id']))
{
$user_id = $_SESSION[APP]['user_id'];
$username = $_SESSION[APP]['user... |
<!DOCTYPE html>
<html>
<head>
<title>{{ $details['title'] }}</title>
</head>
<body>
<h1>{{ $details['title'] }}</h1>
<p>
مرحبا بك . لقد قام مستخدم بحجز خادمة من مكتبك .
يرجى الذهاب الى لوحة التحكم خاصتك والتواصل مع المستخدم في مدة اقصاها {{ get_general_value('allowed_days') }} أيام
... |
<?php
namespace App\Listeners;
use Illuminate\Auth\Events\Login;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Http\Request;
class LogSuccessfulLogin
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct(Re... |
<?php
include_once('admin_header.php');
?>
<!-- Right side column. Contains the navbar and content of the page -->
<aside class="right-side">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSettingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('settings', fun... |
@extends('layouts.app')
@section('title', 'お問合わせ')
@section('script')
<script>
function onClick(e) {
document.getElementById("contactform").submit();
}
</script>
<script src="https://ajaxzip3.github.io/ajaxzip3.js"></script><!--住所自動入力-->
@endsection
@section('content')
<h2>お問い合わせ</h2>
@error('token')
<... |
<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved.
// +-------------------------------------------... |
<?php
session_start();
session_destroy();
echo "<script language='javascript'>parent.window.location.href='index.php';</script>";
?> |
<?php
namespace App\Http\Controllers;
use App\Category;
use App\Post;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Re... |
<?php
declare(strict_types=1);
namespace Doctrine\ODM\MongoDB\Aggregation\Stage\Bucket;
use Doctrine\ODM\MongoDB\Aggregation\Builder;
use Doctrine\ODM\MongoDB\Aggregation\Expr;
use Doctrine\ODM\MongoDB\Aggregation\Stage;
/**
* Abstract class with common functionality for output objects in bucket stages
*
* @inte... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Laporan_umkops extends MX_Controller {
function __construct()
{
parent::__construct();
// model
$this->load->model('M_laporan_umkops');
$this->load->model('login/m_session');
}
// index
function index()
{
$data = array(
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.