Skip to content

Instantly share code, notes, and snippets.

View Alphajeez96's full-sized avatar
😐

Prince Chukwudire Alphajeez96

😐
View GitHub Profile
@Alphajeez96
Alphajeez96 / index.html
Created November 18, 2023 16:03
'signal-like' ~ Pulse animation
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>'signal'- animation</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<!-- <link rel="stylesheet" href="./index3.css"> -->
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<!-- Bottstrap cdn here -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
@Alphajeez96
Alphajeez96 / personal-info.vue
Created September 22, 2020 11:07
Files are in this sequence; Parent component, store and api file
<template>
<form @submit.prevent="updatePersonalInfo" class="px-3 pt-3">
<h2>PERSONAL INFORMATION</h2>
<div class="form-group my-4">
<div class="row">
<div class="col-md-4 m-0">
<label for="profile-pic" class="w-100">Change Profile Picture</label>
<p class="description">Choose a new avatar to be used across Goodtalent</p>
</div>
<div class="col-md-4 m-0">
<?php
//process.php
if ($_SERVER["REQUEST_METHOD"] == "POST") {//Check it is coming from a form
$u_email = $_POST["user_email"]; //set PHP variables like this so we can use them anywhere in code below
//print output text
print "Hello!, we have received email ". $u_email;
print "We will contact you very soon!";
let e = document.getElementById("ddlViewBy");
let provider = e.options[e.selectedIndex].value;
let number = document.getElementById('number').value;
let amount = document.getElementById('amount').value;
let secret = 'uvjqzm5xl6bw '
const data = {
<?php
session_start();
if (isset($_GET['txref'])) {
$ref = $_GET['txref'];
$amount = $_SESSION['amount']; //Correct Amount from Server
$currency = $_SESSION['currency']; //Correct Currency from Server
$email = $_SESSION['email'];
$query = array(
<?php
session_start();
// echo 'i got here'
if (isset($_GET['txref'])) {
$ref = $_GET['txref'];
$amount = $_SESSION['amount']; //Correct Amount from Server
$currency = $_SESSION['currency']; //Correct Currency from Server
<?php
include_once('lib/test.php');
require_once('functions/alert.php');
if(isset($_SESSION['loggedIn']) && !empty($_SESSION['loggedIn'])){
// redirect to dashboard
header("Location: dashboard.php");
//write logic for admin to be logged in and access this page
//user object, role and if logged in and role is admin add patient
}
<?php session_start();
require_once('functions/user.php');
require_once('functions/redirect.php');
//Data collection / validation
$errorCount = 0;
$first_name = $_POST['first_name'] != '' ? $_POST['first_name'] : $errorCount++ ;
$last_name = $_POST['last_name'] != '' ? $_POST['last_name'] : $errorCount++;
$email = $_POST['email'] = !'' ? $_POST['email'] : $errorCount++ ;