text
stringlengths
2
1.03M
<?php namespace Enqueue\Symfony\Client\DependencyInjection; use Enqueue\Client\ChainExtension; use Enqueue\Client\Config; use Enqueue\Client\ConsumptionExtension\DelayRedeliveredMessageExtension; use Enqueue\Client\ConsumptionExtension\ExclusiveCommandExtension; use Enqueue\Client\ConsumptionExtension\FlushSpoolProdu...
<?php /** * Locale data for 'en_ZW'. * * This file is automatically generated by yiic cldr command. * * Copyright © 1991-2013 Unicode, Inc. All rights reserved. * Distributed under the Terms of Use in http://www.unicode.org/copyright.html. * * @copyright 2008-2014 Yii Software LLC (http://www.yiiframework.com/l...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Buku extends CI_Controller { // public function __construct() // { // parent::__construct(); // cek_login(); // } //manajemen Buku public function index() { $data['judul'] = 'Data Buku'; ...
<?php namespace App\Providers; use Illuminate\Cache\RateLimiting\Limit; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Http\Request; use Illuminate\Support\Facades\RateLimiter; use Illuminate\Support\Facades\Route; class RouteServiceProvider extends ServiceProvide...
<?php $this->title = '门店管理'; $depends = ['depends' => ['backend\assets\AdminLteAsset']]; $this->registerJsFile('/dist/plugins/vue-element/vue.min.js', $depends); $this->registerJsFile('/dist/plugins/vue-element/index.js', $depends); $this->registerCssFile('/dist/plugins/vue-element/index.css', $depends); ?> <section c...
<?php namespace App\Http\Controllers\API; use App\Http\Controllers\Controller; use App\Models\User; use Illuminate\Http\Request; class AuthController extends Controller { public function register(Request $request) { $validatedData = $request->validate([ 'name' => 'required|max:55', ...
<?php namespace App\Http\Controllers; use App\Models\Company; use App\Models\Job; use App\Models\Seeker; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Storage; class SeekerController extends Controller { public function details($id) { ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSpecialBooksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('special_bo...
<?php ini_set('display_errors', 1); include_once 'conf/constant.php'; include_once Barco; define('new_barco_row', ' <tr class="ajax_new" id="barco_%"> <td>%</td> <td>% Mts</td> <td>% Mts</td> <td>% Mts</td> <td>% Ton</td> <td> <span class=""> <a href="#" data-id="barco_%" class="btn ...
<?php return [ /* |-------------------------------------------------------------------------- | Path to Modules |-------------------------------------------------------------------------- | | Define the path where you'd like to store your modules. Note that if you | choose a path that'...
<?php namespace App\Http\Controllers; use App\Familie; use App\Resident; use File; use \Cviebrock\EloquentSluggable\Services\SlugService; use Illuminate\Http\Request; use Illuminate\Support\Facades\Storage; class ResidentController extends Controller { /** * Display a listing of the resource. * * ...
<?php namespace App\Controllers; use App\models\MenuModel; use App\models\PesanModel; use App\models\DetailPesanModel; use CodeIgniter\Controller; //use CodeIgniter\HTTP\Request; class PesanController extends Controller { /** * Instance of the main Request object. * * @var HTTP\IncomingRequest ...
<?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<int, class-string|string> */ ...
<?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\Html\Tag; use Phalcon\Ht...
<?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 declare(strict_types=1); /** * This file is part of Hyperf. * * @link https://www.hyperf.io * @document https://hyperf.wiki * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ namespace Hyperf\AliyunSlsLog\Request; class CreateMachineGroupRequest extends Re...
@extends('simple-layout') @section('body') <div class="container small"> <div class="py-m"> @include('settings.navbar', ['selected' => 'users']) </div> <section class="card content-wrap"> <h1 class="list-heading">{{ $user->id === $currentUser->id ? trans('settings....
<?php use DTS\eBaySDK\Trading\Enums\DisputeFilterTypeCodeType; class DisputeFilterTypeCodeTypeTest extends \PHPUnit_Framework_TestCase { private $obj; protected function setUp() { $this->obj = new DisputeFilterTypeCodeType(); } public function testCanBeCreated() { $this->asse...
@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">{{ __('Register') }}</div> <div class="card-body"> <form method="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 require ($_SERVER["DOCUMENT_ROOT"]."/w15_eportfolio/girouard_eric/_web_app/config.php"); $redirectTo = "index.php"; // add file name path starting from http://eportfolio.pdht.ca/w15_eportfolio/your_name/ require ($templates_folder."redirect.php"); ?>
<?php namespace AdButler\Error; class ResourceNotFoundError extends APIException { }
<?php declare(strict_types=1); /** * This file has been auto generated * Do not change it. */ namespace Commercetools\Api\Models\Message; use Commercetools\Api\Models\Message\MessageCollection; use Commercetools\Exception\InvalidArgumentException; use stdClass; /** * @extends MessageCollection<CustomerDateOfBir...
@extends('landingpage/master') @section('content') @if (session('status')) <div class="alert alert-success" role="alert"> {{ session('status') }} </div> @endif @endsection @section('title','Home') <!-- ko...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Rds\V20140815\Models; use AlibabaCloud\Tea\Model; class ModifyDBInstanceNetworkExpireTimeResponseBody extends Model { /** * @var string */ public $requestId; protected $_name = [ 'requestId' => 'Req...
<?php use axy\ml\helpers\Token; return [ 'tokens' => [ [ 'type' => Token::TYPE_HEADER, 'line' => 2, 'name' => null, 'content' => 'This is header', 'level' => 1, 'link' => 'p-h-1', ], [ 'type' => Token::TYPE...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use App\User; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { User::create([ 'name' => 'テストユーザー', ...
<?php /** * Override * */ try { $chat = erLhcoreClassChat::getSession()->load( 'erLhcoreClassModelChat', $Params['user_parameters']['chat_id']); } catch (Exception $e) { $chat = false; } if ((int)erLhcoreClassModelChatConfig::fetch('disable_send')->current_value == 1){ exit; } if (is_object($chat) && $chat->has...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="<?=base_url()?>">Dashboard</a></li> <li class="breadcrumb-item"><a href="<?=base_url()?>users/members">Members</a></li> <li class="breadcrumb-item active">Add Member</li> </o...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class ServicePriceCategory extends Model { use HasFactory; public function subcategories() { return $this->hasMany("App\Models\ServicePriceCategory", "parent_id"); } ...
@extends('emails.layout') @section('content') TODO LINK on FORM @endsection
<!-- jQuery --> <script src="<?php echo ROUTE_URL; ?>vendors/jquery/dist/jquery.min.js"></script> <!-- Bootstrap --> <script src="<?php echo ROUTE_URL; ?>vendors/bootstrap/dist/js/bootstrap.bundle.min.js"></script> <!-- FastClick --> <script src="<?php echo ROUTE_URL; ?>vendors/fastclick/lib/fastcli...
<?php /** * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyrig...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class Updatetableresetpassword extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('xin_reset_...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> {{-- Base Meta Tags --}} <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-token" content="{{ csrf_t...
@extends('layouts.empty') @section('content') <div class="login login-3 login-signin-on d-flex flex-row-fluid" id="kt_login"> <div class="d-flex flex-center bgi-size-cover bgi-no-repeat flex-row-fluid" style="background-image: url({{ asset('assets/media/bg/bg-1.jpg')}});"> <div class="login-for...
<?php declare(strict_types=1); /* * Copyright (C) 2013 Worker * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ namespace Worker\Model\MailingList; use Worker\Model\ApiResponse; final class ValidationStatusSummaryResult implements ApiR...
<?php /** * 编写:祝踏岚 * 用于获取系统设置数据 */ namespace app\api\model; use think\Model; class UserSigninModel extends Model{ //表名 protected $table = 'ly_user_signin'; }
<?php namespace Tests\Magium\Assertions; use Magium\AbstractTestCase; use Magium\Assertions\Browser\DOMContentLoadedLessThan; use Magium\Assertions\Browser\DOMPageLoadedLessThan; use Magium\Assertions\Browser\TTFBLoadedLessThan; class DOMTiming extends AbstractTestCase { public function testDOMContentLoadedLess...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class LoginController extends Controller { protected $maxAttempts = 3; // Default is 5 protected $decayMinutes = 2; // Default is 1 // }
<!DOCTYPE HTML> <html> <head> <title>TerrificJS Zepto Tests</title> <link rel="stylesheet" type="text/css" href="../css/qunit.css" media="screen" /> <script type="text/javascript" src="../../../src/base/yepnope.1.5.4-min.js"></script> <script type="text/javascript" src="../../../src/base/zepto.min.js"...
@extends('temp.landing') @section('content') <div class="main-content"> <section class="section"> <div class="card"> <div class="card-header"> <h4 class="text-uppercase">Keranjang Sampah</h4> </div> <div class="card"> <div class="card-body"...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\UserTable */ $this->title = 'Create User Table'; $this->params['breadcrumbs'][] = ['label' => 'User Tables', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="user-table-create"> <h1><?= Html::en...
@if ($formSideBox=="create") <h4>Add User</h4> @elseif($formSideBox=="viewer") <h4>User Details</h4> @elseif($formSideBox=="edit") <h4>Edit User</h4> @endif @foreach ($errors->all() as $item) {{$item}} @endforeach <hr> @if ($formSideBox=="create") <form action="{{ action('UserController@store') }}" method="post"> ...
<?php /** * This file is part of the TwigBridge package. * * @copyright Robert Crowe <hello@vivalacrowe.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace TwigBridge\Command; use Illuminate\Console\Command; use Twig_...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center pt-5"> <div class="col-md-5"> <div class="login-logo"> <a href="#">پنل <strong>مدیریت</strong></a> </div> <div class="card"> <div cl...
<?php declare(strict_types=1); namespace App\ApiKey\Transport\Controller\Api\v2\ApiKey; use App\ApiKey\Application\DTO\ApiKey\ApiKeyPatch; use App\ApiKey\Application\Resource\ApiKeyPatchResource; use App\ApiKey\Application\Resource\Interfaces\ApiKeyPatchResourceInterface; use App\General\Transport\Rest\Controller; u...
<?php use Faker\Generator as Faker; /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | This directory should contain each of the model factory definitions for | your application. Factories pro...
<?hh // Test that Set::toArray() raises a warning on a int/string collision. function should_warn() { var_dump((Set {1, 42, 13, '1', 'hello', 'world'})->toArray()); var_dump((Set {0, '0'})->toArray()); var_dump((Set {strval(PHP_INT_MAX), PHP_INT_MAX})->toArray()); $minInt = -PHP_INT_MAX - 1; var_dump((Set...
<?php final class PhabricatorRepositoryTestCase extends PhabricatorTestCase { public function testRepositoryURIProtocols() { $tests = array( '/path/to/repo' => 'file', 'file:///path/to/repo' => 'file', 'ssh://user@domain.com/path' => 'ssh', 'git@example.com:path' ...
<!-- Modal --> <div class="modal fade" id="wait" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title text-primary" id="exa...
<div class="row" > <p><a href="<?php echo base_url(); ?>" class="btn btn-sm btn-info"><i class="fa fa-home"></i>&nbsp;Home</a> > <a href="#" class="btn btn-sm btn-info"><i class="fa fa-pencil"></i>&nbsp; Edit User</a> </p> <div class="card"> <h3>Edit User</h3> </div> <?php echo form_open('user...
<?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; /* pa...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v3/services/ad_service.proto namespace GPBMetadata\Google\Ads\GoogleAds\V3\Services; class AdService { public static $is_initialized = false; public static function initOnce() { $pool = \Google\Protobuf\In...
@extends('layouts.app') @section('title') Редактирование информации о ВКР @endsection @section('content') <div class="container mb-5"> <div class="row justify-content-center"> <div class="col-mßd-8"> <div class="col mt-2 text-left mb-3"> <a role="button" class="btn btn-sm btn-outline-primary round...
<?php declare(strict_types=1); namespace Shopware\Storefront\Theme; use Shopware\Core\Content\Media\Exception\DuplicatedMediaFileNameException; use Shopware\Core\Content\Media\File\FileNameProvider; use Shopware\Core\Content\Media\File\FileSaver; use Shopware\Core\Content\Media\File\MediaFile; use Shopware\Core\Defau...
<?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 /** * PSR-4 Autoloader Class. */ class Autoloader { /** * An array of base directories to look up for classes * * @var array */ protected $base_dirs = array(); /** * Register loader with SPL autoloader stack. * * @return void */ public function register()...
@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">{{ __('Dashboard') }}</div> <div class="card-body"> @foreach ($que...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Nueva subcarrera</title> <style> html, body { background-color:#fff: /* color: #636b6f; */ font-family: 'Nunito', sans-serif; font-weight: 200; height: 100; margin: 0;...
<?php /** * Created by PhpStorm. * User: Artem * Date: 04.12.2018 * Time: 12:29 */ namespace Zeus\Admin\SectionBuilder\Filter\Types\BaseType; use Zeus\Admin\SectionBuilder\Filter\Types\BSelect; use Zeus\Admin\SectionBuilder\Filter\Types\Text; use Zeus\Admin\SectionBuilder\Filter\Types\Select; class FilterType {...
<?php namespace Illuminate\Contracts\Redis; interface Factory { /** * Get a Redis connection by name. * * @param string $name * @return \Illuminate\Redis\Connections\Connection */ public function connection($name = null); }
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email',...
<?php namespace App\Tests\Command; use App\Command\NetworkStatusCommand; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; use Symfony\Component\Console\Tester\CommandTester; class NetworkStatusCommandTest extends KernelTestCase { public function test...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min...
<?php /** * UnavailabilityTest * * PHP version 5 * * @category Class * @package Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * MINDBODY Public API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/s...
<?php namespace Idun\Providers; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; class EventServiceProvider extends ServiceProvider { /** * The event handler mappings for the application. * * @var array */ protected $listen = [ 'event.name' => [ 'EventListener', ]...
@extends('layouts.app') @section('content') <h4 style="text-align: center;"> Liste des cautions </h4> @include('layouts.caution') <button onclick="window.location='{{route('cautionaddg', ['id' => $id])}}';" type="button" class="btn btn-success btn-lg"> <span class="glyphicon glyphicon-plus" aria-hidden="true...
<?php namespace App\Http\Controllers\Api\V1; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Routing\Controller as BaseController; class ControllerV1 extends BaseController { use Authori...
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'JJGESTOR') }}</title> <!-- Fo...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Spatie\Permission\Traits\HasRoles; class Product extends Model { use HasFactory, HasRoles; protected $fillable = [ 'category_id', 'product_name', 'hsn', ...
28 mtime=1556801091.1613762 24 SCHILY.fflags=extent
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAppointmentsTable extends Migration { public function up() { Schema::create('appointments', function (Blueprint $table) { $table->bigIncrements('...
<?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 /* * This file is part of Laravel HTMLMin. * * (c) Graham Campbell <graham@alt-three.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace App\Http\Middleware; use Closure; use GrahamCampbell\HTMLMin\Minifiers\Htm...
<?php $vueData = array( 'allassess' => $page_assessSelect, 'gbcatOptions' => $gbcats, 'forumOptions' => $forums, 'allowinstraddtutors' => (!isset($CFG['GEN']['allowinstraddtutors']) || $CFG['GEN']['allowinstraddtutors']==true), 'outcomeOptions' => $outcomeOptions, 'subtype' => 'DNC', 'defregens' => '', 'defreg...
<?php /* Cachekey: cache/stash_default/overrides.069ac66860caa6ddbf6e2ecde86ea246/ */ /* Type: array */ /* Expiration: 2022-02-26T20:52:16+08:00 */ $loaded = true; $expiration = 1645879936; $data = array(); /* Child Type: object */ $data['return'] = unserialize(base64_decode('Tzo0MzoiQ29uY3JldGVcQ29yZVxGaWxlc3lzd...
<div class="row"> <div class="col-lg-7"> <div class="p-5"> <div class="text-center"> <h1 class="h4 text-gray-900 mb-4">Tambah Data Ujian</h1> </div> <form class="user" action="<?php echo base_url().'Page_guru/tambah_proses_ujian';?>" method="post"> <div class="form-group"> <label>Tanggal Ujian</label> ...
<?php include '../view/header.php'; ?> <main> <h1>Database Error</h1> <p class="first_paragraph">There was an error connecting to the database.</p> <p>The database must be installed as described in the appendix.</p> <p>MySQL must be running as described in chapter 1.</p> <p class="last_paragraph">Er...
<?php namespace backend\controllers; use Yii; use common\models\Item; use common\models\ItemSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * ItemController implements the CRUD actions for Item model. */ class ItemController extends Controller { /** * {@i...
<?php namespace Mdanter\Ecc\Console\Commands; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Mdanter\Ecc\Math\MathAdapterFactory; class DecHexCommand extend...
<?php namespace ProtoneMedia\LaravelPaddle\Events; /** * Fired when a customer opts in to receive marketing communication from you. */ class NewAudienceMember extends Event { // { // "alert_id": "20068520", // "alert_name": "new_audience_member", // "created_at": "2019-11-27 23:45:26", // ...
<?php /* @var $this PageController */ /* @var $model Page */ $this->breadcrumbs = array( 'Pages' => array('index'), 'Manage', ); $this->menu = array( array('label' => 'List Page', 'url' => array('index')), array('label' => 'Create Page', 'url' => array('create')), ); Yii::app()->clientScript->registe...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class DealFile extends Model { protected $fillable = [ 'deal_id','file_name','file_path' ]; }
<?php $usuario = "root"; $password = ""; $servername = "localhost"; $dbname = "proyecto_lunes_noche"; $conn = new mysqli($servername,$usuario,$password,$dbname); if($_POST["metodo"] == "select"){ $sql = "select * from Usuarios where usuario ='".$_POST["usuario"]."'"; $result = $conn->query($sql); if($resul...
<?php namespace Modules\Accesos\Repositories; use Modules\Core\Repositories\BaseRepository; interface AccesoRepository extends BaseRepository { }
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; use \App\Calender\persian_calendar as Cal; class News extends Model { protected $table = 'news'; // Time Mutator public function getNewsDateAttribute($value){ $DATE = new Cal(); $registerdDate = $this->dateValidation($val...
<?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 /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | This file is where you may define all of the routes that are handled | by your application. Just tell Laravel the URIs it should respond | to...
@extends('layouts.app') @section('content') <!-- page content --> <?php $userid = Auth::user()->id; ?> @if (getAccessStatusUser('Sales',$userid)=='yes') <div class="right_col" role="main"> <div class=""> <div class="page-title"> <div class="nav_menu"> <nav> <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...
<div id="modal_prefijo" class="modal fade bd-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true" data-consulta="{{ action('Admin\configuracion\PrefijoDniController@edit') }}"> <div class="modal-dialog modal-sm"> <div class="modal-content"> <div cl...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCategoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('categories', function(Blueprint $table...
@extends('layouts.app') @push('css') <meta name="csrf-token" content="{{ csrf_token() }}"> <link rel="stylesheet" href="/css/attend_conf.css"> @endpush @section('content') <div class="container"> @include('my_page.attend_recruitment.conf_field') </div> @endsection
<?php // This file is auto-generated. Do not edit!
<?php class BannerModel extends CI_Model{ public function __construct() { parent::__construct(); } public function add($data) { $this->db->insert("banner",$data); } public function getAllBanner() { return $this->db->get('banner')->result(); } public ...
<?php namespace backend\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use common\models\Profit; /** * ProfitSearch represents the model behind the search form about `common\models\Profit`. */ class ProfitSearch extends Profit { /** * @inheritdoc */ public function rules() ...
<?php require_once('userConnect.php'); $lastId = $_GET['id']; $table = $_GET['t']; $sql = "CREATE TABLE $table( id INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, idevento int(10), usuario VARCHAR(50), nombre VARCHAR(50), apellido VARCHAR(50), email VARCHAR(100), nacimiento VARCHAR(20), sexo VARCHAR(10), entradas int(10) ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFavoritesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('favorites', f...
<!-- Main Sidebar Container --> <aside class="main-sidebar sidebar-dark-primary elevation-4"> <!-- Brand Logo --> <a href="index3.html" class="brand-link"> <img src="{{ asset('') }}assets/dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8"> <span...