text stringlengths 2 1.03M |
|---|
<?php
/**
* Theme options > General Options > Favicon options
*/
/*--------------------------------------------------------------------------------------------------
Sidebar Generator
--------------------------------------------------------------------------------------------------*/
$admin_options[] = array(
'... |
<?php
namespace Mabele\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode as Middleware;
class CheckForMaintenanceMode extends Middleware
{
/**
* The URIs that should be reachable while maintenance mode is enabled.
*
* @var array
*/
protected $except = [
... |
<?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\MarkupBundle\Tests\Unit\Markup;
use PHPUnit\Framework\TestCase;
use Sulu\Bundle\MarkupBundle\Marku... |
<?php
namespace CodeEduUser\Console;
use CodeEduUser\Facade\PermissionReader;
use CodeEduUser\Repositories\PermissionRepository;
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
class CreatePermissionCommand extends Command
{
/**
... |
<?php
namespace RectorPrefix20210719;
return ['TYPO3\\CMS\\Recordlist\\RecordList' => 'TYPO3\\CMS\\Recordlist\\Controller\\RecordListController']; |
<?php
namespace App\Http\Controllers\Api\Dashboard;
use App\Http\Controllers\Controller;
use App\Models\LikedPost;
use App\Models\LikePost;
use App\Models\Notification;
use App\Models\Post;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use ResponseHelper;
class LikePostContro... |
<?php
declare(strict_types=1);
namespace App\Blog\Post\Category\Application\Service;
use App\Blog\Post\Category\Application\Model\CreateCategoryCommand;
use App\Blog\Post\Category\Domain\Entity\Category;
use App\Blog\Post\Category\Domain\Repository\CategoryRepositoryInterface;
use App\Blog\Post\Shared\Domain\Entity\... |
<?php
namespace PHLAK\SemVer;
use PHLAK\SemVer\Exceptions\InvalidVersionException;
use PHLAK\SemVer\Traits\Comparable;
use PHLAK\SemVer\Traits\Incrementable;
/**
* @property int $major Major release number
* @property int $minor Minor release number
* @property int $patch Patch release number
* @property string|... |
<?php
/*
* This file is part of the PHPExifTool package.
*
* (c) Alchemy <support@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\PICT;
use JMS\Serializer\Annotation\ExclusionPolicy;
... |
<div class="right_col" role="main">
<div class="row">
<div class=" col-xs-12">
<div class="x_panel">
<div class="x_title">
<h3>EDIT MAHASIWA</h3>
<div class="clearfix"></div>
</div><br>
<?php foreach($Mahasiswa as $key) {?>
<?=form_open_multipart('Mahasi... |
<?php
namespace App\Http\Controllers\Modules\Bitrix;
use App\Http\Utilities\Bitrix\BitrixComponentsParamsTypes;
use App\Models\Modules\Bitrix\BitrixComponentsParams;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\Modules\Bitrix\Bitrix;
use App\Models\Modules\Bitrix\BitrixComponent;
... |
<?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\Cache\Tests\Simple;
use Symfony\Component\Cache\Simpl... |
<?php
namespace CaptchaSolver;
use Curl\Client;
abstract class ApiClient
{
protected $client;
public function __construct()
{
$this->client = new Client();
}
} |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class PenggajianModel extends Model
{
protected $table = 'penggajians';
protected $fillable = ['Tunjangan_pegawai_id', 'Jumlah_jam_lembur', 'Jumlah_uang_lembur', 'Gaji_pokok', 'Total_gaji', 'Tanggal_pengambilan', 'Status_pengambilan', 'Petugas_pen... |
<?php
namespace App\Events;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Queue\SerializesModels;
/**
* Class UserRegistered
* @package App\Events
*/
class UserRegistered implements ShouldBroadcast
{
use SerializesModels;
/**
* Get ... |
<?php
function redSessions()
{
$ci = get_instance();
if (!$ci->session->userdata('email')) {
redirect('home');
} else {
$role_id = $ci->session->userdata('role_id');
$menu = $ci->uri->segment(1);
$queryMenu = $ci->db->get_where('user_menu', ['menu' => $menu])->row_array();... |
<?php
/**
*
*/
class Careers extends Backend_Controller
{
function index()
{
$this->data['content'] = 'admin/pages/careers/view';
$this->data['careers'] = $this->careers_model->get();
$this->load->view('admin/media', $this->data);
}
public function page($param)
{
$id = (!empty($_GET['id'])) ? hash... |
<?php
if (function_exists('acf_add_local_field_group')) :
acf_add_local_field_group(array(
'key' => 'group_5e86f0d05ac0d',
'title' => 'News',
'fields' => array(
array(
'key' => 'field_5e86f0dbeb29a',
'label' => 'Title',
'name' => ... |
<?php
putenv("LD_PRELOAD=./getegid.so");
mail("","","",""); |
<!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">
<title>Laravel</title>
<!-- Fonts -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fo... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Event;
use App\Task;
use App\User;
use Faker\Generator as Faker;
$factory->define(Task::class, function (Faker $faker) {
return [
'name' => $faker->name,
'event_id' => Event::get(['id'])->random()->id,
'user_id' => U... |
<header class="main-header">
<!-- Logo -->
<a href="#" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>A</b>LT</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Admin</b>LTE</span>
... |
<?= $this->section('head') ?>
<!-- code here -->
<?= $this->endSection() ?>
<?= $this->extend('layouts/master') ?>
<?= $this->section('foot') ?>
<!-- code here -->
<?= $this->endSection() ?>
<?= $this->section('content') ?>
Blank Full
<?= $this->endSection() ?> |
<?php
namespace App\Marketplace\Libs;
use Illuminate\Database\Eloquent\Model;
class LibInspirationsMoodboard extends Model
{
protected $table = 'lib_inspiration_moodboard';
public function LibInspiration()
{
return $this->belongsTo(LibInspiration::class, 'id');
}
public function getUplo... |
<?php
$config = array();
$config['name'] = "Accordion";
$config['author'] = "depexor";
$config['ui'] = true;
$config['version'] = 0.01;
$config['categories'] = "other";
$config['position'] = 52;
$config['settings'] = [];
$config['settings']['translatable_options'] = [
'settings'
]; |
<?php
/**
* @file
* Contains \Drupal\slack_invite\Form\SlackInviteForm.
*/
namespace Drupal\slack_invite\Form;
use Drupal\Core\Http\Client;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
use Exception;
/**
* Builds the search form for the search block.
*/
class SlackInviteForm extends F... |
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\kategori;
use App\Taks;
use Illuminate\Http\Request;
class TugasController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(... |
<?php
namespace PHPGit\Command;
use PHPGit\Command;
use PHPGit\Exception\GitException;
/**
* Reset current HEAD to the specified state - `git reset`
*
* @author Kazuyuki Hayashi <hayashi@valnur.net>
*/
class ResetCommand extends Command
{
/**
* Resets the index entries for all **$paths** to their state... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Livro extends CI_Controller {
public function index()
{
if( !isset($this->session->userdata['logged_in']['ctps']) )
{
redirect('Login','refresh');
} else {
$this->load->view('cadastro_livro_view'... |
<?php
namespace Github\Exception;
class GistsForkForbiddenException extends ForbiddenException
{
/**
* @var \Github\Model\BasicError
*/
private $basicError;
public function __construct(\Github\Model\BasicError $basicError)
{
parent::__construct('Forbidden');
$this->basicError... |
@extends("admin.layouts.default")
@section('breadcrumbs')
<li class="breadcrumb-item active"><a href="{{ route("admin.operational.index") }}">Operational</a></li>
@if(isset($data))
<li class="breadcrumb-item active" aria-current="page">{{trans('admiko.page_breadcrumbs_edit')}}</li>
@else
<li... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Login V12</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<link rel="icon" type="image/png" href="assets/images/r... |
<?php
require 'MailPwd.php';
use Firebase\JWT\JWT;
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
use Google\Auth\ApplicationDefaultCredentials;
use GuzzleHttp\Client;
use GuzzleHttp\HandlerStack;
function getSQLErrorException($errorLogs, $e, $req)
{
$res = (Object)Array();
http_resp... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Userinfo extends Model
{
//指定数据表users
protected $table = "users_info";
// 指定主键
protected $primarykey = "id";
// 该模型是否需要时间戳维护
public $timestamps = false;
// 在模型类里指定下模型可以给数据表赋值的字段
protected $fillable = ['hobby','sex','users_id... |
@extends('admin.layout.app')
@section('content')
<div class="card card-primary col-md-6" style="margin-left: 15vw; margin-top: 10vh; height: 45vh">
@if ($page == 'create')
<div class="card-header" style="width: 102.5%; margin-left: -7.5px">
<h3 class="card-title">Add</h3>
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png">
<link rel="icon" type="image/png" href="../assets/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>
@yield('... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Products */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="products-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
... |
<?php
session_start();
ob_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="414, initial-scale=1.0">
<title>Reminder</title>
<link rel="stylesheet" href="../CSS/commonElements.css">
<link rel="stylesheet" href="../CSS/f... |
<?php
/**
* @file
* Template to display a view as a calendar day, grouped by time
* and optionally organized into columns by a field value.
*
* @see template_preprocess_calendar_day.
*
* $rows: The rendered data for this day.
* $rows['date'] - the date for this day, formatted as YYYY-MM-DD.
* $rows['datebox']... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<a href="{{ url('home') }}" class="btn btn-primary">Kembali</a>
</div>
<div class="col-md-12 mt-3">
<nav aria-label="breadcrumb">
<ol class="... |
<?php
namespace STS\UploadServer\Exceptions;
class InvalidChunkException extends \Exception
{
} |
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous">
</script>
<script src="https://cdnj... |
<?php
namespace Database\Factories;
use App\Models\Province;
use Illuminate\Database\Eloquent\Factories\Factory;
class ProvinceFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Province::class;
/**
* Define the m... |
<div class="regist">
<form class="form" action="assets/php/regist.php" method="post">
<div class="close">
<span onclick="document.getElementsByClassName('regist')[0].style.display='none'">×</span>
</div>
<div id="message-error" style='color: red'>
<?php
... |
<?php
/**
* XialotEcon
*
* Copyright (C) 2017-2018 dihydrogen-monoxide
*
* 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
... |
<?
require_once("include_generic/sqllib.inc.php");
require_once("include_pouet/pouet-box.php");
require_once("include_pouet/pouet-prod.php");
class PouetBoxIndexLatestComments extends PouetBoxCachable {
var $data;
var $prods;
function __construct() {
parent::__construct();
$this->uniqueID = "pouetbox_lat... |
<?php
/**
* Locale data for 'mn_MN'.
*
* This file is automatically generated by yiic cldr command.
*
* Copyright © 1991-2007 Unicode, Inc. All rights reserved.
* Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
*
* Copyright © 2008-2010 Yii Software LLC (http://www.yiiframework.com/... |
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Hash;
use Illuminate\Http\Request;
use App\Models\User;
class UserController extends Controller{
public function login(Request $req){
$user=User::where(['email'=>$req->email])->first();
return $user;
if(!$user || !Hash::ch... |
<?php
//Register views directory in your bundle (name of which is set in app.php)
$app->register(new Silex\Provider\TwigServiceProvider(), array(
'twig.path' => __DIR__.'/../src/'.MAIN_BUNDLE.'/Views',
)); |
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Public Profile Information
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-clock-o"></i> GYTime</a></li>
<li class="ac... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class AcordoProcesso extends Model
{
//
} |
<?php
namespace Osiset\ShopifyApp\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use function Osiset\ShopifyApp\base64url_decode;
use function Osiset\ShopifyApp\base64url_encode;
use Osiset\ShopifyApp\Exceptions\HttpException;
use Osiset\ShopifyApp\Objects\Values\ShopDomain;
use Osiset\ShopifyApp\Services... |
<?php
namespace App\Models\Correios\ModelsAuxiliares;
use Illuminate\Database\Eloquent\Model;
class Absenteismo extends Model
{
protected $table = 'absenteismos';
protected $fillable=
[
'matricula',
'nome',
'cargo',
'lotacao',
'data_evento',
'mot... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "tabel_hari".
*
* @property int $id_hari
* @property string $hari
* @property string $code
*/
class TabelHari extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
ret... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProductsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('products', fun... |
<?php
namespace App\Providers;
use App\Actions\Jetstream\AddTeamMember;
use App\Actions\Jetstream\CreateTeam;
use App\Actions\Jetstream\DeleteTeam;
use App\Actions\Jetstream\DeleteUser;
use App\Actions\Jetstream\InviteTeamMember;
use App\Actions\Jetstream\RemoveTeamMember;
use App\Actions\Jetstream\UpdateTeamName;
us... |
<!-- Sidebar Widgets Column -->
<div class="col-md-4"><!-- Search Widget -->
<div class="card my-4"><h5 class="card-header">Search</h5>
<div class="card-body">
<div class="input-group"><input type="text" class="form-control" placeholder="Search for...">
<span class="input-group-b... |
@extends('layouts.app')
@section('content')
<div class="row">
<div class="col-12">
<div class="page-title-box">
<div class="page-title-right">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item">
<i clas... |
<?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
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRoundsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('rounds', functio... |
<?php
namespace Affirm\Telesales\Controller\Payment;
use Magento\Framework\App\Action\Action;
use Magento\Framework\App\Action\Context;
use Magento\Framework\App\CsrfAwareActionInterface;
use Magento\Framework\App\RequestInterface;
use Magento\Framework\App\Request\InvalidRequestException;
use Magento\Framework\Except... |
<div>
<div>
<div>
<x-flash></x-flash>
<h2>Inventory</h2>
<hr>
@php
$bomItemsArr = $bomItems->toArray();
$from = isset($bomItemsArr['from']) ? $bomItemsArr['from'] : 1;
$total = isset($bomItemsArr['total']) ? $bom... |
<?php
namespace Ocademy\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
abstract class Request extends FormRequest
{
//
} |
@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">Dashboard</div>
<div class="card-body">
<table class="table table-... |
<?php
namespace vblog;
use Illuminate\Database\Eloquent\Model;
class Blog extends Model
{
protected $fillable = ['title','description'];
public function posts()
{
$this->hasMany('vblog\Post');
}
public function pages()
{
$this->hasMany('vblog\Page');
}
public function the... |
<?php
// # Delete Webhook Sample
//
// This sample code demonstrate how to use this call to search for all webhook events., as documented here at:
// https://developer.paypal.com/docs/api/#delete-a-webhook
// API used: DELETE v1/notifications/webhooks/<Webhook-Id>
// ## Get Webhook Instance
/** @var \PayPal\Api\Webh... |
<?php
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Framework;
use DeepCopy\DeepCopy;
use PHPUnit\Framework\Constraint\Except... |
<?php
namespace ClientBundle\Controller;
use AppBundle\Entity\Categoryt;
use AppBundle\Entity\Ticket;
use AppBundle\Form\TicketType;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\Fil... |
@extends("Backend.layouts.app")
@section("title", "Management - Permission")
@section("content")
<!-- start::Page Header -->
@component('Backend.management.components.management-nav')
@slot('pageTitle')
Permissions
@endslot
@endcomponent
<!-- end::Page Header -->
<div class="container-fluid">
<d... |
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Home_Model extends CI_Model
{
public function contact()
{
$data = [
'name' => htmlspecialchars($this->input->post('name', true)),
'email' => htmlspecialchars($this->input->post('email', true)),
... |
<?php
namespace N98\Magento\Command\Eav\Attribute;
use Magento\Eav\Model\Config as EavConfig;
use Magento\Eav\Setup\EavSetup;
use Magento\Eav\Setup\EavSetupFactory;
use N98\Magento\Command\AbstractMagentoCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
us... |
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\ReferentielRepository;
use Doctrine\Common\Collections\Collection;
use ApiPlatform\Core\Annotation\ApiResource;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Val... |
<?php
/**
* InsertAssetSubLocationChain Libraries Class
*
* This is a Asset Chain Class use for create new Asset
*
*/
defined('BASEPATH') OR exit('No direct script access allowed');
require_once('AbstractAssetChain.php');
require_once( __DIR__.'/../../LogClass.php');
/**
* InsertAssetSubLocationChain Libraries ... |
<?php
namespace Gedmo\Blameable\Mapping\Driver;
use Gedmo\Mapping\Driver\AbstractAnnotationDriver,
Doctrine\Common\Annotations\AnnotationReader,
Gedmo\Exception\InvalidMappingException;
/**
* This is an annotation mapping driver for Blameable
* behavioral extension. Used for extraction of extended
* metad... |
<?php
namespace Kunstmaan\LeadGenerationBundle\Tests\Entity\Rule;
use Kunstmaan\LeadGenerationBundle\Entity\Rule\MaxXTimesRule;
use Kunstmaan\LeadGenerationBundle\Form\Rule\MaxXTimeAdminType;
use PHPUnit\Framework\TestCase;
class MaxXTimesRuleTest extends TestCase
{
public function testGettersAndSetters()
{
... |
@extends('layouts.app')
@push('add-on-style')
<link rel="stylesheet" href="{{ asset('backend/assets/css/lib/datatable/dataTables.bootstrap.min.css') }}">
@endpush
@section('content')
<div class="breadcrumbs">
<div class="breadcrumbs-inner">
<div class="row m-0">
<div class="col-sm-4">
... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Oauth2 SocialAuth for CodeIgniter
* 腾讯微博 Provider
*
* @author chekun <234267695@qq.com>
*/
class OAuth2_Provider_Tweibo extends OAuth2_Provider
{
public $name = 'tweibo';
public $human = '腾讯微博';
public $uid_key = 'op... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePublicationsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('publicatio... |
<footer>
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-md-8 bg-light border-top border-1">
<div class="row justify-content-center">
<div class="col-md-6 pt-2">
<ul class="foot... |
<!DOCTYPE HTML>
<html>
<?php include('head.php'); ?>
<body>
<?php include('menu.php'); ?>
<div id="background4"></div>
<div class="content background4">
<div class="info-box info-box0 info-box-relative">
<div class="featured">
<h2>IT experts recruitment</h2>
<p>
Recruitment of IT exper... |
<?php
/* ---------------------------------------------------------------------------
top menu - MENUS MUST HAVE THE FOLLOWING NAMES:
td-demo-top-menu
td-demo-header-menu
td-demo-footer-menu
*/
//main menu
$td_demo_header_menu_id = td_demo_menus::create_menu('td-demo-header-menu', 'header-menu');
//f... |
<!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">
<title>ระบบสารสนเทศ</title>
<!-- Bootstrap -->
<link rel="shortcut icon" href="<?php echo base_url();?>assets/img/favicon... |
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
/*
curl_setopt($ch, CURLOPT_URL, 'http://www.pantherdb.org/webservices/garuda/search.jsp?type=organism');
curl_setopt($ch, CURLOPT_POSTFIELDS, 'type=organism');
*/
//Set the Url
curl_setopt($ch, CURLOPT_URL, 'http://pantherdb.org/webservices/g... |
<?php
namespace QurirQ;
use Illuminate\Database\Eloquent\Model;
class JurnalKeuangan extends Model
{
protected $table = "jurnal_keuangan";
public $timestamps = false;
} |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Common;
use App\Models\Doc;
use App\Models\DocType;
use App\Models\hrRequest;
use App\Models\hrApp;
use App\Models\hrContract;
use App\Models\Emp;
use App\Models\EmpClass;
use App\Models\EmpPosition;
use App\Models\jobtitle;
use Auth;
... |
<?php
use Illuminate\Database\Seeder;
class UserAdminTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
DB::table('users')->insert([
'name'=>'Yarmi',
'email'=>'yarmi@gmail.com',
'... |
<?php
/**
* POSTRevenueScheduleByChargeResponseType
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author http://github.com/swagger-api/swagger-codegen
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License v2
* @link https://github.com/swagger-api/swagger-codegen
*/
... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Modules\FrontendCMS\Entities\Pricing;
class CreatePricingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
... |
<div id="header_nav" class="header-nav">
<nav class="navbar">
<div class="container">
<div class="row block-navbar">
<div class="col-md-12">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\StateStoreRequest;
use App\Http\Requests\StateUpdateRequest;
use App\Models\State;
use Illuminate\Http\Request;
class StateController extends Controller
{
/**
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
... |
<?php
namespace App\Http\Controllers\Back;
use App\Http\Controllers\Controller;
use App\Models\{ User, Post, Comment };
use Illuminate\Support\Facades\DB;
class AdminController extends Controller
{
public function index(Post $post, User $user, Comment $comment)
{
$users = isRole('admin') ? $this->ge... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Model;
use Faker\Generator as Faker;
$factory->define(\App\producto::class, function (Faker $faker) {
return [
'SKU'=> $faker->unique()->bothify('??######'),
'nombre' => $faker->word,
'cantidad'=>$faker->numberBetwee... |
@extends('layouts.main')
@section('title','Criar Evento')
@section('content')
<div id="event-create-container" class="col-md-6 offset-md-3">
<h1> Crie seu Evento</h1>
<form action="/events" method="POST" enctype="multipart/form-data">
@csrf
<div class="form-group">
<label for="t... |
<?php
namespace Database\Factories;
use App\Models\Booking;
use Illuminate\Database\Eloquent\Factories\Factory;
class BookingFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Booking::class;
/**
* Define the mode... |
<?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('suppliers', f... |
<?php
namespace app\widgets\actividad;
use Yii;
use yii\base\Widget;
use yii\helpers\Html;
use app\models\Actividad;
use app\models\ObjetivoEspecifico;
use app\models\Proyecto;
use app\models\PlanPresupuestal;
use app\models\Integrante;
use app\models\Equipo;
use app\models\Estudiante;
use app\models\Usuario;
use app... |
<?php
class ControllerAmazonusListing extends Controller {
public function index() {
if ($this->config->get('amazonus_status') != '1') {
return;
}
$this->load->library('log');
$this->load->library('amazonus');
$this->load->model('openbay/amazonus_listing');
$this->load->model('openbay/amazonus_product'... |
<?php // phpcs:ignore Internal.NoCodeFound ?>
{{schema name="yoast/recipe-instructions" only-nested=true}}
{{recipe-instructions name="instructions" tag="li" allowed-tags=[ "h1","h2","h3","h4","h5","h6","br","a","p","b","strong","i","em" ] }} |
<?php
namespace App\Http\Controllers\Admin;
use App\User;
use App\Models\Product;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Notifications\ProductDeactivated;
use Illuminate\Support\Facades\Notification;
class ProductController extends Controller
{
/**
* Display a listing of t... |
<?php
use yii\db\Migration;
/**
* Handles the creation of table `{{%diagnosa}}`.
* Has foreign keys to the tables:
*
* - `{{%kunjungan}}`
* - `{{%penyakit}}`
*/
class m201113_134155_create_diagnosa_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.