echo '<tr><td colspan=2 style="text-align:right;"><button class=basicButton name=addUser value=true onclick="javascript:document.changeDataForm.submit();">hinzufügen</button></td></tr>'; echo '</table>'; echo '<input type=hidden name=cmd value=ultimateMembershipOrganisation>'; echo '</form>'; } else { echo 'Keine Gruppe gewählt!'; } boxEnd(); ?> </td></tr> </table> </td> <td class="seperator"><img src="img/one.gif" width="10" height="1"></td> <td style="padding-right:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Mitglieder der Gruppe', 'Hier werden Ihnen die Mitglieder der Gruppe angezeigt. Zudem können Sie hier auch Benutzer aus der Gruppe wieder entfernen.'); if ($this->groupSelect != null and is_array($this->memberlist) == true) { if (count($this->memberlist) >= 1) { echo '<form name=memberOrgForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;padding:0px;margin:0px;">'; echo '<tr><td colspan=3><div class=description>Folgende Benutzer sind Mitglieder dieser Gruppe:</div></td></tr>'; $counter = 1; foreach ($this->memberlist as $key => $value) { if ($counter % 2 == 0) { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#ffffff;padding:0px;margin:0px;"><input class=basicCheckbox id=user_' . $counter . ' type=checkbox name=name' . $counter . ' value=' . $key . '></td><td style="width:100px;text-align:left;background-color:#ffffff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:170px;background-color:#ffffff;">' . $value . '</td></tr>'; } else { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#d7d7ff;padding:0px;margin:0px;"><input class=basicCheckbox id=user_' . $counter . ' type=checkbox name=name' . $counter . ' value=' . $key . '></td><td style="width:100px;text-align:left;background-color:#d7d7ff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:170px;background-color:#d7d7ff;">' . $value . '</td></tr>'; } $counter++; } unset($counter);
include_once 'topFrame.php'; ?> </td> </tr> <tr> <td class="navFrame"><?php include_once 'navigationFrame.php'; ?> </td> <td class="mainFrame"> <table class="contentMainTable" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-left:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Gruppenauswahl', 'N/A'); echo '<form action=index.php name=selectGroup style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;">'; //echo '<tr><td style="width:145px;text-align:left;"><div class=text-bf>Gruppenfilter:</div></td><td style="width:145px;text-align:right;"><input class=basicInput type=text name=groupfilter '; // if($this->namefilter != null) echo 'value='.$this->groupfilter; // echo '></td></tr>'; echo '<tr><td style="width:145px;text-align:left;vertical-align:middle;"><span class=text-bf>Direktauswahl</span></td><td align=right style="width:145px;height:20px;">'; if ($this->groupSelect != null) { $activeGroup = $this->groupSelect; } else { $activeGroup = ''; } createMenu('dropdown-search', 'directSelect', $this->groupList, $activeGroup, '', 100); echo '</td></tr>'; if ($this->status != null and $this->statusMsg != null) { if ($this->status == 'ok') {
} echo '</table>'; echo '<input type=hidden name=cmd value=changeGroupdata>'; echo '</form>'; } else { echo 'Keine Gruppe gewählt!'; } boxEnd(); ?> </td></tr> </table> </td> <td class="seperator"><img src="img/one.gif" width="10" height="1"></td> <td style="padding-right:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Mitglieder zuordnen', 'Hier können Sie die Mitglieder-Zuordnung von Gruppen regeln. Es stehen Ihnen dabei die folgenden Aktionen zur Verfügung:<ul><li>Mitglieder aus Gruppe entfernen<li>Mitglieder anderer Gruppe zuordnen<li>Mitglieder verschieben</ul>'); if ($this->groupSelect != null and is_array($this->memberlist) == true) { if (count($this->memberlist) >= 1) { echo '<form name=memberOrgForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;padding:0px;margin:0px;">'; echo '<tr><td colspan=3><div class=description>Folgende Benutzer sind Mitglieder dieser Gruppe:</div></td></tr>'; $counter = 1; foreach ($this->memberlist as $key => $value) { if ($counter % 2 == 0) { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#ffffff;padding:0px;margin:0px;"><input class=basicCheckbox id=user_' . $counter . ' type=checkbox name=name' . $counter . ' value=' . $key . '></td><td style="width:100px;text-align:left;background-color:#ffffff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:170px;background-color:#ffffff;">' . $value . '</td></tr>'; } else { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#d7d7ff;padding:0px;margin:0px;"><input class=basicCheckbox id=user_' . $counter . ' type=checkbox name=name' . $counter . ' value=' . $key . '></td><td style="width:100px;text-align:left;background-color:#d7d7ff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:170px;background-color:#d7d7ff;">' . $value . '</td></tr>'; } $counter++; } unset($counter);
include_once 'topFrame.php'; ?> </td> </tr> <tr> <td class="navFrame"><?php include_once 'navigationFrame.php'; ?> </td> <td class="mainFrame"> <table class="contentMainTable" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-left:10px;padding-top:10px;vertical-align:top;width:310px;"> <?php boxStart('Eigenes Kennwort ändern', 'Um Ihr eigenes Kennwort zu ändern, geben Sie Ihr altes und danach das neue Kennwort an. Aus Sicherheitsgründen bestätigen Sie das neue Kennwort bitte.'); echo '<form name=changePWForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;">'; echo '<tr><td style="width:145px;text-align:left;"><div class=text-bf>Kennwort (alt):</div></td><td style="width:145px;text-align:right;"><input class=basicInput type=password name=passwordOld></td></tr>'; echo '<tr><td style="width:145px;text-align:left;"><div class=text-bf>Kennwort (neu):</div></td><td style="width:145px;text-align:right;"><input class=basicInput type=password name=passwordNew></td></tr>'; echo '<tr><td style="width:145px;text-align:left;"><div class=text-bf>Kennwort bestätigen:</div></td><td style="width:145px;text-align:right;"><input class=basicInput type=password name=passwordRetype></td></tr>'; if ($this->status != null and $this->statusMsg != null) { if ($this->status == 'ok') { echo '<tr><td colspan=2><div class=apply>' . $this->statusMsg . '</div></td></tr>'; } if ($this->status == 'warning') { echo '<tr><td colspan=2><div class=warning>' . $this->statusMsg . '</div></td></tr>'; } } echo '<tr><td colspan=2 style="text-align:right;"><button class=basicButton name=changePW value=true onclick="javascript:document.changePWForm.submit();">ändern</button></td></tr>'; echo '</table>';
echo '<option>'.$groupName.'</option>'; } } echo '</select></td></tr>'; */ echo '<tr><td colspan=2 style="text-align:right;"><button class=basicButton name=userSearch value=true onclick="javascript:document.chooseUser.submit();">suchen</button></td></tr>'; echo '</table>'; echo '<input type=hidden name=cmd value=deleteUser>'; echo '</form>'; boxEnd(); ?> </td> <td class="seperator"><img src="img/one.gif" width="10" height="1"></td> <td style="padding-right:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Ergebnisse der Suche', 'Hier werden Ihnen die Suchergebnisse aufgelistet. Markieren Sie nun die gewünschten Benutzer und klicken Sie anschließend auf Löschen.'); if ($this->groupSelect != null) { if (count($this->results) >= 1) { echo '<form name=deleteForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;padding:0px;margin:0px;">'; echo '<tr><td colspan=3><div class=description>Die Suche in <span class=text-bf>"' . $this->groupSelect . '"</span> lieferte folgende Ergebnisse:</div></td></tr>'; $counter = 1; foreach ($this->results as $key => $value) { if ($counter % 2 == 0) { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#ffffff;padding:0px;margin:0px;"><input class=basicCheckbox type=checkbox id=user_' . $counter . ' name=name' . $counter . ' value=' . $key . '></td><td style="width:120px;text-align:left;background-color:#ffffff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:150px;background-color:#ffffff;">' . $value . '</td></tr>'; } else { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#d7d7ff;padding:0px;margin:0px;"><input class=basicCheckbox type=checkbox id=user_' . $counter . ' name=name' . $counter . ' value=' . $key . '></td><td style="width:120px;text-align:left;background-color:#d7d7ff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:150px;background-color:#d7d7ff;">' . $value . '</td></tr>'; } $counter++; } unset($counter);
echo '<tr><td colspan=2 style="text-align:right;"><button class=basicButton name=changeData value=true onclick="javascript:document.changeDataForm.submit();">ändern</button></td></tr>'; echo '</table>'; echo '<input type=hidden name=cmd value=changeUserdata>'; } elseif ($this->warning != null) { echo 'Sie haben keinen Benutzernamen ausgew�hlt!'; } echo '</form>'; boxEnd(); ?> </td></tr> </table> </td> <td class="seperator"><img src="img/one.gif" width="10" height="1"></td> <td style="padding-right:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Ergebnisse der Suche', 'Hier werden Ihnen die Ergebnisse der Suche aufgelistet. Klicken Sie einfach auf den gewünschten Benutzernamen, und die Informationen zu diesem Benutzer werden angezeigt.'); if ($this->groupSelect != null) { if (count($this->results) >= 1) { echo '<form action=index.php name=searchResults style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;padding:0px;margin:0px;">'; echo '<tr><td colspan=3><div class=description>Die Suche in <span class=text-bf>"' . $this->groupSelect . '"</span> lieferte folgende Ergebnisse:</div></td></tr>'; $counter = 1; foreach ($this->results as $key => $value) { if ($counter % 2 == 0) { echo '<tr><td style="width:140px;text-align:left;background-color:#ffffff;"><div class=searchResultItem><a href=# onclick="javascript:document.searchResults.userSelect.value=\'' . $key . '\';document.searchResults.submit();">' . $key . '</a></div></td><td class=text style="width:150px;background-color:#ffffff;">' . $value . '</td></tr>'; } else { echo '<tr><td style="width:140px;text-align:left;background-color:#d7d7ff;"><div class=searchResultItem><a href=# onclick="javascript:document.searchResults.userSelect.value=\'' . $key . '\';document.searchResults.submit();">' . $key . '</a></div></td><td class=text style="width:150px;background-color:#d7d7ff;">' . $value . '</td></tr>'; } $counter++; } unset($counter);
echo '</td></tr>'; } echo '</table>'; } } else { echo 'Sie haben keine Gruppe ausgew�hlt!'; } boxEnd(); ?> </td></tr> </table> </td> <td class="seperator"><img src="img/one.gif" width="10" height="1"></td> <td style="padding-right:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Mitgliederliste dieser Gruppe', 'Hier k�nnen Sie die Informationen �ber den Benutzer einsehen!'); if ($this->groupSelect != null and $this->memberlist != false) { echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;padding:0px;margin:0px;">'; $counter = 1; foreach ($this->memberlist as $key => $value) { if ($counter % 2 == 0) { echo '<tr><td style="width:140px;text-align:left;background-color:#ffffff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:150px;background-color:#ffffff;">' . $value . '</td></tr>'; } else { echo '<tr><td style="width:140px;text-align:left;background-color:#d7d7ff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:150px;background-color:#d7d7ff;">' . $value . '</td></tr>'; } $counter++; } unset($counter); echo '</table>'; } else { echo '<div class=text>keine Gruppe ausgew�hlt</div>';
include_once 'topFrame.php'; ?> </td> </tr> <tr> <td class="navFrame"><?php include_once 'navigationFrame.php'; ?> </td> <td class="mainFrame"> <table class="contentMainTable" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-left:10px;padding-top:10px;vertical-align:top;width:310px;"> <?php boxStart('Kreis anlegen', 'Geben Sie den Namen des anzulegenden Kreises an und bestätigen Sie!'); echo '<form name=createDistrictForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;">'; echo '<tr><td style="width:145px;text-align:left;"><div class=text-bf>Kreisname:</div></td><td style="width:145px;text-align:right;"><input class=basicInput type=text name=districtName></td></tr>'; if ($this->status != null and $this->statusMsg != null) { if ($this->status == 'ok') { echo '<tr><td colspan=2><div class=apply>' . $this->statusMsg . '</div></td></tr>'; } if ($this->status == 'warning') { echo '<tr><td colspan=2><div class=warning>' . $this->statusMsg . '</div></td></tr>'; } } echo '<tr><td colspan=2 style="text-align:right;"><button class=basicButton name=create value=true onclick="javascript:document.createDistrictForm.submit();">anlegen</button></td></tr>'; echo '</table>'; echo '<input type=hidden name=cmd value=createDistrict>'; echo '</form>';
echo '<option value=6m selected>mind. 6 Monate</option>'; } else { echo '<option value=6m>mind. 6 Monate</option>'; } echo '</select></td></tr>'; echo '<tr><td colspan=2 style="text-align:right;"><button class=basicButton name=userSearch value=true onclick="javascript:document.chooseUser.submit();">suchen</button></td></tr>'; echo '</table>'; echo '<input type=hidden name=cmd value=emptyTrash>'; echo '</form>'; boxEnd(); ?> </td> <td class="seperator"><img src="img/one.gif" width="10" height="1"></td> <td style="padding-right:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Ergebnisse der Suche', 'Hier werden die Suchergebnisse aufgelistet. Markieren Sie die gewünschten Benutzer und Bestätigen Sie Ihre Auswahl durch Drücken des Buttons. Die markierten Benutzer werden unwiderruflich gelöscht.'); if ($this->timespan != null) { echo '<form name=emptyForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;padding:0px;margin:0px;">'; if (count($this->results) == 0) { echo '<tr><td colspan=3><div class=description>Die Suche in <span class=text-bf>"Papierkorb"</span> war leider erfolglos!</div></td></tr>'; } else { echo '<tr><td colspan=3><div class=description>Die Suche in <span class=text-bf>"Papierkorb"</span> lieferte folgende Ergebnisse:</div></td></tr>'; } $counter = 1; foreach ($this->results as $key => $value) { if ($counter % 2 == 0) { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#ffffff;padding:0px;margin:0px;"><input class=basicCheckbox type=checkbox id=user_' . $counter . ' name=name' . $counter . ' value=' . $key . '></td><td style="width:120px;text-align:left;background-color:#ffffff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:150px;background-color:#ffffff;">' . $value . '</td></tr>'; } else { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#d7d7ff;padding:0px;margin:0px;"><input class=basicCheckbox type=checkbox id=user_' . $counter . ' name=name' . $counter . ' value=' . $key . '></td><td style="width:120px;text-align:left;background-color:#d7d7ff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:150px;background-color:#d7d7ff;">' . $value . '</td></tr>'; }
include_once 'topFrame.php'; ?> </td> </tr> <tr> <td class="navFrame"><?php include_once 'navigationFrame.php'; ?> </td> <td class="mainFrame"> <table class="contentMainTable" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-left:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Gruppe löschen', 'Wählen Sie einfach den Namen der zu löschenden Gruppe aus und klicken Sie anschließend auf Löschen.'); echo '<form action=index.php name=deleteForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;">'; echo '<tr><td style="width:145px;text-align:left;vertical-align:middle;"><span class=text-bf>Gruppenauswahl:</span></td><td align=right style="width:145px;height:20px;">'; if ($this->groupSelect != null) { $activeGroup = $this->groupSelect; } else { $activeGroup = ''; } createMenu('dropdown-search', 'groupSelect', $this->groupList, $activeGroup, '', 100); echo '</td></tr>'; /* echo '<tr><td style="width:145px;text-align:left;"><div class=text-bf>Gruppenauswahl:</div></td><td style="width:145px;text-align:right;"><select class=basicInput name=groupSelect size=1>'; if ($this->groupList != null) { foreach ($this->groupList as $groupName) { if($this->groupSelect != null AND $this->groupSelect == $groupName)
echo '</td></tr>'; echo '<tr><td colspan=2 style="text-align:right;"><button class=basicButton name=multipleCreation value=true onclick="javascript:document.createMultipleUsers.submit();">anlegen</button></td></tr>'; echo '</table>'; echo '<input type=hidden name=cmd value=createUser>'; echo '</form>'; //foreach($this->debug AS $key => $val) echo $key.': '.$val.'<br>'; boxEnd(); ?> </td></tr> </table> </td> <td class="seperator"><img src="img/one.gif" width="10" height="1"></td> <td style="padding-right:10px;padding-top:10px;vertical-align:top;"> <?php if ($this->userCreated != null) { boxStart('Erstellte Benutzer', 'Hier werden Ihnen die erstellten Benutzer und deren Login-Namen aufgelistet. Der Login-Name ist zugleich das initiale Kennwort.'); echo '<form action=index.php name=creationResults style="margin:0px;padding:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;padding:0px;margin:0px;">'; echo '<tr><td colspan=3><div class=description>Folgende Benutzer wurden erfolgreich erstellt:</td></tr>'; $counter = 1; foreach ($this->userCreated as $data) { if ($counter % 2 == 0) { echo '<tr><td style="width:140px;text-align:left;background-color:#ffffff;"><div class=searchResultItem><a href=# onclick="javascript:document.creationResults.userSelect.value=\'' . $data['login'] . '\';document.creationResults.submit();">' . $data['login'] . '</a></div></td><td class=text style="width:150px;background-color:#ffffff;">' . $data['name'] . '</td></tr>'; } else { echo '<tr><td style="width:140px;text-align:left;background-color:#d7d7ff;"><div class=searchResultItem><a href=# onclick="javascript:document.creationResults.userSelect.value=\'' . $data['login'] . '\';document.creationResults.submit();">' . $data['login'] . '</a></div></td><td class=text style="width:150px;background-color:#d7d7ff;">' . $data['name'] . '</td></tr>'; } $counter++; } unset($counter); echo '</table>'; echo '<input type=hidden name=userSelect>';
include_once 'topFrame.php'; ?> </td> </tr> <tr> <td class="navFrame"><?php include_once 'navigationFrame.php'; ?> </td> <td class="mainFrame"> <table class="contentMainTable" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-left:10px;padding-top:10px;vertical-align:top;width:310px;"> <?php boxStart('Gruppe anlegen', 'Um eine neue Gruppe anzulegen, geben Sie hier die benötigten Daten ein. Alle mit einem Sternchen (*) gekennzeichneten Angaben müssen gemacht werden.<br> <br>Beachten Sie bei der Wahl des Gruppennamens bitte, keines der folgenden Symbole zu verwenden:<br> <br>/, \\, @, Komma, Leerzeichen.'); echo '<form name=groupDataForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;">'; //echo '<tr><td colspan=2><div class=description style="width:290px;">Beachten Sie bei der Wahl des Gruppennamens bitte, dass Sie die Sonderzeichen . (Punkt), @ (At), / (Slash), \ (Backslash), , (Komma) und das Leerzeichen nicht verwenden d�rfen!</div></td></tr>'; echo '<tr><td style="width:145px;text-align:left;"><span class=text-bf>Name:</span><span class=obligation>*</span></td><td style="width:145px;text-align:right;"><input class=basicInput type=text name=name></td></tr>'; echo '<tr><td style="width:145px;text-align:left;"><span class=text-bf>Administrator:</span></span><span class=obligation>*</span></td><td style="width:145px;text-align:right;"><input class=basicInput type=text name=owner value=' . $this->standardOwner . '></td></tr>'; echo '<tr><td style="width:145px;text-align:left;vertical-align:top;"><div class=text-bf style="padding-top:5px;">Beschreibung:</div></td><td style="width:145px;text-align:right;"><textarea class=basicInput name=description style="height:60px;"></textarea></td></tr>'; echo '<tr><td style="width:145px;text-align:left;vertical-align:top;padding-top:3px;"><span class=text-bf>Gruppentyp:<span class=obligation>*</span></span></td><td class=text style="width:145px;text-align:left;vertical-align:middle;"><input type=radio name=groupType value=maingroup checked onclick="javascript:setVisibleMode(\'maingroupSelected\');">Hauptgruppe<br><input type=radio name=groupType value=subgroup onclick="javascript:setVisibleMode(\'subgroupSelected\');">Untergruppe</td></tr>'; echo '<tr><td style="width:145px;text-align:left;vertical-align:middle;"><div id=subgroupLabel style="display:none;"><span class=text-bf>Untergruppe von:</span><span class=obligation>*</span></div></td><td align=right style="width:145px;height:20px;"><div id=subgroupSelector style="display:none;">'; if ($this->groupSelect != null) { $activeGroup = $this->groupSelect; } else { $activeGroup = ''; } createMenu('dropdown-search', 'parent', $this->groupList, $activeGroup, array('---'), 100); echo '</div></td></tr>';
echo '<option>'.$groupName.'</option>'; } } echo '</select></td></tr>'; */ echo '<tr><td colspan=2 style="text-align:right;"><button class=basicButton name=userSearch value=true onclick="javascript:document.chooseUser.submit();">suchen</button></td></tr>'; echo '</table>'; echo '<input type=hidden name=cmd value=moveToPool>'; echo '</form>'; boxEnd(); ?> </td> <td class="seperator"><img src="img/one.gif" width="10" height="1"></td> <td style="padding-right:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Ergebnisse der Suche', 'Hier werden die Suchergebnisse aufgelistet. Markieren Sie die gewünschten Benutzer und Bestätigen Sie die Auswahl durch Drücken des Verschieben-Buttons.'); if ($this->groupSelect != null) { if (count($this->results) >= 1) { echo '<form name=deleteForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;padding:0px;margin:0px;">'; echo '<tr><td colspan=3><div class=description>Die Suche in <span class=text-bf>"' . $this->groupSelect . '"</span> lieferte folgende Ergebnisse:</div></td></tr>'; $counter = 1; foreach ($this->results as $key => $value) { if ($counter % 2 == 0) { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#ffffff;padding:0px;margin:0px;"><input class=basicCheckbox type=checkbox id=user_' . $counter . ' name=name' . $counter . ' value=' . $key . '></td><td style="width:120px;text-align:left;background-color:#ffffff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:150px;background-color:#ffffff;">' . $value . '</td></tr>'; } else { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#d7d7ff;padding:0px;margin:0px;"><input class=basicCheckbox type=checkbox id=user_' . $counter . ' name=name' . $counter . ' value=' . $key . '></td><td style="width:120px;text-align:left;background-color:#d7d7ff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:150px;background-color:#d7d7ff;">' . $value . '</td></tr>'; } $counter++; } unset($counter);
include_once 'topFrame.php'; ?> </td> </tr> <tr> <td class="navFrame"><?php include_once 'navigationFrame.php'; ?> </td> <td class="mainFrame"> <table class="contentMainTable" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-left:10px;padding-top:10px;vertical-align:top;width:310px;"> <?php boxStart('Schule anlegen', 'Um eine neue Schule anzulegen, geben Sie einen Schulnamen an, und wählen Sie den Kreis aus, welchem die Schule angehören soll.<br> <br>Zusätzlich können Sie einen Schuladministrator anlegen. Füllen Sie dazu einfach die entsprechenden Felder aus.'); echo '<form name=createSchoolForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;">'; echo '<tr><td style="width:145px;text-align:left;"><div class=text-bf>Schulname:</div></td><td style="width:145px;text-align:right;"><input class=basicInput type=text name=schoolName></td></tr>'; echo '<tr><td style="width:145px;text-align:left;"><div class=text-bf>Kreisauswahl:</div></td><td style="width:145px;text-align:right;"><select class=basicInput name=districtName size=1>'; if ($this->districtList != null) { foreach ($this->districtList as $districtName) { echo '<option value=' . $districtName . '>' . $districtName . '</option>'; } } echo '</select></td></tr>'; echo '<tr><td colspan=2 style="width:290px;text-align:left;padding-top:20px;padding-bottom:10px;"><div class=text>Angaben für einen initialen Schuladministrator:</div></td></tr>'; echo '<tr><td style="width:145px;text-align:left;"><div class=text-bf>Vorname:</div></td><td style="width:145px;text-align:right;"><input class=basicInput type=text name=vorname></td></tr>'; echo '<tr><td style="width:145px;text-align:left;"><div class=text-bf>Nachname:</div></td><td style="width:145px;text-align:right;"><input class=basicInput type=text name=nachname></td></tr>'; echo '<tr><td style="width:145px;text-align:left;"><div class=text-bf>E-Mail:</div></td><td style="width:145px;text-align:right;"><input class=basicInput type=text name=email></td></tr>'; if ($this->status != null and $this->statusMsg != null) {
echo '<option>' . $districtName . '</option>'; } } } echo '</select></td></tr>'; echo '<tr><td colspan=2 style="text-align:right;"><button class=basicButton name=changeDistrict value=true onclick="javascript:document.chooseDistrict.submit();">wählen</button></td></tr>'; echo '</table>'; echo '<input type=hidden name=cmd value=changeSchool>'; echo '</form>'; boxEnd(); ?> </td> <td class="seperator"><img src="img/one.gif" width="10" height="1"></td> <td style="padding-right:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Schulauswahl', 'Klicken Sie einfach auf den gewünschten Schulname und schon wechseln Sie zu dieser Schule.<br> <br>In der oberen linken Ecke dieses Programms wird Ihnen jederzeit der Name der aktuell gewählten Schule angezeigt.'); if ($this->schoolList != null) { echo '<form name=schoolChangeForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;padding:0px;margin:0px;">'; $counter = 1; foreach ($this->schoolList as $schoolname) { if ($counter % 2 == 0) { echo '<tr><td style="width:290px;vertical-align:middle;text-align:left;background-color:#ffffff;padding:0px;margin:0px;"><div class=searchResultItem><a href=# onclick="javascript:document.schoolChangeForm.schoolSelect.value=\'' . $schoolname . '\';document.schoolChangeForm.submit();">' . $schoolname . '</a></div></td></tr>'; } else { echo '<tr><td style="width:290px;vertical-align:middle;text-align:left;background-color:#d7d7ff;padding:0px;margin:0px;"><div class=searchResultItem><a href=# onclick="javascript:document.schoolChangeForm.schoolSelect.value=\'' . $schoolname . '\';document.schoolChangeForm.submit();">' . $schoolname . '</a></div></td></tr>'; } $counter++; } unset($counter); echo '</table>'; echo '<input type=hidden name=cmd value=changeSchool>';
echo '<tr><td colspan=2><div class=warning>' . $this->statusMsg . '</div></td></tr>'; } } echo '<tr><td colspan=2 style="text-align:right;"><button class=basicButton name=changePW value=true onclick="javascript:document.changePWForm.submit();">ändern</button></td></tr>'; echo '</table>'; echo '<input type=hidden name=cmd value=changePassword>'; echo '</form>'; boxEnd(); ?> </td></tr> </table> </td> <td class="seperator"><img src="img/one.gif" width="10" height="1"></td> <td style="padding-right:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Ergebnise der Suche', 'Hier werden die Suchergebnisse aufgelistet. Klicken Sie auf den gewünschten Login-Namen, und dieser wird in das entsprechende Feld automatisch eingetragen.'); if ($this->groupSelect != null) { if (count($this->results) >= 1) { echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;padding:0px;margin:0px;">'; echo '<tr><td colspan=2><div class=description>Die Suche in <span class=text-bf>"' . $this->groupSelect . '"</span> lieferte folgende Ergebnisse:</div></td></tr>'; $counter = 1; foreach ($this->results as $key => $value) { if ($counter % 2 == 0) { echo '<tr><td style="width:140px;text-align:left;background-color:#ffffff;"><div class=searchResultItem><a href=# onclick="javascript:document.changePWForm.name.value=\'' . $key . '\';">' . $key . '</a></div></td><td class=text style="width:150px;background-color:#ffffff;">' . $value . '</td></tr>'; } else { echo '<tr><td style="width:140px;text-align:left;background-color:#d7d7ff;"><div class=searchResultItem><a href=# onclick="javascript:document.changePWForm.name.value=\'' . $key . '\';">' . $key . '</a></div></td><td class=text style="width:150px;background-color:#d7d7ff;">' . $value . '</td></tr>'; } $counter++; } unset($counter); echo '</table>';
echo '<option>' . $groupName . '</option>'; } } } echo '</select></td></tr>'; echo '<tr><td colspan=2 style="text-align:right;"><button class=basicButton name=userSearch value=true onclick="javascript:document.chooseUser.submit();">suchen</button></td></tr>'; echo '</table>'; echo '<input type=hidden name=cmd value=getFromPool>'; echo '</form>'; boxEnd(); ?> </td> <td class="seperator"><img src="img/one.gif" width="10" height="1"></td> <td style="padding-right:10px;padding-top:10px;vertical-align:top;"> <?php boxStart('Ergebnisse der Suche', 'Hier werden die Suchergebnisse aufgelistet. Markieren Sie einfach die gewünschten Benutzer und Bestätigen Sie ihre Auswahl durch den Button.'); if ($this->schoolSelect != null and $this->results != null) { echo '<form name=deleteForm style="padding:0px;margin:0px;">'; echo '<table cellpadding=0 cellspacing=0 border=0 style="width:290px;padding:0px;margin:0px;">'; echo '<tr><td colspan=3><div class=description>Die Suche im <span class=text-bf>"Pool"</span> lieferte folgende Ergebnisse:</div></td></tr>'; $counter = 1; foreach ($this->results as $key => $value) { if ($counter % 2 == 0) { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#ffffff;padding:0px;margin:0px;"><input class=basicCheckbox type=checkbox id=user_' . $counter . ' name=name' . $counter . ' value=' . $key . '></td><td style="width:120px;text-align:left;background-color:#ffffff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:150px;background-color:#ffffff;">' . $value . '</td></tr>'; } else { echo '<tr><td style="width:20px;vertical-align:middle;text-align:center;background-color:#d7d7ff;padding:0px;margin:0px;"><input class=basicCheckbox type=checkbox id=user_' . $counter . ' name=name' . $counter . ' value=' . $key . '></td><td style="width:120px;text-align:left;background-color:#d7d7ff;"><div class=searchResultItem><a href=#>' . $key . '</a></div></td><td class=text style="width:150px;background-color:#d7d7ff;">' . $value . '</td></tr>'; } $counter++; } unset($counter); echo '<tr><td colspan=3 style=""><img src="img/one.gif" width="1" height="5"></td></tr>';