Exemplo n.º 1
0
<?php

include "serverapi.php";
$server = $_GET['server'];
$key = $_GET['key'];
$data = getServerTemplateFile($server, $key);
include 'header.php';
?>
<body id="edit_user" class="users">
	<?php 
make_navbar('Servers');
?>
	<div id="body" class="wrap">
		<div class="section">
			<?php 
echo "<form method=\"POST\" action=\"updatetemplate.php?server={$server}&key={$key}\">";
echo "<textarea name=\"template\" rows=\"30\" cols=\"80\">";
echo htmlspecialchars($data, ENT_QUOTES);
echo "</textarea><p>";
echo "<input type=\"submit\" name=\"action\" value=\"Save Template\">";
echo "</form>";
?>
		</div>
	</div>
	<?php 
include 'footer.php';
?>
</body>
</html>
Exemplo n.º 2
0
} else {
    $limit = 10;
}
if (isset($_GET["page"])) {
    $page = $_GET["page"];
} else {
    $page = 1;
}
?>

<?php 
include 'header.php';
?>
<body id="find_user" class="users">
<?php 
make_navbar('Users');
?>

<div id="body" class="wrap">
  <div id="users_table" class="section">
    <div class="table_header">
      <h3><span>OpenQwaq Users</span><span class="add">
        (<a href="edituser.php">Add</a>, <a href="importUsersForm.php">Import</a>)
      </span> </h3>
      <form method="post" action="finduser.php?limit=<?php 
echo $limit;
?>
" class="search">
        <input name="search" value="<?php 
echo $query;
?>
Exemplo n.º 3
0
<script language="javascript"> DetectFlashVer = 0; </script>
<script src="./charts/AC_RunActiveContent.js" language="javascript"></script>
<script src="js/CalendarPopup.js" language="javascript"></script>
<script language="javascript">
	var cal = new CalendarPopup();
</script>
<script language="JavaScript" type="text/javascript">
<!--
var requiredMajorVersion = 9;
var requiredMinorVersion = 0;
var requiredRevision = 45;
-->
</script>
<script type="text/javascript" src="js/chart.js"></script>
<?php 
make_navbar('Tools');
?>

	<div id="body" class="wrap">
		<h3><?php 
echo $pageTitle;
?>
</h3>
   
		<form name="calendar" onsubmit="return false">
                  <fieldset>
                    <legend>Instructions</legend>
                          To see a chart of meetings: select date, optionally org and hit update
                       <br><br>
                          To see a chart comparing user network latencies within a meeting: 
                select date, org, forum, and time and hit update. User and timezone are optional
Exemplo n.º 4
0
} else {
    $rs = deleteOrg($id);
    if ($rs == true) {
        header("Location: index.php");
    }
}
$form = findOrgById($id);
$pageTitle = "Deleting Organization: {$form['name']}";
$pageInfo = "";
$submitPage = $_SERVER["REQUEST_URI"];
$submitLabel = "Delete";
include 'header.php';
?>
<body id="edit_organization" class="organizations">
	<?php 
make_navbar('Organizations');
?>
	<div id="body" class="wrap">
		<h3><?php 
echo $pageTitle;
?>
</h3>
		<form name="viewOrgForm" method="post" action="<?php 
echo $submitPage;
?>
">
			<input type="hidden" name="id" value="<?php 
echo $form['id'];
?>
">
			<table border="0">
Exemplo n.º 5
0
<?php

include 'header.php';
?>
<body id="edit_error" class="errors">
<?php 
make_navbar('');
?>
<div id="body" class="wrap">
    <table style="border: 0px none ;"><tr><td>
    <?php 
echo "{$pageInfo}";
?>
</td></tr></table>
</div>
<?php 
include 'footer.php';
?>
</body>
</html>
Exemplo n.º 6
0
    $total = $matches["total"];
    echo "<select name=\"orgid\">";
    for ($index = 0; $index < $count; $index += 1) {
        $form = $matches[$index];
        echo "<option value=\"{$form['id']}\">{$form['name']}</option>\n";
    }
    echo "</select>";
}
?>

<?php 
include 'header.php';
?>
<body id="find_group" class="groups">
<?php 
make_navbar('Groups');
?>
<div id="body" class="wrap">

<fieldset><legend>Import from Active Directory</legend>
<form name="importadform" method="post" action="adimport.php">
<table style="border: 0px none ;">
<tr>
  <td style="background: white ;">OpenQwaq Organization</td>
  <td style="background: white ;"><?php 
makeOrgsDropDown();
?>
</td>
</tr>
<tr>
  <td style="background: white ;">Active Directory Group</td>
Exemplo n.º 7
0
<?php

/**
 * PHP Template.
 */
include 'adminapi.php';
include 'status.php';
$statusDoc = getStatus();
include 'header.php';
?>
<body id="dashboard">
	<?php 
make_navbar('Dashboard');
?>
	<div id="body" class="wrap">
		<div id="server_info_table" class="section">
			<div class="table_header">
				<h3><span>Server Info</span></h3>
			</div>
			<table cellpadding="0" cellspacing="0" class="alternate">
				<thead>
					<tr>
						<th>Active Users</th>
						<th>Server Version</th>
						<th>Host Name</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td><?php 
echo $statusDoc->activeUsers;