text stringlengths 2 1.03M |
|---|
<?php
/**
* header.php
* Template for header content.
*/
?><!DOCTYPE html>
<?php
$options = keel_get_theme_options();
?>
<html <?php language_attributes(); ?> class="<?php echo $options['typeface']; ?>">
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edg... |
@extends('layouts.catalog', ['class' => 'register-page', 'page' => __('register Page'), 'contentClass' => 'register-page'])
@section("content")
<!--*********************************************************************************************************-->
<!--************ CONTENT **********************... |
<?php
namespace App\Exceptions;
use Exception;
use Illuminate\Auth\Access\Response;
use Tymon\JWTAuth\Exceptions\JWTException;
use Tymon\JWTAuth\Exceptions\TokenBlacklistedException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
/**
* A list of th... |
<?php
namespace App\Http\Controllers\Organization\Auth;
use App\Organization;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
/*
|------------------... |
<?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 ... |
<div class="awake">
@include('base/header_page')
@extends('base/script_yes')
@include('base/script4')
<link rel="stylesheet" type="text/css" href="{{asset('/strap')}}/css/bootstrap.css">
<style type="text/css">
.awake {
background-color: #fafafa;
height: 170%;
... |
<?php
use mvc\model\modelClass;
use mvc\config\configClass;
/**
* Description of transporatdorTableClass
*
* @author jhon fernando hoyos <jhonfernandohoyosdiaz@gmail.com>
*/
class transportadorTableClass extends transportadorBaseTableClass {
public static function getNombreById($id) {
try {
... |
@extends('layouts.app')
@section('content')
<div class="col-lg-12">
<h1 class="my-4">New Property</h1>
<form class="form-propertie" action="{{route('properties.store')}}" method="POST" enctype="multipart/form-data">
@csrf
@method('POST')
Description
... |
<?php
namespace yii2lab\extension\package\helpers;
use yii2lab\extension\package\domain\entities\PackageEntity;
use yii2lab\extension\yii\helpers\FileHelper;
use yii2module\vendor\domain\helpers\GitShell;
class PackageHelper {
public static function forge(string $group, string $name) {
$dir = PackageHelper::get... |
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit94cdf470179c18cd1a8f80ecfd36b8aa
{
public static $files = array (
'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
'a4a119a56e50fb... |
<?php
namespace App\Imports;
use App\Models\ReportCard;
use App\Models\Stream;
use Maatwebsite\Excel\Concerns\WithUpserts;
use Maatwebsite\Excel\Concerns\WithBatchInserts;
use Maatwebsite\Excel\Concerns\WithChunkReading;
use Maatwebsite\Excel\Concerns\WithHeadingRow;
use Maatwebsite\Excel\Concerns\ToModel;
class Nor... |
@extends('../layout/' . $layout)
@section('subhead')
<title>Typography - Rubick - Tailwind HTML Admin Template</title>
@endsection
@section('subcontent')
<div class="intro-y flex items-center mt-8">
<h2 class="text-lg font-medium mr-auto">Typography</h2>
</div>
<div class="grid grid-cols-12 ga... |
<?php
namespace heronote\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class Authenticate
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
publi... |
<?php
namespace Microsoft\BingAds\V13\CampaignManagement;
{
/**
* Contains the association count for the corresponding usage type.
* @link https://docs.microsoft.com/en-us/advertising/campaign-management-service/customeraccountshareassociation?view=bingads-13 CustomerAccountShareAssociation Data Object
... |
<?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... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Pasien extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('m_auth');
$this->load->model('m_pasien');
}
public function register()
{
$this->form_validation->set_rules('nama_pasien', ... |
<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// DB::tab... |
<?= $this->extend('_partial/base') ?>
<?= $this->section('default') ?>
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 class="h2">Sites</h1>
<div class="float-right">
<a href="<?= base_url('create-site') ?>" class="btn btn-sm btn-success">C... |
<?php
namespace App\Models;
use App\Models\Unit;
use App\Models\Brand;
use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Factories\HasFactory;
/**
* Class QuotationItem
* @package App\Models
* @version September 14, 2021, 3:58 am UTC
*
* @property \App\Models\... |
@extends('kullanici.uye_ol_giris_yap_tema')
@section('desc') Giriş Yap @stop
@section('sayfatitle') Giriş Yap @stop
@section('breadcrumb') Giriş Yap @stop
@section('baslik') Giriş Yap @stop
@section('kullanici_menu_baslik') Ürünlerimiz @stop
@section('kullanici_menu')
<ul>
@foreach($ssayfa_menu as $menu)
<... |
<div class="form-group">
@if(empty($relatedName))
<label for="input_{{ $name }}">{{ $label }} @if($required) <span class="text-danger">*</span> @endif</label>
@endif
<textarea class="form-control {{ isset($classes) ? implode($classes, ' ') : '' }}"
{{ isset($dataAttributes) ? implode($... |
<?php
namespace common\models\db;
use Yii;
/**
* This is the model class for table "{{%product}}".
*
* @property int $id
* @property int $order_id order id
* @property int $seller_id
* @property string $portal portal sản phẩm, ebay, amazon us, amazon jp , etc....
* @property string $sku sku của sản phẩm
* @p... |
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... |
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServicePr... |
<?php
namespace App\Http\Transformers;
use League\Fractal\TransformerAbstract;
use App\User;
class UserTransformer extends TransformerAbstract
{
protected $availableIncludes = [];
protected $defaultIncludes = [];
/**
* Turn User object into a generic array.
*
* @return array
*/
... |
<!-- start DetailData.view -->
<form class="form-horizontal" name="form" id="detailSJ">
<table id="t_list_sj" class="table table-bordered table-striped">
<thead>
<tr>
<td colspan="7"><button type="button" id="tab_tambah_detail" class="btn btn-primary" data-loading-text="<i class='fa fa-spinner fa-spin '></i> Proc... |
<?php
$params = require __DIR__ . '/params.php';
$db = require __DIR__ . '/db.php';
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'defaultRoute' => 'goal/index',
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset'... |
<?php
namespace Root;
use Zend\Authentication\AuthenticationService;
use Zend\Mvc\ModuleRouteListener;
use Zend\Mvc\MvcEvent;
use Zend\ModuleManager\ModuleManager;
class Module {
public function onBootstrap(MvcEvent $event) {
$eventManager = $event->getApplication ()->getEventManager ();
$moduleRouteListener = ... |
<?php
namespace Product;
class Category {
public $id;
public $name;
public $error;
public function __construct($id = 0) {
# Database Initialization
$init = new ProductInit();
if ($init->error) {
$this->error = $init->error;
return 0;
}
}
} |
<?php
include('config.php');
?>
<!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" />
<link href="<?php echo $d... |
<?php
/**
* Created by PhpStorm.
* User: Web
* Date: 7/22/15
* Time: 2:04 PM
*/
class Product_brand_model extends CI_Model{
function getMax(){
$maxid = $this->db->query('SELECT id as maxid FROM pro_brand order by id desc limit 1')->row()->maxid;
return ($maxid >= 1 || $id == 1) ? $maxid + 1 ... |
<?php
namespace titi\model;
use titi\core\Model;
class Home extends Model
{
} |
<?php
/***************************************************************************
* *
* (c) 2004 Vladimir V. Kalynyak, Alexey V. Vinokurov, Ilya M. Shalnev *
* *
* ... |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... |
<?php
namespace App\Controllers;
use App\Controllers\BaseController;
use App\Models\ClientesModel;
class Clientes extends BaseController
{
protected $clientes;
protected $reglas;
public function __construct()
{
$this->clientes = new ClientesModel();
helper(['form']);
$t... |
<?php
namespace App\Http\Requests\Category;
use App\Http\Requests\BaseRequest;
class DestroyRestoreRequest extends BaseRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'category_ids' => ['re... |
<?php
/* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\page\feed$checkpagepermissions@[annot]][1]/ */
/* Type: array */
/* Expiration: 2018-04-02T07:58:42+02:00 */
$loaded = true;
$expiration = 1522648722;
$data = array();
/* Child Type: array */
$data['return'] = unserialize(base64_decode('YTowOnt... |
--TEST--
Test popen() and pclose function: error conditions
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) != 'WIN' && PHP_DEBUG) die("skip Valid only on Windows");
if(!PHP_DEBUG) die("skip Not Valid for release builds");
ob_start();phpinfo(INFO_GENERAL);$inf=ob_get_contents(); ob_end_clean();
if (!(strpos($inf, 'MSVC9') ||... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.mi... |
@extends('layouts.master')
@section('title', 'Заказ')
@section('content')
<h1>Подтвердите заказ:</h1>
<div class="container">
<div class="row justify-content-center">
<p>Общая стоимость: <b>{{$order->getFullAmount()}} ₽.</b></p>
<form action="{{route('order-confirm')}}" method=... |
<?php
require __DIR__ . '/vendor/autoload.php';
use \App\Entity\Vaga;
$vagas = Vaga::getVagas();
// echo "<pre>"; print_r($vagas); echo "</pre>"; exit;
include __DIR__ . '/includes/header.php';
include __DIR__ . '/includes/listagem.php';
include __DIR__ . '/includes/footer.php'; |
<?php
namespace app\common\model;
use app\common\model\Model;
use app\common\model\ClientServer;
use app\common\model\Deal;
use app\common\model\Walk;
/**
* This is the model class for table "{{%client}}".
*
* @property integer $id
* @property integer $is_delete
* @property string $cardId
* @property string $u... |
<?php
namespace App\Http\Livewire\FoodSupplier\Manage;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Livewire\Component;
use App\Models\FoodSupplier;
use App\Models\User;
class Schedule extends Component
{
use AuthorizesRequests;
/*
|-----------------------------------------------------... |
<div class="about">
<div class="spec ">
<h3 >{{ trans('front/header.about') }}</h3>
<div class="ser-t">
<b></b>
<span><i></i></span>
<b class="line"></b>
</div>
</div>
<div class="col-md-5 about-right">
<img class="img-responsive" src="{{... |
@extends('layout.master')
@section('content')
<div class="container">
<div class="row">
<div class="col-12">
<h1>Edit</h1>
<form action="/mark/{{$mark->id}}/update" method="POST">
{{ csrf_field() }}
<... |
<?php
namespace Facebook\WebDriver;
require_once __DIR__.'/../utils/database.php';
require_once __DIR__.'/../utils/screenshot.php';
require_once __DIR__.'/../utils/wrappers.php';
$startseite_url = '/startseite.php';
function test_startseite($driver, $base_url) {
global $startseite_url;
tick('startseite');
... |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_menus
*
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\Registry\Registry;
use... |
<?php $cfg = array(
'title' => $lang->get('Advertisement', 'console.common'),
'menu_active' => 'advert',
'sub_active' => 'index',
'baigoValidate' => 'true',
'baigoSubmit' => 'true',
'baigoCheckall' => 'true',
'baigoQuery' => 'true',
'baigoDialog' => 't... |
<?php
namespace backend\controllers;
use Yii;
use common\models\Settings;
use common\models\SettingsSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* SettingsController implements the CRUD actions for Settings model.
*/
class SettingsController extends Controller ... |
<?php
namespace Timiki\Bundle\RpcServerBundle\Exceptions;
class FailedSerializeException extends ErrorException
{
/**
* FailedSerializeException constructor.
*
* @param null $data
* @param null $id
*/
public function __construct($data = null, $id = null)
{
parent::__constr... |
<?php
header('Content-Type: text/html; charset=utf-8', true);
error_reporting(E_ALL);
ini_set('display_startup_errors', 1);
ini_set('display_errors', '1');
require_once '../../vendor/autoload.php';
use Erachain\Erachain;
$era = new Erachain();
$public_key = 'J2U4UVuJd4zFxCbwg2YemAtS24GxApEJsNzphYrfd11';
$private_k... |
@extends('layout')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<h2>Electronic Chart Reader (ECR)</h2>
</div>
</div>
<div class="row">
<div class="col-md-12">
<p>ECR, formally known as Leroy, is a tool that allows acces... |
<?php
use Illuminate\Database\Seeder;
use App\Model\Portfolio;
class PortfoliosTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
factory(Portfolio::class,10)->create();
}
} |
<?php
use kartik\grid\GridView;
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
use common\models\Fruit;
/* @var $this yii\web\View */
/* @var $searchModel common\models\CategorySearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Quản lý danh mục ');
$this->params['breadcr... |
<?php
$lang['global:control-panel'] = '控制台'; //'Control Panel';
$lang['global:profile'] = 'Profile'; #translate
$lang['global:title'] = '標題'; //'Title';
$lang['name_label'] = '名稱'; //'Name';
$lang['desc_label'] = '說明'; //'Description';
$lang['version_label'] = '版本'; //'Version'... |
<?php
namespace Modules\Admin\Traits;
use Carbon\Carbon;
trait DefaultDatetimeFormat
{
protected function serializeDate(\DateTimeInterface $date)
{
if (version_compare(app()->version(), '7.0.0') < 0) {
return parent::serializeDate($date);
}
return $date->format(Carbon::DE... |
<?php
/* forms/fields/datetime/datetime.html.twig */
class __TwigTemplate_939581f4c0c3ca65ebde20885e6ba71a7074761d4aa25adf12bc797c8a54ca58 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTempla... |
<?php
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "sample";
// Create connection
$conn = new mysqli($servername, $username, $password,$dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully to database"... |
<?php
namespace ChromeDevtoolsProtocol\Model\DOM;
use ChromeDevtoolsProtocol\Exception\BuilderException;
/**
* @generated This file has been auto-generated, do not edit.
*
* @author Jakub Kulhan <jakub.kulhan@gmail.com>
*/
final class GetAttributesRequestBuilder
{
private $nodeId;
/**
* Validate non-optiona... |
<?php
namespace Gazelle;
class Contest {
const CACHE_CONTEST_TYPE = 'contest_type';
const CACHE_CONTEST = 'contest.%d';
const CACHE_CURRENT = 'contest_current';
/** @var \DB_MYSQL */
private $db;
/** @var \CACHE */
private $cache;
private $type;
public function __construct (\DB... |
<?php
/*
* Copyright 2021 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
@extends ('app')
@section('page-header')
<h2 align='center'>
Edit User
</h2>
@endsection
@section('content')
@if($errors->any())
<div class="container">
<ul class='alert alert-danger col-lg-8 col-lg-push-2'>
@foreach($errors->all() as $error)
<li>{{ $error }}</li>
@endforeac... |
<?php
return [
// Service configurations.
'services' => [
'helloworld' => [
'name' => 'Hello World',
'class' => 'App\SOAP\Helloworld\HelloWorldService',
'exceptions' => [
'Exception'
... |
<?php
class Clogin extends CI_controller
{
function __construct(){
parent::__construct();
$this->load->model('mlogin');
}
public function index(){
$data['mensaje']= "";
$this->load->view('vlogin',$data);
}
public function ingresar(){
// print "<script type=\"text/javascript\">alert('logint')... |
<?php
declare(strict_types=1);
/*
* This file is part of Laravel Database.
*
* (c) Brian Faust <hello@basecode.sh>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Artisanry\Database\Contracts\Models\Traits;
use Illumi... |
<?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 Banner extends DataObject {
private static $has_one = array (
'HomePage' => 'HomePage',
'Mobile_img' => 'Image',
'Tablet_img' => 'Image',
'Desktop_img' => 'Image'
);
public function getCMSFields() {
$fields = parent::getCMSFields();
$fields->ad... |
<script type="text/javascript">
function loadLineChart(data) {
var ctx = document.getElementById('lineChartCanvas').getContext('2d');
@if (! $report->isPieChartEnabled())
document.getElementById('lineChartCanvas').height = 80;
@endif
new Chart(ctx, {
type: 'line',
... |
<?php
namespace app\controllers;
use Yii;
use app\models\Mahasiswa;
use app\models\MahasiswaSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* MahasiswaController implements the CRUD actions for Mahasiswa model.
*/
class MahasiswaController extends Controller
{
... |
<?php
include("bd/connect.php");
if(isset($_POST['submitrdv'])){
$identifiant=htmlspecialchars($_POST['identifiant']);
$nomrdv=htmlspecialchars($_POST['nomrdv']);
$prenomrdv=htmlspecialchars($_POST['prenomrdv']);
$telephonerdv=htmlspecialchars($_POST['telephonerdv']);
$daternaissancerdv=htmlspecialchars($_POST['... |
<?php namespace Todaymade\Daux\Tree;
use Todaymade\Daux\Config;
class DirectoryTest extends \PHPUnit_Framework_TestCase {
public function providerSort()
{
return array(
array(["005_Fifth", "01_First"], ["01_First", "005_Fifth"]),
array(["005_Fifth", "Another", "01_First"], ["0... |
<?php
/*
* This file is part of the mayunfeng/smartprogram.
*
*
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace EasyBaiDu\Kernel\Messages;
/**
* Class Raw.
*/
class Raw extends Message
{
/**
* @var string
*/
prot... |
<?php
/**
* Copyright (C) 2017 Frank Wall
* Copyright (C) 2015 Deciso B.V.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must r... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class indexController extends Controller
{
public function index() {
return view('pages.home');
}
} |
@extends('layouts.master')
@section('icon')
<i class="mdi mdi-home menu-icon"></i>
@endsection
@push('css')
@endpush
@section('title')
<a href="{{url('superadmin/dashboard')}}" style="color:black; text-decoration:none">Dashboard</a>
@endsection
@section('content')
<div class="row">
<div class="co... |
<?php
return [
'password' => 'A senha e a confirmação devem combinar e possuir pelo menos seis caracteres.',
'reset' => 'Sua senha foi redefinida!',
'sent' => 'Enviamos seu link de redefinição de senha por e-mail!',
'token' => 'Este token de redefinição de senha é inválido.',
'user' => "Não encont... |
<?php
/**
* Copyright 2012-2017 Horde LLC (http://www.horde.org/)
*
* See the enclosed file LICENSE for license information (ASL). If you
* did not receive this file, see http://www.horde.org/licenses/apache.
*
* @category Horde
* @copyright 2012-2017 Horde LLC
* @license http://www.horde.org/licenses/apach... |
<?php
/**
* DB Connection
*/
class DBModel
{
public $con;
public function getCon()
{
$this->con=new mysqli("localhost", "root", "", "test");
return $this->con;
}
public function array_push_assoc($array, $key, $value)
{
$array[$key]=$value;
return $array;
}
function __construct()
{
$this->con=$... |
<nav class="navbar sticky-top navbar-expand-md navbar-dark">
<!-- Title -->
<a href="https://www.stanford.edu/" class="navbar-brand">Stanford University</a>
<!-- Toggler for mobile view -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsed-nav">
<span><i ... |
@extends('layouts/master')
@section('content')
{{-- crousal --}}
@include('home.crousal')
<div class="row g-3">
<div class="col-lg-8">
@include('home.category')
{{-- jadwal sholat --}}
@include('home.jadwal-sholat')
{{-- list berita terbaru --}}
... |
<?php namespace Codesleeve\LaravelStapler\Services;
use Codesleeve\LaravelStapler\Exceptions\InvalidClassException;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Foundation\Application;
use Symfony\Component\Console\Helper\ProgressBar;
use Symfony\Component\Console\Output\NullOutput;
use Symfony\Componen... |
<?php
namespace Jaacoder\Yii2Activated\Models;
trait MappingTrait
{
// whether or not to show extra fields with fields() method
protected $autoExtraFields = true;
/**
* Property to column mapping.
*
* @return array
*/
public static function mapping()
{
return [];
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateServersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('servers', funct... |
@include('admin.sidebar');
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Coupon List
</h1>
<ol class="breadcrumb">
<li><a href="{{url('admin/dashboard')}}"><i class=... |
<?php namespace Modules\Admin\Http\Controllers;
use App\Models\User;
use Illuminate\Support\Facades\Input;
use Modules\Admin\Http\Requests\DeleteRequest;
use Modules\Admin\Http\Requests\PostRequest;
use Modules\Admin\Models\CategoryTranslation;
use Modules\Admin\Models\Language;
use Modules\Admin\Models\MultipleMedia;... |
<?php
namespace App\Http\Livewire\Admin;
use App\Models\Coupon;
use Livewire\Component;
class AdminCouponsComponent extends Component
{
public function deleteCoupon($coupon_id){
$coupon = Coupon::find($coupon_id);
$coupon->delete();
session()->flash('message', 'Coupon has been deleted suc... |
@extends($layout)
@section('stylesheets')
@stop
@section('scripts')
<script type="text/javascript" src="/packages/ion.sound-3.0.7/ion.sound.min.js"></script>
<script type="text/javascript" src="/js/invoices/rack.js"></script>
@stop
@section('header')
@stop
@section('notifications')
{!! View::make('partials.layouts.... |
<?php
interface Image
{
public function getWidth();
}
class RawImage implements Image
{
public function getWidth()
{
// TODO: Implement getWidth() method.
return "100*100";
}
}
class ImageProxy implements Image
{
private $img;
public function __construct()
{
$th... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Account extends Model
{
protected $fillable = ['email', 'password'];
} |
@extends('admin.share.layout')
@section('content')
<!-- START CONTENT -->
<section id="main-content" class=" ">
<section class="wrapper main-wrapper" style=''>
<div class='col-lg-12 col-md-12 col-sm-12 col-xs-12'>
<div class="page-title">
... |
<?php
/**
* The MIT License (MIT)
*
* Copyright (c) 2015 Marco Muths
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\model\category;
use App\Components\Recusive;
use Illuminate\Support\Str;
use App\Traits\delete_model_traits;
use Directory;
use League\CommonMark\Extension\HeadingPermalink\Slug\SlugGeneratorInterface;
use League\CommonMark\Normalizer\SlugNorm... |
<?php namespace App\Http\Controllers\Backend;
use App\Http\Controllers\BackendController;
use App\User;
use App\Http\Models\UserModel;
use Request;
use Session;
use Validator;
use Illuminate\Support\Facades\Auth;
use Html;
use Illuminate\Support\Facades\Input;
class LoginController extends BackendController
{
publ... |
@if(count($errors) > 0)
@foreach ($errors as $error)
<div class="alert alert-danger">
{{$errors}}
</div>
@endforeach
@endif
@if(session('success'))
<div class="alert alert-success">
{{session('success')}}
</div>
@endif |
<?php
/*
* Copyright 2018 Google LLC
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of cond... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Superuser extends CI_Controller {
public function __construct()
{
parent::__construct();
if(!$this->session->userdata('auth')){
redirect('auth');
}
$this->blade->sebarno('ctrl', $this);
$this->load->library('session');
$this... |
<?php
return [
'title' => 'Ticket Dashboard',
'headline' => 'Showing all Tickets from the Users',
'empty' => 'No Tickets created yet',
'categories' => 'Categories',
'priorities' => 'Priorities',
'conversation' => 'Conversations',
'from' => 'Account ID:',
'opened-by-user' => 'Opened by',... |
<?php declare(strict_types=1);
namespace Shopware\Core\Framework\Plugin\Command;
use Shopware\Core\Framework\Console\ShopwareStyle;
use Shopware\Core\Framework\Plugin;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterfac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.