remove.tpl 2.76 KB
{include file="tpl/header.tpl"}

<div id="wrapper">
	{include file="tpl/admin_sidebar_wrapper.tpl"}

	<!-- menu tray -->
	<div class="container-fluid" id="menu-tray">
		<div class="col-xs-12">
			<a href="#menu-toggle" id="menu-toggle"><i class="fa fa-bars fa-2x icon pull-left"></i></a>
		</div>
	</div>

	<div id="page-content-wrapper">
		<div class="pull-right">
			<!-- In this table we display the date and time (desktop devices only) -->
			<table id="datetime">
				<tr>
					<td id="date-container">
						<span id="day"></span><br><span id="datetime-number">&nbsp;<span id="datum">&nbsp;</span>&nbsp;</span><span id="month">&nbsp;</span>&nbsp;
					</td>
					<td id="time-container">
						<span id="hour">&nbsp;</span>&nbsp;:&nbsp;<span id="minute">&nbsp;</span>
					</td>
				</tr>
			</table>
		</div>

		<div id="container2">
			<h1 id="container2-header">Slimspots Wiki - Remove</h1>
		</div>

		<div class="row">
			<div class="col-lg-12">
				<form class="form-horizontal" method="get" action="remove.php">
					<div class="panel panel-default">
						<div class="panel-heading">Remove</div>
						<div class="panel-body">
							<div class="form-group">
								<label class="col-sm-4 control-label">Remove:</label>
								<div class="col-sm-8">
									<select id="select_option" class="form-control" name="select_option"  data-tags="true" data-placeholder="Choose what you want to remove">
										<option></option>
										<option value="page">Page</option>
										<option value="section">Section</option>
									</select>
								</div>
							</div>

							<div class="methode display-none" id="page">
								<div class="form-group">
									<label class="col-sm-4 control-label">Page to remove:</label>
									<div class="col-sm-8">
										<select class="form-control" name="page_to_remove" id="page_to_remove">
											{foreach from=$db_page_title item=title}
											<option value='{$title}'>{$title}</option>
											{/foreach}
										</select>
									</div>
								</div>
							</div>

							<div class="methode display-none" id="section">
								<div class="form-group">
									<label class="col-sm-4 control-label">Section to remove:</label>
									<div class="col-sm-8">
										<select class="form-control" name="section_to_remove" id="section_to_remove">
											{foreach from=$page_section item=title}
											<option value='{$title}'>{$title}</option>
											{/foreach}
										</select>
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-4">
									<button class="btn dark-blue" type="submit" name="btn_submit">Submit</button>
								</div>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>

{include file="tpl/footer.tpl"}