Files
HotLunches/school.link.form.php
T
2026-10-19 15:22:52 -07:00

48 lines
1.4 KiB
PHP

<?php
require_once("include/globals.php");
if (SessionActive() != 1 || ! UserLoggedIn()) {
header("Location: /");
exit();
}
?>
<br>
<form method='post' action='/'>
<?php
$message_width = $default_form_width;
include "form.messages.php";
?>
<table width='<?php echo($default_form_width) ?>' class='content-table'>
<tr>
<td colspan='2' class='heading' align='center'>Create Linked School Profile</td>
</tr>
<tr>
<td colspan='2'>&nbsp;</td>
</tr>
<tr>
<td width='260' align='right' valign='top'>School Name: </td>
<td align='left'>
<select name='source_school_num'>
<?php BuildDBList("schools","record_num","school_name","school_name",0,"ASC"," and status = 'Active' "); ?>
</select>
</td>
</tr>
<tr>
<td align='right' valign='top'>Linked School URL: </td>
<td align='left'><input type='text' name='linked_url' size='60'></td>
</tr>
<tr>
<td colspan='2' align='center'>
<br>
<input type='submit' class='btn btn--primary' value='Create Link'>
<input type='hidden' name='action' value='<?php echo($action) ?>'>
<input type='hidden' name='naction' value='create-link'>
<br>
<br>
</td>
</tr>
</table>
</form>