This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 4.0.4.1 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: 127.0.0.1 | |
-- Generation Time: Dec 23, 2015 at 05:32 PM | |
-- Server version: 5.5.32 | |
-- PHP Version: 5.4.19 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Contracts\Auth\Guard; | |
use Illuminate\Http\RedirectResponse; | |
class RedirectIfAuthenticated { | |
/** | |
* The Guard implementation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
include_once __DIR__."/../../../registration/php/user_info.php"; | |
use Illuminate\Support\ServiceProvider; | |
use Auth; | |
class AppServiceProvider extends ServiceProvider { | |
protected $currentUser, $allUsers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$content = file_get_contents('http://www.exhibition-directory.com/expostars/index.php?'.http_build_query($_GET)); | |
//$content = file_get_contents('http://www.exhibition-directory.com/expostars/index.php/'); | |
$content = str_replace('</title>','</title><base href="http://www.exhibition-directory.com/expostars/" />', $content); | |
$content = str_replace('</head>','<link rel="stylesheet" href="http://www.informatixtech.com/expostars/wp-content/themes/hotstar-child/hotstar-child/custom.css" type="text/stylesheet" /></head>', $content); | |
$content = str_replace('<form name="searchForm" action="index.php" enctype="multipart/form-data" method="get">','<form name="searchForm" action="http://www.informatixtech.com/expostars/search-page.php" enctype="multipart/form-data" method="get">', $content); | |
echo $content; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <iostream> | |
#include <stdlib.h> | |
using namespace std; | |
class MyClass{ | |
public: | |
void test(){ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// File Name GreetingServer.java | |
import java.net.*; | |
import java.io.*; | |
public class Server | |
{ | |
public static Socket socket; | |
public static void main(String[] args){ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// File Name GreetingClient.java | |
import java.net.*; | |
import java.util.Scanner; | |
import java.io.*; | |
public class Client | |
{ | |
public static Socket sc; | |
public static void main(String [] args) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Get current page form url e.g. &page=6 | |
$currentPage = LengthAwarePaginator::resolveCurrentPage(); | |
//Create a new Laravel collection from the array data | |
$collection = new Collection($data); | |
//Define how many items we want to be visible in each page | |
$perPage = 48; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row clearfix"> | |
<h4 class="text-center"> | |
@if($radius != 0 && $resultsCount == 0) | |
Zero Results Within {{$radius}} Km | |
@elseif((!empty($marketLocation) && $marketLocationMatchedCount == 0)) | |
Not Available in {{$marketLocation}} | |
@elseif(!empty($marketLocation) && $marketLocationMatchedCount > 0) | |
Available in {{$marketLocation}} | |
@endif | |
</h4> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Model; | |
use App\Http\Controllers\EventController; | |
use App\User; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Database\Eloquent\SoftDeletes; | |
use App\Price; |
OlderNewer