text
stringlengths
2
1.03M
<?php use yii\db\Migration; /** * Created by PhpStorm. * User: topte * Date: 4/15/2019 * Time: 10:11 AM */ class m190415_101120_add_filed_title_to_discount_game_table_name extends Migration { const DISCOUNT_GAME_TABLE_NAME = '{{%discount_game}}'; public function safeUp() { $this->addColumn(...
<?php namespace Different\DifferentCore\app\Http\Controllers\Crud; use Backpack\CRUD\app\Http\Controllers\Operations\ListOperation; // use Backpack\CRUD\app\Http\Controllers\Operations\ShowOperation; use Backpack\CRUD\app\Http\Controllers\Operations\DeleteOperation; use Backpack\CRUD\app\Http\Controllers\Operations\C...
<?php /** * BigMath: A math library wrapper that abstracts out the underlying * long integer library. * * PHP versions 4 and 5 * * LICENSE: See the COPYING file included in this distribution. * * @access private * @package OpenID * @author JanRain, Inc. <openid@janrain.com> * @copyright 2005-2008 Janrain, I...
@extends('layouts.admin-layout') @section('title', 'Payments') @section('content') <div class="content p-3"> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="row flex-lg-nowrap"> <div class="col-12 mb-3">...
<?php /*session_start(); require_once 'shared/access_validate.php';*/ require_once 'BAL/BA.php'; //Checking userType if (!in_array($_SESSION['user']['Type_ID'], array(AuthENUMS::ADMIN,AuthENUMS::SUPERVISOR, AuthENUMS::SUPERVISOR, AuthENUMS::ADMIN))) { header('Location: report_home.php'); } include("shared/header...
<?php namespace App\Admin\Controllers; use App\Role; use Encore\Admin\Form; use Encore\Admin\Grid; use Encore\Admin\Facades\Admin; use Encore\Admin\Layout\Content; use App\Http\Controllers\Controller; use Encore\Admin\Controllers\ModelForm; use DB; class ModelController extends Controller { use ModelForm; ...
<?hh // strict class Base { } class Derived extends Base { } class FailWhere { public function assertSuperBase<T>(T $x): void where T super Base { } public function test(Derived $x): void { //TODO (t13262460): This test should actually fail, but doesn't, because of //a typehole in super-bounds. When t...
<?php namespace App\Http\Controllers\User; use App\Http\Controllers\ApiController; use App\Http\Controllers\Controller; use App\Models\User; use Illuminate\Http\Request; class UserController extends ApiController { /** * Display a listing of the resource. * * @return \Illuminate\Http\JsonResponse|...
<?php /** * (c) shopware AG <info@shopware.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tests\Helper; use Doctrine\DBAL\Connection; class ImportExportTestHelper extends \Enlight_Components_Test_Plugin_TestCase { ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class ProductFile extends Model { use HasFactory; }
<?php namespace App\Admin\Controllers; use App\Models\Language; use App\Models\WithdrawChannelList; use Dcat\Admin\Form; use Dcat\Admin\Grid; use Dcat\Admin\Show; use Dcat\Admin\Http\Controllers\AdminController; class WithdrawChannelListController extends AdminController { /** * Make a grid builder. * ...
<?php function h($string="") { return htmlspecialchars($string); } function u($string="") { return urlencode($string); } function raw_u($string="") { return rawurlencode($string); } function sanitize_email($value="") { return filter_var($value, FILTER_SANITIZE_EMAIL); } function r...
<?php namespace App\Models\Bed; use Illuminate\Database\Eloquent\Model; use App\Models\Bed\Traits\BedAttribute; use Illuminate\Database\Eloquent\SoftDeletes; use DB; class Bed extends Model { use BedAttribute; protected $table = 'bed'; public $timestamps = true; use SoftDeletes; protected...
@extends('admin.layouts.master') @section('head-tag') <title>نقش ها</title> @endsection @section('content') <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item font-size-12"> <a href="#">خانه</a></li> <li class="breadcrumb-item font-size-12"> <a href="#">بخش کاربران</a></...
<?php namespace PoliceScanner\Model; use PoliceScanner\Entity\Visa; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Validator\Constraints as Assert; class VisaSaveModel { /** * @var int */ public $id; /** * @var int * @Assert\NotBlank() */ public $ownerId...
<?php namespace Phalcon { /** * Phalcon\Logger * * Phalcon\Logger is a component whose purpose is to create logs using * different backends via adapters, generating options, formats and filters * also implementing transactions. * *<code> * $logger = new Phalcon\Logger\Adapter\File("app/logs/test.log...
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* @T...
<?php namespace PortlandLabs\Concrete5\MigrationTool\Publisher\Routine; use Concrete\Core\Attribute\Key\Category; use Concrete\Core\Attribute\Type; use PortlandLabs\Concrete5\MigrationTool\Batch\BatchInterface; use PortlandLabs\Concrete5\MigrationTool\Publisher\Logger\LoggerInterface; defined('C5_EXECUTE') or die("Ac...
<div class="sec__header"> <div class="wrapper wrapper--wide"> <h1 class="sec__header__title"><?= __('Employees','nt') ?></h1> <ul class="nav nav--sub js-isotopefilter"> <li class="js-isotopefilter__item filter__item-all active"> <a href="<?php echo get_post_type_archive_link('employee'); ?>" data-filter-v...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Maison extends Model { protected $guarded = []; }
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Reporte de Gastos</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" /> <style> @import 'https://fonts.googleapis.com/css2?...
@extends('layouts.tabs') @section('contenido_tab') <div class="easyui-tabs" style="width:auto;height:auto;"> <div title="Mostrar" style="padding:10px;"> <table> <tr> @if (Sentry::getUser()->hasAccess('a_rr_amb_doc-index')) <td>{{ link_to_route('a_rr_amb_doc.index', 'Lista', null, array('class'=>'easyui...
<?php namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Foundation\Auth\ResetsPasswords; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; class ResetPasswordController extends Controller { /* |------------------------...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use Kalnoy\Nestedset\NestedSet; class CreateAdvertCategoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() ...
<?php namespace Tests\Jenssegers; class TranslationThTest extends TestCaseBase { const LOCALE = 'th'; public function testTimespanTranslated() { $date = new JenssegersDate(1403619368); $date = $date->sub('-100 days -3 hours -20 minutes'); $this->assertSame('3 เดือน, 1 สัปดาห์, 1 ...
<?php /** * DealResponseTest * * PHP version 7.2 * * @category Class * @package Freee\Accounting * @author OpenAPI Generator team * @link https://openapi-generator.tech */ /** * freee API * * * The version of the OpenAPI document: v1.0 * * Generated by: https://openapi-generator.tech * OpenAPI ...
<?php $sql_dep="select ten_vi,ten_en,photo,link from #_video where hienthi=1 and noibat=1 order by stt,ngaytao desc"; $d->query($sql_dep); $tintuc=$d->result_array(); ?> <div id="belong-anywhere-wrapper"> <div id="belong-anywhere-container"> <link href="css/skitter.styles.css" rel="stylesheet" type="text/css" /> <s...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\User; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Hash; class LoginController extends Controller { /* |--------------...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
<?php /* @var $this \yii\web\View */ /* @var $content string */ use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use app\assets\AppAsset; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->language ?>"> <head> <m...
<?php namespace App\Notifications; use App\Agent_department; use App\User; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; class AgentCreateNotification extends Notification { use Queueable; ...
<?php use Laravel\VaporUi\Support\Cloud; return [ /* |-------------------------------------------------------------------------- | Vapor Project |-------------------------------------------------------------------------- | | Consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labo...
<?php /* * This file is part of the galette/smarty-gettext package. * * @copyright (c) 2017 Elan Ruusamäe * @copyright (c) 2020 The Galette Team * @license BSD * @see https://github.com/galette/smarty-gettext * * For the full copyright and license information, * please see the LICENSE file distributed with th...
<?php namespace DoctrineMigrations; use Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your needs! */ class Version20160914202820 extends AbstractMigration { public function up(Schema $schema): void { $this->addSql(" UPDATE ls_doc SET language = 'en' WHERE language...
<?php namespace Home\Controller; use Think\Controller; class CommonController extends Controller { public function _initialize(){ $this->nav(); $this->hot(); $appid="361124507"; $secret="ba2d28b26bf1951a5ff2133267ca05a4"; $preview=$_SERVER['PATH_INFO']; $redirt_url="http://wx.faquwen.com/?backur...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php return [ 'active' => 'Aktif', 'add_article' => 'Makale ekle', 'add_category' => 'Kategori Ekle', 'addcategory' => 'Addcategory', 'category' => 'Kategori', 'description' => 'Açıklama', 'draft' => 'Taslak...
<?php ?> <!DOCTYPE html> <html lang="en"> <head> <title> Home Page </title> <meta http-equiv="X-UA-Compatible" content="IE=edge;" /> <meta name="description" content=""> <!-- header start --> <?php include("includes/templates/header.php") ?> </head> <body> <...
<?php namespace App\Controllers; use App\Controllers\IControlador; class ImpControlador implements IControlador { private $MODELO; public function ver(): void { // TODO: Implement ver() method. return; } public function filtrarLista(): void { // TODO: Implement filtra...
<?php use Illuminate\Database\Seeder; class SurgeryTypeTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { \App\SurgeryType::truncate(); $data = [ 0 =>[ 'name' => 'Open inguinal hernia mesh ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateLogTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('log', function (Blueprint $table) { $table->i...
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @package Z...
@extends('layouts.main') @section('title','dashboard') @section('content') <div class="container-fluid"> <!-- start page title --> <div class="row"> <div class="col-12"> <div class="page-title-box d-sm-flex align-items-center justify-content-between"> <h4 class="mb-sm-0 font-size-18">Dashboar...
@extends("theme.$theme.layout") @section('titulo') Proyectos @endsection @section('scripts') <script src="{{asset("assets/pages/scripts/admin/crear.js")}}" type="text/javascript"></script> @endsection @section('contenido') <div class="content-header"> <section class="content-header"> <div c...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); include_once('includes/header_start.php'); ?> <?php include_once('includes/header_end.php'); $data = $this->user_mo->get_user(); $error = $this->session->flashdata('error'); ?> <div class="wrapper"> <div class="cont...
<?php return array( 'SHOW_PAGE_TRACE' =>false, //最高等级积分值 "LEVEL_MAX_POINT"=>20000, //加载菜单 'LOAD_EXT_CONFIG' => 'menu', //管理后台Logo文字 'LOGO_TEXT'=> '蛟途贸易会员积分中心', //图片上传保存路径 'IMAGE_UPLOAD_PATH'=> PUBLIC_PATH."Upload/Image/", //资源上传保存路径 'ATTACH_UPLOAD_PATH'=> PUBLIC_PATH."Upload/Attach/", //图片上传扩展名 'IM...
<?php namespace MyHomeCore\Attributes; use MyHomeCore\Components\Listing\Form\Field; use MyHomeCore\Estates\Filters\Estate_Number_Filter; /** * Class Number_Attribute * @package MyHomeCore\Attributes */ class Number_Attribute extends Attribute { /** * Number_Attribute constructor. * * @param $attribute ...
<?php //## NextScripts Facebook Connection Class $nxs_snapAPINts[] = array('code'=>'BG', 'lcode'=>'bg', 'name'=>'Blogger'); if (!class_exists("nxs_class_SNAP_BG")) { class nxs_class_SNAP_BG { var $ntCode = 'BG'; var $ntLCode = 'bg'; function doPost($options, $message){ if (!is_array($opt...
<?php namespace App\Http\Models; use Illuminate\Database\Eloquent\Model; class ArticleModel extends Model { // 要指定模型关联的表名,否则将采取默认的article_model protected $table = 'articles'; // 可以在模型中封装自定义的方法 public function getRandow() { return rand(100, 9999); } }
@extends('layouts.admin') @section('form') <h4>فاکتورهای پرداخت نشده</h4> <hr> <span> در این قسمت می توانید فاکتورهای پرداخت نشده خود را مشاهده کنید. می توانید نسبت به پرداخت، اضافه و کم کردن سفارشات داخل فاکتورها و نیز حذف فاکتورها اقدام نمایید. </span> <br/> <h4>نکات مهم</h4> <span sty...
@extends('master.master') @section('content') @if (session('alert')) <div class="alert alert-danger"> <center>{{ session('alert') }}</center> </div> @endif {{-- table --}} <!-- DataTales Example --> <div class="card shadow mb-4"> <div class="card-header py-3"> ...
<html> <head> <title>About</title> </head> <body> <h2><?= $title ?></h2> <p>To jest CI blog version 3.0</p> </body> </html>
<?php /** * Message translations. * * This file is automatically generated by 'yiic message' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message (key). ...
<?php namespace c4pone\PageSpeed; class Screenshot { private $data; public function hasData() { return $this->data != null; } public function setData($data) { $this->data = $data; } public function getData() { return $this->data; } public func...
<?php namespace kshopapi\controllers; use Yii; use kshopapi\controllers\ApiController; class RbacController extends ApiController{ public function actionCreateRole(){ } public function actionPermissions(){ } public function actionAssign(){ } }
<?php namespace App\Http\Controllers\landing; use App\ChatRoom; use App\Http\Controllers\Controller; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Session; use Illuminate\Support\Str; class authController extends Controller { public function index(...
<?php declare (strict_types=1); namespace RectorPrefix20220202; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; use RectorPrefix20220202\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker; use RectorPrefix20220202\Symplify\MonorepoBuilder\Release\ReleaseWorker\Tag...
<?php /* * Copyright (c) 2014 OptimalPayments * * 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 to use, copy, modify, merge, ...
<?php namespace Soyhuce\PhpunitToCobertura\Tests\Commands; use PHPUnit\Framework\TestCase; use Soyhuce\PhpunitToCobertura\Commands\ConvertCommand; use Soyhuce\PhpunitToCobertura\Exceptions\BadCall; class ConvertCommandTest extends TestCase { public function badArguments(): array { return [ ...
<?php namespace App\Http\Controllers; use App\Http\Requests; use App\Http\Controllers\Controller; use App\Model\Contact\Contact; use App\Model\User\User; use Illuminate\Http\Request; /** * Class ContactController * @package App\Http\Controllers */ class ContactController extends Controller { function __const...
<?php /** * This file is part of the netsuitephp/netsuite-php library * AND originally from the NetSuite PHP Toolkit. * * New content: * @package ryanwinchester/netsuite-php * @copyright Copyright (c) Ryan Winchester * @license http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0 * @link https://g...
<?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 ...
<?php namespace App\Http\Requests; use Illuminate\Validation\Rule; use Illuminate\Foundation\Http\FormRequest; class CompanyFormRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { retur...
<?php session_start(); ?> <!DOCTYPE html> <html lang ="en"> <head> <title>Menú</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="../css/estilo.css" rel="stylesheet" > <link href="../css/tablas...
<?php declare(strict_types=1); namespace Tests\Unit\Model; use Carbon\Carbon; use Corcel\WooCommerce\Model\Customer; use Corcel\WooCommerce\Model\Item; use Corcel\WooCommerce\Model\Order; use Corcel\WooCommerce\Support\BillingAddress; use Corcel\WooCommerce\Support\Payment; use Corcel\WooCommerce\Support\ShippingAddr...
<?php declare(strict_types=1); namespace Shopware\Core\Framework\Store\Struct; final class FrwState { /** * @var \DateTimeImmutable|null */ private $completedAt; /** * @var \DateTimeImmutable|null */ private $failedAt; /** * @var int */ private $failureCount; ...
<?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 return [ /* |-------------------------------------------------------------------------- | Laravel CORS |-------------------------------------------------------------------------- | | allowedOrigins, allowedHeaders and allowedMethods can be set to array('*') | to accept any value. ...
<!doctype html> <html lang="{{ app()->getLocale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://...
<?php namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Image; use Storage; use App\UnitModelEmissionType; class EmissionStandardController extends Controller { public function index(Request $request) { $unit_model_id = $request->unit_model_i...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateAutomationSystemsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('autom...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateHotSuspicionRepliesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('hot...
<?php /** * removed bilder_hochskalieren * * @author andy * @created Tue, 19 Apr 2016 11:43:35 +0200 */ /** * Migration * * Available methods: * execute - returns affected rows * fetchOne - single fetched object * fetchAll - array of fetched objects * fetchArray - arr...
<?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. */ use Symfony\Component\Intl\Globals\IntlGlobals; if (!function_exists('intl_is_fai...
<?php use App\Http\Controllers\Auth\AuthenticatedSessionController; use App\Http\Controllers\Auth\ConfirmablePasswordController; use App\Http\Controllers\Auth\EmailVerificationNotificationController; use App\Http\Controllers\Auth\EmailVerificationPromptController; use App\Http\Controllers\Auth\NewPasswordController; u...
<?php /** * This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}. * See [README.md](README.md#generating-data) for more information. * * Pull requests changing data in these files will not be accepted. See the * [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make...
@extends('app') @section('content') <div class="container-fluid"> <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 (session('status')) <div class="alert alert-success"> ...
<?php namespace EvilStudio\ComposerParser\Model; use EvilStudio\ComposerParser\Api\Data\PackageConfigInterface; class PackageConfig implements PackageConfigInterface { /** * @var bool */ protected $includeInstalledVersion; /** * @var string */ protected $installedVersionDisplayed...
<?php namespace backend\models; use Yii; /** * This is the model class for table "course_enrollment". * * @property int $id * @property string $academic_year * @property string $term * @property int|null $student_id * @property int|null $course_id * * @property Courses $course * @property Students $student...
<?php /* * Copyright (c) Arnaud Ligny <arnaud@ligny.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPoole\Step; use PHPoole\Exception\Exception; use Symfony\Component\Finder\Finder; /** * Locates content. */ cla...
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
<?php /** * Created by PhpStorm. * User: Majid * Date: 8/4/2016 * Time: 5:13 PM */ namespace mhndev\media; use mhndev\media\Exceptions\DestinationDirectoryNotExist; use mhndev\media\Exceptions\FileNotExistException; /** * Class File * @package mhndev\media */ class File { /** * @var array */ ...
@extends('layouts.app') @section('title', __('Assigned Loot') . ' - ' . config('app.name')) @section('content') <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="row"> <div class="col-12 pt-2 mb-2"> <h1 class="font-weight-medium...
<?php /* * This file is part of the BlendEngine framework. * * (c) Gevik Babakhani <gevikb@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Blend\Component\Database\SQL\Statement; use Blend\Component\Database...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Menu extends Model { protected $table = 'menu'; protected $fillable = [ 'ikon', 'route', 'parent_id', 'nama', 'is_blank', ]; public $timestamps = false; public function sub() { return $this->hasMany('App\Me...
<?php return [ "no-users" => "No users available.", "email" => "Email", "created" => "Created at", "role" => "Role", "admin" => "Admin", "admin-add" => "Promote to admin", "admin-remove" => "Remove from admin", "delete-all" => "Delete all non admin accounts", "delete-selected" => "D...
<?hh function take_ints(array<int> $x) {} function test( (function(int, string): bool) $f, Container<int> $x, Container<string> $y, ): void { take_ints(array_map($f, $x, $y)); }
@extends('frontend.master') @section('content') <div class="breadcrumb breadcrumb_bg"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="breadcrumb_iner"> <div class="breadcrumb_iner_item text-center"> <h2>PackagesDetail</h2> <p>home . Packagesdetail</p> </di...
<?php use yii\db\Migration; /** * Class m190103_201324_tasks */ class m190103_201324_tasks extends Migration { /** * {@inheritdoc} */ public function safeUp() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8 COLLAT...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Session; use App\Http\Controllers\Controller; use App\LoginModel as LoginModel; class ...
@extends('Layout.Front') @section('Title',$title) @section('content') @include('Includes.Front.DesktopSlider') @include('Includes.Front.MobileSlider') {{-- @include('Includes.Front.TopSlider') --}} @if (isset($newsione) && count($newsione)) <section class="movie-sections"> <h3> تازه های سیوان ...
<?php namespace frontend\controllers; use common\models\Informations; use common\models\Note; use common\models\User; use yii\web\Controller; use common\models\Messages; use Yii; use yii\data\Pagination; use yii\data\ActiveDataProvider; class ReviewController extends Controller { public function actionNotes() ...
<?php $__env->startSection('content'); ?> <?php $att_path = str_replace('server.php', '', $_SERVER['PHP_SELF']); ?> <div class="card "> <div class="card-header card-header-rose card-header-icon"> <div class="card-icon"> <i class="material-icons">desktop_windows</i...
<?php class unicode2ascii{ function utf8_to_ascii($str, $replacement='_') { $chars = array( 'a' => array('ấ','ầ','ẩ','ẫ','ậ','Ấ','Ầ','Ẩ','Ẫ','Ậ','ắ','ằ','ẳ','ẵ','ặ','Ắ','Ằ','Ẳ','Ẵ','Ặ','á','à','ả','ã','ạ','â','ă','Á','À','Ả','Ã','Ạ','Â','Ă'), 'e' => array('ế','ề','ể','ễ','ệ','Ế','Ề','Ể','Ễ','Ệ','é','...
<!-- Begin Page Content --> <div class="container-fluid"> <div class="card shadow mb-4"> <div class="card-header py-4"> <h2 class="font-weight-bold text-info" style="text-align-last: center"><?= $title; ?></h6> <h3 class="font-weight-bold text-info" style="text-align-last: cente...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php namespace backend\controllers; use Yii; use common\models\Weight; use common\models\WeightSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * WeightController implements the CRUD actions for Weight model. */ class WeightController extends Controller { /** ...
<?php /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
<?php namespace App\Http\Controllers; use App\Constants\Constellation; use App\Services\LineBotService; use Hanson\Chinese\Chinese; use Illuminate\Http\Request; use Illuminate\Support\Facades\Http; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Str; use LINE\LINEBot...