Welcome, guest! Login / Register - Why register?
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 &Aring;›rodk&Atilde;&sup3;w Trwa&Aring;‚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&Aring;‚&Auml;…czenie z baz&Auml;…
// UWAGA: w linii poni&Aring;&frac14;ej zmie&Aring;„ na twoj&Auml;… nazw&Auml;™ u&Aring;&frac14;ytkownika i has&Aring;‚o
$polaczenie = mysql_connect('localhost', 'drac0', 'drac0') or die("Brak po&Aring;‚&Auml;…czenia: " . mysql_error());
$baza = mysql_select_db('stamortyzacja',$polaczenie) or exit("Nie wybrano bazy, b&Aring;‚&Auml;…d: " . mysql_error());
?>

 

Revise this Paste

Parent: 5205
Children: 5207
Your Name: Code Language: