mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-14 04:41:58 +01:00
74 lines
2.6 KiB
Smarty
74 lines
2.6 KiB
Smarty
<div id="deleteconfirm-modal" class="modal hide fade">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" role="dialog" aria-hidden="true"><i class="icon-remove"></i></button>
|
|
<h3><?php print $text_confirm; ?> <?php print $text_delete; ?></h3>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p><?php print $text_delete_confirm_message; ?> <span id="name">ERROR</span>?</p>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true"><?php print $text_close; ?></a>
|
|
<a href="index.php?route=search/autosearch&remove=1&id=-1&domain=Error&confirmed=0" class="btn btn-primary" id="id"><?php print $text_delete; ?></a>
|
|
</div>
|
|
</div>
|
|
|
|
<!--form method="get" name="search1" action="index.php?route=search/autosearch" class="form-inline pull-right">
|
|
<div class="input-append">
|
|
<input type="text" name="search" class="input-medium" value="<?php print $search; ?>" />
|
|
<input type="submit" class="btn" value="<?php print $text_search; ?>" />
|
|
</div>
|
|
</form-->
|
|
|
|
<h4><?php print $text_new; ?></h4>
|
|
|
|
<form method="post" name="add1" action="index.php?route=search/autosearch" class="formbottom">
|
|
|
|
<div id="ss1">
|
|
<div class="row">
|
|
<div class="domaincell"><?php print $text_search; ?>:</div>
|
|
<div class="domaincell"><input type="text" class="text span6" name="query" /></div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="domaincell"> </div>
|
|
<div class="domaincell"><input type="submit" class="btn btn-primary" value="<?php print $text_add; ?>" /> <input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<h4><?php print $text_existing; ?></h4>
|
|
|
|
<div class="listarea">
|
|
|
|
<?php if(isset($data) && count($data) > 0){ ?>
|
|
|
|
<div id="ss1">
|
|
<div class="domainrow">
|
|
<div class="domaincell"><?php print $text_search; ?></div>
|
|
<div class="domaincell"> </div>
|
|
</div>
|
|
|
|
<?php foreach($data as $d) { ?>
|
|
<div class="domainrow">
|
|
<div class="domaincell"><?php print $d['query']; ?></a></div>
|
|
<div class="domaincell"><a href="index.php?route=search/autosearch&id=1&domain=<?php print urlencode($d['query']); ?>" class="confirm-delete" data-id="<?php print $d['id']; ?>" data-name="<?php print $d['query']; ?>"><i class="icon-remove-sign"></i> <?php print $text_remove; ?></a></div>
|
|
</div>
|
|
<?php } ?>
|
|
|
|
</div>
|
|
|
|
<?php } else { ?>
|
|
<?php print $text_not_found; ?>
|
|
<?php } ?>
|
|
|
|
</div>
|
|
|
|
|
|
<?php if($remove == 1) { ?>
|
|
<script>Piler.show_message('messagebox1', '<?php print $text_successfully_removed; ?>', 0.85);</script>
|
|
<?php } ?>
|
|
|
|
|