Unauthorized access to a PHP page prompts the user for a password. Once the password is entered the original page will show.
- The access is recorded in the session so it only needs to be
<section id="disseny_web" class="content-section text-center"> | |
<div class="bs-example" data-example-id="thumbnails-with-custom-content"> | |
<div class= "container"> | |
<font color="red"> <h2>DISSENY WEB</h2></font> | |
<p>ANAR-HI per a veure cadasquna d'aquestas WEBS .</p> | |
<div class="row"> | |
<?php | |
$servername = "SERVIDOR"; |
<?php | |
if(isset($_POST['contactSubmit'])){ | |
$message = " "; | |
$fullName = $_POST["fullName"] ; | |
$email = $_POST["email"]; | |
$formMessage = $_POST["message"]; | |
$message .= "Full Name: " . $fullName . "\ | |
"; |
<?php | |
/* | |
Template Name: boomerang | |
*/ | |
get_header(); ?> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>taula</title> | |
<!-- UIkit CSS --> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.5.10/dist/css/uikit.min.css" /> | |
<!-- datatables CSS --> | |
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.2/css/uikit.min.css" /> | |
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.22/css/dataTables.uikit.min.css" /> | |
<!--Add latest jQuery and fancybox files --> |
//array card no filter | |
<?php | |
include_once("conexio.php"); | |
?> | |
<?php | |
$sql = "SELECT * FROM `eines_web` order by id asc"; | |
$result = $conn->query($sql); | |
if ($result->num_rows > 0) { | |
// output data of each row |
<section id="llibreria" class="py-16" data-uk-filter="target: .js-filter; animation: fade"> | |
<div class="container"> | |
<div class="text-center"> | |
<h2 class="mb-12 section-heading wow fadeInDown" data-wow-delay="0.3s">llibreria</h2> | |
<div> | |
<div id='recipients' class="p-2 mt-5 lg:mt-0 rounded shadow bg-white"> | |
<table id="example" class="stripe hover" style="width:100%; padding-top: 1em; padding-bottom: 1em;"> | |
<thead> |
<section id="services" class="py-16"> | |
<div class="container"> | |
<div class="text-center"> | |
<h2 class="mb-12 section-heading wow fadeInDown" data-wow-delay="0.3s">gal.leria</h2> | |
</div> | |
<div class="uk-width-expand"> | |
<form id="search-form" action=""> | |
<div class="uk-inline uk-width-1-1"> | |
<span class="uk-form-icon uk-form-icon-flip" data-uk-icon="icon: search"></span> | |
<input class="uk-input uk-width-1-1 search-fld" type="text" placeholder="Type your search" autofocus> |
El CSS es pot afegir als documents HTML de 3 maneres: | |
En línia : utilitzant l' styleatribut dins dels elements HTML | |
================================================================ | |
style="background-image: url('img/login.png');" | |
<style type="text/css"> | |
li { | |
font-size: 1.2rem; |
<?php | |
namespace App\Models; | |
use Illuminate\Database\Eloquent\Builder; | |
use Illuminate\Database\Eloquent\Casts\Attribute; | |
use Illuminate\Database\Eloquent\Factories\HasFactory; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Database\Eloquent\Relations\BelongsTo; | |
use Illuminate\Support\Facades\Storage; |