Example #1
0
															 <input type="hidden" name="module" value="<?php 
        echo $my_get['module'];
        ?>
" />
															 <input type="hidden" name="project" value="<?php 
        echo $my_get['project'];
        ?>
" />
															 <input type="hidden" name="projectEvent" value="<?php 
        echo $my_get['projectEvent'];
        ?>
" />
															 <?php 
    }
}
sentSuccessful("Status Report sent successfully!");
?>
												</div>
										  </div>

										  </form>
										  <script>
                                   $(function () {
                                       $("#startDate").datepicker();
                                       $("#endDate").datepicker();
                                   });
                                   function openstartdatepicker() {
                                       $("#startDate").datepicker("show");
                                   }
                                   function openenddatepicker() {
                                       $("#endDate").datepicker("show");
Example #2
0
													 </div>
													 <div class="col-xs-5">
														  <div class="input-group">
																<span class="input-group-addon">CC:</span>
																<input type="text" class="form-control" value="" name='cc' id='cc' placeholder="Carbon Copy"/>
														  </div>
													 </div>
												</div>
									 </div>
									 <div class="box-footer">

										  <div class="form-group">
												<div class="col-xs-offset-2 col-xs-10">
													 <button type="submit" class="btn btn-primary"><span class='glyphicon glyphicon-save'></span>&nbsp;Submit Maintenance Notification</button>
													 <?php 
sentSuccessful("Maintenance Notification submitted successfully!");
?>
												</div>
										  </div>

										  <input type="hidden" name="MM_insert" value="maintenanceNotif1"/>
										  </form>
										  <script>
                                   $(function () {
                                       $("#startDate").datepicker();
                                   });
                                   function opendatepicker() {
                                       $("#startDate").datepicker("show");
                                   }
										  </script>
									 </div> <!-- /.box-body -->
Example #3
0
formField("textarea", "notes", $row_rsNetworkTypes['notes'], "50", null, "5", "virtual");
?>
</td>
    </tr>
<?php 
if ($_GET['function'] == "update") {
    ?>
    <tr class="button"><td colspan="2"><input type="submit" name="update" id="update" value="Update Network Type" /><?php 
    sentSuccessful("Network Type Updated Successfully!");
    ?>
</td></tr>
<?php 
} elseif ($_GET['function'] == "add") {
    ?>
    <tr class="button"><td colspan="2"><input type="submit" name="add" id="add" value="Add Network Type" /><?php 
    sentSuccessful("Network Type Updated Successfully!");
    ?>
</td></tr>
<?php 
}
?>
  </table>
<?php 
if ($_GET['function'] == "update") {
    ?>
      <input type="hidden" name="networkTypeID" value="<?php 
    echo $row_rsNetworkTypes['networkTypeID'];
    ?>
" />
      <input type="hidden" name="MM_update" value="networkTypeUpdate" />
<?php 
Example #4
0
echo "-";
$day = $date['mday'];
if ($day < 10) {
    echo "0" . $day;
} else {
    echo $day;
}
?>
" /></td>
    </tr>
    <tr>
      <td valign="top" class="contrast"><label for="feedback">Feedback:</label></td>
      <td colspan="2"><textarea name="feedback" id="feedback" cols="75" rows="15" wrap="VIRTUAL"></textarea></td>
    </tr>
    <tr class="button">
      <td colspan="3"><input type="submit" name="submit" id="submit" value="Send Feedback" /><?php 
sentSuccessful("Thanks for your input! Your feedback will be reviewed as soon as possible, <br />and you will be contacted, if necessary.");
?>
</td>
    </tr>
  </table>
  <input type="hidden" name="MM_insert" value="feedback" />
</form><br />
<?php 
buildFooter("0");
?>
</div></div>
</body>
</html><?php 
mysql_free_result($rsFeedback);
mysql_free_result($rsEmployees);
Example #5
0
formField("textarea", "notes", $row_rsCountries['notes'], "45", null, "5", "virtual");
?>
 </td>
    </tr>
<?php 
if ($_GET['function'] == "add") {
    ?>
    <tr class="button"><td colspan="4"><input type="submit" name="add" id="add" value="Add Country" /><?php 
    sentSuccessful("Country added successfully!");
    ?>
</td></tr>
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
    <tr class="button"><td colspan="4"><input type="submit" name="update" id="update" value="Update Country" /><?php 
    sentSuccessful("Country updated successfully!");
    ?>
</td></tr>
<?php 
}
?>
  </table>
<?php 
if ($_GET['function'] == "add") {
    echo "<input type=\"hidden\" name=\"MM_insert\" value=\"countryAdd\" />";
} elseif ($_GET['function'] == "update") {
    echo "<input type=\"hidden\" name=\"MM_update\" value=\"countryUpdate\" />";
    echo "<input type=\"hidden\" name=\"countryID\" value=\"" . $_GET['country'] . "\" />";
}
?>
</form>
Example #6
0
formField("textarea", "notes", $row_rsDatacenters['notes'], "50", null, "5", "virtual");
?>
</td>
  </tr>
<?php 
if ($_GET['function'] == "add") {
    ?>
    <tr class="button"><td colspan="2"><input type="submit" name="add" id="add" value="Add Datacenter" /><?php 
    sentSuccessful("Datacenter added successfully!");
    ?>
</td></tr>
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
    <tr class="button"><td colspan="2"><input type="submit" name="update" id="update" value="Update Datacenter" /><?php 
    sentSuccessful("Datacenter updated successfully!");
    ?>
</td></tr>
<?php 
}
?>
</table>
<?php 
if ($_GET['function'] == "add") {
    ?>
	<input type="hidden" name="MM_insert" value="datacenterAdd" />
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
	<input type="hidden" name="MM_update" value="datacenterUpdate" />
	<input type="hidden" name="datacenterID" value="<?php 
Example #7
0
formField("textarea", "notes", $row_rsProtocols['notes'], "50", null, "5", "virtual");
?>
</td>
    </tr>
<?php 
if ($_GET['function'] == "add") {
    ?>
    <tr class="button"><td colspan="2"><input type="submit" name="add" id="add" value="Add Protocol" /><?php 
    sentSuccessful("Protocol added successfully!");
    ?>
</td></tr>
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
    <tr class="button"><td colspan="2"><input type="submit" name="update" id="update" value="Update Protocol" /><?php 
    sentSuccessful("Protocol updated successfully!");
    ?>
</td></tr>
<?php 
}
?>
  </table>
<?php 
if ($_GET['function'] == "add") {
    ?>
	<input type="hidden" name="MM_insert" value="protocolAdd" />
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
  <input type="hidden" name="MM_update" value="protocolUpdate" />
  <input type="hidden" name="protocolID" value="" />
Example #8
0
									 <div class="box-footer">
												<div class="form-group">
													 <div class="col-xs-offset-2 col-xs-10">
														  <button type="submit" class="btn btn-primary"><span class='glyphicon glyphicon-save'></span>&nbsp;Send RFC</button>
														  <?php 
if ($my_get['function'] != "add") {
    ?>
															  <a class="btn btn-default" href="../maintenances/maintenanceAdd.php?function=add&amp;rfa=<?php 
    echo $my_get['rfa'];
    ?>
&amp;module=maintenance">
																	<span class="glyphicon glyphicon-lock"></span>&nbsp;Generate Maintenance Notification
															  </a>
														  <?php 
}
sentSuccessful("RFC sent successfully!");
?>
													 </div>
												</div>

												<?php 
if ($my_get['function'] == "add") {
    ?>
													<input type="hidden" name="MM_insert" value="rfaAdd" />
												<?php 
} elseif ($my_get['function'] == "update") {
    ?>
													<input type="hidden" name="MM_update" value="rfaUpdate" />
													<input type="hidden" name="changeRequestID" value="<?php 
    echo $row_rsRFA['changeRequestID'];
    ?>
Example #9
0
formField("textarea", "notes", $row_rsApps['notes'], "50", null, "5", "virtual", "2");
?>
</td>
    </tr>
<?php 
if ($_GET['function'] == "add") {
    ?>
    <tr class="button"><td colspan="2"><input type="submit" name="add" id="add" value="Add Application" /><?php 
    sentSuccessful("Application added successfully!");
    ?>
</td></tr>
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
    <tr class="button"><td colspan="2"><input type="submit" name="update" id="update" value="Update Application" /><?php 
    sentSuccessful("Application updated successfully!");
    ?>
</td></tr>
<?php 
}
?>
  </table>
<?php 
if ($_GET['function'] == "add") {
    ?>
	<input type="hidden" name="MM_insert" value="applicationAdd" />
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
  <input type="hidden" name="MM_update" value="applicationUpdate" />
  <input type="hidden" name="applicationID" value="<?php 
Example #10
0
formField("textarea", "notes", $row_rsCustomerType['notes'], "50", null, "5", "virtual", "2");
?>
</td>
    </tr>
<?php 
if ($_GET['function'] == "add") {
    ?>
	<tr class="button"><td colspan="2"><input type="submit" name="add" id="add" value="Add Customer Type" /><?php 
    sentSuccessful("Customer Type Added Successfully!");
    ?>
</td></tr>
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
	<tr class="button"><td colspan="2"><input type="submit" name="update" id="update" value="Update Customer Type" /><?php 
    sentSuccessful("Customer Type Updated Successfully!");
    ?>
</td></tr>
<?php 
}
?>
  </table>
<?php 
if ($_GET['function'] == "add") {
    ?>
	<input type="hidden" name="MM_insert" value="customerTypeAdd" />
	<input type="hidden" name="customerTypeID" value="" />
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
	<input type="hidden" name="MM_update" id="MM_update" value="customerTypeUpdate" />
Example #11
0
} else {
    echo "<a href=\"" . $row_rsFileUploads['filename'] . "\">" . $row_rsFileUploads['filename'] . "</a>";
}
?>
</td>
    </tr>
    <tr>
      <td valign="top" class="contrast"><label for="description">Description:</label></td>
      <td colspan="2"><?php 
formField("textarea", "description", $row_rsFileUploads['description'], "75", null, "7", "virtual");
?>
</td>
    </tr>
    <tr class="button">
      <td colspan="3"><input type="submit" name="submit" id="submit" value="Submit File" /><?php 
sentSuccessful("Thanks for contributing! Your uploaded file will be reviewed as soon as possible, <br />and you will be contacted, if necessary.");
?>
</td>
    </tr>
  </table>
<?php 
if ($_GET['function'] == "add") {
    echo "<input type=\"hidden\" name=\"MM_insert\" value=\"fileUploadAdd\" />";
} elseif ($_GET['function'] == "update") {
    echo "<input type=\"hidden\" name=\"MM_update\" value=\"fileUploadUpdate\" />";
    echo "<input type=\"hidden\" name=\"fileUploadID\" id=\"fileUploadID\" value=\"" . $row_rsFileUploads['fileUploadID'] . "\" />";
}
?>
</form><br />
<?php 
buildFooter("0");
Example #12
0
        <?php 
} while ($row_rsServerTypes = mysql_fetch_assoc($rsServerTypes));
$rows = mysql_num_rows($rsServerTypes);
if ($rows > 0) {
    mysql_data_seek($rsServerTypes, 0);
    $row_rsServerTypes = mysql_fetch_assoc($rsServerTypes);
}
?>
      </select><?php 
addComponent("serverTypeAdd.php", "Add a server type", "add");
?>
</td>
    <tr>
      <td valign="top" class="contrast"><label for="notes">Notes:</label></td>
      <td><textarea name="notes" id="notes" cols="50" rows="5" wrap="VIRTUAL"></textarea></td>
    </tr>
    <tr class="button"><td colspan="2"><input name="add" type="submit" id="add" value="Add Server" /><?php 
sentSuccessful("Server added successfully!");
?>
</td></tr>
  </table>
  <input type="hidden" name="MM_insert" value="serverAdd" />
</form><br />
<?php 
buildFooter("0");
?>
</div></div>
</body>
</html><?php 
mysql_free_result($rsDatacenters);
mysql_free_result($rsServerTypes);
Example #13
0
      <td><?php 
if ($_GET['function'] == "update") {
    echo "<textarea name=\"notes\" id=\"notes\" cols=\"50\" rows=\"5\" wrap=\"virtual\">";
}
echo stripslashes($row_rsReportTypes['notes']);
if ($_GET['function'] == "update") {
    echo "</textarea>";
}
?>
</td>
    </tr>
<?php 
if ($_GET['function'] == "update") {
    ?>
	<tr class="button"><td colspan="2"><input type="submit" value="Update Report Type" /><?php 
    sentSuccessful("Report Type updated successfully!");
    ?>
</td></tr>
<?php 
}
?>
  </table>
  <input type="hidden" name="MM_update" value="reportTypeUpdate" />
  <input type="hidden" name="reportTypeID" value="<?php 
echo $row_rsReportTypes['reportTypeID'];
?>
" />
</form><br />
<?php 
buildFooter("0");
?>
Example #14
0
																	 <?php 
}
?>
																</div>
														  </div>

														  <?php 
if ($my_get['function'] == "add") {
    ?>
														 </div>
														 <div class="box-footer">
															  <div class="form-group">
																	<div class="col-xs-offset-2 col-xs-10">
																		 <button class="btn btn-primary" type="submit" name="add" id="add"><span class='glyphicon glyphicon-save'></span>&nbsp;Submit Support Request</button>
																		 <?php 
    sentSuccessful("Support Request submitted successfully!");
    ?>
																	</div>
															  </div>
															  <input type="hidden" name="MM_insert" value="supportRequestAdd" />
															  <input type="hidden" name="status" id="status" value="Open" />
														  <?php 
} elseif ($my_get['function'] == "update") {
    ?>
															  <input type="hidden" name="MM_update" value="supportRequestUpdate" />
															  <input type="hidden" name="supportRequestID" id="supportRequestID" value="<?php 
    echo $my_get['supportRequest'];
    ?>
" />
														  <?php 
}
Example #15
0
formField("textarea", "notes", $row_rsConnTypes['notes'], "50", null, "5", "virtual");
?>
</td>
    </tr>
<?php 
if ($_GET['function'] == "add") {
    ?>
    <tr class="button"><td colspan="2"><input type="submit" name="add" id="add" value="Add Connection Type" /><?php 
    sentSuccessful("Connection Type added successfully!");
    ?>
</td></tr>
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
    <tr class="button"><td colspan="2"><input type="submit" name="update" id="update" value="Update Connection Type" /><?php 
    sentSuccessful("Connection Type updated successfully!");
    ?>
</td></tr>
<?php 
}
?>
  </table>
<?php 
if ($_GET['function'] == "add") {
    ?>
	<input type="hidden" name="MM_insert" value="connTypeAdd" />
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
  <input type="hidden" name="MM_update" value="connTypeUpdate" />
  <input type="hidden" name="connTypeID" value="<?php 
Example #16
0
    ?>
			<input name="submit" type="submit" id="submit" value="<?php 
    if (isset($_GET['function']) && $_GET['function'] == "add") {
        echo "Add ";
    } elseif (isset($_GET['function']) && $_GET['function'] == "update") {
        echo "Update ";
    }
    echo "Leave Type";
    ?>
" />
		<?php 
}
if (isset($_GET['function']) && $_GET['function'] == "add") {
    sentSuccessful("Leave Type added successfully!");
} elseif (isset($_GET['function']) && $_GET['function'] == "update") {
    sentSuccessful("Leave Type updated successfully!");
}
?>
</td>
    </tr>
  </table><?php 
if (isset($_GET['function']) && $_GET['function'] != "add") {
    echo "<input type=\"hidden\" name=\"leaveTypeID\" value=\"" . $row_rsLeaveTypes['leaveTypeID'] . "\" />";
}
?>
  <input type="hidden" name="MM_insert" value="leaveTypeAdd" />
  <input type="hidden" name="MM_update" value="leaveTypeAdd">
</form><br />
<?php 
buildFooter("0");
?>