<td align="center" class="name"><div align="left">Related to Section</div></td> <td align="center"><div align="left"> <select name="section"> <OPTION VALUE="<?php $obj = new SysMenu(); if ($_GET[id]) { $typelab = $dbcon->Execute("SELECT id, type FROM articletype where id = " . $calendaritems->Fields("section") . "") or die($dbcon->ErrorMsg()); echo $typelab->Fields("id"); ?> " SELECTED><?php echo $typelab->Fields("type"); ?> </option> <?php } echo $obj->select_type_tree(0); ?> </Select> </div></td> </tr> <tr> <td colspan="2" class="banner"> </td> </tr> <tr> <td align="center" colspan="2"><div align="left"> <input name="submit" type="submit" value="Save Changes"> <input name="MM_delete" type="submit" value="Delete Record" onclick="return confirmSubmit('Are you sure you want to DELETE this record?')"> <?php if (empty($HTTP_GET_VARS["id"]) == TRUE) {
if (isset($MM_reltype)) { ?> Main <?php } ?> Section</span><span class="red">*</span></td> <td class="text"> <select name="type"> <option value="<?php echo $rlab->Fields("id"); ?> " selected><?php echo $rlab->Fields("type"); ?> </option> <?php echo $obj->select_type_tree(1); ?> </select><?php if (AMP_Authorized(AMP_PERMISSION_CONTENT_SECTION_EDIT)) { ?> <A href="type_edit.php" target="_blank">add new</a><?php } ?> </td> <?php if (isset($MM_reltype)) { ?> </tr> <tr> <td valign="top"> <span align="left" class="name">Related Sections</span></td> <td class="text"> <select multiple name='reltype[]' size='8'>
if ($_GET["class"]) { echo $Recordset1->Fields("class"); } if ($_GET['type']) { echo $Recordset1->Fields("type"); } ?> Content </td> </tr> <tr> <td> <select onChange="MM_jumpMenu('parent',this,0)" class="name"> <option SELECTED>View By Section</option> <?php //$selcode="article_list.php?type="; echo $obj->select_type_tree($MX_top, 0, "article_list.php?type="); ?> </Select> <select onChange="MM_jumpMenu('parent',this,0)" class="name"> <option SELECTED>View By Class</option> <option>-----</option> <?php while (!$allclass->EOF) { ?> <option value="article_list.php?class=<?php echo $allclass->Fields("id"); ?> " ><?php echo $allclass->Fields("class");
<td><input name="usenav" type="checkbox" id="usenav" value="checkbox" <?php If (($subtype->Fields("usenav")) == "1" or (!$_GET[id])) { echo "CHECKED";} ?>> </td> </tr> <tr> <td class="name">Section Name</td> <td> <input name="type" type="text" id="type" value="<?php echo $subtype->Fields("type")?>" size="50"></td> </tr> <tr> <td valign="top" class="name">Description</td> <td><textarea name="description" cols="45" rows="5" wrap="VIRTUAL" id="description"><?php echo $subtype->Fields("description")?></textarea></td> </tr> <tr> <td class="name">Subsection Of</td> <td> <select name="parent"> <option value="<?php echo $typelab->Fields("id")?>" selected><?php echo $typelab->Fields("type")?></option> <?php echo $obj->select_type_tree(0); ?></select></td> </tr> <tr> <td class="name">Section Order</td> <td><input name="order" type="text" id="up" value="<?php echo $subtype->Fields("textorder"); ?>" size="10" > </td> </tr> <tr class="intitle"> <td colspan="2"><?php echo helpme("index"); ?>Section Index Page Format</td> </tr> <tr> <td class="name">List Format</td> <td> <!--<select name="listtype" id="listtype"> <?php /*