<td><center> <font color="#FFFFFF">Add New Program</font> </center></td> </tr><tr bgcolor="#E0E0E0"><td> <table border=0> <tr> <td>Station</td><td>:</td><td> <?php /* if we are editing the program then print the preselected station first in the select box */ if ($EDIT) { print_select_station("STATION", $DB_SID); } else { print_select_station("STATION", ""); } // end if EDIT ?> </td> </tr> <tr> <td>Program Name</td><td>:</td><td><input type=TEXT name="PROGRAM" <?php if ($EDIT) { print "value=\"" . prepare($DB_PNAME) . "\""; } ?> ></td> </tr> </table>
function print_header_close() { include "version.inc"; ?> </head> <body bgcolor=#FFFFFF> <table border=0 width=100%> <tr> <td width=15% valign=top> <p align=center> <a href="http://developer.berlios.de/projects/webvcr2/"><img src="images/webvcr_small.png" alt="WebVCR 2<?php echo $version; ?> " border=0></a> </p> <p align=center> <?php $today = date("j F Y, H:i"); print $today; ?> </p> <p><?php free_space(); ?> </p> <FORM ACTION="show.php" METHOD=POST> <center> <table border=1> <tr bgcolor="#006666"> <td><center><font color="#FFFFFF">New Program</font></center></td> </tr> <tr bgcolor="#E0E0E0"> <td> <table border=0> <tr> <td>station: <?php print_select_station("station", ""); ?> <TR> <TD ALIGN=CENTER><INPUT TYPE=SUBMIT NAME=SUBMIT VALUE="Choose"> </TD> </TR> <tr> <TD ALIGN=CENTER><a href="force.php">Add Program Manually</a></td> </tr> </TABLE> <tr bgcolor="#006666"> <td><center><font color="#FFFFFF">Real Time Information</font></center></td> </tr> <tr bgcolor="#E0E0E0"> <td> <table border=0 width=100%> <tr> <td ALIGN=CENTER><a href="now.php">Now on TV</a></td> </tr> <tr> <td ALIGN=CENTER><a href="now.php?MOVIE=1">Movies Running Now</a></td> </tr> <tr> <td ALIGN=CENTER><a href="now.php?MOVIE=2">Movies Running Today</a></td> </tr> </table> </td> </tr> <tr bgcolor="#006666"> <td><center><font color="#FFFFFF">Configuration Section</font></center></td> </tr> <tr bgcolor="#E0E0E0"> <td> <TABLE BORDER="0" WIDTH="100%"> <TR> <TD ALIGN=CENTER><a href="config.php">Global Configuration</a></td> </TR> <TR> <TD ALIGN=CENTER><a href="collector.php">Collector Configuration</a></td> </TR> <TR> <TD ALIGN=CENTER><a href="generate_vcrrc.php">Refresh ~/.vcrrc</a></td> </TR> </TABLE> </td> </tr> </table> </center> </FORM> </td><td width=5%></td> <td valign=top width=80% align=center> <p align=center><a href="index.php">Return to Main Menu</a></p> <?php }