⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 %%-19^%%-1908630889^botlist.tpl.php

📁 flashget43的源代码 一个比较常用的下载程序
💻 PHP
字号:
<?php /* Smarty version 2.6.2, created on 2005-09-20 19:46:46         compiled from botlist.tpl */ ?><?php $this->assign('title', 'Bots'); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;$this->_smarty_include(array('smarty_include_tpl_file' => "top.tpl", 'smarty_include_vars' => array()));$this->_tpl_vars = $_smarty_tpl_vars;unset($_smarty_tpl_vars); ?>

<center>
	<h4>Bots</h4>
<?php if ($this->_tpl_vars['enableBots']): ?>	
	<form name="botlist" id="botlist" action="botlist.php" method="post">
		<input type="hidden" id="sort" name="sort" value="none">
	</form>		
	<a href="bot.php?id=0">Add new bot</a><br>
	<br>
<?php if ($this->_tpl_vars['botnames']): ?>
	<table border="1" cellpadding="2">
		<tr>
			<th><a href="javascript:my_getbyid('sort').value = 'login'; my_getbyid('botlist').submit()">Bot Name</a></th>
			<th>Delete</th>
		</tr>
	<?php if (count($_from = (array)$this->_tpl_vars['botnames'])):    foreach ($_from as $this->_tpl_vars['bot']):?>
		<?php $this->assign('on_click', "javascript: decision('Do you really want delete the bot?','botlist.php?id=".($this->_tpl_vars['bot']['id'])."')"); ?>
		<tr>
			<td><a href="bot.php?id=<?php echo $this->_tpl_vars['bot']['id']; ?>"><?php echo $this->_tpl_vars['bot']['login']; ?></a></td>
			<td align="center">
				<input type="Button" class="submit" onclick="<?php echo $this->_tpl_vars['on_click']; ?>" value="  del  ">
			</td>			
		</tr>
	<?php endforeach; unset($_from); endif; ?>
	</table>
<?php else: ?>
	No bots found
<?php endif; ?>
<?php else: ?>
<p align="left">
The bot feature is currently disabled. To enable bot support, set 'enableBots' to true in your /inc/config.php file.
You may need to re-run the FlashChat installer to add the necessary knowledge bases, too.
</p>
<?php endif; ?>
</center>
<?php $_smarty_tpl_vars = $this->_tpl_vars;$this->_smarty_include(array('smarty_include_tpl_file' => "bottom.tpl", 'smarty_include_vars' => array()));$this->_tpl_vars = $_smarty_tpl_vars;unset($_smarty_tpl_vars); ?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -