edit.php
changeset 79 0c0aa144356a
parent 76 0748816801b2
child 82 c255196bc447
equal deleted inserted replaced
78:effde559e0e9 79:0c0aa144356a
   122   	     <select name="newowner">
   122   	     <select name="newowner">
   123   			<?php
   123   			<?php
   124   			$users = show_users();
   124   			$users = show_users();
   125   			foreach ($users as $u)
   125   			foreach ($users as $u)
   126   			{
   126   			{
   127   				unset($add);
   127   				$add = '';
   128   				if ($u["id"] == $info["ownerid"])
   128   				if ($u["id"] == $info["ownerid"])
   129   				{
   129   				{
   130   					$add = " SELECTED";
   130   					$add = " SELECTED";
   131   				}
   131   				}
   132   				?>
   132   				?>
   153 	    <td>
   153 	    <td>
   154 	     <select name="newtype">
   154 	     <select name="newtype">
   155 <?php
   155 <?php
   156 	foreach($server_types as $s)
   156 	foreach($server_types as $s)
   157 	{
   157 	{
   158 		unset($add);
   158 		$add = '';
   159 		if ($s == $domain_type)
   159 		if ($s == $domain_type)
   160 		{
   160 		{
   161 			$add = " SELECTED";
   161 			$add = " SELECTED";
   162 		}
   162 		}
   163 ?>
   163 ?>