Просмотр файла modules/padmin/views/index/link_edit.php

Размер файла: 1.67Kb
<div class="title"><?=Lang::get('padmin_ads_add', 'padmin'); ?></div>
<div class="post">
<form action="/padmin/index/link_edit?id=<?=$link['id']?>&amp;save" method="post">
	<?=Lang::get('padmin_ads_url', 'padmin'); ?>:<br/>
	<input type="text" name="link_url" value="<? $link['link']; ?>" /><br/>
	<?=Lang::get('padmin_ads_name', 'padmin'); ?>:<br/>
	<input type="text" name="link_name" value="<? $link['name']; ?>" /><br/>
	<?=Lang::get('padmin_ads_image', 'padmin'); ?>:<br/>
	<input type="text" name="link_image" value="<? $link['image']; ?>" /><br/>
	<?=Lang::get('padmin_ads_type', 'padmin'); ?>:<br/>
	<select name="link_type">
	<option value="1"<?php if($link['type'] == 1): ?> selected="selected"<?php endif; ?>><?=Lang::get('padmin_ads_header_link', 'padmin'); ?></option>
	<option value="2"<?php if($link['type'] == 2): ?> selected="selected"<?php endif; ?>><?=Lang::get('padmin_ads_footer_link', 'padmin'); ?></option>
	</select><br/>
	<?=Lang::get('padmin_ads_redirect', 'padmin'); ?>: <input type="checkbox" name="link_redirect" <?php if($link['redirect'] == 1): ?> checked="checked"<?php endif; ?> /><br/>
	<input type="submit" value="<?=Lang::get('save'); ?>" />
	</form>
</div>
<div class="block">
	<?=System::image('delete.png'); ?> <a href="/padmin/index/link_edit?id=<? $link['id']; ?>&amp;delete"><?=Lang::get('padmin_ads_delete', 'padmin'); ?></a><br/>
	<?=System::image('back.png'); ?> <a href="/padmin/index/ads"><?=Lang::get('padmin_ads_manager', 'padmin'); ?></a><br/>
	<?=System::image('back.png'); ?> <a href="/padmin/index"><?=Lang::get('padmin_title', 'padmin'); ?></a><br/>
	<?=System::image('back.png'); ?> <a href="/"><?=Lang::get('mainpage'); ?></a>
</div>