text
stringlengths
2
1.03M
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model frontend\models\BrancSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="branc-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> <?...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Project extends Model { // protected $fillable=[ 'projectName', 'projectUrl', 'user', 'search_engine_name', 'search_engine_language', 'location_name', 'task_id', 'search_engine_i...
<?php namespace Butschster\Head\Packages\Entities; use Butschster\Head\Contracts\Packages\PackageInterface; use Butschster\Head\MetaTags\Entities\Tag; use Butschster\Head\Packages\Entities\Concerns\ManageMeta; /** * @see http://ogp.me/ */ class OpenGraphPackage implements PackageInterface { use Concerns\Manage...
<?php /* Cachekey: cache/stash_default/overrides.a6cf49cd7a4b909f2696592131f29fbc/ */ /* Type: array */ /* Expiration: 2021-09-13T11:04:41+00:00 */ $loaded = true; $expiration = 1631531081; $data = array(); /* Child Type: object */ $data['return'] = unserialize(base64_decode('Tzo0MzoiQ29uY3JldGVcQ29yZVxGaWxlc3lzd...
<?php namespace Com\Pdd\Pop\Sdk\Api\Request; use Com\Pdd\Pop\Sdk\PopBaseHttpRequest; use Com\Pdd\Pop\Sdk\PopBaseJsonEntity; class PddDdkOauthPidMediaidBindRequest extends PopBaseHttpRequest { public function __construct() { } /** * @JsonProperty(Long, "media_id") */ private $mediaId; /** * @JsonProperty...
<?php // autoload_namespaces.php generated by Composer $vendorDir = dirname(__DIR__); $baseDir = dirname($vendorDir); return array( 'B\\Sub\\Name' => $vendorDir . '/b/b/src/', 'A\\B' => $vendorDir . '/a/a/lib/', 'A' => $vendorDir . '/a/a/src/', );
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use T...
@extends('layouts.app') @section('content') <h3 class="page-title">Income Sources</h3> <div class="panel panel-default"> <div class="panel-heading"> View </div> <div class="panel-body"> <div class="row"> <div class="col-md-6"> ...
<!DOCTYPE html> <html> <head> <title>Markers and Infowindows</title> <meta name="viewport" content="initial-scale=1.0, user-scaable=no"> <meta charset="UTF-8"> </head> <style> html, body{ height: 100%; } #map{ height:300px; } </style> <body> <div id="map"></div> <script src="https://maps.googleapis.com/maps/api...
<?php namespace Cimply\Core\Routing { /** * Router short summary. * * Router description. * * @version 1.0 * @author MikeCorner */ use \Cimply\System\System; use \Cimply\Core\{Core, View\View, Request\Uri\UriManager}; use \Cimply\Interfaces\ICast; class Routing implements ICast { u...
<!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"> <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>assets/css/stylesepatu.css"> <title>Hasil Pe...
<?php namespace common\bootstrap; use post\services\ContactService; use yii\base\BootstrapInterface; use yii\caching\Cache; use yii\mail\MailerInterface; use yii\rbac\ManagerInterface; class SetUp implements BootstrapInterface { public function bootstrap($app): void { $container = \Yii::$container;...
<!DOCTYPE html> <?php $conn = mysqli_connect("localhost","root","","sayft"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } if(!isset($_SESSION)) { session_start(); $id=$_SESS...
<?php /** * @link https://github.com/devzyj/yii2-application * @copyright Copyright (c) 2019 Zhang Yan Jiong * @license http://opensource.org/licenses/BSD-3-Clause */ namespace backendApi\behaviors; use yii\base\InvalidArgumentException; /** * VirtualAttributesBehavior 是为模型添加虚拟属性的行为。 * * For example: * * `...
<?php namespace Bantenprov\DataAkademik\Console\Commands; use Illuminate\Console\Command; /** * The DataAkademikCommand class. * * @package Bantenprov\DataAkademik * @author bantenprov <developer.bantenprov@gmail.com> */ class DataAkademikCommand extends Command { /** * The name and signature of the c...
<?php namespace Arcanedev\LaravelAuth\Seeders; use Arcanedev\LaravelAuth\Models\User; use Arcanedev\Support\Bases\Seeder; /** * Class UsersTableSeeder * * @package Arcanedev\LaravelAuth\Seeders * @author ARCANEDEV <arcanedev.maroc@gmail.com> */ class UsersTableSeeder extends Seeder { /** * Run th...
<?php declare(strict_types=1); namespace App; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Kernel as BaseKernel; use Symfony\Component\Routing\RouteCollecti...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\DB; use App\Models\Image; class ImageController extends Controller{ public function __construct() { ...
<?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...
@extends('main') @section('judul') Akun Foreman @endsection @section('isi') <div class="container-fluid"> <div class="page-title"> <div class="row"> <div class="col-6"> <h3>Data Akun Foreman</h3> <ol class="breadcrumb"> <li class="breadcrumb-...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace lliyplliuk\eBaySDK\MerchantData\Enums; class PictureUploadPolicyCodeType { const C_ADD = 'Add'; ...
<footer class="main-footer"> <div class="pull-right hidden-xs"> <b>Version</b> <?php echo $version_run; ?> </div> <strong>Copyright &copy; <?php echo date('Y'); ?> <a href="http://www.ignitepros.com" target="_blank">Ignite Pros</a>.</strong> All rights reserved. </footer> </d...
<!-- partial --> <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="header"> <h4 class="title">DATA RETURN BARANG...
<?php /** * @package Joomla.Platform * @subpackage Plugin * * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * Plugin helper class * * @package Jo...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class ProductController extends Controller { public function index(Request $request) { $price = rand(100, 1000); $request->session()->put('price', $price); return view('product', compact('price')); } }
<?php /** * @copyright Eliel de Paula <dev@elieldepaula.com.br> * @license http://wpanel.org/license */ defined('BASEPATH') OR exit('No direct script access allowed'); /** * Tags from post class. * * @author Eliel de Paula <dev@elieldepaula.com.br> */ class Wpntagsfrompost extends Widget { protected $ta...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\CCC\V20170705\Models; use AlibabaCloud\Tea\Model; class ListJobsByGroupRequest extends Model { /** * @var string */ public $instanceId; /** * @var string */ public $jobFailureReason; /**...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBookingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('bookings', fun...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class OrderShippedComplete extends Mailable { use Queueable, SerializesModels; public function __construct($contents) { $this->contents = $contents; } /** * ...
<?php namespace Swiftyper\Exception; class InvalidApiKeyException extends InvalidRequestException { }
<?php /** * Licentia Fidelitas - SMS Notifications for E-Goi * * NOTICE OF LICENSE * This source file is subject to the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International * It is available through the world-wide-web at this URL: * http://creativecommons.org/licenses/by-nc-nd/4.0/ * * ...
<?php use backend\helpers\RentsHelper; use backend\helpers\UnitsHelper; use backend\models\Filters; use backend\models\ObjectsNames; use backend\models\ObjectsRealestates; use backend\models\ObjectsRealstatesPropertyTypes; use kartik\date\DatePicker; use yii\helpers\Html; use yii\widgets\LinkPager; use yii\widgets\Pja...
<?php namespace App\Jobs; use App\Mail\Mail as MailMail; use App\Models\User; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldBeUnique; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesMod...
<?php namespace app\cli\controller; use app\common\model\AccountBook; use app\common\model\Currency; use app\common\model\CurrencyUser; use think\Db; use think\Log; use think\console\Input; use think\console\Output; use think\console\Command; /** * 系统用户资产清查 */ class SystemUserCheck extends Command { public $nam...
<?php declare(strict_types = 1); // Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information namespace Elasticsearch\Examples\Docs\Ml\Anomaly-detection\Apis; use Elasticsea...
<!DOCTYPE html> <html dir="ltr" lang="en-US"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="author" content="SemiColonWeb" /> <link rel="preconnect" href="https://fonts.gstatic.com"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400...
<?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\DoctrinePHPCRAdminBun...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class sachs extends Model { // }
@extends('adminlte::page') @section('content'); <div class="row"> <div class="col-lg-3 col-xs-6"> <!-- small box --> <div class="small-box bg-aqua-gradient"> <div class="inner"> <h3>44</h3> <p>Inscriptions</p> </div> <div class="ic...
<?php $this->load->view('common/headerAdmin'); echo $body; $this->load->view('common/footerAdmin'); ?>
<?php $__env->startSection('title'); ?> <?php if( ! empty($title)): ?> <?php echo e($title); ?> | <?php endif; ?> ##parent-placeholder-3c6de1b7dd91465d437ef415f94f36afc1fbc8a8## <?php $__env->stopSection(); ?> <?php $__env->startSection('main'); ?> <div class="main"> <div class="custom-container"> <div class=...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep the fr...
<?php use App\Scenario; use App\Question; use App\NotRespondingStrategy; use SleepingOwl\Admin\Model\ModelConfiguration; AdminSection::registerModel(Scenario::class, function (ModelConfiguration $model) { $model->setTitle('Сценарии'); // Display $model->onDisplay(function () { $display = AdminDispl...
<?php namespace App\Http\Middleware; use Closure; use Auth; class Seeker { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { if(Auth::check()&...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-11"> <div class="card"> <div class="card-header">Edit Data</div> <div class="card-body"> <form action="{{ route('bidan...
<?php namespace App\Http\Controllers; use App\Attendance; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; class AttendanceController extends Controller { public function getAllAttendances() { $attendances = Attendance::all(); return response()->json(['attendances' => $a...
<?php /** * This file is part of cloak. * * (c) Noritaka Horio <holy.shared.design@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace cloak\analyzer; /** * Interface AdapterResolvable * @package cloak\analyzer */ interface...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AntChain\BAASDT\Models; use AlibabaCloud\Tea\Model; class QueryAasAntdaoMypointsPreorderinstructionResponse extends Model { protected $_name = [ 'reqMsgId' => 'req_msg_id', 'resultCode' => 'result_code', 'resultMsg' =>...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; // Extras use DB; use Carbon\Carbon; use \Firebase\JWT\JWT; use Config; // Funciones use App\libs\Funciones; class Tipo_UsuarioController extends Controller { public function __construct(Request $request){ // Funciones $this->func...
<?php namespace RRSVP\Stuf; class TGOTGOVANhistorieFormeelRelatie { /** * @var TGOkerngegevens $gerelateerde */ protected $gerelateerde = null; /** * @var TijdvakRelatie $tijdvakRelatie */ protected $tijdvakRelatie = null; /** * @var Tijdstipe $tijdstipRegistratie ...
<?php /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ class Issue2435Test extends PHPUnit\Framework\TestCase { public function testOne(): void...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Home extends CI_Controller { public function index() { $this->load->model('TipoPropiedadModel'); $this->load->model('PropiedadModel'); $array = array(); $listadoTipoPropiedad = $this->TipoPropiedadModel->getTiposPropiedades(true); ...
<?php namespace App\Transformers; use App\Product; use League\Fractal\TransformerAbstract; class ProductTransformer extends TransformerAbstract { /** * List of resources to automatically include * * @var array */ protected $defaultIncludes = [ // ]; /** * List of...
<?php return [ "article" => [ 0 => "blog:執筆中", 1 => "blog:非公開", 2 => "blog:公開", 3 => "news:非公開", 4 => "news:公開", ], ];
--TEST-- Test timezone_offset_get() function : error conditions --FILE-- <?php /* Prototype : int timezone_offset_get ( DateTimeZone $object , DateTime $datetime ) * Description: Returns the timezone offset from GMT * Source code: ext/date/php_date.c * Alias to functions: DateTimeZone::getOffset */ //Set the d...
<?php namespace App\Http\Controllers; use App\Models\StudentModel; use App\Models\Product; use Illuminate\Http\Request; class StudentController extends Controller { public function __construct() { $this->middleware('auth'); } public $total; public function index() { return v...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace App\Http\Controllers; use App\Http\DAOs\CategorieDAO; use App\Http\DAOs\DepenseDAO; use App\Http\Utils\Utilities; use App\Models\Depense; use Illuminate\Http\Request; class BudgetController extends Controller { /** * Creates a new controller instance. * * @return void */ ...
<?php namespace MusicBrainz\Relation\Type\Label; use MusicBrainz\Value\EntityType; /** * A relation between a label and a series * * @link https://musicbrainz.org/relationships/label-series */ abstract class Series extends \MusicBrainz\Relation\Type\Label { /** * Returns the entity type of the related e...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\newstype */ $this->title = 'Update Newstype: ' . $model->news_type_id; $this->params['breadcrumbs'][] = ['label' => 'Newstypes', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->news_type_id, 'url' => ['view'...
<?php namespace App\Http\Controllers; use App\Project; use Illuminate\Http\Request; class WebProjectController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the for...
<!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"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="styleshe...
<style> #profile{ padding: 10px; } h3 { font-family: Montserrat; } #image{ width:auto; height:350px; min-width: 190px; } </style> <title> Upload | TAPS NITW</title> <div class="row"> <div class="card"> <div class="card-content"> ...
<?php /** * Created by PhpStorm. * User: Wellington Maia * Date: 28/06/2018 * Time: 07:15 */ Route::group(['prefix' => 'item', 'namespace' => 'FormList'], function () { Route::get('/create', 'ItemController@create')->name('item'); //Route::get('/create', 'ListController@create')->name('create'); Rou...
<?php // You can find the keys here : https://console.developers.google.com return array( 'KEY' => 'AIzaSyAz5wm1wZ618QVcO6JDsZhN25vr3QgwKtA' );
<?php /** * This file is part of workerman. * * Licensed under The MIT License * For full copyright and license information, please see the MIT-LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @author walkor<walkor@workerman.net> * @copyright walkor<walkor@workerman.net> * ...
<?php namespace App\Admin\Extensions; use Encore\Admin\Facades\Admin; class PromissCheck { /** * @Author Pudding * @DateTime 2020-07-31 * @copyright [copyright] * @license [license] * @version [ 判断当前登陆的管理员是否是超级管理员 ] * @return boolean [ true or false ] */ public static function isAdmi...
<div class="modal mdllaccount fade" id="mdllregister" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal...
<?php namespace App\Models\User; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Mail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Support\Facades\Auth; use Illuminate\Database\E...
<?php use Doctrine\Common\Annotations\AnnotationRegistry; // Composer if (file_exists(__DIR__.'/../vendor/autoload.php')) { $loader = require_once __DIR__.'/../vendor/autoload.php'; AnnotationRegistry::registerLoader('class_exists'); return $loader; } throw new \RuntimeException('Could not find vendor/...
<?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...
@extends('layouts.app') @section('content') <section class="content-header"> <h1> F3Debatec2M1 </h1> </section> <div class="content"> <div class="box box-primary"> <div class="box-body"> <div class="row" style="padding-left: 20px"> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class TableTblOrder extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tbl_order', function...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ pr...
<?php $__env->startSection('content'); ?><p>Queen Letizia of Spain stole the show with a hot pink number as she joined her husband Felipe VI in Zaragoza today. </p> <p>The Spanish royal, 48, recycled a dress from the Michael Kors Collection to mark the 125th anniversary of local paper El Heraldo de Aragon (Aragon Hera...
@extends('layouts.login') @section('content') <div class="col-md-7 col-lg-6"> <aside class="login-box-wrapper"> <form class="form-signin" method="POST" action="{{ route('login') }}"> {{ csrf_field() }} <h2 class="form-signin-heading">mari<span class="cms-text">CMS</span></h2> <div cl...
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Twig\Node; use Twig\Compiler; use Twig\Node\Expression\AbstractExpression; /** * Represents a do node. *...
<?php namespace app\admin\controller; \think\Loader::import('controller/Controller', \think\Config::get('traits_path') , EXT); use app\admin\Controller; use think\Db; use think\Loader; use think\exception\HttpException; use think\Config; //审核社区资讯 class InformationArticle extends Controller { use \app\admin\trait...
@extends('app') @section('style') <link href="{{ asset('/plugins/daterangepicker2/daterangepicker.css') }}" rel="stylesheet" type="text/css" /> <link href="{{ asset('/plugins/jqwidgets/styles/jqx.base.css') }}" rel="stylesheet" type="text/css" /> <link href="{{ asset('/plugins/jqwidgets/styles/jqx.bootstrap.css') }...
<?php namespace App; use Auth; use App\JobSkill; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; use App\Traits\CountryStateCity; use App\Traits\CommonUserFunctions; class User extends Authenticatable { use Notifiable; use CountryStateCity; use CommonUserFuncti...
@extends('layouts.master_layout') @section('title',env('APP_NAME').' | Services') @section('content') <section class="page-title overlay" style="background-image: url(images/background/techphant-web-development.jpg);"> <div class="container"> <div class="row"> <div class="col-lg-12 text-center...
<?php namespace Tests\Feature; use App\Author; use Carbon\Carbon; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Tests\TestCase; class AuthorManagementTest extends TestCase { use RefreshDatabase ; /** @test */ public function an_author_can_be_created()...
<?php namespace Cars\Models; use Illuminate\Database\Eloquent\Model as EloquentModel; class Model extends EloquentModel { // }
<?php /** * Convert the current blog table to streams. */ class Migration_Convert_blog_to_streams extends CI_Migration { public function up() { $this->load->driver('streams'); // Our canary in the coal mine is the blog entry in, // the streams table. If we don't have that, we don't // ha...
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * @var array */ protected $middleware = [ \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Grupo extends Model { protected $table = 'grupos'; public function caracteristicas() { return $this->hasMany('App\Caracteristica','grupo_id'); } }
<?php include("config.inc");?> <?php if(isset($_POST)) { $se_id=$_POST['id_alu']; if($se_id=="") { echo "No hay usuario existente"; } else { $peticion= "delete from alumno where id =('".$se_id."')"; $resultado=mysqli_qu...
<?php /** * Файл класса PaymentApiBootstrap * * @copyright Copyright (c) 2019, Oleg Chulakov Studio * @link http://chulakov.com/ */ namespace common\modules\paymentsystem\bootstrap; use Yii; use yii\base\BootstrapInterface; use yii\base\InvalidConfigException; class PaymentApiBootstrap implements BootstrapInter...
<?php namespace App\Http\Model; use Illuminate\Support\Facades\DB; class Photo { /** * User constructor. */ private $photo; public function __construct() { $this->photo = DB::table('photos'); } public function add_new_photo($user_id, $patch){ return $this->photo->...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>ShareNaMkenya</title> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta content="Free Website Template" name="keywords"> <meta content="Free Website Template" name="description"> ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class ModifyColumnsToPerceptions extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('percepti...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Session; use Illuminate\Routing\Redirector; use App\Transaction; use App\Http\Requests; use App\Http\Controllers\Controller; class UpdateTransactionController extends Controller { public function __construct() { $this->middleware...
<?php /** * @package Joomla.Plugin * @subpackage System.stats * * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('JPATH_BASE') or die; extract($displayData); /** * Layout variab...
<?php namespace OctoLab\Cleaner\Util; /** * @author Kamil Samigullin <kamil@samigullin.info> */ final class CategoryNormalizer implements NormalizerInterface { /** * {@inheritdoc} * * @quality:method [B] */ public function normalize(array $devFiles) { $normalized = array(); ...
<?php /** * NamespaceBase * * PHP version 5 * * @category Class * @package Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * 阿波罗客户端 * * 阿波罗客户端 * * OpenAPI spec version: v0.0.2 * * Generated by: https://github.com/swagger-api/swagger-co...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class MasterList extends MY_Controller { public function __construct(){ parent::__construct(); } public function message($title = NULL, $text = NULL, $type = NULL){ return $this->session->set_flashdata([ 'title' => $title, 'text' =>...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Auth extends CI_Controller { function __construct() { parent::__construct(); $this->load->library('session'); $this->load->model('auth_m'); } public function login() { if($this->session->...
@extends('layouts.app') @section('content') <div class="container"> <form action="{{ url('/empleado')}}" method="post" enctype="multipart/form-data"> @csrf @include('empleado.form',['modo'=>'Crear']) </form> </div> @endsection
<?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\Component\Form\Tests; use Symfony\Component\Form\FormError; /*...