text
stringlengths
2
1.03M
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Team extends Model { use HasFactory; protected $fillable = [ 'name', 'image', 'profession', ]; public function user() { return $...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model backend\models\BannerAds */ $this->title = $model->idbannerads; $this->params['breadcrumbs'][] = ['label' => 'Banner Ads', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="banner-ads...
<?php namespace App\Http\Controllers\Frontend; use App\Http\Controllers\Controller; use App\Models\Settings\Setting; use App\Repositories\Frontend\CMSPages\CMSPagesRepository; /** * Class FrontendController. */ class FrontendController extends Controller { /** * @return \Illuminate\View\View */ p...
@extends('offers.header') @section('header') <html> <head> <link href="{{ asset('css/app.css') }}" rel="stylesheet"> <script src="{{ asset('js/app.js') }}" defer></script> </head> <body style=" margin: 0 ; font-size: 0.9rem; font-weight: 400; line-height: 1.6; color: #21252...
@extends('../layouts.app') @section('content') <div class="page-wrapper"> <!-- ===== Page-Container ===== --> <div class="container-fluid"> <div class="page-wrapper" style="min-height: 525px;"> <div class="container-fluid"> <h1>Add Post</h1> </div> </div> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCampaignEmailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::connection('mysq...
<?php namespace Security\HTMLPurifier\HTMLPurifier\AttrDef\CSS; class HTMLPurifier_AttrDef_CSS_AlphaValue extends HTMLPurifier_AttrDef_CSS_Number { public function __construct() { parent::__construct(false); // opacity is non-negative, but we will clamp it } /** * @param string $number ...
<?php namespace App\Http\Controllers\Category; use App\Http\Controllers\ApiController; use App\Http\Controllers\Controller; use App\Models\Category; use Illuminate\Http\Request; class CategoryProductController extends ApiController { public function __construct() { $this->middleware('client.credenti...
<?php if(isset($_GET['tab'])){ $tab = $_GET['tab']; } else { $tab='categoria'; } ?> <div class="kt-grid__item kt-grid__item--fluid kt-grid kt-grid--ver kt-grid--stretch"> <div class="kt-container kt-body kt-grid kt-grid--ver" id="kt_body"> <div class="kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor"> ...
<?php mysql_connect("localhost","root","TIME9379"); mysql_select_db("louisa"); mysql_query("set names utf8"); $coffee = mysql_query("select * from menu where Type = 'COFFEE' order by Price"); $taylors = mysql_query("select * from menu where Type = 'TAYLORS' order by Price"); $fruit = mysql_query("select * from menu wh...
<?php if (isset($_POST['submit'])) { include_once '../connect.php'; include 'calculations.js'; $training_time = mysqli_real_escape_string($conn, $_POST['training_time']); #$age = mysqli_real_escape_string($conn, $_POST['age']); #$gender = mysqli_real_escape_string($conn, $_POST['gender']); #$weight = mysqli_re...
<?php /** * Copyright 2013 CPI Group, 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
<?php namespace Webkul\Pos\Repositories; use Illuminate\Container\Container as App; use DB; use Illuminate\Support\Facades\Storage; use Webkul\Core\Eloquent\Repository; use Webkul\Sales\Repositories\OrderRepository; use Image; /** * PosOrder Repository * * @author Vivek Sharma <viveksh047@webkul.com> @vivek-webku...
<?php include('includes/header.php'); include('includes/navbarq.php'); include('includes/conexion.php'); ?> <div class="modal fade" id="addadminprofile" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class CoursesController extends Controller { public function index() { } }
<?php class TipoReferenciaController extends Controller { /** * @var string the default layout for the views. Defaults to '//layouts/column2', meaning * using two-column layout. See 'protected/views/layouts/column2.php'. */ public $layout = '//layouts/column2'; /** * @return array act...
<?php namespace App\Models\University; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class College extends Model { use HasFactory; protected $table = 'colleges'; /** * The primary key associated with the table. * * @var string */...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class TabularTable extends Model { use SoftDeletes; protected $guarded = []; protected $primaryKey = 'tabular_table_id'; protected $table = 'tabular_tables'; public function tabu...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDinnerDishesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('dinner_dis...
<div class="footer-bottom"> <div class="footer-left"> <figure class="payment"> <img src="/template/riode/images/payment.png" alt="payment" width="159" height="29"/> </figure> </div> <div class="footer-center"> <p class="copyright">Riode eCommerce &copy; 2021. All Rights R...
@extends('admin.layouts.app') @section('page', 'Editar datos del usuario') @section('content') <form class="was-validated" action="{{ route('user.update', $user->id) }}" method="POST"> @csrf @method('PATCH') <div class="form-row"> <div class="col-sm-6 mb-3"> <label for="UserName">Nombre del usuario</label>...
<?php namespace Stillat\Common\Collections\Sorting; use Stillat\Common\Collections\Sorting\Drivers\NativeQuickSorter; use Stillat\Common\Contracts\Collections\Sorting\Drivers\ArraySortingInterface; /** * Class Sortable * * Classes that use the "Sortable" trait should define two methods: * * A "setSortableItems"...
<h1>Here is response {{ $name }} - {{ $price }} - {{ $stock }}</h1>
@extends('layouts.master_dash', ['title' => 'Dashboard - Album Create']) @section('content') <div class="app-main__inner"> <div class="app-page-title"> <div class="page-title-wrapper"> <div class="page-title-heading"> <div class="page-title-icon"> <i class="pe...
<?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...
@extends('layouts.app') <x-header_small /> @section('content') <div class="container"> <div class="row justify-content-center my-5"> <div class="col-12"> <h2> Modifica Articolo</h2> @if (session('message')) <div class="alert alert-success"> ...
<?php namespace frontend\controllers; use frontend\controllers\BaseController; /** * 支付 */ class PayController extends BaseController { public function actionStatus() { $this->layout = "layout1"; return $this->render("status"); } } ?>
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/documentai/v1/document.proto namespace Google\Cloud\DocumentAI\V1\Document; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Annotation for common text...
<?php namespace App\Forms\Auth; use Kris\LaravelFormBuilder\Form; class ResetForm extends Form { protected $formOptions = [ 'method' => 'POST', ]; public function buildForm() { $this ->add('email', 'email') ->add('password', 'password') ->add('pass...
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\Hash; use Illuminate\Http\Request; use App\Models\User; class UserController extends Controller { public function login(Request $request){ $user = User::where(['email' => $request->email])->first(); if(!$user || !Hash::check($requ...
@extends('layouts.master') @section('content') <p> </p> <div class="card"> <div class="card-header"> <h3 class="card-title">Displaying <b> {{$activity->name}} </b>details </h3> <a href="{{ route('activity.index')}}"> <button type="button" class="bt...
<?php namespace App\Policies; use Illuminate\Support\Facades\Auth; use App\User; use Illuminate\Auth\Access\HandlesAuthorization; class UserPolicy { use HandlesAuthorization; /** * Create a new policy instance. * * @return void */ public function __construct() { // } ...
<?php namespace app\admin\validate; use think\Validate; class Goods extends Validate { /** * 验证规则 */ protected $rule = [ 'first' => 'require', ]; /** * 提示消息 */ protected $message = [ 'first.require' => '所属分类不能为空', ]; /** * 验证场景 */ protec...
<?php namespace Oro\Bundle\WorkflowBundle\Tests\Functional\DataFixtures; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\Persistence\ObjectManager; use Oro\Bundle\EmailBundle\Entity\EmailTemplate; use Oro\Bundle\EmailBundle\Entity\Repository\EmailTemplateRepository; use Oro\Bundle\OrganizationBu...
<?php namespace app\controllers; use app\models\Code; use app\models\HomeForm; use app\models\Posts; use app\models\User; use app\models\UserIdentity; use Yii; use yii\filters\AccessControl; use yii\web\Controller; use yii\web\Response; use yii\filters\VerbFilter; use app\models\LoginForm; use app\models\RegisterForm...
<?php /** * This file is part of PHPWord - A pure PHP library for reading and writing * word processing documents. * * PHPWord is free software distributed under the terms of the GNU Lesser * General Public License version 3 as published by the Free Software Foundation. * * For the full copyright and license inf...
<div> <h5>Bobot Criteria</h5> <table class="table table-bordered text-center text-sm"> <tr> <th>Criteria</th> <?php foreach ($criteria as $key): ?> <td><?= $key->name ?></td> <?php endforeach ?> </tr> <tr> <th>Bobot</th> <?php foreach ($criteria as $key): ?> <td><b><?= $key->weight_value...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCartItemsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('cart_items', ...
<?php namespace frontend\controllers; use Yii; use frontend\models\User; use frontend\models\UserSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use common\models\RecordHelpers; /** * UserController implements the CRUD actions for User model. */ class UserController e...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class UserInfo extends Model { use HasFactory; protected $fillable = [ 'user_id', 'user_type', 'looking_for', 'interested_in', 'can_relocate', 'can_relocate_to_city', 'stream' ,...
<?php /** * @var \App\View\AppView $this * @var \App\Model\Entity\Post $post */ ?> <div class="row"> <aside class="column"> <div class="side-nav"> <h4 class="heading"><?= __('Actions') ?></h4> <?= $this->Html->link(__('Edit Post'), ['action' => 'edit', $post->id], ['class' => 'sid...
<?php namespace App\Exports; use App\Models\TrainingSchedule; use Illuminate\Contracts\View\View; use Maatwebsite\Excel\Concerns\FromCollection; use Maatwebsite\Excel\Concerns\FromView; use Maatwebsite\Excel\Concerns\ShouldAutoSize; use Maatwebsite\Excel\Concerns\WithEvents; use Maatwebsite\Excel\Concerns\WithHeading...
Level<br/> المستوى الدراسي
<?php /* acp_php_info.html */ class __TwigTemplate_5ee55e243112992f8cc210504cc6f5837a2f0f1b6e18c8318c0c579cb6c39386 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } ...
<?php $txt['happy_birthday_text'] = 'Det er min fødselsdag idag ;)'; ?>
[<?php echo e($slot); ?>](<?php echo e($url); ?>) <?php /**PATH /home/laravel/web/ae.yummy-hunt.com/public_html/vendor/laravel/framework/src/Illuminate/Mail/resources/views/text/header.blade.php ENDPATH**/ ?>
<header> <div class="collapse bg-dark" id="navbarHeader"> <div class="container"> <div class="row"> <div class="col-sm-8 col-md-7 py-4"> <h4 class="text-white">О нас</h4> <p class="text-muted">Ежедневный круглосуточный информационный сайт, ...
<?php /* * Copyright (c) 2021 Anton Bagdatyev (Tonix) * * 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,...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Contracts\Tests\Cache; use PHPUnit\Framework\TestCase; use Psr\...
<?php //error_reporting(E_ALL) ; //ini_set('display_errors', 'On'); require_once('api.php'); class APICall_getcomments extends APICall { protected function getChildComments($permlink, $author) { $comments = array(); $sql = "select * from dbo.Comments WITH (NOLOCK) where parent_permlink = '$permlink' and parent...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCategoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('categories',...
<?php /** * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ */ namespace yii\web; use DOMDocument; use DOMElement; use DOMText; use yii\base\Arrayable; use yii\base\Component; use yii\helpers\StringHelper; /** * XmlResponseForma...
<?php declare(strict_types=1); /* * This file is part of Biurad opensource projects. * * PHP version 7.2 and above required * * @author Divine Niiquaye Ibok <divineibok@gmail.com> * @copyright 2019 Biurad Group (https://biurad.com/) * @license https://opensource.org/licenses/BSD-3-Clause License * * For...
@extends('layouts.master') @section('title', 'User') @section('content') <p>Manage user in there</p> @endsection
<?php namespace App\Http\Controllers; use App\Models\College; use App\Models\Course; use App\Models\Loc\Country; use App\Models\Loc\State; use App\Models\Loc\City; use App\Models\ProgramTitle; use Bitfumes\Multiauth\Model\Admin; use Bitfumes\Multiauth\Model\Role; use App\Models\Attachment; use App\Models\InstituteType...
<form action="user_insert" method="post"> <input name="_token" type="hidden" class="token" value="{{ csrf_token() }}"> <input name="districts" type="hidden" class="group-checkbox-value" value=""> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="title"> <h2>Agregar usuario</...
<?php namespace ProduitBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; /** * Categorie * * @ORM\Table(name="categorie") * @ORM\Entity */ class Categorie { /** * @var integer * * @ORM\Column(name="id", type="integer", nullable=false) ...
<h2> <?php echo isset($id) ? "Editar Calcado" : "Cadastrar Calcado" ?> </h2> <div class="alert-danger"> <?php echo \config\services::validation()->listErrors() ?> </div> <?php $calcado_item = [ "id" => '', "descricao" => '', "qtde" => '', "preco" => '', "id_categoria" => '', "img" => '' ]; i...
<x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('Section Dashboard') }} </h2> </x-slot> <div class="py-12"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <div class="bg-white overflow-hidden shadow-...
<?php namespace Modules\DieuHanhVanBanDen\Entities; use App\User; use Illuminate\Database\Eloquent\Model; use Modules\Admin\Entities\DonVi; use Modules\VanBanDen\Entities\VanBanDen; class LuuVet extends Model { protected $table = 'luu_vet_phan_lai'; public function nguoiPhan() { return $this-...
<?php use App\Entity\Adverts\Category; use App\Entity\Region; use App\Http\Router\AdvertsPath; if (!function_exists('adverts_path')) { function adverts_path(?Region $region, ?Category $category) { return app()->make(AdvertsPath::class) ->withRegion($region) ->withCategory($cat...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>@yield("title",Info::$name)</title> <li...
<?php require 'header.php'; ?> <!DOCTYPE html> <!--[if IE 8]> <html class="ie8"> <![endif]--> <!--[if IE 9]> <html class="ie9"> <![endif]--> <!--[if !IE]><!--> <html > <!--<![endif]--> <!-- BEGIN HEAD --> <head> <meta charset="utf-8" /> <title>消防水箱监控 | 管理</title> <meta content="width=device-width, initial...
<?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 namespace Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; /** * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Lost> */ class LostFactory extends Factory { /** * Define the model's default state. * * @return array<string, mixed> */ pub...
<?php if (!empty($models)): ?> <br/> <div> <div class="posts"> <div class="posts-list"> <?php foreach ($models as $post): ?> <div class="posts-list-block"> <div class="posts-list-block-header"> <?php echo...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\sanpham; use App\tinhtrang; use App\loaisanpham; use App\sanpham_image; use App\quocgia; use \Validator; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Validation\Rule; use File; use Illuminate\Support\Fluent; use Illumi...
<?php declare(strict_types=1); /** * This file is part of Hyperf. * * @link https://www.hyperf.io * @document https://doc.hyperf.io * @contact group@hyperf.io * @license https://github.com/hyperf/hyperf/blob/master/LICENSE */ namespace Hyperf\AsyncQueue\Aspect; use Hyperf\AsyncQueue\Annotation\AsyncQueu...
<?php $page_title = "Benefits"; ?> <?php include("header.php"); ?> <?php include("navigation.php"); ?> <div class="banner-container" id="benefits-container"> <div class="banner-text-container"> <h1 class="banner-title"><?php echo $page_title; ?></h1> </div> </div> <div class="jumbotron"> <div class=...
<?php use Album\Model; return array( 'factories' => array( //---- Создание таблиц баз данных ----- 'Album\Model\Album' => function($sm) { $config = $sm->get('Config'); $driverArray = $config['Album\db\albums']; $dbAdapter = new Zend\Db\Adapter\Adapter($driverArr...
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * OmaSettingStringXml File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright © Microsoft Corporation. All rights reserved. *...
<?php namespace App\Http\Controllers\backend; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Contact; class ContactController extends Controller { Public function index() { $list = Contact::where('status','!=',0)->orderby('created_at','desc')->get(); return ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class depot_rdc extends Model { use HasFactory; public function transaction(){ return $this->belongsTo(transaction::class); } public function operator(){ return...
<?php namespace Anomaly\Streams\Platform\Stream\Contract; use Anomaly\Streams\Platform\Addon\FieldType\FieldType; use Anomaly\Streams\Platform\Addon\FieldType\FieldTypeQuery; use Anomaly\Streams\Platform\Assignment\AssignmentCollection; use Anomaly\Streams\Platform\Assignment\Contract\AssignmentInterface; use Anomaly\...
<?php namespace App\Http\Controllers; use App\Http\Requests\ProjectInvitationRequest; use App\Models\Project; use App\Models\User; use Illuminate\Http\Request; class ProjectInvitationsController extends Controller { public function store(Project $project, ProjectInvitationRequest $request) { $user = ...
<?= $this->extend("admin/templates/base") ?> <?= $this->section('content') ?> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="#">Dashboard</a> </li> <li class="breadcrumb-item"> <a href="#"><?= lang('admin/Settings.settings') ?></a> </li> <li class="breadcrumb-item active"><?= lang('adm...
@extends('admin.master') @section('title', 'Dashboard') @section('head') @parent @endsection @section('content') @endsection @section('footer') @parent @endsection
<head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>@yield('title')</title> <!-- Bootstrap core CSS --> <link href="{{ asset('/') }}css/bootstrap.min.css" rel="sty...
<?php namespace Doctrine\Tests\DBAL\Functional\Driver\PDOOracle; use Doctrine\DBAL\Driver as DriverInterface; use Doctrine\DBAL\Driver\PDO\OCI\Driver; use Doctrine\Tests\DBAL\Functional\Driver\AbstractDriverTest; /** * @requires extension pdo_oci */ class DriverTest extends AbstractDriverTest { protected funct...
<?php namespace Application\Site\AdminBundle\Services; use sngrl\PhpFirebaseCloudMessaging\Client; use sngrl\PhpFirebaseCloudMessaging\Message; use sngrl\PhpFirebaseCloudMessaging\Recipient\Device; use sngrl\PhpFirebaseCloudMessaging\Notification; class NotifyService { public function sendNotification($token, $ti...
<?php namespace app\modules\rbac\controllers; use Yii; use mdm\admin\models\BizRule; use yii\web\Controller; use mdm\admin\models\searchs\BizRule as BizRuleSearch; use yii\filters\VerbFilter; use yii\web\NotFoundHttpException; use mdm\admin\components\Helper; use mdm\admin\components\Configs; /** * Description of R...
@extends('account.layouts.default') @section('account.content') <h2><a href="https://connect.stripe.com/oauth/authorize?response_type=code&client_id={{config('services.stripe_connect.key')}}&scope=read_write">Connect your stripe account to work with payment system</a></h2> @endsection <!--https://dashboard.stripe....
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\UserBloodBank; class Vbloodbank extends Controller { // public function show() { $users = UserBloodBank::all(); return view('pages.Vbloodbank', compact('users')); } public function store() { ...
<?php mysql_select_db('myweb',mysql_connect('localhost','root',''))or die(mysql_error()); ?>
@extends('layouts.dashboard') @section('title', "Crea tag") @section('content') <div class="container"> <div class="content"> <div class="row"> <div class="col-12"> <form action="{{route('admin.tags.store')}}" method="POST"> @csrf @method(...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAddsalesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('addsales', fun...
@include('backend.header') @include('backend.sidebar') <!-- Right side column. Contains the navbar and content of the page --> <aside class="right-side"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> ...
<div class="container"> <div class="content-oferta"> <?php //$this->load->view($menusup); if(isset($ofertas)){ $this->load->view($ofertas);} ?> </div> <div class="content-top"> <div class="section-header"><h3>ULTIMOS PRODUCTOS</h3></div> <div class="divider"></div> <div class="grid...
<?php //00551 // -------------------------- // Created by Dodols Team // -------------------------- if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function...
<?php namespace app\modules\contenttags; use Yii; use yii\helpers\Url; class Events extends \yii\base\Object { public static function onTopMenuInit($event) { $event->sender->addItem(array( 'label' => 'ContentTags', 'url' => Url::toRoute('/contenttags/main/index'), ...
<?php namespace App\Storage; interface RepositoryInterface { public function findOrFail($id, $columns = array('*')); public function all($columns = array('*')); public function create($data); public function update($id, $data); public function delete($id); public function getByParams(array...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" href="{{asset('fontawesome/css/all.css')}}"> <script src="{{asset('js/jquery.min.js')}}">...
<?php use Mike42\GfxPhp\Util\LzwCompression; /** * @BeforeMethods({"init"}) * @Revs(10) */ class LzwEncodeBenchmark { private $blank; private $random; private $repeating; public function init() { $this -> blank = str_repeat("\0", 65536); $this -> random = $this -> random_str(65...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Amonestacion extends Model { public $table = "amonestaciones"; protected $fillable = ['id','empleado_id','sancion','motivo','tipo']; }
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2019, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
<?php require GETENV('GAME_ROOT').'/middlewares/initialize.php'; require GETENV('GAME_ROOT').'/middlewares/verification.php'; require_once GETENV('GAME_ROOT').'/utils/notification.php'; require_once GETENV('GAME_ROOT').'/utils/validation.php'; // POSTリクエスト時の処理 if ($_SERVER['REQUEST_METHOD'] == 'POST') { ...
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\Servicesearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Services'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="service-index"> <h1><?= H...
<?php /** * Created by PhpStorm. * User: 24147 * Date: 2019/8/1 * Time: 14:45 */ namespace App\Http\Controllers\Traits; trait Response { /** * 错误响应 * @param string $message * @param array $data * @param int $status_code * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\Redire...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="css/app.css"> <script src="js/app.js"></script> <title>API CAT2</title> </head> <body> <div id= "main"> <nav class="navbar navba...