Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PHP by ddas2 ( 17 years ago )
<?php
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-2">
<title>Amortyzacja środków Trwałych</title>
<style type="text/css">
a {
text-decoration: none;
}
a:hover { color: blue }
body {padding: 0px 20px; font-family: arial, verdana;}
p,td,form {font-size: 10pt;}
h3 {font-size: 18pt;}
body {background-color:beige}
input {border:1px solid black; margin-bottom:3px;}
input.krotki {width:80px; text-align:center}
div.clndr {
background-color:#d0d0d0; position:absolute;
cursor:default; display:none; border:3px ridge #9ab;
}
div.clndr table {
width:160px; margin:4px;
}
div.clndr th {
border:1px solid black;
font:normal bold 11px arial,sans-serif;
text-align:center; padding:0 2px 0 2px;
}
div.clndr td {
border:1px solid blue; cursor:pointer;
font:normal normal 11px arial,sans-serif;
text-align:center; padding:0 2px 0 2px;
}
</style>
</head>
<body>
<div style="font-size: 10pt; padding: 10px; background:#ebebeb;">
<a href="nowy.php">Dodaj Nowy</a> | <a href="wyszukaj.php">Wyszukaj</a>
</div>
<?php
// połączenie z bazą
// UWAGA: w linii poniżej zmień na twoją nazwę użytkownika i hasło
$polaczenie = mysql_connect('localhost', 'drac0', 'drac0') or die("Brak połączenia: " . mysql_error());
$baza = mysql_select_db('stamortyzacja',$polaczenie) or exit("Nie wybrano bazy, błąd: " . mysql_error());
?>
Revise this Paste
Parent: 5205
Children: 5207