                            <form action="{site_admin_url}/event.php" name="events" method="post">
                                <table border="0" cellspacing="0" cellpadding="3">
                                    <tr>
                                        <td align="right"><b>{lang_eventtitle}:</b></td>
                                        <td>
                                            <input type="text" size="48" maxlength="96" name="title" value="{event_title}">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right"><b>{lang_eventtype}:</b></td>
                                        <td>
                                            <select name="event_type">
                                                <option value="">--</option>
                                                {type_options}
                                            </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top"><b>{lang_eventstartdate}:</b></td>
                                        <td>
                                            <select name="start_month">
                                                {startmonth_options}
                                            </select>
                                            /
                                            <select name="start_day">
                                                {startday_options}
                                            </select>
                                            /
                                            <select name="start_year">
                                                {startyear_options}
                                            </select>&nbsp;&nbsp;
                                            <b>{lang_starttime}: </b>
                                            <select name="start_hour">
                                                {starthour_options}
                                            </select>
                                            :
                                            <select name="start_minute">
                                                <option value="00" {startminuteoption1_selected}>00</option>
                                                <option value="15" {startminuteoption2_selected}>15</option>
                                                <option value="30" {startminuteoption3_selected}>30</option>
                                                <option value="45" {startminuteoption4_selected}>45</option>
                                            </select>
                                            <select name="start_ampm">
                                                <option value="am" {startam_selected}>am</option>
                                                <option value="pm" {startpm_selected}>pm</option>
                                            </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top"><b>{lang_eventenddate}:</b></td>
                                        <td>
                                            <select name="end_month">
                                                {endmonth_options}
                                            </select>
                                            /
                                            <select name="end_day">
                                                {endday_options}
                                            </select>
                                            /
                                            <select name="end_year">
                                                {endyear_options}
                                            </select>&nbsp;&nbsp;
                                            <b>{lang_endtime}: </b>
                                            <select name="end_hour">
                                                {endhour_options}
                                            </select>
                                            :
                                            <select name="end_minute">
                                                <option value="00" {endminuteoption1_selected}>00</option>
                                                <option value="15" {endminuteoption2_selected}>15</option>
                                                <option value="30" {endminuteoption3_selected}>30</option>
                                                <option value="45" {endminuteoption4_selected}>45</option>
                                            </select>
                                            <select name="end_ampm">
                                                <option value="am" {endam_selected}>am</option>
                                                <option value="pm" {endpm_selected}>pm</option>
                                            </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right"><b>{lang_alldayevent}:</b></td>
                                        <td><input type="checkbox" name="allday" {allday_checked}></td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top"><b>{lang_location}:</b></td>
                                        <td>
                                            <textarea name="location" cols="45" rows="2">{event_location}</textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right"><b>{lang_addressline1}:</b></td>
                                        <td><input type="text" name="address1" size="36" value="{event_address1}"></td>
                                    </tr>
                                    <tr>
                                        <td align="right"><b>{lang_addressline2}:</b></td>
                                        <td><input type="text" name="address2" size="36" value="{event_address2}"></td>
                                    </tr>
                                    <tr>
                                        <td align="right"><b>{lang_city}:</b></td>
                                        <td><input type="text" name="city" size="36" value="{event_city}"></td>
                                    </tr>
                                    <tr>
                                        <td align="right"><b>{lang_state}:</b></td>
                                        <td>
                                            <select name="state">
                                                {state_options}
                                            </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right"><b>{lang_zipcode}:</b></td>
                                        <td><input type="text" name="zipcode" size="5" maxlength="5" value="{event_zipcode}"></td>
                                    </tr>
                                    <tr>
                                        <td align="right"><b>{lang_eventurl}:</b></td>
                                        <td><input type="text" size="48"  maxlength="96" name="url" value="{event_url}"> {lang_includehttp}</td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top"><b>{lang_eventdescription}:</b></td>
                                        <td><textarea name="description" cols="50" rows="6" wrap="virtual">{event_description}</textarea></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2"><hr></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2"><b>{lang_accessrights}</b></td>
                                    </tr>
                                    <tr>
                                        <td align="right">{lang_owner}:</td>
                                        <td>{owner_username}<input type="hidden" name="owner_id" value="{owner_id}"></td>
                                    </tr>
                                    <tr>
                                        <td align="right">{lang_group}:</td>
                                        <td>
                                            {group_dropdown}
                                        </td>
                                    <tr>
                                    <tr>
                                        <td colspan="2"><b>{lang_permissions}</b>:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2"></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">{lang_permissionskey}</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            {permissions_editor} 
                                        </td>
                                    </tr>
                                    <tr><td>&nbsp;</td></tr>
                                    <tr>
                                        <td colspan="2">
                                            <input type="submit" value="{lang_save}" name="mode"> 
                                            <input type="submit" value="{lang_cancel}" name="mode"> 
                                            <input type="hidden" name="eid" value="{event_id}">
                                            {delete_option}
                                        </td>
                                    </tr>
                                </table>
                            </form>
