text
stringlengths
2
1.03M
@extends('layouts.frontend.app') @section('content') <main class="main"> <div class="page-header text-center" style="background-image: url('assets/images/page-header-bg.jpg')"> <div class="container"> @php $name = ''; @endphp @foreach ($single_vendor as...
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min....
<?php /** * +---------------------------------------------------------------------- * | Created by hahadu (a low phper and coolephp) * +---------------------------------------------------------------------- * | Copyright (c) 2020. [hahadu] All rights reserved. * +---------------------------------------------...
<?php /** * @group phame */ final class PhamePost extends PhameDAO implements PhabricatorPolicyInterface, PhabricatorMarkupInterface, PhabricatorTokenReceiverInterface { const MARKUP_FIELD_BODY = 'markup:body'; const MARKUP_FIELD_SUMMARY = 'markup:summary'; const VISIBILITY_DRAFT = 0; ...
<?php /** * Created by CDiscount * Created by CDiscount * Date: 14/10/2016 * Time: 09:56 */ namespace Sdk\Order; abstract class ValidationStatusEnum { const ValidatingFianet = 'ValidatingFianet'; const PreAccepted = 'PreAccepted'; const None = 'None'; }
<!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content="Sistem Kasir untuk Pembayaran Tagihan Nasabah atau Pedagang yang ada di Pasar Caringin"> <t...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Subscription extends Model { public $visible = [ 'id', 'user_id', 'name', 'stripe_id', 'stripe_plan', 'quantity', 'trial_ends_at', 'ends_at' ]; public function lastes...
<?php namespace Doctrine\Common\Proxy; use Doctrine\Common\Proxy\Exception\InvalidArgumentException; use Doctrine\Common\Proxy\Exception\UnexpectedValueException; use Doctrine\Common\Util\ClassUtils; use Doctrine\Persistence\Mapping\ClassMetadata; use ReflectionIntersectionType; use ReflectionMethod; use ReflectionNa...
<?php return [ /* |-------------------------------------------------------------------------- | Client-side Language Lines |-------------------------------------------------------------------------- | | These are messages made available to the client browser via JavaScript. | To compile th...
<?hh /* Prototype : string escapeshellarg ( string $arg ) * Description: Escape a string to be used as a shell argument. * Source code: ext/standard/exec.c * Alias to functions: */ <<__EntryPoint>> function main(): void { echo "Simple testcase for escapeshellarg() function\n"; var_dump(escapeshellarg("Mr O'Nei...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="vixewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>Tahieya | reset password</title> <...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFlavorsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('flavors', funct...
<?php /** * @author Olivier Parent * @copyright Copyright © 2014-2015 Artevelde University College Ghent * @license Apache License, Version 2.0 */ namespace StartMeUp\Models; use Illuminate\Database\Eloquent\Model; use StartMeUp\User; class Settings extends Model { const COLOUR_PALETTE_A = 'A'; con...
<?php echo "Hello World!!!!"; $hostname="localhost"; $username="root"; $password=""; $db_name="edu"; $con=mysqli_connect($hostname,$username,$password,$db_name) or die("NOT CONNECTED.."); mysqli_select_db($con,$db_name) or die("DATABASE NOT FOUND.."); ?>
<?php namespace BK2K\BootstrapPackage\Hooks; /*************************************************************** * * The MIT License (MIT) * * Copyright (c) 2014 Benjamin Kott, http://www.bk2k.info * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
<header class="mb-4"> <nav class="navbar navbar-expand-sm navbar-dark bg-dark"> {{-- トップページへのリンク --}} <a class="navbar-brand" href="/">tasklist</a> <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#nav-bar"> <span class="navbar-toggler-icon"></spa...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class News extends Model { protected $guarded = array('id'); // 以下を追記(2022/01/05,12) public static $rules = array( 'title' => 'required', 'body' => 'required', ); // 以下を追記(2022/01/05,12) // News Modelに関連付けを行う ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProjectsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('projects', function (Blueprint $table) { ...
<!-- Header--> <div class="breadcrumbs"> <div class="col-sm-4"> <div class="page-header float-left"> <div class="page-title"> <h1><?php echo $title ?></h1> </div> </div> </div> <div class="col-sm-8"> <div class="page-header float-right"> ...
<?php /* |-------------------------------------------------------------------------- | Catcha Routes |-------------------------------------------------------------------------- | */ Route::group(array('prefix' => 'captcha'), function() { Route::get('start/{howmany}', array('as' => 'captcha/start', 'uses'=>'Captch...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateOrdersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('orders', functio...
<!-- Main Content --> <div class="main-content"> <section class="section"> <div class="section-header"> <h1>Mahasiswa</h1> <!-- <div class="section-header-breadcrumb"> <div class="breadcrumb-item active"><a href="#">Dashboard</a></div> <div class="breadcrumb-item"><a href="#">Modul...
<?php include("header.php")?> <main role="main" class="pure-u-2-3"> <div id="siteTitle" class="telescopes"> <h1>Teleskope</h1> <p>Augen und Ohren der Wissenschaft</p> </div> <script type="text/javascript" src="http://de.cosmowiki.de/js/telescopesTable.js"></script> <div id="dataArea" class="telescopes"> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSuppliersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('supplier', fu...
<?php namespace App\Repositories; use App\Models\User; use App\Repositories\Interfaces\UserRepositoryInterface; use Illuminate\Support\Facades\Hash; use Auth; class UserRepository implements UserRepositoryInterface { public function all() { return User::all()->toArray(); } public function ch...
<?php return array ( '<strong>Modules</strong> directory' => '<strong>Katalog</strong> modułów', 'Are you sure? *ALL* module data will be lost!' => 'Czy jesteś pewny? *WSZYSTKIE* dane modułu zostaną utracone!', 'Are you sure? *ALL* module related data and files will be lost!' => 'Czy jesteś pewny? *WSZYSTKIE* dan...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class RegisterAuthRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * G...
<?PHP $start = microtime(true); ## start the clock on script execution $path = realpath( dirname(__FILE__) ). DIRECTORY_SEPARATOR; # set as constant # https://www.php.net/manual/en/function.define.php define("PHP_INCLUDE", $path . "php" . DIRECTORY_SEPARATOR); define("PHP_LIBS", str_replace("run","libs", $path));...
<?php /** * ActivityEfficiencyFormulas form base class. * * @method ActivityEfficiencyFormulas getObject() Returns the current form's model object * * @package Servicepool2.0 * @subpackage form * @author Your name here * @version SVN: $Id: sfDoctrineFormGeneratedTemplate.php 29553 2010-05-20 14:33:00...
<?php /** * Copyright (c) 2018 InkoHX. All rights reserved. MIT license. * * GitHub: https://github.com/InkoHX/LeveLibrary */ namespace InkoHX\LeveLibrary\event\xp; use pocketmine\event\Cancellable; use pocketmine\event\player\PlayerEvent; use pocketmine\Player; class PlayerAddXpEvent extends PlayerEvent impleme...
@if(!isset($model)) <div class="form-group{{$errors->has('pasien_poli_id') ? 'has error' : '' }}"> {!! Form::label('pasien_poli_id', 'ID Kunjungan', ['class'=>'col-md-2 control-label']) !!} <div class="col-md-5"> {!! Form::text('pasien_poli_id', $kunjungan->id, ['class'=>'form-control',...
<?php /** * PHP Service Bus (publish-subscribe pattern implementation) * Supports Saga pattern and Event Sourcing * * @author Maksim Masiukevich <desperado@minsk-info.ru> * @license MIT * @license https://opensource.org/licenses/MIT */ declare(strict_types = 1); namespace Desperado\ServiceBus\Tests\Marshal\S...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; class Consulta extends Mailable { use Queueable, SerializesModels; protected $correo, $nombre, $asunto, $mensaje; /** * Create a ...
<?php /* Copyright (c) 2012, Da Xue All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Monolog\Logger; use Yansongda\Pay\Pay; use Elasticsearch\ClientBuilder as ESClientBuilder; use Illuminate\Support\Str; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return ...
<?php namespace Ubiquity\controllers\rest\traits; use Ubiquity\controllers\crud\CRUDHelper; use Ubiquity\controllers\rest\RestError; use Ubiquity\controllers\Startup; use Ubiquity\orm\DAO; use Ubiquity\orm\OrmUtils; /** * Ubiquity\controllers\rest\traits$DynamicResourceTrait * This class is part of Ubiquity * * ...
@extends('admin.layouts') @section('extra-css') <link rel="stylesheet" type="text/css" href="/assets/app-assets/css/datatables.css"> <link rel="stylesheet" type="text/css" href="/assets/app-assets/css/pe7-icon.css"> @endsection @section('section') <!-- Right sidebar Ends--> <div class="page-body...
<?php namespace App\Test\TestCase\Service; use App\Test\FixturesTrait; use App\Test\TestCase\IntegrationTestCase; use CakephpFactoryMuffin\FactoryLoader; use Cake\ORM\TableRegistry; class CommentsServiceTest extends IntegrationTestCase { use FixturesTrait; protected $article; public function setUp() ...
<?php namespace Pyrexx\ZUGFeRD; class SchemaValidator { /** * Validates the given XML-string against the ZUGFeRD XSD-files. * * @param string $xml * * @return bool */ public static function isValid($xml) { $xmlValidate = new \DOMDocument(); $xmlValidate->loa...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Auth; class ProfileController extends Controller { public function edit() { $admin = Auth::user(); return view('admin.profile.index', compact('admin')); } public function updat...
<?php namespace app\years\controller; use think\Controller; use think\Request; use app\facade\Wechat; class Years extends Controller{ //设置开关 private $switch = 1; public function __construct(){ parent::__construct(); if($this->switch !== 1){ die('管理员关闭了此活动'); } } /** * 输出模板+获取到公司员工信息 * @Author Foggy...
<?php declare(strict_types=1); namespace Ddeboer\Imap\Search\LogicalOperator; use Ddeboer\Imap\Search\ConditionInterface; /** * Represents an ALL operator. Messages must match all conditions following this * operator in order to match the expression. */ final class All implements ConditionInterface { /** ...
<?php session_start(); header('Content-Type: text/html; charset=utf-8'); include "class/pila.php"; $suma = 0; if (!isset($_SESSION["elementos"])) { $_SESSION["elementos"] = array(); } if (isset($_POST["enviarPila"])) { if (isset($_POST["elemento"]) && ($_POST["elemento"] != "")) { $pila = new Pila($...
<?php namespace Tatter\Frontend\Bundles; use Tatter\Frontend\FrontendBundle; class DataTablesBundle extends FrontendBundle { /** * Applies any initial inputs after the constructor. */ protected function define(): void { $this ->addPath('datatables/js/jquery.dataTables.min.js...
<!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Dashboard </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li cl...
<?php namespace Fanboykun\DecissionSupportSystem\Services; class WaspasService { public function execute(array $data) { $normalized_criterias = $this->normalize($data); $optimized_criterias = $this->optimize($normalized_criterias); $finalized_alternatives = $this->finalize($optimized_c...
<?php namespace App\Http\Livewire; use Livewire\Component; use App\Models\FstSystemInformation; use Storage; class TopInformation extends Component { public $item = ''; public $disabled = false; public $infoId = ''; public function mount($item) { $this->item = $item; $this->infoI...
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections b...
<?php class Register { private static $_instance; private $_registry; private $_registers; private function __construct() { $this->load_registry(); } public static function gI() { if(!isset(self::$_instance)) { $cls = __CLASS__; self::$_instance = new $cls; } return self::$_instance; ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title><?php echo $title ?></title> <link rel= "stylesheet" href ="https://bootswatch.com/flatly/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>asset...
<?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\HttpKernel\Event; use Symfony\Component\HttpFoundatio...
<?php /** * Created by PhpStorm. * User: admin * Date: 2020/4/3 * Time: 15:17 */ require_once './config_yanweina.php'; //生成form_init_obj,form_rules, fields_obj foreach ($config as $k1 => $_module) { foreach ($_module['sub_modules'] as $k2 => $module) { if (!empty($module['edit'])) { if (...
@extends('layouts.app') @section('title', 'Show Customer') @section('content') <!-- start page title --> <div class="row"> <div class="col-12"> <div class="page-title-box d-flex align-items-center justify-content-between"> <h4 class="mb-0 font-size-18">>Promotional Slider<...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Pembina; use App\Kantor; class PembinaController extends Controller { public function index() { $data_pembina = Pembina::all(); return view('pembina.index',compact('data_pembina')); } public function edit(Pembina $p...
<?php /** * @author Joas Schilling <coding@schilljs.com> * @author Lukas Reschke <lukas@statuscode.ch> * @author Morris Jobke <hey@morrisjobke.de> * @author Roeland Jago Douma <rullzer@owncloud.com> * @author Tom Needham <tom@owncloud.com> * * @copyright Copyright (c) 2018, ownCloud GmbH * @license AGPL-3.0 * ...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Auth; class ProductCreateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { ...
{!! Form::open(['route' => 'products.search']) !!} <div class="form-group"> <label for="keyword">検索キーワード:</label> {!! Form::text('keyword', NULL, ['class' => 'form-control']) !!} {!! Form::submit('検索', ['class' => 'btn btn-primary']) !!} </div> {!! Form::close() !!}
<?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 // autoload_files.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest.php', $vendorDir . '/symfony/var-dumper/Resources/functions/dump.php', $vendorDir . '/nikic/php-parser/lib/boots...
@extends('layouts.admin') @section('content') <h1>Create page</h1> {!! Form::open(['method'=>'POST', 'action'=>'AdminPostsController@store', 'files'=>true]) !!} <div class="form-group"> {!! Form::label('title', 'Title:') !!} {!! Form::text('t...
<?php /** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ declare(strict_types=1); namespace Phalcon\Tests\Unit\Support\Collection\ReadOnly...
<?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInit1c566050a79de5a546ce7344a816d251 { public static $prefixLengthsPsr4 = array ( 'F' => array ( 'Firebase\\JWT\\' => 13, ), ); public static $prefixDirsPsr4 = array ...
<?php /** * Created by PhpStorm. * User: admin * Date: 2017/12/27 * Time: 15:38 */ namespace app\library\order; class TransferOrderHelper extends OrderHelper{ public $pay_id = 7; public $pay_name = "转账金支付"; public function pay_params($customer_id) { $this->account_pay($customer_id); }...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Material */ $this->title = $model->title; $this->params['breadcrumbs'][] = ['label' => 'Остаток на складе', 'url' => ['/material-consumption/in-stock']]; $this->params['breadcrumbs'][] = ['label' => 'Сырье...
<?php namespace App\Rules; use Illuminate\Contracts\Validation\Rule; use App\Models\producto; use App\Models\cpcu; use App\Models\saclap; use App\Models\nae; class RepeatCNAEProducto implements Rule { /** * Create a new rule instance. * * @return void */ public function __construct() ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePatientsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('patients', fun...
<?php namespace mycloset; use Illuminate\Database\Eloquent\Model; class Closet extends Model { protected $guarded = array('id'); //以下を追記 public static $rules = array( 'item' => 'required', 'category' => 'required', 'season' => 'required' ); public function histories(...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateOrderItemsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('order_items'...
<?php /** * Home Controller * * @license MIT * @copyright 2015 Tommy Teasdale */ namespace Apine\Controllers\User; use Apine\MVC; use Apine\Session as Session; use Apine\Core\Encryption; class HomeController extends MVC\Controller { public function index ($params) { $this->_view->set_title('Home'); $th...
<?php !defined('IN_MUDDER') && exit('Access Denied'); $op = _input('op'); $GP = $_G['loader']->model(':group'); $gid = _input('gid', null, MF_INT_KEY); $group = $GP->read($gid); if(!$group) redirect('group_empty'); $gmember = $GP->member->read($gid,$user->uid); if($gmember['usertype']!='1') redirect('global_op_access...
<div class="row justify-content-center align-items-center vh-100"> <div class="col-6"> <div class="card text-dark bg-light mb-3"> <div class="card-header text-center"><h4><strong>Cooperativa San Juan Baustista</strong></h4></div> <div class="card-body"> <h5 cl...
<?php declare(strict_types=1); namespace Setono\SyliusFeedPlugin\EventListener\Filter; use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\QueryBuilder; use InvalidArgumentException; use Setono\SyliusFeedPlugin\Event\QueryBuilderEvent; abstract class AbstractFilterListener { private string $class; pub...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php namespace strings\wordwrap; echo(wordwrap("123 123ab123", 3, "|")),"\n"; echo(wordwrap("123 123ab123", 3, "|")),"\n"; echo(wordwrap("123 123ab123", 3, "|")),"\n"; echo(wordwrap("123 123ab123", 3, "|")),"\n"; echo(wordwrap("123 123ab123", 3, "|")),"\n"; echo(wordwrap("123 123ab123", 3, "|", true)...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Projects extends Model { public function users() { return $this->belongsToMany('App\UsersData', 'users_projects', 'project_id', 'user_id'); } }
<?php return array( 'skin'=>'red' );
<?php /** * Created by PhpStorm. * User: mac * Date: 2016/4/26 * Time: 15:36 */ $models=[]; $discount=0; $sub_total_old = 0; $checkout_ad = 2; $is_coupon = false; $merge_orders=Yii::$app->session->get('can_merge_orders'); $isMerge=$merge_orders['isOrderMerge']; $haveFreeCard=0; if($isMerge){ //合单时 foreach($mod...
@extends('layouts.app', ['title' => 'Show - Page Admin'], ['page' => 'Detail Laporan']) @section('content') <!-- component --> <!-- This is an example component --> <div class="min-h-screen flex overflow-x-hidden overflow-y-auto py-6 px-8 bg-gray-300 items-start"> <div class="bg-white w-full rounded-lg shadow-xl"...
<?php return [ /* |-------------------------------------------------------------------------- | Serial Config |-------------------------------------------------------------------------- | | length : length for one segment | segment : segment amount for Serial number | seperator : s...
<?php namespace app\models; use Yii; use app\models\Proveedores; /** * This is the model class for table "{{%proveedores}}". * * @property string $cedrif * @property string $razon * @property string $direccion * @property string $telefono * @property string $fax * @property string $email * @property string $...
<?php namespace TCK\Blog\Model; class PostCategory extends \Magento\Framework\Model\AbstractModel { /** * @param \Magento\Framework\Model\Context $context * @param \Magento\Framework\Registry $registry * @param \Magento\Framework\Model\ResourceModel\AbstractResource $resource * @param \Magent...
<?php $json = '{ "payload": { "task": "send", "secret": "secret_key", "messages": [ { "to": "+000-000-0000", "message": "the message goes here", "uuid": "042bf515-eq6b-f424-c4pz" } ] } }'; $arra = json_decod...
<?php // We use $config as an information/data enter. We store information here to be used across the site. $config['site_title'] = 'Stylish You'; //database config - $config['database']['connection_string'] = 'sqlsrv:Database={{enterDatabaseName}};Server={{enterServerAddress}}'; $config['database']['username'] = '{{...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Ads; class SingleView extends Controller { public function viewSingle($id){ $Mobile = Ads::find($id); return view('single')->with('Mobile',$Mobile); } }
<?php /** * View class for CSV import * * @package Joomla * @subpackage Fabrik * @copyright Copyright (C) 2005-2020 Media A-Team, Inc. - All rights reserved. * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html */ // No direct access defined('_JEXEC') or die('Restricted access'); use Joomla\Util...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Models\Contact; use Illuminate\Http\Request; class ContactController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() ...
<?php // steal-cookie.php # capture COOKIE. $pre_cookie = $_COOKIE ?? []; ob_start(); @include($_SERVER['SCRIPT_FILENAME']); echo $____output = ob_get_clean(); # check new COOKIE (check Set-Cookie header). $header_list = headers_list(); $set_cookie_list = []; foreach ($header_list as $line) { if (preg_match('/\AS...
<?php /** * Created by PhpStorm. * User: ari * Date: 11/16/14 * Time: 8:14 PM */ namespace CPath\Response\Common; use CPath\Data\Map\ISequenceMap; use CPath\Data\Map\ISequenceMapper; use CPath\Response\Response; class SequenceResponse extends Response implements ISequenceMap, \Countable { private $mCollection =...
<?php declare(strict_types=1); namespace Symplify\EasyCodingStandard\Yaml; use Nette\Utils\Strings; use PhpCsFixer\Fixer\Comment\HeaderCommentFixer; use ReflectionClass; use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; use Symplify\EasyCodingStandard\Exception\DependencyInjection\Extension\ServiceKeyw...
<!DOCTYPE html> <html lang="en"> <?php include_once 'header.php'; ?> <body> <!--header--> <?php include_once 'head.php'; ?> <div class="content indent"> <div class="thumb-box"> <div class="container"> <h2> <strong>Existing Member? </strong>Login Now </h2> <?php if(isset($msg)){ ...
<?php namespace App\Controller\API\Books; use App\Entity\Books\Book; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\Serializer\SerializerInterface; class BookController extend...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\widgets\Pjax; use mdm\admin\components\Helper; /* @var $this yii\web\View */ /* @var $searchModel deployer\models\ProjectActionServerSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Project Action Servers'); $this...
<?php /** * 所属项目 OnePlus. * 开发者: 想天 * 创建日期: 3/12/14 * 创建时间: 12:49 PM * 版权所有 想天工作室(www.ourstu.com) */ namespace Ucenter\Controller; use Think\Controller; class SessionController extends BaseController { protected $mTalkModel; public function _initialize() { parent::_initialize(); $t...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model frontend\modules\job\models\Job */ $this->title = 'Update Job: ' . $model->title; $this->params['breadcrumbs'][] = ['label' => 'Jobs', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $m...
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\QuickTime; use JMS\Serializer\Annotation\ExclusionPolic...
@extends('components.layout_admin') {{-- Section tambahan: head : untuk penambahan kode didalam head script : untuk penambahan kode didalam script bagian paling bawah halaman sidebar : untuk mengatur menu pada sidebar --}} @section('title', 'Data Kategori Kopi') @section('sidebar_title', 'Data Kategori Ko...
<?php namespace Guardian\Monitor\Model; class AgentCheck { protected $id; protected $changes = []; public function getId() { return $this->id; } public function setId($id) { $this->id = $id; return $this; } protected $check; public fu...
<?php class Prevention extends Eloquent { protected $table = 'prevention'; }
<?php class Kwc_Form_Dynamic_Component extends Kwc_Abstract_Composite_Component { public static function getSettings($param = null) { $ret = parent::getSettings($param); $ret['componentName'] = trlKwfStatic('Form'); $ret['componentIcon'] = 'application_form'; $ret['componentCateg...