text stringlengths 2 1.03M |
|---|
<?php
declare(strict_types=1);
namespace GraphQL\Server;
use GraphQL\Error\DebugFlag;
use GraphQL\Error\Error;
use GraphQL\Error\FormattedError;
use GraphQL\Error\InvariantViolation;
use GraphQL\Executor\ExecutionResult;
use GraphQL\Executor\Executor;
use GraphQL\Executor\Promise\Adapter\SyncPromiseAdapter;
use Grap... |
<?php
function increment_browser($browser)
{
try {
$sqlite = new \SQLite3('/tmp/landingpage.db');
} catch (Exception $e) {
return false;
}
$sqlite->exec('CREATE TABLE IF NOT EXISTS user_agents (browser TEXT NOT NULL);');
$statement = $sqlite->prepare('INSERT INTO user_agents (brows... |
<div class="sidebarBoxx">
<div id="stickFilter">
@include('public/cashback-partials/common-sidebar-filters/side-bar-filter')
</div>
</div>
@php
$Widget = AppClass::getWidget('dod');
@endphp
<?php
// echo "<pre>";
// print_r($Widget);
// echo "</pre>";
?>
@foreach($Widget as $key=... |
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Updates;
use Piwik\Plugin;
use Piwik\Updater;
use Piwik\Updates;
/**
* Update for version 2.15.0-b20.
*/
class Updates_2_15_0_b20 extends Updat... |
<?php
include_once dirname(__FILE__).'/../../bootstrap/unit.php';
include_once dirname(__FILE__) . '/../../bootstrap/database.php';
$_SERVER['REQUEST_URI'] = '/';
$_SERVER['HTTP_HOST'] = 'sns.example.com';
$_SERVER['SCRIPT_NAME'] = '/index.php';
$_SERVER['HTTP_REFERER'] = 'http://sns.example.com/';
sfContext::cr... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Post;
use Faker\Generator as Faker;
$factory->define(Post::class, function (Faker $faker) {
return [
'user_id' => factory('App\User'),
'name' => $faker->sentence,
'description' => $faker->paragraph,
'url' => ... |
<?php
/*
* NodCMS
*
* Copyright (c) 2015-2021.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... |
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... |
<?php
/* Prototype : proto mixed parse_url(string url, [int url_component])
* Description: Parse a URL and return its components
* Source code: ext/standard/url.c
* Alias to functions:
*/
function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
echo "Error: $err_no - $err_msg, $filename($line... |
<?php
use Illuminate\Database\Seeder;
class TunjanganSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
}
} |
<?php
/**
* Created by PhpStorm.
* User: admin
* Date: 2018/12/18
* Time: 17:10
*/
namespace app\wavlink\controller\Service;
use app\common\model\Service\Manual as ManualModel;
use app\common\model\Service\ManualDownload;
use app\common\model\Service\ServiceCategory as ServiceCategoryModel;
use app\wavlink\contr... |
<?php //00551
// --------------------------
// Created by Dodols Team
// --------------------------
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\SupplierSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="supplier-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>
<... |
<?php
session_start();
include 'conecta_bd.php';
require_once "formvalidator.php";
$validator = new FormValidator();
$validator -> addValidation("nome_fornecedor", "req", "Por favor preencha o campo nome!");
$validator -> addValidation("cidade_fornecedor", "req", "Por favor preencha a cidade do fornecedor!");
... |
<!DOCTYPE html>
<html lang="en">
<style type="text/css">
body {
background-color: "#191970";}
</style>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-... |
<?php
/**
* Open Source Social Network
*
* @package (openteknik.com).ossn
* @author OSSN Core Team <info@softlab24.com>
* @copyright (C) OpenTeknik LLC
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialne... |
<?php
namespace N98\Magento\Command\LocalConfig;
use N98\Magento\Command\AbstractMagentoCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class Generate... |
<footer class="container">
<hr>
<p>Mr.Nopparuj - 2018</p>
</footer> |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class VisiteursCtrl extends CI_Controller{
public function accueil(){
$this->load->database();
$this->load->view('templates/headervisiteurs');
$this->load->view('templates/footer');
}
public function listfield(){
... |
<!-- Main Content -->
<div class="main-content">
<section class="section">
<div class="section-header">
<h1>Dashboard</h1>
<div class="section-header-breadcrumb">
<div class="breadcrumb-item active"><a href="#">Dashboard</a></div>
</div>
... |
<?php
use lo\core\widgets\admin\Form;
/**
* @var \lo\modules\email\models\EmailLog $model
*/
echo Form::widget(["model" => $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)
{
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Penduduk;
use App\Models\KartuKeluarga;
use App\Models\Nagari;
class LaporanController extends Controller
{
public function nagari()
{
$nagaris = Nagari::all()->pluck('nama', 'id');
return view('Laporan.nagari',... |
<?php
namespace App\Transformers;
use App\Models\KbComment;
use League\Fractal\TransformerAbstract;
class KbCommentTransformer extends TransformerAbstract
{
public function transform(KbComment $KbComment)
{
return [
'id' => $KbComment->id,
'name' => $KbComment->name,
... |
<?php
declare(strict_types=1);
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\Fixe... |
<?php function wpbp_comments( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?>>
<article class="comment-box" id="comment-<?php comment_ID() ?>">
<header class="comment-author vcard">
<?php echo get_avatar( $comment, $size = '32' ); ?>
<?php printf( __( '<cite cl... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class TbMemberSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
}
} |
<?php
namespace CodeDelivery\Models;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;
class User extends Authenticatable implements Transformable
{
use TransformableTra... |
<?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 RectorPrefix20220124\Symfony\Component\Process\Exception;
/**
* Invalid... |
<div class="mainstream">
<!-- Slideshow container -->
<div class="slideshow-container">
<!-- Full-width images with number and caption text -->
<div class="mySlides fade">
<div class="numbertext">1 / 3</div>
<img src="assets/img1.jpg">
<div class="text">Primera Imagen del Carrousel</div>
</div>
... |
<?php
declare(strict_types=1);
namespace App\Tests\Endpoints;
use App\Tests\DeleteEndpointTestable;
use App\Tests\DeleteEndpointTestInterface;
use App\Tests\Fixture\LoadPendingUserUpdateData;
use App\Tests\PutEndpointTestable;
use App\Tests\PutEndpointTestInterface;
use App\Tests\ReadEndpointTest;
/**
* PendingUse... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This m... |
<?php
/*
* Generated by CRUDigniter v3.2
* www.crudigniter.com
*/
class Perumahan__rtlh extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->model('Perumahan__rtlh_model');
}
/*
* Listing of perumahan__rtlh
*/
function index()
{
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class ManagementScience_bi extends Model
{
//
} |
<?php
/**
* ___ _
* / _ \ ___| |_ ___ _ __ _ _
* | | | |/ __| __/ _ \| '_ \| | | |
* | |_| | (__| || (_) | |_) | |_| |
* \___/ \___|\__\___/| .__/ \__, |
* |_| |___/
* @author : Supian M <supianidz@gmail.com>
* @version : v1.0
* @license : MIT
*/
namespace App\HTTP;
u... |
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
$this->call([UserSeeder::class]);... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddPasswordToEmployeesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('employe... |
//<script>
<?php
include("$trunk/js/ajax.js");
include("$trunk/js/popup.js");
TreeView::include_js__get_tree_url();
$table_field_spaces_to_underscores =
Config::$config['table_field_spaces_to_underscores'];
?>
{ // main javascript
// some globals - #todo consolidate
var crud_api_uri... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class SinhVienController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
}
/**
* Show the form for creating a ne... |
<?php
/**
* @file
* Contains \Drupal\simpletest\TestDiscovery.
*/
namespace Drupal\simpletest;
use Doctrine\Common\Annotations\SimpleAnnotationReader;
use Doctrine\Common\Reflection\StaticReflectionParser;
use Drupal\Component\Annotation\Reflection\MockFileFinder;
use Drupal\Component\Utility\Unicode;
use Drupal\... |
<div class="title">Online Tennis Game</div>
<div class="description">Scan the QR Code using your mobile phone and use it like a remote controller. Move your player using your phone accelerometer. Play with someone else or fight the computer.</div>
<img src="{{ url('images/projects/ts-1.jpg') }}" width="600" alt="Tenni... |
<?php
/* Require */
use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
/* Models */
use Bantenprov\RasioGrupKesenian\Models\Bantenprov\RasioGrupKesenian\RasioGrupKesenian;
class BantenprovRasioGrupKesenianSeederRasioGrupKesenian extends Seeder
{
/**
* Run the database seeds.
*
... |
<?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 maiorADV\eBaySDK\PostOrder\Types;
use maiorADV\eBaySDK\StatusCodeTrait;
use maiorADV\eBaySDK\HttpHeade... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SI Surat</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTA... |
<?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 defined('C5_EXECUTE') or die("Access Denied."); ?>
<?php if (isset($wf)) { ?>
<?php if ($this->controller->getTask() == 'edit_details') { ?>
<?php echo Loader::helper('concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Edit Workflow'), false, 'span10 offset1', false)?>
<form method="post" action="<?php... |
<?php
namespace JccDex\Tests;
use JccDex\Http\Config;
use PHPUnit\Framework\TestCase;
class ConfigTest extends TestCase
{
private $config;
public function __construct($name = null, array $data = [], $dataName = '')
{
parent::__construct($name, $data, $dataName);
$this->config = new Con... |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... |
<?php
namespace WP_CLI\I18n\Tests;
use WP_CLI\I18n\IterableCodeExtractor;
use WP_CLI\Tests\TestCase;
use WP_CLI\Utils;
class IterableCodeExtractorTest extends TestCase {
/** @var string A path files are located */
private static $base;
public function set_up() {
parent::set_up();
/**
* PHP5.4 cannot set... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use App\Project;
use App\Community;
use App\Component;
use App\Project_category;
use App\Project_sub_category;
class ProjectController extends Controller
{
/**
* Display a listing of the resource.
*
* @r... |
<?php
/**
* OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures
* all the essential functionalities required for any enterprise.
* Copyright (C) 2006 OrangeHRM Inc., http://www.orangehrm.com
*
* OrangeHRM is free software; you can redistribute it and/or modify it under the terms of
... |
<?php
/**
* Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
use Thrift\Base\TBase;
use Thrift\Type\TType;
use Thrift\Type\TMessageType;
use Thrift\Exception\TException;
use Thrift\Exception\TProtocolException;
use Thrift\Protocol\TProt... |
<?php
namespace AliOSS\Tests;
use AliOSS\Core\OssException;
use AliOSS\Model\RefererConfig;
require_once __DIR__ . DIRECTORY_SEPARATOR . 'TestOssClientBase.php';
class OssClientBucketRefererTest extends TestOssClientBase
{
public function testBucket()
{
$refererConfig = new RefererConfig();
... |
<?php
use Faker\Generator as Faker;
$factory->define(App\Landing_option::class, function (Faker $faker) {
return [];
}); |
<?php
foreach ($apis as $api) {
$name = ucfirst($api['interface']);
$filename = $dirname . "/" . str_replace("..", ".", strtolower($name) . ".go");
$tpl->load("http_.tpl");
$tpl->assign($common);
$tpl->assign("package", basename(__DIR__));
$tpl->assign("name", $name);
$tpl->assign("api", $api);
$tpl->assign("... |
<?php
namespace Ecotone\Messaging\Handler\Processor\MethodInvoker\Converter;
use Ecotone\Messaging\Attribute\Parameter\ConfigurationVariable;
use Ecotone\Messaging\Handler\InterfaceParameter;
use Ecotone\Messaging\Handler\ParameterConverter;
use Ecotone\Messaging\Handler\ParameterConverterBuilder;
use Ecotone\Messa... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePaguPergeseranTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pagu_per... |
<body id="page-top">
<!-- Page Wrapper -->
<div id="wrapper">
<!-- Sidebar -->
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
<!-- Sidebar - Brand -->
<a class="sidebar-brand d-flex align-items-center justify-content-center" href="index.html">... |
<div id="page-wrapper">
<div class="container-fluid">
<!-- Page Heading -->
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">
Sprzęt <small>dodaj</small>
</h1>
</div>
</div>
<!-- /.row -->
<div class="row">
<form c... |
<?php
declare(strict_types=1);
namespace DigitalRevolution\AccessorPairConstraint\Tests\Unit\Constraint\ValueProvider\Compound;
use DigitalRevolution\AccessorPairConstraint\Constraint\ValueProvider\Compound\InstanceProvider;
use DigitalRevolution\AccessorPairConstraint\Tests\Unit\Constraint\ValueProvider\AbstractValu... |
<?php
$page->title = "ITM";
$itm = $modules->get('Itm');
$itm->init2();
$html = $modules->get('HtmlWriter');
$recordlocker = $modules->get('RecordLockerUser');
$exists = false;
if ($input->requestMethod('POST') || $input->get->action) {
$itm->process_input($input);
$page->fullURL->query->remove('action');
... |
--TEST--
ziparchive::properties isset()/empty() checks
--EXTENSIONS--
zip
--SKIPIF--
<?php
/* $Id$ */
if (!method_exists('ZipArchive', 'isCompressionMethodSupported')) die('skip needs libzip >= 1.7');
?>
--FILE--
<?php
$methods = [
ZipArchive::CM_STORE => "STORE",
ZipArchive::CM_DEFLATE => "DEFLATE",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Form Example</title>
</head>
<body>
<p>
<?php echo $output; ?>
</p>
</body>
</html> |
<?php
declare(strict_types=1);
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalconphp.com>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Test\Unit\Translate\Adapter\Gettext... |
<?php
namespace GuzzleHttp\Promise;
use Exception;
use InvalidArgumentException;
use LogicException;
use Throwable;
/**
* A promise that has been fulfilled.
*
* Thenning off of this promise will invoke the onFulfilled callback
* immediately and ignore other callbacks.
*/
class FulfilledPromise implements Promis... |
<?php
namespace App\modules;
use Illuminate\Support\ServiceProvider;
class ServiceCustomProvider extends ServiceProvider
{
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
$modules = config('module.modules');
foreach ($modules as $module) {
... |
<!DOCTYPE html>
<html lang="EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>{{$place->name}}_export_{{$place->time}}</title>
<style>
@page {
header: page-header;
footer: page-footer;
}
body {
font-family: gar... |
@extends('theme.default.pc.frame')
@section('pageTitle',\TechSoft\Laravel\Config\ConfigUtil::get('siteName'))
@section('bodyScript')
@parent
<script>
var list = $('.blog-list').masonry({
columnWidth:$('.blog-list .blog-list-block')[0],
itemSelector:'.blog-list-block'
})... |
@extends('admin_layout')
@section('admin_content')
<div class="right">
<div class="right__content">
<div class="right__title">Bảng điều khiển</div>
<p class="right__desc">Xem danh mục</p>
<div class="right__table">
<div class="right__tableWrapper">
... |
@extends('layouts.master-without-nav')
@section('title')
@lang('translation.Login') 2
@endsection
@section('css')
<!-- owl.carousel css -->
<link rel="stylesheet" href="{{ URL::asset('/assets/libs/owl.carousel/owl.carousel.min.css') }}">
@endsection
@section('body')
<body class="auth-body-bg">
@... |
<?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\Trading\Types;
/**
*
*/
class MaxFlatShippingCostDefinitionType extends \lliyplli... |
<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:72:"D:\www\twothink\public/../application/admin/view/default/user\index.html";i:1533781400;s:73:"D:\www\twothink\public/../application/admin/view/default/public\base.html";i:1496373782;}*/ ?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title><?php ech... |
<?php
namespace App\Http\Controllers;
use App\Models\Client;
use App\Models\Entreprise;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redirect;
class ClientController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
publi... |
<?php
namespace App\Http\Middleware;
use Closure;
use JWTAuth;
use Exception;
use Request;
class authJWT
{
public function handle($request, Closure $next)
{
///Try Catch block for exception handling
try {
///If token is valid get user information by parsing token and authent... |
@extends('students.layout')
@section('content')
<div class="row">
<div class="col-lg-12 margin-tb">
<div class="text-center mt-5">
<h2>Welcome to the Web Development College</h2>
</div>
<div class=" mr-5 mt-5 text-left">
<a href="{{ rout... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\NotepadRequest;
use Illuminate\Http\Request;
use App\Models\Notepad;
use App\Models\Subject;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
class NotepadController extends Controller
{
public function __construct()
{
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateServicesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('services', fun... |
<?php
$intLastModifiedTime = filemtime(__FILE__);
$strETag = md5_file(__FILE__);
header("Last-Modified: " . gmdate("D, d M Y H:i:s", $intLastModifiedTime) . " GMT");
header("Etag: " . $strETag);
header("Content-Type: text/javascript");
header("Cache-Control: max-age=604800, public, must-revalidate");
header("Pragma: m... |
<?php
namespace App;
include(app_path().'/Api/twitteroauth/autoload.php');
use Illuminate\Database\Eloquent\Model;
use Abraham\TwitterOAuth\TwitterOAuth;
class Twitter extends Model {
/** For establishing a connection to Twitter */
private $_consumer_key = '';
private $_consumer_secret = '';... |
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<div class="nav toggle">
<a id="menu_toggle" class="menu"><i class="fa fa-bars text-white" class="menu"></i></a>
</div>
<nav class="nav navbar-nav">
<ul class=" navbar-right">
<li class="nav-... |
@extends('frontend_master')
@section('content')
<!--// Main Content \\-->
<div class="sportsmagazine-main-content">
<!--// Main Section \\-->
<div class="sportsmagazine-main-section sportsmagazine-faq-full">
<div class="container">
<div class="row">
<div class="col-md-12">
... |
@extends('layout')
@section('content')
<div class="lista">
<table class="lista table table-striped">
<?php $num = 1; ?>
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Producto</th>
... |
<?php
namespace App\Http\Controllers;
use App\Tweet;
class TweetLikesController extends Controller
{
public function store(Tweet $tweet)
{
$tweet->like();
return back();
}
public function destroy(Tweet $tweet)
{
$tweet->dislike();
return back();
}
} |
<link rel="stylesheet" href="<?php echo e(getAsset('plugins/calendar/fullcalendar.min.css')); ?>" type="text/css"/> |
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
use Notifiable;
protected $table = "user";
public $timestamps = false;
protected $primaryKey = "id_user";
protected $vis... |
<?php
namespace AppBundle\Entity;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Address entity
*/
class Address
{
/** @var int */
public $id;
/**
* @var string
* @Assert\NotBlank()
*/
public $label;
/**
* @var string
* @Assert\NotBlank()
*/
publ... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... |
<?php
/**
* ContactRequest
*
* PHP version 7.2
*
* @category Class
* @package Phobetor\Allegro
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Allegro REST API
*
* https://developer.allegro.pl/about Documentation is generated from [this](https://developer.allegro.pl... |
@yizan_include('admin.common.adv.edit') |
<?php
$timeFirst = strtotime('2015-02-27 18:20:20');
$timeSecond = strtotime('2015-03-01 18:20:20');
$differenceInSeconds = $timeSecond - $timeFirst;
echo $differenceInSeconds;
?> |
<?php
/*
Copyright (c) 2008, Till Brehm, projektfarm Gmbh and Oliver Vogel www.muv.com
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyrigh... |
@php
/*
$layout_page = shop_cart
**Variables:**
- $cart: no paginate
- $countries: array
- $attributesGroup: array
*/
@endphp
@extends($sc_templatePath.'.layout')
@section('block_main')
<section class="section section-xl bg-default text-md-left">
<div class="container">
<div class="row">
@if (... |
<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: function_delete.php 36334 2017-01-03 01:32:35Z nemohou $
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
require_once libfile('function/home');
function deletemember($uids,... |
<?php
/*
* Copyright 2021 Cloud Creativity Limited
*
* 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 la... |
<?php
/* @var $this DataPelatihanController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Data Pelatihans',
);
$menu=array();
require(dirname(__FILE__).DIRECTORY_SEPARATOR.'_menu.php');
$this->menu=array(
array('label'=>'DataPelatihan','url'=>array('index'),'icon'=>'fa fa-list-alt', 'it... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\StoreModuleRequest;
use App\Http\Requests\UpdateModuleRequest;
use App\Models\Module;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\Request;
class ModuleController extends Controller
{
public function index()
{
$modules = Module:... |
<h1 class="detail-title "><?php echo $details['title'] ?></h1>
<div class="details-container">
<div class="row">
<div class="col-md-3">
<div class="card side-detail" style="width: 18rem;">
<img src="<?php echo $details['image_url'] ?>" class="card-img-top" alt="...">
... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Recipe */
$this->title = 'Update Recipe: ' . $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Recipes', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model-... |
<?php
vc_map( array(
'name' => __( 'Accordion', 'js_composer' ),
'base' => 'vc_tta_accordion',
'icon' => 'icon-wpb-ui-accordion',
'is_container' => true,
'show_settings_on_create' => false,
'as_parent' => array(
'only' => 'vc_tta_section'
),
'category' => __( 'Content', 'js_composer' ),
'description' => __(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.