echo buildYearSelect(date("Y"), date("Y") + 2, "startyear", substr($ads->rec["start"], 0, 4)); ?> </td> </tr> </table> <h4>Option 1: Stop Date and Until Further Notice</h4> <p>This is the basic billing solution for advertising. You can specify when this ad stops or allow it to continue to run. You can bill based on daily, weekly, monthly or any other set period of time. Setting the ad to Run Until Further Notice will force the ad to stay visible on the main site until an admin manually removes the ads or disables it.</p> <table class="form"> <tr> <td class="field-name">Stop Date:</td> <td class="field-value"><?php echo buildMonthSelect("stopmonth", substr($ads->rec["stop"], 4, 2)); ?> <?php echo buildDaySelect("stopday", substr($ads->rec["stop"], 6, 2)); ?> <?php echo buildYearSelect(date("Y"), date("Y") + 2, "stopyear", substr($ads->rec["stop"], 0, 4)); ?> </td> </tr> <tr> <td class="field-name">Run Until Further Notice:</td> <td class="field-value"><input type="checkbox" name="ufn" value="1"<?php echo $rem_ufn; ?> > <span class="extra-small green">(ignores stop date)</span> </td>
echo miniError($error); } if ($success != false) { echo miniSuccess($success); } ?> <form action="<?php echo $_SERVER["PHP_SELF"]; ?> " method="post"> <table class="form"> <tr> <td class="field-name">Select Date:</td> <td class="field-value"><?php echo buildMonthSelect("month", substr($lunch->date, 4, 2)); ?> <?php echo buildDaySelect("day", substr($lunch->date, 6, 2)); ?> <?php echo buildYearSelect(date("Y"), date("Y") + 5, "year", substr($lunch->date, 0, 4)); ?> </td> <td></td> </tr> </table> <table class="form"> <?php echo $lunch->buildForm();