text
stringlengths
2
1.03M
<<<<<<< HEAD <?php session_start() ?> <?php if(isset($_POST['email'])){ $email=$_POST["email"]; $matkhau=md5($_POST["password"]); require "mysql/conn.php"; $sql="select * from nguoidung where email='".$email."'and matkhau='".$matkhau."'"; $kiemtra=mysqli_query($con,$sql); if($row=mysq...
<?php foreach ($tampil_data->result() as $key ) {?> <div class="modal fade" id="exampleModalCenter<?php echo $key->id ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <d...
<?php namespace Picqer\Barcode; use Picqer\Barcode\Exceptions\BarcodeException; class BarcodeGeneratorPNG extends BarcodeGenerator { /** * Return a PNG image representation of barcode (requires GD or Imagick library). * * @param string $code code to print * @param string $type type of barcod...
<?php /* Cachekey: cache/stash_default/overrides.9ba8cf0612f580321a3d27d880a38b9f/ */ /* Type: array */ /* Expiration: 2018-04-07T02:03:39+02:00 */ $loaded = true; $expiration = 1523059419; $data = array(); /* Child Type: object */ $data['return'] = unserialize(base64_decode('Tzo0MzoiQ29uY3JldGVcQ29yZVxGaWxlc3lzd...
<script type="text/javascript"> $(document).ready(function(){ MQS.init(1); $(document).ready(function() { $(MQS).ready(function() { var qParams1Questions = new Array( 'Option 1', 'Option 2', 'Option 3', 'Option 4' ); var buttonCoords = []; buttonCoords[0] = new Array(472,261); b...
<?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 /***************************************************************************** * © 2013 Cart-Power * * __ ______ __ ____ * * / / / ____/___ ______/ /_ / __ \____ _ _____ _____ ...
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use App\Http\Requests\CreateModuleRequest; class UpdateModuleRequest extends CreateModuleRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize()...
<?php /** * attachment actions. * * @package test * @subpackage attachment * @author Your name here * @version SVN: $Id: actions.class.php 14010 2008-12-13 14:27:57Z Kris.Wallsmith $ */ class attachmentActions extends sfActions { public function executeIndex($request) { $this->form = new Attac...
<?php namespace App\Console\Commands; use Illuminate\Console\Command; use App\Jobs\SendPrice; use App\Http\Controllers\amoController; class price extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'send:price'; /** * ...
<?php namespace App\Logic\Middlewares\Logic; use Sim\Abstracts\Mvc\Controller\Middleware\AbstractMiddleware; use Sim\Form\Validations\PersianMobileValidation; class RegisterMobileCheckMiddleware extends AbstractMiddleware { public function handle(...$_): bool { $mobile = session()->getFlash('register...
<?php /* * Copyright 2015 be.wan s.p.r.l. * * 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 law or agre...
<?php declare(strict_types=1); namespace KejawenLab\Application\SemartHris\Form\Type; use KejawenLab\Application\SemartHris\Util\MonthUtil; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\OptionsResolver\OptionsResolver; /** * @author Muhama...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateArticlesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('articles', fun...
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\KelompokAkun; use App\Akun; use DB; class KelompokAkunController extends Controller { /** * Display a listing of the resource. * * * @return \Illuminate\Http\Response */...
<?php namespace Pure\Requests\BuddyPress\Activities{ class Core{ private function validate(&$parameters, $method){ switch(preg_replace("/.*(?=\:\:)(\:\:)/", '', $method)){ case 'get': $parameters->object_type = (string )($parameters->object_type ); ...
@extends('admin.layout') @section('custom-container') <h3>QUẢN LÝ NGƯỜI DÙNG</h3> <table class="table"> <thead class="thead-light"> <tr> <th>#</th> <th>Name</th> <th>Email</th> <th>Phone_number</th> <th>Address</th> <th>Role</th> <th>Show</th> ...
<?php namespace backend\modules\ticket; use Yii; class Ticket extends \yii\base\Module { public $controllerNamespace = 'backend\modules\ticket\controllers'; /** * Font-Awesome icon class * @return string */ public static function getIcon() { return 'fa-ticket'; } publi...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddOnSaleToProducts extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('products', func...
<x-app-layout> <div class="row justify-content-center"> <div class=" col "> <div class="card"> <div class="card-header border-0"> <div class="row align-items-center"> <div class="col"> <h3 class="mb-0">{{ __(...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<style type="text/css"> .checkmark_all{ margin-top:10px; } </style> <div class="box"> <?php $data['buttons'] = ['save','close']; // add, save, update $this->load->view("content_management/template/buttons", $data); ?> <form id="submit_form"> <div class="box-body"> <?php $inputs = [ ...
<?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 RectorPrefix20210719\Symfony\Component\DependencyInjection\Dumper; use R...
<?php use yii\helpers\Url; ?> <?php $this->context->layout = 'price'; ?> <?php $this->title = 'neil5art'; $this->registerMetaTag([ 'name' => 'description', 'content' => 'школа обучения маникюра рисунки гелями' ]); $this->registerMetaTag([ 'name' => 'keywords', 'content' => 'методика гель типсы перманентный макияж' ])...
<?php namespace App\Form\Handler; use App\Entity\Comment; use App\Entity\Trick; use App\Entity\User; use Symfony\Component\Form\FormInterface; class AddCommentHandler { public function handle(FormInterface $form, Trick $trick, User $user) { /** @var Comment $comment */ $comment = $fo...
<?php class UserControllerTest extends TestCase { public function tearDown() { Mockery::close(); parent::tearDown(); } public function testIndex() { // user mock $userMock = Mockery::mock('ApiDemo\Repositories\Contracts\UserRepositoryContract'); $userMock->s...
<?php use yii\helpers\Html; use yii\helpers\Url; /* @var $this yii\web\View */ /* @var $model app\models\TransmissionNetwork */ $this->title = Yii::t('models', 'New Transmission Network'); $this->params['breadcrumbs'][] = ['label' => $model->getAliasModel(TRUE), 'url' => ['index']]; $this->params['breadcrumbs'][] ...
@extends('layouts.admin') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-header">{{ __('Dashboard') }}</div> <div class="card-header"> <b>Data Kota</...
<!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"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Lara...
<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace Application\Form\Fieldset\Sponsor; /** * Description of Login fieldset * * @author hkumwembe */ use Zend\Form\F...
<?php namespace Drupal\commerce_price\Plugin\Field\FieldFormatter; use Drupal\commerce\Context; use Drupal\commerce\PurchasableEntityInterface; use Drupal\commerce_price\NumberFormatterFactoryInterface; use Drupal\commerce_price\Resolver\ChainPriceResolverInterface; use Drupal\commerce_store\CurrentStoreInterface; us...
<?php namespace QuickBooksOnline\API\Data; /** * @xmlNamespace http://schema.intuit.com/finance/v3 * @xmlType string * @xmlName IPPTemplateTypeEnum * @var IPPTemplateTypeEnum * @xmlDefinition Product: ALL Description: Enumeration of template types. */ class IPPTemplateTypeEnum { /** ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateDownloadTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('download', function(Blueprint $table) { $table->integer('id_download', tru...
@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"> @if (session('status')) ...
<?php namespace Oenstrom\Page; use \Anax\DI\InjectionAwareInterface; use \Anax\DI\InjectionAwareTrait; use \Anax\Page\PageRenderInterface; /** * A default page rendering class. * @SuppressWarnings(PHPMD.ExitExpression) */ class PageRender implements PageRenderInterface, InjectionAwareInterface { use Injection...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateParticpentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('particpents...
<?php // This file is auto-generated, don't edit it. Thanks. namespace Alipaycloud\EBC\Models; use AlibabaCloud\Tea\Model; class CancelPersonResponse extends Model { public function validate() {} public function toMap() { $res = []; return $res; } /** * @param array $map * @...
#!/usr/bin/php <?php ini_set('memory_limit','512M'); require_once("./../inc/xml2array.inc.php"); scan_kml("./world.kml"); $for_deletion = array(); function scan_kml($filepath) { $obj = xml2array(file_get_contents($filepath)); if (!empty($obj["kml"]["Document"]["Folder"])) { foreach($obj["kml"]["Document"]...
@extends('FrontEnd.layout') @push('css') @endpush @section('content') <!-- Content --> <div class="page-content bg-white"> <!-- inner page banner --> <div class="dez-bnr-inr overlay-black-middle" style="background-image:url(../FrontEnd/images/banner/bnr2.jpg);"> <div class="container"> ...
<?php $name = $_POST['Name']; $visitorEmail = $_POST['Email']; $message = $_POST['Message']; $telnum = $_POST['Tel']; $email_from = "contact@voltercables.com.pk"; $email_subject = "User Contact"; $email_body = "Name : $name \n". "Email : $visitorEmail \n". "Number : $telnum \n". "Message : $...
<?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 return [ 'proceed_to_payPal' => 'Proceed to PayPal', 'proceed_to_stripe' => 'Proceed to Stripe', 'place_order' => 'Place Order', 'please_enter_valid_em...
<?php /** * @var \App\Mainframe\Features\Report\ReportBuilder $report * @var \Illuminate\Database\Query\Builder $dataSource * @var \Illuminate\Pagination\LengthAwarePaginator $result * @var int $total Total number of rows returned * @var \App\Mainframe\Features\Report\ReportViewProcessor $view * @var string $path...
<?php $type = 'Core'; $name = 'Times-Roman'; $up = -100; $ut = 50; $cw = array( chr(0)=>250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,ch...
<?php namespace App\Http\Controllers\Api; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Listing; use App\Auth; use App\Http\Resources\ListingResource; class ListController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Respon...
<?php namespace Bavix\Wallet\Test\Factories; use Bavix\Wallet\Test\Models\Buyer; use Illuminate\Database\Eloquent\Factories\Factory; class BuyerFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Buyer::class; /** ...
<!doctype html> <html lang="{{ app()->getLocale() }}"> <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 href="https://...
<?php /** * PHPUnit * * Copyright (c) 2002-2013, Sebastian Bergmann <sebastian@phpunit.de>. * 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 ...
<footer class="footer-area section-padding-80-0"> <div class="container"> <div class="row justify-content-between"> <!-- Single Footer Widget --> <div class="col-12 col-sm-6 col-md-4"> <div class="single-footer-widget mb-80"> ...
@extends('layout.room') @section('tittle') <div class="row"> <div class="col-md-4"> <h4>Chỉnh sửa phòng</h4> @if(Session::has('success')) <p class="text-success">{{Session::get('success')}}</p> @endif </div> <div class="col-md-7"> <form class="navbar-form navbar-left...
<?php namespace App\Http\Controllers\Admin; use App\Models\Up; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class UpController extends Controller { // public function index() { $pageData['upList'] = Up::orderby('id', 'desc')->paginate(); return view('admin.up.index', ...
@extends('admin.master') @section('content') <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header card-header-primary"> <h4 class="card-title">Add Admin</h4> </div> <div class="card-body"> ...
<?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. */ namespace Phalcon\Forms\Element; use Phalcon\Tag; /** * Component TEXTAREA for forms...
<?php namespace Xcore\Generator\Tests\Data\AssertMapping\DateTime; use Doctrine\ORM\Mapping as ORM; /** * Author * * @ORM\Table() * @ORM\Entity */ class Author { use AuthorTrait; }
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProductop4Table extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('koi_productop4', function (Blueprint $table) { ...
<?php /** * @version $Id: menu.php 9764 2007-12-30 07:48:11Z ircmaxell $ * @package Joomla * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant to the * GNU General Public Li...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSystemPasswordResetsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('sy...
<?php declare(strict_types=1); namespace Muffin\Trash\Model\Behavior; use ArrayObject; use Cake\Core\Configure; use Cake\Database\Expression\BetweenExpression; use Cake\Database\Expression\ComparisonExpression; use Cake\Database\Expression\IdentifierExpression; use Cake\Database\Expression\UnaryExpression; use Cake\D...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class ProfSkill extends Model { use HasFactory; protected $fillable = [ 'name_profskill', 'user_id', 'percent' ]; public function user() { ...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <script> window.Laravel = <?php ech...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; class ResetPasswordController extends Controller { /* |-------------------------------------------------------------------------- | Password Reset Controller |--------------...
@extends( config('laravel-h5p.layout') ) @section( 'h5p' ) <div class="container-fluid"> <h1>Admin H5P</h1> <div class="row"> <div class="col-md-9"> <div class="panel panel-primary"> {!! Form::open(['route' => ['h5p.library.store'], 'id'=>'h5p-library-form', 'class'=>'for...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class Check { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) ...
@component('mail::message') # Welcome Hi {{ $user->name }} <br> Welcome to Laracamp, your account has been created successfully. Now you can choose your best Camp! @component('mail::button', ['url' => route('login')]) Login Here @endcomponent Thanks,<br> {{ config('app.name') }} @endcomponent
<form action="<?= base_url('PSD/import_excel'); ?>" method="post" enctype="multipart/form-data"> <div class="row"> <div class="col-sm-12"> <section class="panel"> <header class="panel-heading"> <span <?php echo $My_Controller->savePermission; ?>> </span> ...
<?php $foo = (int) $bar; $foo = (int) $bar;
<!-- 用于展示用户提取记录 --> @extends('common/layout') @section('javascript') <link rel="stylesheet" href="//apps.bdimg.com/libs/jqueryui/1.10.4/css/jquery-ui.min.css"> <script src="//apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script> <script src="//apps.bdimg.com/libs/jqueryui/1.10.4/jquery-ui.min.js"></script> <scr...
<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="X-UA-Compatible"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min....
<?php namespace Amp\Parallel\Context\Internal; use Amp\Loop; use Amp\Parallel\Sync; use function Amp\call; // Doesn't exist in phpdbg... if (\function_exists("cli_set_process_title")) { @\cli_set_process_title("amp-process"); } // Redirect all output written using echo, print, printf, etc. to STDERR. \ob_start(...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link href="https://stackpath.bootstrapcdn.com/bootstrap/4....
<?php //echo '<pre>'; print_r($this->session->all_userdata()); ?> <script type="text/javascript"> $(document).ready(function() { var count_day_1 = $('.hidden_count_day_1').val(); var count_day_2 = $('.hidden_count_day_2').val(); var count_label = 1; var count_label2 = 1; var ite_1 = count_day_1; var it...
<?php /** * Template Name: Contact Us * * @since 1.0.0 * @author Kenji */ get_header(); ?> <div class="container-fluid"> <div class="breadcrumbs"> <ul> <li><a href="<?php echo esc_url(home_url( '/' )); ?>">Home</a></li> <li><?php the_title(); ?></li> </ul> </div> ...
<?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 use yii\helpers\Html; use yii\bootstrap\ActiveForm; /* @var $this yii\web\View */ /* @var $model common\models\ArticleCategory */ /* @var $form yii\bootstrap\ActiveForm */ ?> <div class="article-category-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'slug')->textInput(['maxlen...
@extends('plantilla2') @section('titulo') <img src="../../img/n1.jpg" width="30" height="30" class="d-inline-block align-top" alt=""> <label class="mx-sm-2">Gestión de Pagos Empresa</label> @endsection @section('domicilio') @if (session('estado')) <div class="alert alert-success alert-dismi...
<?php /** * LaraClassified - Geo Classified Ads CMS * Copyright (c) BedigitCom. All Rights Reserved * * Website: http://www.bedigit.com * * LICENSE * ------- * This software is furnished under a license and may be used and copied * only in accordance with the terms of such license and with the inclusion * of ...
<?php namespace Crater\Http\Controllers\V1\Update; use Crater\Http\Controllers\Controller; use Illuminate\Http\Request; use Crater\Space\Updater; class DeleteFilesController extends Controller { /** * Handle the incoming request. * * @param \Illuminate\Http\Request $request * @return \Illum...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\BankController; use App\Http\Controllers\ExportController; use App\Http\Controllers\AccountController; use App\Http\Controllers\SavingAccountController; use App\Http\Controllers\RegularAccountController; /* |-----------------------------------------...
<?php namespace app\controllers; use Yii; use app\models\GoodGroup; use app\models\GoodGroupSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * GoodGroupController implements the CRUD actions for GoodGroup model. */ class GoodGroupController extends Controller { ...
<div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Tambah Kategori</h1> </div> <!-- /.col-lg-12 --> </div> <!-- /.row --> <div class="row"> <div class="col-lg-12"> <div class="panel panel-default"> ...
<?php /* * This file is part of the Ocrend Framewok 3 package. * * (c) Ocrend Software <info@ocrend.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace app\models; use app\models as Model; use Ocrend\Kernel\Helpers as...
<?php namespace Modules\Expense\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; class ExpenseController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() ...
<?php /** * Ensures that the ++ operators are used when possible. * * @author Greg Sherwood <gsherwood@squiz.net> * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) * @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence */ namespace PHP_CodeSniffer\Standards\Squiz...
<?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 defined('BASEPATH') OR exit('No direct script access allowed'); class Lib { public function print_r2($var) { ob_start(); $str = ob_get_contents(); ob_end_clean(); $str = preg_replace("/ /", "&nbsp;", $str); echo nl2b...
<?php declare(strict_types=1); namespace Autoeuro\Api; use JMS\Serializer\Annotation; /** * Class SearchProductsSets * @package Autoeuro\Api * * @property array<ProductVariant> $variants * @property array<SearchProduct> $codes * @property array<SearchProduct> $crosses */ class SearchProductsSets extends ApiRe...
<?php namespace Flameh\Wechat\Menu; use Flameh\Wechat\Bridge\Http; use Flameh\Wechat\Wechat\AccessToken; class Create { /** * 接口地址 */ const CREATE_URL = 'https://api.weixin.qq.com/cgi-bin/menu/create'; const CREATE_CUSTOMIZE_URL = 'https://api.weixin.qq.com/cgi-bin/menu/addconditional'; /...
<!-- HEAD --> <?php require_once("library/head-utils.php");?> <body class="sfooter"> <div class="sfooter-content"> <!-- HEADER AND NAVBAR --> <?php require_once("library/header.php");?> <main class="class"> <form class="form-horizontal"> <fieldset> <!-- TEXT INPUT --> <!-- INSERT CLOUDINARY...
<?PHP include_once("init.php"); $ID1 = $_POST['Sender_cn']; $ID2 = $_POST['Subject_cn']; $ID3 = $_POST['Subject_description']; $ID4 = $_POST['Messsage']; $ID5 = $_POST['File_path']; $query = "call sp_insert_suggestion('$ID1','$ID2','$ID3','$ID4','$ID5')"; $result = mysqli_query($con,$query); if($result) {echo "Sa...
<?php declare(strict_types=1); namespace App\Http\Requests\Api\Wiki\Anime; use App\Http\Api\Query\Base\EloquentWriteQuery; use App\Http\Api\Query\Wiki\Anime\AnimeWriteQuery; use App\Http\Api\Schema\EloquentSchema; use App\Http\Api\Schema\Wiki\AnimeSchema; use App\Http\Requests\Api\Base\EloquentDestroyRequest; /** ...
<?php /** * @file * Contains \Drupal\ckeditor\Plugin\CKEditorPlugin\DrupalImageCaption. */ namespace Drupal\ckeditor\Plugin\CKEditorPlugin; use Drupal\Component\Plugin\PluginBase; use Drupal\editor\Entity\Editor; use Drupal\ckeditor\CKEditorPluginInterface; use Drupal\ckeditor\CKEditorPluginContextualInterface; ...
<?php namespace shop\entities\Shop; use paulzi\nestedsets\NestedSetsBehavior; use shop\entities\behaviors\MetaBehavior; use shop\entities\Meta; use shop\entities\Shop\queries\CategoryQuery; use yii\db\ActiveRecord; /** * @property integer $id * @property string $name * @property string $slug * @property string ...
@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 Pharmacie') }}</div> <div class="card-body"> @if ...
<?php /** * This file is part of `lemonphp/http` project. * * (c) 2015-2016 LemonPHP Team * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ // Set timezone date_default_timezone_set('UTC'); // Enable Composer autoloader /** @var \Composer\Autoloa...
<?php use Faker\Generator as Faker; use App\Product; $factory->define(Product::class, function (Faker $faker) { return [ 'name' => substr($faker->sentence(3), 0, -1), 'description' => $faker->sentence(10), 'long_description' => $faker->text, 'price' => $faker->randomFloat(2,5,150),...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Evidence */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Evidences', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="evidence-view"> <h1>...
<?php $agenda = array("nome" => "Thiago","sobrenome" =>"Mendes", "Salario" => 250000.89); ?> <!doctype html> <html> <head> <meta charset="UTF-8"> <title>Curso PHP FUNDAMENTAL</title> </head> <body> <pre> <?php print_r($agenda); ?> ...
<?php namespace App\Http\Controllers; use App\Http\Requests\TransactionPostRequest; use App\Http\Controllers\GenericController; use App\Methods\GenericMethod; use App\Methods\TransactionValidationMethod; use App\Models\Transaction; use App\Models\POBatch; use App\Models\RRBatch; use App\Models\ReferrenceBatch; use Ap...
<h2 class="text-center color-black">@lang('page.top')</h2> <div class="container"> <div class="row"> @isset($top_products) @foreach($top_products as $product) @if($product->is_top === 1) <div class="col-sm-6 col-md-3"> <div class="thum...