Ejemplo n.º 1
0
<?php

include "lib/connect.php";
$obj = new connect();
session_start();
if (!isset($_SESSION['uid'])) {
    $msg = "pay";
    header('Location:login.php?payment=' . $msg);
} else {
    $uid = $_SESSION['uid'];
    $res = $obj->fetch_details($uid);
    $arr = mysql_fetch_row($res);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>E-shop</title>
<style type="text/css">
<!--
body {
	background-color: #CCCCCC;
}
.style1 {
	font-size: 24px;
	color: #FF0000;
	font-family: Arial, Helvetica, sans-serif;
}
.style3 {
	color: #3300CC;