<?php $select_detail_start = '<select name="start_slip" id="start_slip">'; $select_detail_end = '<select name="end_slip" id="end_slip">'; $select_title_start = ''; $select_title_end = ''; echo '<div class="clearfix visible-xs-block" style="float:right;">'; echo '<form class="form-inline" role="form" name="make_slips" action="tms_assign_slips.php?start_slip=' . $_GET['start_slip'] . '&end_slip=' . $_GET['end_slip'] . '" method="get" target="_blank">'; echo '<div class="form-group col-md-12">'; echo '<label for="slips">Start slips at...</label>'; week_of($select_detail_start, $select_title_start); echo '<input class="btn btn-primary" type="submit" value="Generate Slips">'; echo '</div>'; echo '</form>'; echo '</div>';
<?php //Week_of.php, this file holds the date selector function. echo '<div id="weekof" class="">'; $select_detail = '<select name="monday" id="monday" onchange="this.form.submit()">'; $select_title = 'Week of Monday ... '; week_of($select_detail, $select_title); //Function in include/config.inc.php echo '</div>';
<?php // - watchtower.php //Watchtower Study page for app. It uses templates to create the layout. session_start(); //Include the header: //require ('include/config.inc.php'); // Require the config include 'include\\header.html'; print 'Watchtower Study'; require 'weekof.php'; week_of(); ?> <p>Use this application to schedule all meeting activities</p> <form action="index.php" method="post"> <table> <tr> <td>Chairman:</td> <td><input type="password" name="chairman" size="20" /></td> </tr> <tr> <td>Watchtower Reader:</td> <td><input type="password" name="wtreader" size="20" /></td> </tr> </table> <br> <p><input type="submit" name="submit" value=" Submit " /></p> </form> <?php