Пример #1
0
    }
}
$queryString_rsServerTypes = sprintf("&totalRows_rsServerTypes=%d%s", $totalRows_rsServerTypes, $queryString_rsServerTypes);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mobile365: Server Types</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../../inc/global.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="../images/logos/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="../../inc/js/js.js"></script>
</head>
<body>
<?php 
buildHeader("serverType", null, "serverTypes", "Server Types", "Add a Server Type");
?>
<div align="center">
<div class="casing" align="left">
<?php 
login();
?>
<table class="data" cellspacing="0">
  <tr>
    <th>Server Type</th>
<?php 
sudoAuthData(null, null, "th", "edit", null);
?>
  </tr>
<?php 
$num = 0;
Пример #2
0
}
$queryString_rsEmployees = sprintf("&totalRows_rsEmployees=%d%s", $totalRows_rsEmployees, $queryString_rsEmployees);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mobile365: Employees</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<link href="../inc/global.css" rel="stylesheet" type="text/css" />
<?php 
include_once '../inc/js/js.php';
?>
</head>
<body>
<?php 
buildHeader("employee", null, "employees", "Employees", "Add an Employee");
?>
<div align="center">
<div class="casing"><br />
	<table class="data" align="center" cellspacing="0">
	<tr><th>
		Employee</th><th colspan="2">
		&nbsp;
	</th></tr>
        <?php 
