text
stringlengths
2
1.03M
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:...
<?php namespace Vegacms\Cms\Services; use Vegacms\Cms\Models\Phrase; use Vegacms\Cms\Services\Interfaces\PhraseServiceInterface; class PhraseService implements PhraseServiceInterface { /** * Get phrases by array of system name keys and groups of arrays of system name keys * * @param array $phrases...
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM...
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
<?php namespace SoftUniBlogBundle\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; use SoftUniBlogBundle\Entity\Article; use SoftUniBlogBundle\Entity\Comment; use SoftUniBlogBundle\Form\CommentType; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundatio...
<!doctype html> <html lang="en"> <head> <link rel="SHORTCUT ICON" href="{{asset('source/home/assets/dest/images/logomini.ico')}}"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>CMTech Mobile </title> <link href='http://fonts.googleapis.com/css?f...
<?php /** * This file is part of the Spryker Suite. * For full license information, please view the LICENSE file that was distributed with this source code. */ namespace Pyz\Zed\DataImport\Business\Model\ProductAbstract\Writer; use Generated\Shared\Transfer\SpyProductAbstractEntityTransfer; use Orm\Zed\Product\Pe...
<?php namespace App\Jobs\DeployProject; /** * Format the console log lines. */ class LogFormatter { /** * Format an error message. * * @param string $message * * @return string */ public function error($message) { return $this->format($message, 'error'); } ...
<?php declare(strict_types=1); namespace App\Entity\Abstracts; use DateTime; use DateTimeInterface; use Doctrine\ORM\Mapping as ORM; use Exception; /** * Abstract class with automatic create and last update date * * @ORM\HasLifecycleCallbacks() * @package App\Entity */ abstract class AbstractLifecycleEntity { ...
<?php /** * Implement the Custom Header feature. */ require get_template_directory() . '/inc/custom-header.php'; /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Functions which enhance the theme by hooking into WordPress. */ require get_template_d...
<?php /** * Created by PhpStorm. * User: dell * Date: 2016/12/8 * Time: 15:56 */ namespace frontend\controllers; use common\models\Category; use common\models\User; use frontend\models\PersonInfo; use frontend\models\UploadForm; use yii; use common\models\Album; use yii\base\Controller; use yii\helpers\Json; cl...
<?php namespace Composer; use Composer\Autoload\ClassLoader; use Composer\Semver\VersionParser; class InstalledVersions { private static $installed = array ( 'root' => array ( 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array ( ), 'reference'...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class EmployeGroupe extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('employe_groupe', fun...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Corporativo extends CI_Controller { /** * 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 co...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePostcodesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('postcodes', f...
<?php namespace common\modules\users\models\backend\search; use common\modules\users\models\backend\Profile; use common\modules\users\models\backend\User; use yii\data\ActiveDataProvider; use yii\base\Model; use Yii; /** * @inheritdoc */ class UserSearch extends User { /** * @var string */ public...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Cviebrock\EloquentSluggable\SluggableInterface; use Cviebrock\EloquentSluggable\SluggableTrait; use Nicolaslopezj\Searchable\SearchableTrait; class Lection extends Model implements SluggableInterface{ use SluggableTrait; use SearchableTrait...
<?php /** * Do not edit anything in this file unless you know what you're doing */ use Roots\Sage\Config; use Roots\Sage\Container; /** * Helper function for prettying up errors * * @param string $message * @param string $subtitle * @param string $title */ $sage_error = function ($message, $subtitle = '', $t...
--TEST-- inet_ntop() & inet_pton() IPv6 tests --SKIPIF-- <?php if (!function_exists("inet_ntop")) die("skip no inet_ntop()"); if (!function_exists("inet_pton")) die("skip no inet_pton()"); $packed = str_repeat(chr(0), 15) . chr(1); if (@inet_ntop($packed) === false) { die("skip no IPv6 support"); } if (stristr(PHP_OS...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Comment extends Model { /** * The database table used by the model. * * @var string */ protected $table = 'comments'; /** * The database primary key value. * * @var string */ protected $primaryKey ...
@extends('admin.layouts.main') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0">Категории</h1> </div><!-- ...
<!DOCTYPE html> <html lang="de"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Früchte &ndash; neXtLVL Webshop</title> <link rel="stylesheet" href="css/bootstrap.min.css"> <link rel="stylesheet" href="css/next.min.css"> <!-- Diese S...
<?php require_once "template/header.php"; require_once "html/userProfile.php"; require_once "template/footer.php"; ?>
@extends('adminlte::page') @section('title', 'iStudent Administrador') @section('css') <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="https://cdn.datatables.net/1.10.24/css/dataTables.bootstrap5.min.css"> <link rel=...
@extends('_partials/master') @section('title', 'Jadwal') @section('page-head') <!--Page Title--> <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--> <div id="page-title"> <h1 class="page-header text-overflow">Jadwal</h1> </div> <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--> <!--End page title--> <!--Breadcrumb--> <!--~~~~~~~~~~~~~~...
@extends('layouts.front') @section('content') <main id="main"> <!-- ======= Breadcrumbs ======= --> <section id="breadcrumbs" class="breadcrumbs"> <div class="container"> <div class="d-flex justify-content-between align-items-center"> <h2>Gallery Details</h2> <ol> ...
<?php define('DB_HOST', 'mysql.lskk.ee.itb.ac.id'); define('DB_USER', 'vidyanusa'); define('DB_PASSWORD', '987b91a3'); define('DB_DATABASE', 'hostingVidyanusa'); ?>
<?php /** * Часть библиотеки для работы с сервисами Яндекса * * @package Arhitector\Yandex\Disk * @version 2.2 * @author Arhitector * @license MIT License * @copyright 2016 Arhitector * @link https://github.com/jack-theripper */ namespace Arhitector\Yandex\Disk\Filter; /** * Тип - файл/п...
<?php return [ 'error' => [ 'basic' => 'Не верный формат запроса', 't_name'=> 'Данная таблица не обнаружена', 't_name_api_access' => 'Данная таблица не доступка для API методов' ], 'success' => [ 'save' => 'Сохранение данных успешно произведено', 'good' => 'Успешное ...
<?php header('Access-Control-Allow-Origin: https://milpro.ml'); require_once 'sdk.php'; $sdk = new SDK(); echo $sdk->wikify($_POST['t']); ?>
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateImagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('images', function (Blueprint $table) { $tab...
@extends('theme.app') @section('content') <!--begin::Subheader--> <div class="subheader py-2 py-lg-6 subheader-transparent " id="kt_subheader"> <div class="container-fluid d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap"> <!--begin::Info--> <div clas...
<?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 t...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class OrderProduct extends Model { public function product(){ return $this->hasOne('App\Product', 'id', 'product_id'); } public function user(){ return $this->belongsTo('App\User'); } }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CriarTabelas extends Migration { /** * Run the migrations. * * @return void */ // As tabelas são criadas todas juntas dentro desse método, e são criad...
@extends('admin.layouts.app') @section('content') <section class="content-header"> <h1> Contact <small>Admin panel</small> </h1> <ol class="breadcrumb"> <li><a href="{{url('admin')}}"><i class="fa fa-dashboard"></i> Home</a></li> <li class="active">user</li> </ol> </section> <section class="content"> <div class="row">...
<!-- Main jumbotron for a primary marketing message or call to action --> <div class="jumbotron"> <div class="container"> <h1>Hello, world!</h1> <p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of ...
<?php use Monolog\Handler\NullHandler; use Monolog\Handler\StreamHandler; use Monolog\Handler\SyslogUdpHandler; return [ /* |-------------------------------------------------------------------------- | Default Log Channel |-------------------------------------------------------------------------- ...
<?php /** * This source file is part of the open source project * ExpressionEngine (https://expressionengine.com) * * @link https://expressionengine.com/ * @copyright Copyright (c) 2003-2018, EllisLab, Inc. (https://ellislab.com) * @license https://expressionengine.com/license Licensed under Apache License...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMenusTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('menus', function ...
<?php require_once "../connect/dbconn.php"; if((isset($_POST['countryId'])) && (isset($_POST['cityId'])) && (isset($_POST['name']))) { // get the details of the new user to register $name = $_POST['name']; $id=$_POST['cityId']; $country=$_POST['countryId']; // check if user(email) exists $query...
<?php namespace PhpBench\Expression\NodePrinter; use PhpBench\Expression\Ast\Node; use PhpBench\Expression\Ast\NullSafeNode; use PhpBench\Expression\NodePrinter; use PhpBench\Expression\Printer; class NullSafePrinter implements NodePrinter { public function print(Printer $printer, Node $node): ?string { ...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class User_model extends CI_Model { public function login($email) { return $this->db->get_where('user', ['email' => $email])->row_array(); } public function insert($data) { return $this->db->insert('user', $data)...
<?php require_once './include/mcmp/lib/manager/AdherentDAO.php'; if(isset($_POST['login_Log']) AND isset($_POST['password_Log'])) { if (!empty($_POST['login_Log']) and !empty($_POST['password_Log'])) { //Lutter contre la faille XSS : $xssLog = htmlspecialchars($_POST['login_Log']); $xssPass ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | MIME TYPES | ------------------------------------------------------------------- | This file contains an array of mime types. It is used by the | Upload class to help identi...
<div class="col-lg-12"> <section class="panel"> <?php // var_dump($M_data_santri_nilai_detail); foreach ($M_data_santri as $data): ?> <header class="panel-heading"> Detail <?php echo $data['nama']; ?> </header> <div class="row" style="margin: 0px;"> <div class="col-sm-9"> ...
<?php /** * @author Todd Burry <todd@vanillaforums.com> * @copyright 2009-2019 Vanilla Forums Inc. * @license Proprietary */ namespace Garden\Web\Exception; /** * An HTTP 403 forbidden exception. */ class ForbiddenException extends ClientException { /** * Construct a {@link ForbiddenException} object. ...
<?php include('include/head.php'); date_default_timezone_set('Asia/Karachi'); ?> <body> <?php include('include/header.php') ?> <div class="main-container container-fluid"> <a class="menu-toggler" id="menu-toggler" href="#"> <span class="menu-text"></span> </a> <?php include('include/sidebar.php...
<table> <form action="/rest" method="post"> {{ csrf_field() }} <tr><th>message: </th><td><input type="text" name="message" value="{{old('message')}}"></td></tr> <tr><th>url: </th><td><input type="text" name="url" value="{{old('url')}}"></td></tr> <tr><th></th></tr><td><input type="su...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePersonTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { /* schema for system wide person: user, mentor, mentee ...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/phpdocumentor/type-resolver/src', $vendorDir . '/phpdocumentor/reflec...
<?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...
<x-master> <section class="px-8"> <main class="container mx-auto"> <div class="lg:flex lg:justify-between"> @if (auth()->check()) <div class="lg:w-32"> @include('_sidebar-links') </div> @endif <div class="lg:flex-1 lg:m...
<?php namespace Omea\GestionTelco\PortabilityBundle\Services; use Psr\Log\LoggerInterface; use Omea\GestionTelco\PortabilityBundle\Types\Message; class OutgoingPortabilityService { /** @var array */ protected $config; /** @var LoggerInterface */ protected $logger; /** @var MainRepositoryService ...
<?php namespace App\Http\Controllers\HRs\Users; use App\Http\Controllers\Line\FlexMessageController; use App\Http\Controllers\Properties\PropertyController; use App\Model\HRS\Users\HU_การลา; use Illuminate\Http\Request; use View; use JavaScript; use Line; class LeaveController extends PropertyController { public fu...
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\Kodak; use JMS\Serializer\Annotation\ExclusionPolicy; u...
<?php // Text $_['text_new_subject'] = '%s - Pedido %s'; $_['text_new_greeting'] = 'Obrigado por se interessar nas pel&iacute;culas da loja %s.'; $_['text_new_received'] = 'Voc&ecirc; recebeu um pedido.'; $_['text_new_link'] = 'Para acompanhar o andamento do seu pedido, clique no li...
<?php namespace AlibabaCloud\Alikafka\V20181015; use AlibabaCloud\Client\Resolver\ApiResolver; /** * @method CreateConsumerGroup createConsumerGroup(array $options = []) * @method CreateTopic createTopic(array $options = []) * @method GetTopicStatus getTopicStatus(array $options = []) * @method GetConsumerProgre...
<?php /** * @param $uri * @return string */ function checkActiveMenu($uri) { $class = ''; if (request()->is($uri)) { $class = 'active'; } return $class; }
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">User Register Account</div> <div class="card-body"> <form method="...
<?php namespace RectorPrefix20211019; if (\class_exists('t3lib_formprotection_Factory')) { return; } class t3lib_formprotection_Factory { } \class_alias('t3lib_formprotection_Factory', 't3lib_formprotection_Factory', \false);
<?php /** * ECSHOP 系统环境检测函数库 * ============================================================================ * * 版权所有 2005-2012 上海商派网络科技有限公司,并保留所有权利。 * 网站地址: http://www.ecshop.com; * ---------------------------------------------------------------------------- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和 * 使用;不允许对程序代码以任...
<x-guest-layout> <x-auth-card> <x-slot name="logo"> <a href="/"> <x-application-logo class="h-20 fill-current text-gray-100" /> </a> </x-slot> <div class="mb-4 text-sm text-gray-600"> {{ __('Forgot your password? No problem. Just let us kn...
<?php /* * This file is part of Twig. * * (c) 2012 Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Represents an embed node. * * @author Fabien Potencier <fabien@symfony.com> */ class Twig_Node_Embed ex...
<?php /* * Copyright (C) 2017-present, Facebook, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * This program is distributed in the hope that it will be ...
<?php declare(strict_types=1); $GLOBALS['TL_DCA']['tl_module']['palettes'] += [ 'language_dependent_modules_surrogate' => ' {title_legend},name,type; {module_legend},languageDependentModules; ', ]; $GLOBALS['TL_DCA']['tl_module']['fields'] += [ 'languageDependentModules' => [ 'inp...
<?php use yii\db\Migration; class m130524_201442_init extends Migration { public function up() { $tableOptions = null; if ($this->db->driverName === 'mysql') { // http://stackoverflow.com/questions/766809/whats-the-difference-between-utf8-general-ci-and-utf8-unicode-ci ...
<?php use LaminasScaffold\Command\Test; use LaminasScaffold\Command\Createmodule; return [ 'laminas-cli' => [ 'commands' => [ 'laminas-sc:test' => Test::class, 'laminas-sc:create-module' => Createmodule::class ], ], ];
<?php namespace frontend\modules\app\models; /** * This is the ActiveQuery class for [[TbQuequ]]. * * @see TbQuequ */ class TbQuequQuery extends \yii\db\ActiveQuery { /*public function active() { return $this->andWhere('[[status]]=1'); }*/ /** * @inheritdoc * @return TbQuequ[]|a...
<div class="blog-masthead"> <div class="container"> <nav class="nav blog-nav"> <a class="py-2" href="#"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" strok...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Product extends Model { use HasFactory; public $table = 'products'; protected $fillable = [ 'name','category_id', 'price', 'quantity', 'size', 'imageUrl', 'description...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\DB; class PaperformSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('paperforms')->i...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Welcome to Sto Markt</title> <link rel="stylesheet" type="text/css" href="<?=base_url()?>css/style_stoyan.css" media="screen" /> </head> <body> <div id="container"> <h1>Welcome to Sto_Markt!</h1> <div id="body">
@extends('admin.panel') @section('menu') @include('admin.reportes.menuReportes') @endsection @section('panel-contenido') @endsection
<?php namespace MauticPlugin\MauticGSBundle\Google\google_api_php_client\src\Google\Service; /* * Copyright 2010 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://...
<?php require_once RDFAPI_INCLUDE_DIR.PACKAGE_SYNTAX_JSON; /** * Tests the JsonParser * * @version $Id $ * @author Philipp Frischmuth <philipp@frischmuth24.de> * * @package unittests * @access public */ class testJsonParser extends UnitTestCase { var $modelString; function testJsonParser() { $this->Unit...
<html lang="fr"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Fonts perf tests - Inlined CSS</title> <style> <?php include './styles.css'; ?> </style> </head> <body> <h1>Fonts perf tests</h1> <?php include '../menu.php'; ?> <h2>Inlined CSS</h2> <?php ...
<?php declare(strict_types=1); /* * This file is part of the Sonata Project package. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\AdminBundle\Twig\Exte...
@extends('layouts.manufacturer') @section('title', 'create Ad') @section('content') <div class="row wrapper border-bottom white-bg page-heading"> <div class="col-lg-10"> <h2>Advertisment</h2> <ol class="breadcrumb"> <li> ...
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Backup\Filesystem\Rollback; use Magento\Framework\App\ObjectManager; /** * Rollback worker for rolling back via local filesystem * * @author Magento Core Team <core@mag...
<?php use yii\db\Migration; /** * Class m181017_141725_rel_user_groups_roles */ class m181017_141725_rel_user_groups_roles extends Migration { /** * {@inheritdoc} */ public function safeUp() { $this->createTable('rel_users_groups_roles', [ 'user_group_id' => $this->integer()->notNull()->comment('ID связк...
<?php session_start(); include '../library/configServer.php'; include '../library/consulSQL.php'; sleep(5); $codeCateg= $_POST['categ-code']; $cons= ejecutarSQL::consultar("select * from categoria where CodigoCat='$codeCateg'"); $totalcateg = mysql_num_rows($cons); if($totalcateg>0){ if(consultasSQL::DeleteSQL('...
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?> <div id="items-report" class="hide"> <?php if($mysqlVersion && strpos($mysqlVersion->version,'5.6') !== FALSE && $sqlMode && strpos($sqlMode->mode,'ONLY_FULL_GROUP_BY') !== FALSE){ ?> <div class="alert alert-danger"> Sales Report may n...
<div class="content-wrapper"> <div style="overflow-y: scroll; height: 600px"> <section class="content-header"> <h1> <center style="color:navy;"><b>Penerimaan Peserta Didik Baru</b></center> <center><small>Jalur Nilai Ujian Nasional</small></center> <center><small>hanya menggunakan ni...
@extends('Backend.Layout.App') @section('title', 'Create Brand') @section('content') <!-- Content Header (Page header) --> <section class="content-header"> <h1>Brand<small>it all starts here</small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i...
<?php //命名空间 namespace Home\Controller; //导入类 use Think\Controller; class UserController extends Controller { //首页 public function index() { //实例化model模型 //$model = new \Think\Model('user'); $model = M('stu'); // var_dump($model); $data = $model->order('id desc')->select(); //发送数据 $...
<?php declare (strict_types=1); namespace RectorPrefix20211211\Symplify\VendorPatches\Finder; use RectorPrefix20211211\Symfony\Component\Finder\Finder; use RectorPrefix20211211\Symplify\SmartFileSystem\Finder\FinderSanitizer; use Symplify\SmartFileSystem\SmartFileInfo; use RectorPrefix20211211\Symplify\VendorPatches\...
<?php if (!isset($_SESSION["nombres"])) { echo "<script>alert('Usted no ha iniciado sesión');window.location.href = '".base_url()."';</script>"; return; } $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "http://colibri.informaticapp.com/perfiles/".$id, CURLOPT_RETURNTRANSFER => tr...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Reports_sales extends Root_Controller { private $message; public $permissions; public $controller_url; public $locations; public function __construct() { parent::__construct(); $this->message=""; ...
@extends('front_end.master') @section('content') <style> .card { box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06); } .card { position: relative; display: flex; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #fff; background-clip: border...
<?hh <<__EntryPoint>> function main_503() { $a = array('1', '2', '3'); $b = $a; $b[4] = '4'; var_dump($a); var_dump($b); $b = '3'; var_dump($a); var_dump($b); }
<?php /** * EEmailManager * * @property string $fromName * @property array $transports * * @author Brett O'Donnell <cornernote@gmail.com> * @author Zain Ul abidin <zainengineer@gmail.com> * @copyright 2013 Mr PHP * @link https://github.com/cornernote/yii-email-module * @license BSD-3-Clause https://raw.githu...
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\Channel; use App\Video; use Faker\Generator as Faker; $factory->define(Video::class, function (Faker $faker) { return [ 'channel_id' => function () { return factory(Channel::class)->create()->id; }, 'view...
@extends('admin.layouts.master') @section('title','Resurs - Kateqoriya Bölməsi') @section('content') <main id="app-main" class="app-main in"> <div class="wrap"> <section class="app-content"> <div class="row"> <!-- DOM dataTable --> <div...
@extends('admin.layout.index') @section('title') Website Information @endsection @section('styles') <script src="{{ asset('admin/global_assets/js/plugins/editors/summernote/summernote.min.js') }}"></script> <script src="{{ asset('admin/global_assets/js/demo_pages/editor_summernote.js') }}"></script> @endse...
<?php namespace Nuwave\Lighthouse\Console; class QueryCommand extends LighthouseGeneratorCommand { /** * The name of the console command. * * @var string */ protected $name = 'lighthouse:query'; /** * The console command description. * * @var string */ prot...
<div wire:ignore.self class="modal fade" id="updateUser" data-backdrop="static" data-keyboard="false" tabindex="-1" aria-labelledby="updateUsuarioModal" aria-hidden="true"> <div class="modal-dialog modal-dialog-scrollable modal-lg"> <div class="modal-content"> <div class="modal-header bg-success...
<?php namespace App\Rules; use App\Packages\Payments\Config; use App\Packages\Payments\Payment; use Illuminate\Contracts\Validation\Rule; class PaymentGatewayValidate implements Rule { /** * Create a new rule instance. * * @return void */ public function __construct() { // ...
@extends('backendtemplate') @section('title','Subcategory Create ') @section('content') <h1>Subcategory Create</h1> {{--Error--}} @if ($errors->any()) <div class="alert alert-danger"> <ul> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach ...
<?php /** @noinspection DuplicatedCode */ declare(strict_types=1); namespace Tests\Functional\Controller\User; use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Events; use Doctrine\Persistence\ObjectManager; use Neucore\Entity\CorporationMember; use Neucore\Entity\EveLogin; use Neucore\Entity\Player; use Ne...