lang
stringclasses
10 values
seed
stringlengths
5
2.12k
php
</div> </div> </div> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-12"> <div class="form-group">
php
@section('content') {{-- <h1>Edit infomation</h1> --}} <p> This is edit page</p> {!! Form::open(['action' => ['App\Http\Controllers\MessagesController@update', $message->id], 'method' => 'POST']) !!} {{ csrf_field() }} <div class="form-group"> {{Form::label('content', 'content')}} {{Form::text('content',$message->content, ['class' => 'form-control', 'placeholder' =>"" ])}} </div> {{Form::submit('Update this message', ['class' =>'btn btn-primary'])}} {{Form::hidden('_method','PUT')}}
php
*/ public static function create($modelAlias = null, Criteria $criteria = null) { if ($criteria instanceof ChildPrestamoQuery) { return $criteria;
php
protected $itemsPerPage = 10; public function __construct()
php
{ $code = $this->faker->ean13(); self::assertMatchesRegularExpression('/^\d{13}$/i', $code); self::assertTrue(Ean::isValid($code)); } public function testIsbn10(): void { $code = $this->faker->isbn10(); self::assertMatchesRegularExpression('/^\d{9}[0-9X]$/i', $code); self::assertTrue(Isbn::isValid($code)); } public function testIsbn13(): void {
php
use OpenApi\Attributes\OpenApiAttributeInterface; use Psr\Log\LoggerInterface; use Psr\Log\NullLogger; class MapperSerializer extends DefaultSerializer {
php
} } public function executeTags(){ if(in_array($this->template->getFileInfo()["extension"], $this->template->getAllowedExtensionsForTags())){ $this->getTags($this->dom); }
php
<ul> <li><a href="/medicine" target="contentFrame"><label>Medicine List</label></a></li><br><br> <li><a href="/cart" target="contentFrame"><label>cart</label></a></li><br><br> <li><a href="/blacklisted" target="contentFrame"><label>Black Listed Drugs</label></a></li><br><br> </ul> </font> </td> <td> <fieldset> <legend><b>MY CART</b></legend>
php
ModelElementInstanceImpl, ModelTypeInstanceContext }; use BpmPlatform\Model\Xml\Type\ModelTypeInstanceProviderInterface; use Tests\Xml\TestModel\TestModelConstants;
php
/** * Get the specified number of random bytes using Windows' * randomness source via a COM object previously created by UUID::initRandom(). * Randomness is returned as a string of bytes. * * Straight binary mysteriously doesn't work, hence the base64 * * @param int $bytes * @return string */ protected static function randomCOM ($bytes) { return base64_decode(self::$randomSource->GetRandom($bytes, 0));
php
<?php class Form extends CI_Controller { public function __construct()
php
*/ protected $table = 'terms_conditions'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = ['is_active']; /** * Relationship with the App\Models\Company model. * * @return Illuminate\Database\Eloquent\Relations\hasMany
php
<?php return [ 'loadFail' => 'Error loading file {0}: {1}', 'missingClass' => 'Could not locate {1} in {0}', 'invalidFormat' => 'Required properties missing from class: {0}', ];
php
}', 'type' => 'select_dropdown', 'order' => 9, 'group' => 'Auth', ), 12 => array ( 'id' => 15, 'key' => 'auth.verify_email', 'display_name' => 'Verify Email during Sign Up', 'value' => '0', 'details' => NULL, 'type' => 'checkbox', 'order' => 10, 'group' => 'Auth',
php
<?php $this->load->view('templates/head'); ?> </head> <body class="auth"> <div id="infoMessage"><?php echo $message;?></div> <div class="container text-center"> <div class="main_container"> <h1><?php echo lang('forgot_password_heading');?></h1> <div class="form-login"> <p><?php echo sprintf(lang('forgot_password_subheading'), $identity_label);?></p> <?php echo form_open("auth/forgot_password", array('id' => 'myform', 'novalidate' => '', 'class' => 'form-horizontal form-label-left'));?> <div class="item form-group"> <?php echo form_input($identity);?>
php
* @param int $n - number of model form. */ public function copyModel(int $n = -1): void { if ($n === -1) { $selector = "div.item:last-child button[class*='copy']"; } else { $selector = "div.item:nth-child($n) button[class*='copy']"; } $this->clickElement($selector); } /**
php
/** * @param int|string $name * * @return PHPNamespace */ public function buildNamespace($name = PHPNamespace::NO_NAMESPACE); /** * @param string $name *
php
->add('codigo') ->add('descripcion') ->add('tipo', "entity", array( 'class' => 'MagypRendicionDeCajaBundle:ImputacionTipo', 'property' => 'nombre', 'label' => 'Tipo', )) ; } public function setDefaultOptions(OptionsResolverInterface $resolver)
php
@else {!! Form::open(array('url' => URL::to('admin/staff'), 'method' => 'post', 'class' => 'bf','id'=>'fupload', 'files'=> true)) !!} @endif <!-- Tabs Content --> <div class="tab-content"> <!-- General tab --> <div class="tab-pane active" id="tab-general"> <div class="form-group"> <label>Email</label><sup class="danger"><b>*</b></sup> <span class="input-icon"> <input @if(isset($staff)){{"disabled"}}@endif type="email" class="form-control" name="txtEmail" placeholder="Please Enter Email" value="{!! old('txtEmail',isset($staff)? $staff['email'] :null)!!}"/> <i class="fa fa-envelope info circular"></i> </span> @if($errors->has('txtEmail'))<span class='help-block'>{{$errors->first('txtEmail', ':message')}}</span>@endif </div>
php
<?php if(isset($_POST['edit_submit'])){ file_put_contents('templates/modules/main/text.tpl', $_POST['html']); header('Location: /main/'); exit; }else{ $_POST['html'] = file_get_contents('templates/modules/main/text.tpl'); } ?>
php
class Home extends BaseController { public function index() {
php
<?php final class GPURLControllerHandler extends GPURIControllerHandler { public function handle($method, array $args) { return GPConfig::get()->domain.parent::handle($method, $args); } }
php
<gh_stars>0 <?php namespace App\Models; use Illuminate\Database\Eloquent\Model;
php
{{-- if parent category selected --}} @if ($category->slug == $categoryRoot->slug) {{ $categoryRoot->title }} @else {{-- if sub category selected --}} <a href="{{ route('blog.posts.category', ['slug' => $categoryRoot->slug]) }}"> {{ $categoryRoot->title }} </a> @endif <!-- category herit:start -->
php
<br> {!! Form::label('body', 'Body:') !!} {!! Form::textarea('body') !!} <br> {!! Form::submit('Guardar') !!} {!! Form::close() !!}
php
} DB::commit(); return response()->json(['temperature' => $temp, 'tracks' => $songs], 200);
php
* @inheritdoc */ public static function tableName() { return 'attachment'; } /** * @inheritdoc */ public function rules() { return [ [['filename', 'path', 'filesize', 'entityID'], 'required'],
php
</div> </div> </div> <div class="footer"> <div class="footer-inner"> <!-- #section:basics/footer --> <div class="footer-content"> <span class="bigger-120">
php
@extends('layouts.main') @section('content') <section> <x-main-carousel /> </section> @endsection
php
| routes are loaded by the RouteServiceProvider within a group which | contains the "web" middleware group. Now create something great! | */ /* * Home Page */ Route::get('/', [WelcomeController::class, 'index'])->name('welcome'); /* * Shop */ Route::name('shop.')->prefix('shop')->group(function() { Route::get('/', [ShopController::class, 'index'])->name('index');
php
namespace RectorPrefix20210904\TYPO3Fluid\Fluid\Core\ViewHelper; if (\class_exists('TYPO3Fluid\\Fluid\\Core\\ViewHelper\\AbstractTagBasedViewHelper')) { return; } abstract class AbstractTagBasedViewHelper extends \RectorPrefix20210904\TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper {
php
<script> window.cookieLaw = (function() { function acceptCookies() { var date = new Date(); date.setTime(date.getTime() + ({{ Config::get('cookie-law::cookie-law.cookie_lifetime') }} * 24 * 60 * 60 * 1000)); document.cookie = '{{ Config::get('cookie-law::cookie-law.cookie_name') }}=1; ' + 'expires=' + date.toUTCString() +'; path="/";';
php
} /** * Thrown when the button type is "web_url" but the url is not provided. * * @return static */
php
'token' => $token ]); } public function user() { $token = JWTAuth::fromUser(auth()->user()); return response()->json([ 'token' => $token ]);
php
final class DummySynchronousIncompatibleTransport implements Transport { public function send(object $payload): ?RawResult { return null; } }
php
* */ namespace A3App; use A3; class A3Redirect{ private $url = ''; private $isA3Request = false; private $code = 302; private $a3Request; private $a3RequestReplace;
php
if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { fwrite($fp, "GET / HTTP/1.0\r\nHost: www.baidu.com\r\nAccept: */*\r\n\r\n"); while (!feof($fp)) { echo fgets($fp, 1024);
php
Category::create([ 'title_plural' => 'Familias', 'title_singular' => 'Familia', 'alt' => 'Fotografias de Familias realizadas por tufoto.co', 'url' => 'familias' ]); Category::create([ 'title_plural' => 'Mascotas',
php
@if (Auth::user() && Auth::user()->can('manage_admin')) <a href="/admin"> {{ trans('kotoba::general.administration') }} </a> &nbsp;&copy;&nbsp;2015-2016 @else <a href="/"> {{ Setting::get('description', Config::get('core.brand_title')) }} </a> &nbsp;&copy;&nbsp;2015-2016 @endif </div> </div>
php
use Illuminate\Database\Eloquent\Model; class VisitorOrder extends Model { use HasFactory; public function details() { return $this->hasMany('App\Models\VisitorOrderDetail', 'order_id'); } public function user() { return $this->belongsTo('App\Models\User', 'user_id');
php
<?php if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) { die(); } return [ 'js' => 'dist/connector.intranet.bundle.js', 'lang' => '/bitrix/modules/landing/lang/' . LANGUAGE_ID . '/js/connector/intranet.php', 'rel' => [ 'main.polyfill.core', 'landing.loc', 'ui.dialogs.messagebox', ],
php
{ public function __construct( private Expr $callerExpr, private string $class, private Expr $method ) { } public function getClass(): string
php
<?php namespace Learnph\Tests; use League\FactoryMuffin\Faker\Facade as Faker; $fm->define('MicheleAngioni\PhalconAuth\Tests\Users')->setDefinitions([ 'confirmation_code' => Faker::md5(),
php
<link href="{{asset('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap')}}" rel="stylesheet"> <link href="{{asset('https://fonts.googleapis.com/css2?family=Open%20Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap')}}" rel="stylesheet"> </head> <body class="template-product has-smround-btns has-loader-bg equal-height has-sm-container"> @include('Layout.Common.header') @yield('content') @include('Layout.Common.footer')
php
$article_json = getArticleJSON($article_srl); // off ready file data $thumbnail_srl = translateFileData($post, $article_srl, $article_json['thumbnail']['srl']); // upload thumbnail image
php
namespace Doctrine\Tests\ORM\Functional\Ticket; require_once __DIR__ . '/../../../TestInit.php'; class DDC512Test extends \Doctrine\Tests\OrmFunctionalTestCase
php
<div class="w-full md:w-1/2 p-8 mb-4 md:mb-0 md:border-l"> <h3 class="text-5xl font-heading">$49 / mo</h3> <p class="mt-4 mb-6 text-gray-500 leading-relaxed">That’s what we’re talking about! More reams of paper is a really reamful choice. The best combination of quality and economy comes with Dunder Mifflin paper.</p><a class="inline-block py-4 px-8 leading-none text-blue-700 bg-indigo-100 hover:bg-indigo-200 rounded shadow" href="#">Contact sales</a> </div> </div> </section> <section class="py-12 px-4"> <div class="max-w-3xl mx-auto"> <h2 class="text-4xl text-center mb-4 font-heading">Frequently Asked Questions</h2> <div class="p-4 mb-2 border-b"> <button class="flex w-full text-left"><span class="flex-grow font-semibold">How does Dunder Mifflin paper differ from other products?</span><img class="w-12" src="{{ asset('placeholders/icons/angle-bottom.svg') }}" alt=""></button> <p class="mt-1">Paper produced with love, devotion, passion - is not the same paper. Our supplies are extra strong, and you’re going to need the paper-tear up-master to destroy just one sheet. It’s also suited for every available printer.</p> </div> <div class="p-4 mb-2 border-b">
php
*/ public function testParseGlobalObjectId() { // Outlook UID $fixture = 'BAAAAIIA4AB0xbcQGoLgCAfUCRDgQMnBJoXEAQAAAAAAAAAAEAAAAAvw7UtuTulOnjnjhns3jvM='; $uid = Horde_Mapi::getUidFromGoid($fixture); $this->assertEquals( '040000008200E00074C5B7101A82E00800000000E040C9C12685C4010000000000000000100000000BF0ED4B6E4EE94E9E39E3867B378EF3', $uid); // vCal $fixture = 'BAAAAIIA4AB0xbcQGoLgCAAAAAAAAAAAAAAAAAAAAAAAAAAAMwAAAHZDYWwtVWlkAQAAAHs4MTQxMkQzQy0yQTI0LTRFOUQtQjIwRS0xMUY3QkJFOTI3OTl9AA=='; $uid = Horde_Mapi::getUidFromGoid($fixture);
php
</div> {{-- --------------------------------------------------------------------------------------------------------------------------- --}} <div class="col-3"> <select name="dia_reparto" class="form-select"> <option selected value="">Dia de reparto</option> @foreach ($dias as $item) <option value="{!! $item !!}">{{$item}}</option> @endforeach
php
return $this->db->table($this->table)->where(['id_buku'=>$id])->get()->getResultObject(); endif; } public function getCategoryBuku()
php
namespace App; use Illuminate\Database\Eloquent\Model; class ProjectSiteChecklistCheckpointImages extends Model { protected $table = 'project_site_checklist_checkpoint_images'; protected $fillable = ['project_site_checklist_checkpoint_id','caption','is_required']; public function projectSiteChecklistCheckpoint(){ return $this->belongsTo('App\ProjectSiteChecklistCheckpoint','project_site_checklist_checkpoint_id'); } }
php
<link rel="stylesheet" href="../../AdminLTE-2.4.5/dist/css/skins/_all-skins.min.css"> <!-- jvectormap --> <link rel="stylesheet" href="../../AdminLTE-2.4.5/bower_components/jvectormap/jquery-jvectormap.css"> <!-- DataTables --> <link rel="stylesheet" href="../../AdminLTE-2.4.5/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css"> <!-- bootstrap wysihtml5 - text editor -->
php
namespace GoogleChartGenerator\Chart; use GoogleChartGenerator\Chart\AbstractChartTestCase; abstract class AbstractAxisChartTestCase extends AbstractChartTestCase {
php
<?php namespace Studio\Creator; use Studio\Shell\Shell; class GitSubmoduleCreator extends GitRepoCreator
php
interface ContractEngine extends \Illuminate\Contracts\View\Engine {} } else { interface ContractEngine extends \Repack\View\Engine {} }
php
exit(); } $data = array( 'status' => 200, 'message' => $result
php
* @param string $key1 文件名 */ public function Copy($bucket, $key, $bucket1, $key1){ $uri = self::get_RS_URICopy($bucket, $key, $bucket1, $key1); parent::callNoRet($this->ApiBase . $uri); } /** * 资源删除
php
use HasFactory; protected $table = 'sop'; protected $fillable = [ 'sop_nama', 'estimasi_panen', 'deskripsi', 'foto', 'kalkulasi_waktu_panen', 'kalkulasi_bobot_panen', 'jenis_komoditas_id' ];
php
<button type="submit" class="btn btn-primary">Add To Cart</button> </div> </form> </td> </tr>
php
| routes are loaded by the RouteServiceProvider within a group which | contains the "web" middleware group. Now create something great! | */ Route::get('/', function () { return view('welcome'); }); Route::get('index',['as'=>'trang-chu','uses'=>'PageController@getIndex']); Route::get('loai-sp/{loai}', ['as'=>'loai-sp', 'uses'=>'PageController@getloaisp']); Route::get('san-pham/{masp}',
php
--> </tbody> </table> <?php }?> </div> </div> </div> </div> </div> </div> </div>
php
]; public function document_type() { return $this->belongsTo(DocumentType::class,'type_id'); } public function document_file()
php
while ( $blockStart <= $end ) { $this->output( "...doing rev_id from $blockStart to $blockEnd\n" ); $cond = "rev_id BETWEEN $blockStart AND $blockEnd"; $res = $db->select( 'revision', [ 'rev_id', 'rev_page', 'rev_timestamp', 'rev_parent_id' ], [ $cond, 'rev_parent_id' => null ], __METHOD__ ); # Go through and update rev_parent_id from these rows. # Assume that the previous revision of the title was # the original previous revision of the title when the # edit was made... foreach ( $res as $row ) { # First, check rows with the same timestamp other than this one
php
$Date: 2007/08/06 09:54:48 $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(empty($srchtxt) && empty($srchuname)) { showmessage('search_invalid', 'search.php'); } $keywordlist = ''; foreach(explode("\n", trim($qihoo_keyword)) as $key => $keyword) { $keywordlist .= $comma.trim($keyword); $comma = '|';
php
<td>分类描述</td> <td>操作</td> </tr> @foreach($res as $k=>$v) <tr> <td>{{$v->cate_id}}</td>
php
</span> @enderror <!-- /.col --> <div class="col-4"> <button type="submit" class="btn btn-primary btn-block">Register</button> </div>
php
@empty <div class="card text-center text-danger">Sorry, You have Nothing to Show !</div> @endforelse @endif </div>
php
/** * EnterpriseCommonPhoneListGetListResponse * * Response to the EnterpriseCommonPhoneListGetListRequest. * The response contains the enterprise's common phone list. * * @see EnterpriseCommonPhoneListGetListRequest * @Groups [{"id":"5395c7df0157d44aa22f3351d1a5f3da:476","type":"sequence"}] */ class EnterpriseCommonPhoneListGetListResponse extends \CWM\BroadWorksConnector\Ocip\Models\C\OCIDataResponse {
php
$lang['upload_button'] = 'Încărca fișiere'; $lang['upload-drop-area'] = 'Trageți fișierele aici pentru a încărca'; $lang['upload-cancel'] = 'Anuleaza'; $lang['upload-failed'] = 'Încărcare eșuată'; $lang['loading'] = 'Se încarcă... Vă rugăm să așteptați...'; $lang['deleting'] = 'Se Şterge... Vă rugăm să așteptați...'; $lang['saving_title'] = 'Salvare denumire...'; $lang['list_delete'] = 'Ştergeţi'; $lang['alert_delete'] = 'Sunteţi sigur că doriţi să ştergeţi această imagine?'; /* End of file romanian.php */ /* Location: ./assets/image_crud/languages/romanian.php */
php
for(var i=0;i<input.length;i++) { if(isNaN(input[i])){ continue; } total += Number(input[i]); } return total; } <?php if(@$_SESSION['username'] != null){ echo "function MyDiv(Sessao,Dono,ImgWeapon,NameW,UltimoL,PrecoL) { $('#caseWin2').modal('show'); $('#DedorLeilao').text(Dono+' ');
php
{ $key = ucwords(str_replace('_', ' ', $key)); ?> <tr> <td><?php echo $key; ?></td> <td><?php echo $value; ?></td> </tr> <?php }
php
declare(strict_types=1); namespace App\Application\Navigation; use App\Domain\Navigation\NavigationSection; use App\Domain\Navigation\RoleBasedAccessibilityInterface; use App\Domain\Navigation\RouteAwareInterface;
php
style="width:70% !important;">Reset Password</button> </form> </div> </div> </div> </div> </section> <!-- .section -->
php
return new ColumnField('userId', 'UserActivation', 'useractivation', 'userid', $this->getAliasName()); } public function dateLine() : ColumnField { return new ColumnField('dateLine', 'UserActivation', 'useractivation', 'dateline', $this->getAliasName()); } public function activationId() : ColumnField { return new ColumnField('activationId', 'UserActivation', 'useractivation', 'activationid', $this->getAliasName());
php
$validator = static::makeValidator($config, [ 'domain' => 'required', 'key' => 'required' ], $create); if ($validator->fails()) { $messages = $validator->messages()->getMessages(); throw new BadRequestException('Validation failed.', null, null, $messages); } return true;
php
@endpush <div class="form-group"> <label class="col-md-2 control-label" for="name"> {{ __('Produto') }} </label> <div class="col-md-8"> <select name="product_id" id="product_id" class="form-control select2"> <option>Selecione...</option> @php /** @var $product \App\Models\Product */ @endphp @foreach($products as $product) <option value="{{ $product->id }}" {{ old('product_id', isset($production) && $product->id == $production->product_id? 'selected="selected"': null) }}> {{ "{$product->name} - {$product->unitsMeasure->name}" }} </option> @endforeach </select> <span class="help-block"></span>
php
<?= $this->element('menubar'); ?> <!-- /MENU BAR --> <!-- CONTENT --> <div id="content" data-uk-height-viewport="expand: true"> <div class="uk-container uk-container-expand"> <div class="ui secondary pointing menu"> <?php $lastitem = array_pop($pathurl); $path = ""; foreach($pathurl as $key => $value) :
php
str_repeat(' ', (int)ceil($missingSpaceLengthHalf)), ]; } return $spacesMap; } /**
php
{ public function __invoke(ContainerInterface $container) { $navManager = $container->get(AdminNavManager::class); $authService = $container->get(AuthenticationService::class); // Get menu items.
php
x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [ [0, Highcharts.getOptions().colors[0]], [1, Highcharts.Color(Highcharts.getOptions().colors[0]).setOpacity(0).get('rgba')] ] }, marker: { radius: 2 }, lineWidth: 1, states: {
php
* @return void */ public function register() { if (is_dir($vendor = __DIR__ . '/../vendor')) {
php
{ // import the module-level models and components $this->setImport(array( 'api.components.*', )); Yii::app()->log->routes[0]->enabled = false; Yii::app()->setComponents(array( 'errorHandler' => array( 'errorAction' => 'api/default/error', )
php
return $query->result(); //} } public function get_productimages($id=0) { $this->db->select('image_path,product_id'); $this->db->from('product_images'); if(isset($id) && $id>0){ $this->db->where('product_id', $id); } $query = $this->db->get();
php
{ return [ 'success' => false, 'message' => 'Could`nt find marketing', ]; } $this->model->destroy($id); return [ 'success' => true, 'message' => 'Deleted successfully', 'marketing' => $temp, ];
php
* http://developers.facebook.com/thrift/ * * @package thrift.transport */ interface TTransportSupportsHeaders { public function setHeader(string $str_key, @string $str_value): this; public function setPersistentHeader( string $str_key, @string $str_value, ): this; public function getWriteHeaders(): KeyedContainer<string, string>; public function getPersistentWriteHeaders(): KeyedContainer<string, string>;
php
// line 3 public function block_content($context, array $blocks = array()) { // line 5 echo "<div class=\"banner_1\"> "; // line 6 echo twig_include($this->env, $context, "HomeBundle::HomePage/search_form_single.html.twig"); echo " </div>\t <div class=\"container\">
php
*/ namespace protocolbuffers; use google\protobuf\compiler\CodeGeneratorResponse; class GeneratorContext { protected $response; protected $contexts = array(); public function __construct(CodeGeneratorResponse $response) { $this->response = $response;
php
if(function_exists("smile_framework_add_options")){ $cp_settings = get_option('convert_plug_settings'); $user_inactivity = isset( $cp_settings['user_inactivity'] ) ? $cp_settings['user_inactivity'] : '3000'; $style = isset( $_GET['style'] ) ? $_GET['style'] : ''; smile_framework_add_options('Smile_Modals',"instant_coupon", array( "style_name" => "Instant Coupon", "demo_url" => plugins_url("../../assets/demos/instant_coupon/instant_coupon.html",__FILE__), "demo_dir" => plugin_dir_path( __FILE__ )."../../assets/demos/instant_coupon/instant_coupon.html", "img_url" => plugins_url("../../assets/demos/instant_coupon/instant_coupon.png",__FILE__),
php
</div> <div class="form-group row"> <div class="col-sm-4"> <label for="productImg">Product Image</label> <input type="file" onchange="previewFile()" class="form-control-file product_img" name="product_img" id="product_img"> </div> <div class="col-sm-4" > <img src="" height="100" width="100" style="margin-top: 0px"> </div> </div>
php
namespace TATravel; use Illuminate\Database\Eloquent\Model; class Supir extends BaseModel {
php
DB::table('post_status')->insert([ ['title' => 'hide'], ['title' => 'visible'] ]);
php
use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; class ConnectionRegistryCompilerPass implements CompilerPassInterface { public function process(ContainerBuilder $container)
php
*/ public function getUpdatedAt(): int { return $this->updatedAt; } /** * @param int $updatedAt * * @return UserDto */ public function setUpdatedAt(int $updatedAt): UserDto {
php
*/ public function getDunningCycles(): array { return $this->_dunning_cycles ?? [] ; } /** * Setter method for the dunning_cycles attribute. * * @param array $dunning_cycles * * @return void
php
</ul> </div> @endif <form action="{{route('admin.update_working_day')}}" method="POST" enctype="multipart/form-data"> @csrf <div class="row">
php
* * views/customer/index.php * * Used to show how to do CRUD in CodeIgniter * * @package ITC260 * @subpackage Customer * @author <NAME> <<EMAIL>> * @version 1.0 2015/04/30
php
<th>' . $menu->updated_at . '</th> <th>&nbsp;</th> </tr> '; unset($menus[$key]);
php
use App\PublicKeyCredentialCreationOptionsStore; use App\Repository\UserRepository; use App\Service\ClientMetadataService; use Psr\Log\LoggerInterface; use Surfnet\GsspBundle\Service\RegistrationService; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\Routing\Annotation\Route; use Webauthn\Bundle\Service\PublicKeyCredentialCreationOptionsFactory; use Symfony\Component\HttpFoundation\Request; final class RegistrationController extends AbstractController { private $registrationService; private $userRepository;
php
{"data" : "driver_working_name", "searchable": false, "sortable": false}, {"data" : "price_structure_name", "name":"price_structure.price_structure_name"}, {"data" : "price_structure_name", "name":"price_structure.price_structure_name"}, { "data" : "action" , "name" : "action", "searchable": false, "sortable": false, "class" : "text-center"
php
</td> </tr> <tr> <td valign="top">2.</td> <td align="left" style="text-align: justify; text-justify:inter-word;"> If there are 2 (two) varians on your question, you may continue your next question`s varian