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"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'MCQS') }}</title...
<?php define('ANONYMOUS', true); require_once(dirname(realpath(__DIR__)).DIRECTORY_SEPARATOR.'config.php'); $db = new db(); $module = utils::config(); $submodule = utils::subconfig(); if($module != null) { config::includes(BASE.DIRECTORY_SEPARATOR.$module->id); } define('MAX', 50); ?>
<?php namespace frontend\modules\application\controllers; use Yii; use frontend\modules\application\models\Application; use frontend\modules\application\models\Applicant; use backend\modules\application\models\ApplicationSearch; //use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); // 로그인 유무 상태 확인 $member_idx = isset($_SESSION['MemberIdx']) ? $_SESSION['MemberIdx'] : null; $member_nickname = isset($_SESSION['MemberNickname']) ? $_SESSION['MemberNickname'] : null; $now_tab_menu = isset($_SESSION['nowTab']) ? $_SESSION['nowTab'] ...
<?php namespace Oro\Bundle\FilterBundle\Tests\Unit\Form\EventListener; use Symfony\Component\Form\FormEvent; use Symfony\Component\Form\FormEvents; use Oro\Bundle\FilterBundle\Expression\Date\Compiler; use Oro\Bundle\FilterBundle\Expression\Date\Lexer; use Oro\Bundle\FilterBundle\Expression\Date\Parser; use Oro\Bund...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFixturesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('fixtures', fun...
<?php namespace Tuqan\Classes; /** * Created on 12-sep-2006 * */ function procesa_Ayuda($aParametros) { switch ($_SESSION['idioma']) { case 'castellano': $idioma = 1; break; case 'catalan': $idioma = 2; break; } if ($aParametros['accion...
@extends('frontend.layouts.master') @section('title', 'Nutritions') @section('nav_supplements_nutritions', 'active') @section('content') <!-- Content Start --> @foreach($nutritions as $nutrition) <section class="page-section"> <div class="content"> <div class="main-content"> <div class="item-tit...
@extends('admin_layout') @section('admin_content') <ul class="breadcrumb"> <li> <i class="icon-home"></i> <a href="index.html">Dashboard</a> <i class="icon-angle-right"></i> </li> <li> <i class="icon-edit"></i> <a href="#">Add Manufacture</a> </li> </ul> ...
<?php namespace RectorPrefix20210923; if (\class_exists('Tx_Extbase_Domain_Repository_CategoryRepository')) { return; } class Tx_Extbase_Domain_Repository_CategoryRepository { } \class_alias('Tx_Extbase_Domain_Repository_CategoryRepository', 'Tx_Extbase_Domain_Repository_CategoryRepository', \false);
<html> <head> <style> body{ font-family: sans-serif; } @page { margin: 160px 50px; } header { position: fixed; left: 0px; top: -160px; right: 0px; height: 100px; background-color: #ddd; text-align: center; } header h1{ margin: 10px 0; ...
<?php namespace App\Http\Controllers\Doctor; use App\Consulta; use App\EstadoCivil; use App\Modelos\Diagnosticos; use App\Paciente; use App\cie; use App\TipoDiagnostico; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\DB; /*QUERY BUILDER*/ class ConsultaController ext...
<?php /** * Created by PhpStorm. * User: Joel * Date: 2016-02-08 * Time: 12:53 PM */ namespace waylaidwanderer\SteamCommunity\MobileAuth; use waylaidwanderer\SteamCommunity\SteamCommunity; class MobileAuth { private $steamCommunity; private $sharedSecret; private $identitySecret; private $devi...
@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">Aviso</div> <div class="card-body"> ...
<?php namespace Nuwave\Lighthouse\Execution\Arguments; use Closure; use Nuwave\Lighthouse\Schema\Directives\RenameDirective; use Nuwave\Lighthouse\Schema\Directives\SpreadDirective; use Nuwave\Lighthouse\Support\Contracts\ArgBuilderDirective; use Nuwave\Lighthouse\Support\Utils; class ArgumentSet { /** * An...
<a href="{{ route('user.edit', $id) }}" class='btn btn-info btn-xs'> <i class="glyphicon glyphicon-edit"></i> </a> <a href="{{ route('user.menu',$id) }}" class="btn btn-xs btn-default"> <span class="glyphicon glyphicon-list-alt" data-toggle="tooltip" title="Menu"></span> </a> <a href="#modal-delete-{{$id}}" d...
<?php /** * Created by PhpStorm. * User: L. Jiang <l.jiang.1024@gmail.com> * Date: 2018/5/7 * Time: 10:44 PM */ namespace app\api\controller; use app\api\model\UiLanuageModel; use app\api\common\ApiBaseController; use app\api\model\UserModel; use think\Session; class Uilanguage extends ApiBaseController { ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateStarsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('stars', function ...
<?php return [ 'custom' => [ 'email' => [ 'required' => '邮箱地址不能为空!', ], ], ];
<?php // Establishing Connection with Server by passing server_name, user_id and password as a parameter require ("config/database.php"); session_start();// Starting Session // Storing Session $user_check=$_SESSION['login_user']; // SQL Query To Fetch Complete Information Of User $ses_sql=mysqli_query($conn, ...
<?php namespace Concrete\Core\Entity\Page; use PageType; use Concrete\Core\Support\Facade\Database; use Concrete\Core\Package\PackageList; use Core; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name="PageTemplates") */ class Template implements \JsonSerializable { /** @ORM\Id @ORM\Column(typ...
@extends('CS.master') @section('content') @include('CS.menu_left') <!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"> <title>Document</title> <meta name="csrf-tok...
<?php /* Prototype: array fgetcsv ( resource $handle [, int $length [, string $delimiter [, string $enclosure]]] ); Description: Gets line from file pointer and parse for CSV fields */ /* Testing fgetcsv() by reading from a file when different enclosure that is not present in the data being read and delimiter w...
<?php echo \yii\bootstrap\Html::a('添加',['menu/add'],['class'=>'btn btn-sm btn-info']) ?> <table class="table table-bordered"> <tr> <th>ID</th> <th>名称</th> <th>上级菜单</th> <th>权限(路由)</th> <th>排序</th> <th>操作</th> </tr> <?php foreach($models as $model):?> <tr> ...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php declare(strict_types=1); namespace GQLSchema\Serializers; use GQLSchema\Types\Type; /** * Interface Serializer * @package GQLSchema\Serializers */ interface Serializer { public function serialize(Type $type) : string; }
<?php /* @Twig/Exception/error.atom.twig */ class __TwigTemplate_4f9576e0e2d22856cb77aaace0dec779d1f36349225e8bf1c0f013ba49e9502c extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<?php /** * DoctrineExtensions Mysql Function Pack * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to ...
<?php /** * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. * * @package Fuel * @version develop * @author Fuel Development Team * @license MIT License * @copyright 2010 - 2018 Fuel Development Team * @link http://fuelphp.com */ namespace Fuel\Core; /** * Handles all th...
<div class="container-fluid p-0"> <div class="row mb-2"> <div class="col form-inline"> <select name="bulan" class="form-control mr-1" id="bulan_selesai"> <?php $bulan = ($this->session->userdata('bulan')) ? $this->session->userdata('bulan') : date('m'); foreach ($masa as $m) : $pilih = ($m['i...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="h-full bg-gray-100"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title inertia>{{ config('app.name', 'Laravel') }}</title> <!-- Fonts --> ...
<?php 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 (Blueprint $table) { $table...
<?php namespace PhpOffice\PhpSpreadsheet\Calculation\MathTrig; use Exception; class Acosh { /** * ACOSH. * * Returns the arc hyperbolic cosine of a number. * * @param float $number Number * * @return float|string The arccosine of the number */ public static function fu...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use App\Models\Rol; class RolSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Rol::factory() ->count(3) ->create(); } }
<?php namespace App\Http\Controllers; use Kreait\Firebase\Factory; use Kreait\Firebase\ServiceAccount; use Kreait\Firebase\Database; use App\User; use Illuminate\Http\Request; class UserController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response ...
<?php function make_directory($path) { $dirs = explode(DIRECTORY_SEPARATOR, $path); $mkpath = UPLOAD_PATH; if (!file_exists($mkpath)) { mkdir($mkpath, 0777); } foreach ($dirs as $dirname) { if ($dirname !== '') { $mkpath .= DIRECTORY_SEPARATOR . $dirname; if ...
<?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 Thecodebunny\eBayApi\Trading\Types; /** * * @property integer $PositiveFeedbackLeftCount * @propert...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddTableColumns extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('tariffs', function ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEpifsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('epifs', function ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUnidadesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('unidades', fun...
<div id="header2"> <nav class="navbar navbar-expand-lg navbar-light bg-light"> <a class="navbar-brand" href="<?php echo base_url('Welcome'); ?>"> <img src="assets/img/logo.png" alt="logo mate" height="42" width="42"> </a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar...
@extends('layout/account') @section('title') Account - Dashboard @endsection @section('content') <div> <div class="row"> <div class="col-md-10"> <h1>{{$project->title}}</h1> <h6>This is where all your projects are located - @ <strong style="color: red">Author: {{$project->user->name}}</s...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => 'plugins://login/login.yaml', 'modified' => 1484765336, 'data' => [ 'enabled' => true, 'built_in_css' => true, 'route' => NULL, 'route_register' => false, 'route_activate' => '/activa...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Post_publicitario_model extends CI_Model { public $table = 'post_publicitario'; public $id = 'id'; public $order = 'DESC'; function __construct() { parent::__construct(); } // get all function...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCommentRepliesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('comment_replies', function (Blueprint $table) {...
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Core functions used all over the scripts. * This script is distinct from libraries/common.inc.php because this * script is called from /test. * * @version $Id: core.lib.php 11982 2008-11-24 10:32:56Z nijel $ * @package phpMyAdmin */ /** * checks given $var ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Gallery Categories * Show the gallery under the category * * @version 2.1.0 * @author Aby Dahana * @profile abydahana.github.io */ class Category extends Aksara { public function __construct() { parent::__construct(); $thi...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddTimezoneColumnForUsers extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', f...
<?php namespace Fisdap\Data\DoctrineMigrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Add psg user id to the users table */ class Version20151218132322 extends AbstractMigration { public function up(Schema $schema) { $this->addSql('ALTER TABLE fisdap...
<?php use App\Billing; use Faker\Generator as Faker; $factory->define(Billing::class, function (Faker $faker) { return [ 'company_id' => factory(\App\Company::class)->create()->id, 'customer_id' => factory(\App\Customer::class)->create()->id, 'bill_no' => 5 ]; });
@php $input_class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block shadow-sm sm:text-sm border-gray-300 rounded-md"; $input_class_b = "mt-1 focus:ring-indigo-500 focus:border-indigo-500 inline-block shadow-sm sm:text-sm border-gray-300 rounded-md"; @endphp <x-app-layout> <x-slot name="header"...
<?php declare(strict_types=1); namespace Tipoff\Refunds\Tests\Feature\Nova; use Illuminate\Foundation\Testing\DatabaseTransactions; use Tipoff\Authorization\Models\User; use Tipoff\Refunds\Models\Refund; use Tipoff\Refunds\Tests\TestCase; class RefundResourceTest extends TestCase { use DatabaseTransactions; ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTerminabstimmungTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('termin...
<?php namespace ccxt; // PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: // https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code use Exception as Exception; // a common import class cointiger extends huobipro { public function describe () { return array...
<?php session_start(); $conexion = new mysqli("localhost","username","password","database"); if (!$conexion) { die("Error al conectar en la base de datos: " .$conexion->connect_error); } mysql_real_escape_string($conexion, $_POST['input_learnclick1']); $actividad2= $_POST['input_learnclick1']; $sql = "INSERT ...
<?php use yii\bootstrap4\Nav; use yii\bootstrap4\NavBar; use yii\helpers\Url; NavBar::begin([ 'brandLabel' => Yii::$app->name, 'brandUrl' => Yii::$app->homeUrl, 'options' => ['class' => 'navbar-expand-lg navbar-light bg-light shadow-sm'], 'innerContainerOptions' => [ 'class' => 'container-flu...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; Use Intervention\Image\Facades\Image; class PostsController extends Controller { // public function __construct() { $this->middleware('auth'); } public function create() { return view('posts.create'); } pub...
<?php namespace App\Http\Controllers\API; use Illuminate\Support\Facades\Auth; use App\Article; use App\Exports\ArticlesExport; use Illuminate\Http\Request; use App\Http\Controllers\BaseController; use Illuminate\Support\Facades\Validator; use App\Http\Service\ArticleService; use App\Http\Service\EmailService; use Ap...
<?php namespace Drupal\badcamp_register\Controller; use Drupal\Core\Controller\ControllerBase; use Drupal\Core\Entity\EntityRepositoryInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Form\FormBuilderInterface; use Drupal\Core\Render\RendererInterface; use Drupal\Core\Session\AccountProxyI...
<?php namespace Sensio\Bundle\FrameworkExtraBundle\EventListener; use Doctrine\Common\Annotations\Reader; use Symfony\Component\HttpKernel\Event\FilterControllerEvent; use Symfony\Component\HttpKernel\KernelEvents; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Sensio\Bundle\FrameworkExtraBundle\...
<!--A Design by W3layouts Author: W3layout Author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ --> <!DOCTYPE HTML> <html> <head> <title>iSOS</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Auth extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('users_model'); } function login() { if (is_logged_in()) redirect(''); if ($this->form_validation->run('login')) { ...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php namespace App\Listeners\Common; use App\Abstracts\Reports\Listener; use App\Events\Common\ReportFilterApplying; use App\Events\Common\ReportFilterShowing; use App\Events\Common\ReportGroupApplying; use App\Events\Common\ReportGroupShowing; class ExpenseSummaryReport extends Listener { protected $class = 'A...
<div class="col-md-12"> <section id="breadcrumbs"> <div> <div id="back-button" onclick="history.go(-1);" class="back-button-change"></div> <h1 class="pull-left">Edit Album</h1> </div> </section> </div> <?php if ($this->album == null) :?> <div class="col-md-12"> <div class="jumbotron"> <h3>Oops there i...
<?php function cargarControlador($controlador){ $nombreControlador = ucwords(strtolower($controlador))."Controller"; $archivoControlador = 'controllers/'.ucwords(strtolower($controlador)).'.php'; if(!is_file($archivoControlador)){ $archivoControlador= 'controllers/'.CONTROLADOR_PRINCIPAL.'.php'; ...
<html> <head> <meta charset="UTF-8"> <title>Modificaciones de Referencias de Empleado</title> </head> <body> <?php include("Conexion.php"); // Cargamos el archivo con información de la conexión $conexion = mysqli_connect($host, $hostuser, $hostpw, $hostdb) or die("Problema con la conexión."); $codigo_er = $_PO...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Recommendation extends CI_Controller { public function index() { $data['pageTitle'] = 'Recommendation - Amit Biswas'; $data['_view'] = 'page/recommendation'; $this->load->view('layout/main', $data); } }
<!-- Container --> <div class="container-fluid"> <!-- Jumbotron --> <div class="row"> <div class="custom-jumbotron col-12"> <div class="container text-center"> <h1 class="text-white">TEL-VIS</h1> <p class="text-dark">Laporkan masalahmu disini</p> </div> </div> </div> <!-- Akhir Jumbotron --> <...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Fias_67_Street extends Model { use HasFactory; protected $fillable = [ 'aoid', 'offname', 'shortname', 'regioncode', 'okato', 'oktm...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCacheTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('cache', function ...
<?php namespace App\Console\Commands; use App\Models\Comment; use Illuminate\Console\Command; class UpdateLorekeeperV2 extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'update-lorekeeper-v2'; /** * The console comma...
<?php $title = "Course"; $option1 = "id='selected-sidebar'"; ?> @extends('layouts.layout') @section('content') <script type="text/javascript"> function w3_open() { document.getElementById("action_sidebar").style.display = "block"; document.getElementById("button_open").style.display = "none"; } funct...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'yii\\swiftmailer\\' => array($vendorDir . '/yiisoft/yii2-swiftmailer'), 'yii\\jui\\' => array($vendorDir . '/yiisoft/yii2-jui'), 'yii\\gii\\' => array($vendorDir . '/y...
<?php namespace Com\DaufinBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class OpererVoyageType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $optio...
<?php /** * Halo Controller Interface. * @package halo */ require_once('halo_mvc_IController.php'); /** * Halo Controller Interface. * @package halo */ interface halo_IController extends halo_mvc_IController { }
@extend('admin_master') @section('admin_main_content') <div class="content"> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="card-box table-responsive"> <h4 class="m-t-0 header-title">User Request List</h4><br...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Event extends Model { protected $guarded = ['set_end_date_data']; }
<?php /** * Created by PhpStorm. * User: saurabh * Date: 22/11/17 * Time: 3:32 PM */ use yii\helpers\Html; use yii\widgets\ActiveForm; ?> <div class="panel panel-info"> <div class="panel-heading">What you want to do?</div> <div class="panel-body"> <?= Html::a('Start', 'javascript:void(0)', ['clas...
<?php namespace app\models; use yii\base\Model; use app\models\Auth; /** * Signup form */ class SignupForm extends Model { public $nome_fantasia; public $razao_social; public $cnpj; public $cep; public $endereco; public $bairro; public $numero; public $cidade; public $uf; pub...
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may s...
<?php /** * Created by PhpStorm. * User: Exodus 4D * Date: 17.11.2018 * Time: 10:09 */ namespace lib\logging\handler; use League\HTMLToMarkdown\HtmlConverter; use lib\Util; abstract class AbstractRallyWebhookHandler extends AbstractWebhookHandler { /** * @param array $record * @return array ...
<?php /** * CORE Conference Manager * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.terena.org/license/new-bsd * If you did not receive a copy of the licen...
<?php namespace Github\Api; use Github\Api\Issue\Assignees; use Github\Api\Issue\Comments; use Github\Api\Issue\Events; use Github\Api\Issue\Labels; use Github\Api\Issue\Milestones; use Github\Api\Issue\Timeline; use Github\Exception\MissingArgumentException; /** * Listing issues, searching, editing and closing you...
<?php namespace App\Http\Controllers; use Validator; use App\User; //model class use App\Support; //model class use Session; use Redirect; use Auth; use File; use Image; use Input; use PDF; use URL; use Helper; use Illuminate\Http\Request; class SupportController extends Controller { private $controller = 'Supp...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Laravel\Scout\Searchable; class Producto extends Model { use Searchable; protected $fillable = [ 'portada','estado' ]; public function tienda() { return $this->belongsTo(Tienda::class); } public function c...
<?php declare(strict_types=1); /* * This file is part of the Monolog package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Monolog\Handler; use Monolog\Formatter\LineForma...
<?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 namespace App; use Illuminate\Database\Eloquent\Model; class Pendidik extends Model { // }
<?php /* * This file is part of jwt-auth. * * (c) Sean Tymon <tymon148@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ /* |-------------------------------------------------------------------------- ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddForeignKeysToSongCommentTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('so...
@extends('layouts.app') @section('title','Marketing') @section('content') <div class="container"> <h1 class="mt-5 text-center">Daftar Marketing</h1> @if (session('status')) <div class="alert alert-success"> {{ session('status') }} </div> @endif <div class="row mt-5"> ...
<?php namespace App\Database\Seeds; use CodeIgniter\Database\Seeder; use CodeIgniter\I18n\Time; class Datafilmseed extends Seeder { public function run() { $data = [ [ 'id_film' => '20201090', 'judul_film' => 'kkn di desa penari', ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class AdminController extends Controller { public function __construct() { $this->middleware('auth'); } public function admin() { return view('admin'); } }
<?php use App\Http\Controllers\Api\TaskController; use Illuminate\Support\Facades\Route; Route::get('/tasks', [TaskController::class, 'index'])->name('api.tasks.index');
<?php /** * Phinx * * (The MIT license) * Copyright (c) 2015 Rob Morgan * * 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 * ri...
<?php namespace trailBuddy; use Illuminate\Database\Eloquent\Model; class Cities extends Model { public function trails() { return $this->hasMany(Trail::class); } protected $fillable = [ 'name' ]; }
<!--A Design by W3layouts Author: W3layout Author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ --> <!DOCTYPE HTML> <html> <head> <title>Free Snow Bootstrap Website Template | Experiance :: w3layouts</title> <link href="css/bootstra...
<?php /** * Locale data for 'ar_001'. * * 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/...