Files
Cody Boone Ferguson 0d65af1b2b Add unobfuscated code from @SirWumpus
The entries 2004/hibachi and 2005/mynx have unobfuscated code now.

2004/hibachi has a configure script that is used along the lines of the
original entry (with some adjustments and fixes) and the hibachi.alt.c
had to have ctype.h included too. The directory src/localhost was copied
to src-alt/localhost but the rest of src/ was from Anthony. The Makefile
had to be updated to build this version.

2005/mynx does have a configure script but it is, just like the original
entry, unused and so the unobfuscated (in source-alt/) is also unused.
The mynx.alt.c was changed to mynx.alt2.c and the unobfuscated code was
made mynx.alt.c.

Updated manifest, rebuilt .entry.json and index.html files.

After a question is answered and taken care of (in one of 199[1-3]/ant -
not sure which one) issue #2513 can possibly be closed as complete
(though the manifest updates will have to be looked at more when 2004
and 2005 are reviewed).
2024-07-08 13:11:00 -07:00

107 lines
1.9 KiB
Plaintext

#!@php_exe@
<?
header("HTTP/1.0 299 OK");
header("Content-Type: text/html");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
Hibachi - A Calendar Generator in PHP
</title>
<link rel="stylesheet" type="text/css" href="../../style.css">
<style>
<!--
.smCalendarTable {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 9pt;
border-spacing: 0;
border-width: 1;
border-style: groove;
}
.smCalendarCell {
padding: 3;
text-align: right;
}
.smCalendarMonthTitle {
color: #ff0000;
text-align: center;
border-collapse: collapse;
border-color: #000000;
border-width: 2 0 0 0;
border-style: solid;
}
.smCalendarDayTitle {
color: #0000cc;
text-align: center;
border-collapse: collapse;
border-color: #000000;
border-width: 1 0 1 0;
border-style: solid;
}
.smCalendarWeekNumber {
color: #cc00cc;
font-weight: bold;
background-color: #eeeeee;
}
.smCalendarDay {
color: #0000cc;
}
.smCalendarWeekend {
color: #0000cc;
background-color: #cae4ff;
}
.smCalendarThisWeek {
color: #0000cc;
background-color: #ffcccc;
}
.smCalendarThisDay {
padding: 1;
border-color: #ff0000;
border-width: 2;
border-style: solid;
}
-->
</style>
</head>
<body background="../../Img/hot-coal-edge-110-indent.png" style="margins: 0 0 0 0; padding: 0 0 0 0;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="130">
<img alt="" src="../../Img/mrpixel.gif" width="130" height="1">
</td>
<td>
<div align="center">
<table border="0" cellspacing="0" cellpadding="5">
<h2>A Calendar Generator in PHP</h2>
<?
include('Date.php');
$date = new Date();
for ($i = 0; $i < 12; $i++) {
if ($i % 4 == 0)
print("<tr valign='top'>\n");
print("<td>");
print Date::getSmallCalendar($date->getYear(), $i+1);
print("</td>\n");
if ($i % 4 == 3)
print("</tr>\n");
}
?>
</table>
</div>
<hr>
<a href="../../#Test">Return to HIBACHI</a>
</td>
</tr>
</table>
</body>
</html>