@@ -1,20 +0,0 @@ | |||||
/* | |||||
* caca-php.css sample stylesheet for libcaca php binding | |||||
* Copyright (c) 2008 Benjamin C. Wiley Sittler <bsittler@gmail.com> | |||||
* | |||||
* This program is free software. It comes without any warranty, to | |||||
* the extent permitted by applicable law. You can redistribute it | |||||
* and/or modify it under the terms of the Do What The Fuck You Want | |||||
* To Public License, Version 2, as published by Sam Hocevar. See | |||||
* http://sam.zoy.org/wtfpl/COPYING for more details. | |||||
*/ | |||||
table, table tr | |||||
{ | |||||
display: block; | |||||
} | |||||
table tr td | |||||
{ | |||||
display: inline; | |||||
padding: 0px; | |||||
} |
@@ -20,7 +20,6 @@ header('Content-Type: text/html; charset=UTF-8'); | |||||
<head> | <head> | ||||
<title>sample program for libcaca php binding</title> | <title>sample program for libcaca php binding</title> | ||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
<link rel="StyleSheet" href="caca-php.css" type="text/css" /> | |||||
</head> | </head> | ||||
<body text="silver" bgcolor="black"> | <body text="silver" bgcolor="black"> | ||||
<?php | <?php | ||||
@@ -8,8 +8,6 @@ header('Content-Type: text/html; charset=UTF-8'); | |||||
<head> | <head> | ||||
<title>Caca power!</title> | <title>Caca power!</title> | ||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
<style type="text/css"> | |||||
</style> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php | <?php | ||||
@@ -58,9 +58,8 @@ if (!is_dir($path)) { | |||||
$dir = opendir($path); | $dir = opendir($path); | ||||
while (($it = readdir($dir)) != false) { | while (($it = readdir($dir)) != false) { | ||||
if (is_file($path.$it) and ereg("\.[tf]lf$", $it)) { | if (is_file($path.$it) and ereg("\.[tf]lf$", $it)) { | ||||
echo "<b>font : $it</b>\n<pre>"; | |||||
echo "<b>font : $it</b>\n"; | |||||
show_figlet("Libcaca", $path.$it); | show_figlet("Libcaca", $path.$it); | ||||
echo "</pre>"; | |||||
} | } | ||||
} | } | ||||
?> | ?> | ||||
@@ -52,7 +52,6 @@ $render_php = isset($_SERVER['SCRIPT_NAME']) | |||||
<head> | <head> | ||||
<title>Я люблю Либкаку</title> | <title>Я люблю Либкаку</title> | ||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
<link rel="StyleSheet" href="caca-php.css" type="text/css" /> | |||||
</head> | </head> | ||||
<body text="silver" bgcolor="black"> | <body text="silver" bgcolor="black"> | ||||
@@ -24,7 +24,6 @@ header('Content-Type: text/html; charset=UTF-8'); | |||||
<head> | <head> | ||||
<title>demo for libcaca php binding</title> | <title>demo for libcaca php binding</title> | ||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||||
<link rel="StyleSheet" href="caca-php.css" type="text/css" /> | |||||
</head> | </head> | ||||
<body text="silver" bgcolor="black"> | <body text="silver" bgcolor="black"> | ||||
<?php | <?php | ||||