%post
OS=`%{_libdir}/%{name}/shell/getsysos.sh`
ln -nsf \
- ./%{name}.php \
+ ./home.php \
%{_var}/www/%{name}/index.php \
if [ "$1" = 1 ]; then
--- /dev/null
+<?php
+
+//section to generate the main screen body
+function body()
+
+{
+//including screen function
+//
+include "scrfun.php";
+
+$footer=footer("_home_");
+$login=login();
+
+$STR = <<<EOT
+<!DOCTYPE html>
+<HTML>
+<HEAD>
+<TITLE>Starting</TITLE>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
+</HEAD>
+<BODY="white">
+<CENTER><STRONG><FONT SIZE=+2 color=red>
+Mailleur
+</FONT></STRONG></CENTER>
+$login
+$footer
+</BODY>
+</HTML>
+EOT;
+
+return $STR;
+}
+
+//display main screen
+echo body();
+?>
+
+
+
function body()
{
-//including screen function
-//
-include "scrfun.php";
-
-$footer=footer("P:mailleur");
-$login=login();
+$footer=footer("_mailleur_");
$STR = <<<EOT
+<!DOCTYPE html>
<HTML>
<HEAD>
<TITLE>Mailleur</TITLE>
</HEAD>
<BODY="white">
<CENTER><STRONG><FONT SIZE=+2 color=red>
-Mailleur
+Within mailleur
</FONT></STRONG></CENTER>
-$login
-$footer
</BODY>
</HTML>
EOT;
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td bgcolor="#FFFFFF" align="right">
+ <form method="post" action="mailleur.php" enctype="application/x-www-form-urlencoded" name="login">
<table align="center" border="0" cellspacing="2" cellpadding="0">
<tr>
<td align="left" nowrap="nowrap">Email:</td>
</tr>
</table>
</td>
+ </form>
</tr>
</table>
</td>
</tr>
</table>
+<br>
+<br>
EOT;