Пример #1
0
">&#10092; Back to redirect list</a>
	</div>

	<form class="form" action="" method="post">
		<div class="input-group">
			<label>Source</label>
			<div class="input-info"><?php 
    echo strip_tags(formatEmails($source, FRONTEND_EMAIL_SEPARATOR_TEXT));
    ?>
</div>
		</div>

		<div class="input-group">
			<label>Destination</label>
			<div class="input-info"><?php 
    echo strip_tags(formatEmails($destination, FRONTEND_EMAIL_SEPARATOR_TEXT));
    ?>
</div>
		</div>

		<div class="input-group">
			<label>Do you realy want to delete this redirect?</label>
			<div class="input">
				<select name="confirm" autofocus required>
					<option value="no">No!</option>
					<option value="yes">Yes!</option>
				</select>
			</div>
		</div>

		<div class="buttons">
Пример #2
0
			<th>Destination</th>
			<th></th>
			<th></th>
		<tr>
	</thead>
	<tbody>
	<?php 
while ($row = $result->fetch_assoc()) {
    ?>
		<tr>
			<td><?php 
    echo strip_tags(formatEmails($row[DBC_ALIASES_SOURCE], FRONTEND_EMAIL_SEPARATOR_TEXT));
    ?>
</td>
			<td><?php 
    echo strip_tags(formatEmails($row[DBC_ALIASES_DESTINATION], FRONTEND_EMAIL_SEPARATOR_TEXT));
    ?>
</td>
			<td>
				<a href="<?php 
    echo url('admin/editredirect/?id=' . $row[DBC_ALIASES_ID]);
    ?>
">[Edit]</a>
			</td>
			<td>
				<a href="<?php 
    echo url('admin/deleteredirect/?id=' . $row[DBC_ALIASES_ID]);
    ?>
">[Delete]</a>
			</td>
		</tr>