Merge remote-tracking (subtree) branch 'PracticingPhp/master'
This commit is contained in:
39
PracticingPhp/web/html/wikipedia-tutorial/_head.php
Normal file
39
PracticingPhp/web/html/wikipedia-tutorial/_head.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
|
||||
function mkheader($title, $bgcolor) {
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><?php echo $title; ?></title>
|
||||
<style type='text/css'>
|
||||
/*<![CDATA[*/
|
||||
|
||||
body {
|
||||
color: #222;
|
||||
background-color: #eee;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
pre {
|
||||
border: 1px dashed #777;
|
||||
color: #000;
|
||||
background-color: <?php echo $bgcolor ?>;
|
||||
padding: 5px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.block {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*]]>*/
|
||||
</style>
|
||||
</head>
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user