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\Requests; | |
use Illuminate\Foundation\Http\FormRequest; | |
use App\Rules\CurrentPassword; | |
use Illuminate\Support\Facades\Auth; | |
class UpdatePasswordRequest extends FormRequest | |
{ |
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
@extends('layouts.master') | |
@section('top') | |
@endsection | |
@section('content') | |
@if(Session::has('success')) | |
<div class="alert alert-success" role="alert"> | |
<strong>Success: </strong>{{ Session::get('success') }} | |
<button type="button" class="close" data-dismiss="alert">×</button> |
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\Controllers; | |
use App\Http\Requests\UpdatePasswordRequest; | |
use Illuminate\Support\Facades\Hash; | |
class PasswordController extends Controller | |
{ | |
/** |
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\Rules; | |
use Illuminate\Contracts\Validation\Rule; | |
use Illuminate\Support\Facades\Auth; | |
use Illuminate\Support\Facades\Hash; | |
class CurrentPassword implements Rule | |
{ |
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
@extends('layouts.master') | |
@section('top') | |
@endsection | |
@section('content') | |
@include('sweet::alert') | |
<div class="container"> | |
<div class="row justify-content-center"> | |
<div class="col-md-8"> |
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\Controllers; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Auth; | |
use App\User; | |
use Storage; |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class ObjectCollision : MonoBehaviour { | |
public AudioSource Musuh1; | |
public AudioSource Musuh2; | |
public AudioSource Musuh3; | |
public AudioSource Musuh4; |
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 | |
include 'koneksi.php'; | |
$id = $_GET['id']; | |
mysqli_query($koneksi,"delete from user where id='$id'"); | |
header("location:index.php"); | |
?> |
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 | |
require_once 'header.php'; | |
include 'koneksi.php'; | |
$id = $_POST['id']; | |
$nama = $_POST['nama']; | |
$username = $_POST['username']; | |
$password = $_POST['password']; | |
$email = $_POST['email']; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<?php require_once 'header.php'; ?> | |
<link rel="stylesheet" href="font-awesome/css/font-awesome.min.css" /> | |
</head> | |
<body> | |
<div class="container"> | |
<br><h3>EDIT DATA </h3><hr><br> |
NewerOlder