<?php

include($_SERVER["DOCUMENT_ROOT"]."/Site/checkuser.php");

$moduleurl = $moduleurl1;

echo "<br>
		<table width=\"400\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#CCCCCC\">
			<tr>
				<form id=\"form1\" name=\"form1\" method=\"post\" action=\"/Modules/Forum/add_topic.php\">
				<input name=\"path\" type=\"hidden\" id=\"path\" size=\"50\" value=\"".$moduleurl."\"/>
				<td>
				    <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#FFFFFF\">
				        <tr>
				            <td colspan=\"3\" bgcolor=\"#E6E6E6\"><strong>Create New Topic</strong> </td>
				        </tr>
				        <tr>
				            <td width=\"14%\"><strong>Topic</strong></td>
				            <td width=\"2%\">:</td>
				            <td width=\"84%\"><input name=\"topic\" type=\"text\" id=\"topic\" size=\"50\" /></td>
				        </tr>
				        <tr>
				            <td valign=\"top\"><strong>Text</strong></td>
				            <td valign=\"top\">:</td>
				            <td><textarea name=\"detail\" cols=\"50\" rows=\"3\" id=\"detail\"></textarea></td>
				        </tr>
				        <tr>
				            <td>    
				                Write permissions: 
				            </td>
				            <td>
				                <select name=\"writeperm\" size=1>        
				                    <option value=\"any\">Any</option>  
				                    <option value=\"admin\">Admin</option> 
				                    <option value=\"user\">User</option> 
				                </select>
				            </td>
				        </tr>
				        <tr>
				            <td>    
				                Read permissions: 
				            </td>
				            <td>
				                <select name=\"readperm\" size=1>        
				                    <option value=\"any\">Any</option>  
				                    <option value=\"admin\">Admin</option> 
				                    <option value=\"user\">User</option> 
				                </select>
				            </td>
				        </tr>
				        <tr>
				            <td>&nbsp;</td>
				            <td>&nbsp;</td>
				            <td><input type=\"submit\" name=\"Submit\" value=\"Submit\" /> <input type=\"reset\" 
				                    name=\"Submit2\" value=\"Reset\" />
				            </td>
				            <a href=\"".$moduleurl."&uebergabe=0&uebergabe2=0&uebergabe3=0&uebergabe4=0\"><b> - Back - </b></a>
				        </tr>
				    </table>
				</td>
				</form>
			</tr>
		</table>
		<br>";
?>
