Generation

fix invalid codeSun, 26 Mar 2023

<?php session_start(); if (!isset($_SESSION["user"]) && !isset($_SESSION["pass"])) { header("location: index.php"); session_close(); exit; } ?> <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <link rel="shortcut icon" href="favicon.png"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Cabin:wght@600&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@40,300,0,-25" /> <meta charset="utf-8"> <title>lexide</title> <style media="screen"> *{ font-family: 'Cabin', sans-serif; } body { border: 0px; margin: 0px; box-sizing: border-box; background-color: #282828; } .head_1 { background-color: #4F4F4F; height: 50px; width: 100%; } .head_txt_1, .head_txt_2, .head_txt_3 { width: 33%; height: 50px; float: left; } .head_txt_1, .head_txt_2 { text-align: center; } .head_txt_1 { background-image: url(img/lexide_logo_negro.jpg); background-repeat: no-repeat; background-position: center; background-size: contain; } a { color: #E2E2E2; text-decoration: none; } .head_txt_2 { background-image: url(img/lupa.png); background-repeat: no-repeat; background-position: left; background-size: contain; } .head_txt_3 { text-align: right; } #conf_img { width: 50px; } #buscar_amigos_text { font-size: 30px; margin-top: 5px; } ul { list-style-type: none; margin: 0px; border: 1px solid red; width: 200px; position: relative; } </style> </head> <body> <div class="head_1"> <div class="head_txt_1"> </div> <div class="head_txt_2"> <p id="buscar_amigos_text"> <a href="#">buscar amigos</a> </p> </div> <div class="head_txt_3"> <a href="configuracion_home.php"> <img id="conf_img" src="img/configuracion.png" alt=""><a/> </div> </div> <ul> <li><a href="#">historias</a> </li> <li> <a href="#">publicaciones</a></li> <li> <a href="#">mensajes</a></li> <li> <a href="#">reels</a></li> </ul> </body> </html>

php <?php $nombre = "martin"; $apellido = "lopez"; echo "hola ".$nombre. " " .$apellido; ?>

Questions about programming?Chat with your personal AI assistant