$num = 0;
do {
    $num++;
    echo "<tr";
    if ($num % 2) {
        echo " class=\"odd\"";
Пример #3
0
} else {
    echo "View";
}
?>
 Server Type</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../../inc/global.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="../images/logos/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="../../inc/js/js.js"></script>
</head>
<body>
<?php 
if ($_GET['function'] == "update") {
    buildHeader("serverType", "Server Types", "serverType", "Update a Server Type", "Add a Server Type");
} else {
    buildHeader("serverType", "Server Types", "serverType", "View a Server Type", "Add a Server Type");
}
?>
<div align="center">
<div class="casing" align="left"><br />
<form method="post" name="serverType" action="serverType.php">
  <table class="update" align="center" cellspacing="0">
    <tr>
      <td nowrap="nowrap" class="contrast"><label>Server Type:</label></td>
      <td><?php 
if ($_GET['function'] == "update") {
    echo "<input type=\"text\" name=\"serverType\" value=\"";
}
echo $row_rsServerTypes['serverType'];
if ($_GET['function'] == "update") {
    echo "\" size=\"32\" />";
Пример #4
0
$rsEmployees = mysql_query($query_rsEmployees, $connProdOps) or die(mysql_error());
$row_rsEmployees = mysql_fetch_assoc($rsEmployees);
$totalRows_rsEmployees = mysql_num_rows($rsEmployees);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mobile365: Feedback</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../inc/global.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="../images/logos/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="../inc/js/js.js"></script>
</head>
<body>
<?php 
buildHeader(null, null, "feedback", "Feedback", null);
?>
<div align="center">
<div class="casing" align="left">
<form method="post" name="feedback" action="feedbackSend.php">
<div style="text-align:left; margin-left: 115px;"><dt>Instructions</dt><dd>Below is a form to report a bug, request a feature, as well as share ideas,<br />suggestions, and recommendations. If you wish to remain anonymous, simply<br />select "Anonymous" from the drop-down box below. 
Thanks for your input!</dd></div><br />
  <table align="center" width="555" class="add" cellspacing="0">
    <tr valign="middle">
      <td width="71" class="contrast"><label for="employee">Name:</label></td>
      <td width="195"><select name="employee" id="employee">
	  	<option value="">Select Name</option>
        <?php 
do {
    ?>
        <option value="<?php 
Пример #5
0
	  href="css/stylesheetHome.css" />
<link rel="stylesheet" type="text/css" media="screen"
      href="css/stylesheetHeader.css" />
<!-- pulls the jquery file from the directory above this one -->
<script type='text/javascript' src="jquery.min.js"></script>
<script type='text/javascript' src="js/homeListener.js"></script>
<script type='text/javascript' src="js/header.js"></script>
</head>
<body>
<?php 
$cookie = $_COOKIE['instaDBMS'];
if (!isset($_COOKIE['instaDBMS'])) {
    header('Location: index.php');
}
require_once 'header.php';
buildHeader();
require_once 'conn.php';
$viewingPhoto = '';
// Checking if there is an available photo_id to display, and if so,
// getting the photo_id.
if (isset($_GET['photo'])) {
    $viewingPhoto = $_GET['photo'];
}
?>
</div>
	<?php 
// This gets all the images that the logged in user and their friends have
// posted. The first section gets the right data, and the second section
// (After the join) describes what user_ids to search for.
$stmtImage = $mysqli->prepare("SELECT photo.image, photo.photo_id,\n\t\tphoto.upload_date, user.user_name, user.user_id, photo.hidden, user.is_disabled FROM photo\n        INNER JOIN user on photo.user_id = user.user_id WHERE\n        photo.photo_id=?");
// Getting the number of likes on the photo using the COUNT function.
Пример #6
0
    $totalRows_rsFileUploads = mysql_num_rows($rsFileUploads);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mobile365: File Uploads</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../../inc/global.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="../images/logos/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="../../inc/js/js.js"></script>
	<script type="text/javascript" src="../../inc/js/calendarDateInput2.js"></script>
</head>
<body>
<?php 
buildHeader("fileUpload", "File Uploads", "fileUpload", "File Upload", null);
?>
<div align="center">
<div class="casing" align="left">
<form enctype="multipart/form-data" method="post" name="fileUploadForm" action="fileUploadSend.php">
<?php 
if ($_GET['function'] == "add") {
    ?>
	<div style="text-align:left; margin-left: 115px;"><dt>Instructions</dt><dd>Below is a form to upload a file to the ProdOps server. Please select your name,<br />any common keywords pertaining to this file (for searching later), and a brief<br />description of the file to assist with proper classification.<br />Thanks for sharing!</dd></div><br />
<?php 
} elseif ($_GET['function'] == "update") {
    ?>
	<div style="text-align:left; margin-left: 115px;"><dt>Instructions</dt><dd>Below is a form to update information for files previously uploaded to the ProdOps server. Please update the file location with the fully qualified file system path, as well as the keywords &amp; description, if desired. This will help keep the knowledgebase consistently upto date.<br />Thanks!</dd></div><br />
<?php 
}
?>
Пример #7
0
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mobile365: View Servers</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../inc/global.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="../images/logos/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="../inc/js/js.js"></script>
	<?php 
include_once '../inc/js/serverTabs.php';
?>
</head>
<body>
<?php 
buildHeader("server", null, "servers", "Servers", "Add a Server");
?>
<div align="center">
<div class="casing" align="left"><br />
	      <!-- TABS -->
      <div id="tabs">
	  	<span class="<?php 
if (isset($_GET['datacenter']) || isset($_GET['serverType'])) {
    echo "tabbak";
} else {
    echo "tabfor";
}
?>
" id="tab_none"><a href="servers.php?filter=none">No Filter</a></span>
		<span class="<?php 
if (isset($_GET['datacenter'])) {
Пример #8
0
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php 
buildTitle("Connection Types");
?>
</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../../inc/global.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="../images/logos/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="../../inc/js/js.js"></script>
</head>
<body>
<?php 
buildHeader("connType", null, "connTypes", "Connection Types", "Add a Connection Type");
?>
<div align="center">
<div class="casing" align="left">
<?php 
login();
?>
<table class="data" cellspacing="0" align="center">
  <tr>
    <th>Connection Type</th>
	<?php 
sudoAuthData(null, null, "th", "edit", null);
?>
  </tr>
<?php 
$num = 0;
Пример #9
0
buildTitle("a Customer Type");
?>
</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../../inc/global.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="../images/logos/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="../../inc/js/js.js"></script>
</head>
<body>
<?php 
if ($_GET['function'] == "add") {
    buildHeader("customerType", "Customer Types", "customerType", "Add a Customer Type", null);
} elseif ($_GET['function'] == "update") {
    buildHeader("customerType", "Customer Types", "customerType", "Update Customer Type", "Add a Customer Type");
} else {
    buildHeader("customerType", "Customer Types", "customerType", "View a Customer Type", "Add a Customer Type");
}
?>
<div align="center">
<div class="casing" align="left">
<form action="customerType.php" method="post" name="customerTypeForm" id="customerTypeForm">
  <table class="<?php 
echo $_GET['function'];
?>
" align="center" cellspacing="0" cellpadding="2">
    <tr>
      <td width="109" class="contrast"><label for="customerType">Customer Type:</label></td>
      <td><?php 
formField("text", "customerType", $row_rsCustomerType['customerType'], "32", "255", null, null, "1");
?>
</td>
Пример #10
0
$rsServerTypes = mysql_query($query_rsServerTypes, $connProdOps) or die(mysql_error());
$row_rsServerTypes = mysql_fetch_assoc($rsServerTypes);
$totalRows_rsServerTypes = mysql_num_rows($rsServerTypes);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mobile365: Add a Server</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../inc/global.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="../images/logos/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="../inc/js/js.js"></script>
</head>
<body>
<?php 
buildHeader("server", "Servers", "serverAdd", "Add a Server", null);
?>
<div align="center">
<div class="casing" align="left"><br />
<form method="post" name="serverAdd" action="<?php 
echo $editFormAction;
?>
">
  <table class="add" cellspacing="0" align="center">
    <tr>
      <td class="contrast"><label for="hostname">Hostname:</label></td>
      <td><input type="text" name="hostname" id="hostname" value="" size="32"></td>
    </tr>
    <tr>
      <td class="contrast"><label for="publicIP">Public IP:</label></td>
      <td><input type="text" name="publicIP" id="publicIP" value="" size="32"></td>
Пример #11
0
} else {
    echo "View";
}
?>
 a Server</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../inc/global.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="../images/logos/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="../inc/js/js.js"></script>
</head>
<body>
<?php 
if ($_GET['function'] == "update") {
    buildHeader("server", "Servers", "server", "Update a Server", "Add a Server");
} else {
    buildHeader("server", "Servers", "server", "View a Server", "Add a Server");
}
?>
<div align="center">
<div class="casing"><br />
<form method="post" name="form1" action="<?php 
echo $editFormAction;
?>
">
  <table class="update" align="center" cellspacing="0">
    <tr>
      <td class="contrast">Hostname:</td>
      <td><?php 
if ($_GET['function'] == "update") {
    echo "<input type=\"text\" name=\"hostname\" value=\"";
}
Пример #12
0
} else {
    echo "View";
}
?>
 a Report Type</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../../inc/global.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="../images/logos/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="../../inc/js/js.js"></script>
</head>
<body>
<?php 
if ($_GET['function'] == "update") {
    buildHeader("reportType", "Report Types", "reportType", "Update a Report Type", "Add a Report Type");
} else {
    buildHeader("reportType", "Report Types", "reportType", "View Report Type", "Add a Report Type");
}
?>
<div align="center">
<div class="casing"><br />
<form method="post" name="reportTypeUpdate" action="<?php 
echo $editFormAction;
?>
">
  <table class="update" cellspacing="0" align="center">
    <tr>
      <td nowrap="nowrap" class="contrast"><label for="reportType">Report Type:</label></td>
      <td><?php 
formField("text", "reportType", $row_rsReportTypes['reportType'], "32", "255", null, null);
?>
</td>
Пример #13
0
$queryString_rsLeaveTypes = sprintf("&totalRows_rsLeaveTypes=%d%s", $totalRows_rsLeaveTypes, $queryString_rsLeaveTypes);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mobile365: Leave Types</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../inc/global.css" rel="stylesheet" type="text/css" />
	<?php 
require_once '../inc/js/js.php';
require_once '../inc/functions.php';
?>
</head>
<body>
<?php 
buildHeader("leaveType", null, "leaveTypes", "Leave Types", "Add a Leave Type");
?>
<div align="center">
<div class="casing"><br />
<table class="data" align="center" cellspacing="0">
  <tr>
	<th>Leave Type</th>
	<th>&nbsp;</th>
  </tr>
        <?php 
$num = 0;
do {
    $num++;
    echo "<tr";
    if ($num % 2) {
        echo " class=\"odd\"";
Пример #14
0
buildTitle("a Connection Type");
?>
</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../../inc/global.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="../images/logos/favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="../../inc/js/js.js"></script>
</head>
<body>
<?php 
if ($_GET['function'] == "add") {
    buildHeader("connType", "Connection Types", "connType", "Add Connection Type", null);
} elseif ($_GET['function'] == "update") {
    buildHeader("connType", "Connection Types", "connType", "Update Connection Type", "Add a Connection Type");
} else {
    buildHeader("connType", "Connection Types", "connType", "View Connection Type", "Add a Connection Type");
}
?>
<div align="center">
<div class="casing" align="left">
<form action="connType.php" method="post" name="connTypeForm" id="connTypeForm">
  <table class="update" align="center" cellspacing="0" cellpadding="2">
    <tr>
      <td class="contrast" nowrap="nowrap"><label for="connType">Connection Type:</label></td>
      <td><?php 
formField("text", "connType", $row_rsConnTypes['connType'], "32", "255", null, null);
?>
</td>
    </tr>
    <tr>
      <td class="contrast" valign="top"><label for="notes">Notes:</label></td>
Пример #15
0
	<link href="../inc/global.css" rel="stylesheet" type="text/css" />
	<?php 
require_once '../inc/functions.php';
?>
	<?php 
require_once '../inc/js/js.php';
?>
</head>
<body>
<?php 
if (isset($_GET['function']) && $_GET['function'] == "add") {
    buildHeader("leaveType", "Leave Types", "leaveType", "Add Leave Type", null);
} elseif (isset($_GET['function']) && $_GET['function'] == "update") {
    buildHeader("leaveType", "Leave Types", "leaveType", "Update Leave Type", "Add Leave Type");
} elseif (isset($_GET['function']) && $_GET['function'] == "view") {
    buildHeader("leaveType", "Leave Types", "leaveType", "View Leave Type", "Add Leave Type");
}
?>
<div align="center">
<div class="casing"><br />
<form action="<?php 
echo $editFormAction;
?>
" method="POST" enctype="multipart/form-data" name="leaveTypeAdd" id="leaveTypeAdd">
  <table class="<?php 
if (isset($_GET['function']) && $_GET['function'] == "add") {
    echo "add";
} elseif (isset($_GET['function']) && $_GET['function'] == "update") {
    echo "update";
} else {
    echo "view";
Пример #16
0
mysql_select_db($database_connProdOps, $connProdOps);
$query_rsGroups = "SELECT groupID, `group` FROM groups ORDER BY `group` ASC";
$rsGroups = mysql_query($query_rsGroups, $connProdOps) or die(mysql_error());
$row_rsGroups = mysql_fetch_assoc($rsGroups);
$totalRows_rsGroups = mysql_num_rows($rsGroups);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mobile365: Update an Employee</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<link href="../inc/global.css" rel="stylesheet" type="text/css" />
</head>
<body>
<?php 
buildHeader("employees", "Employees", "employeesUpdate", "Update Employee Information", true, "Add an employee");
?>
<form method="post" name="form1" action="<?php 
echo $editFormAction;
?>
">
  <table align="center">
    <tr valign="baseline">
      <td align="right"><label>Name:</label></td>
      <td><input name="firstName" type="text" value="<?php 
echo $row_rsEmployees['firstName'];
?>
" size="20" maxlength="255" />
      <input name="lastName" type="text" value="<?php 
echo $row_rsEmployees['lastName'];
?>