📄 %%0a^0a4^0a41b8cf%%user_message.tpl.html.php
字号:
<?php /* Smarty version 2.6.19, created on 2008-07-29 05:53:26 compiled from user_message.tpl.html */ ?><form action="index.php" method="post" onsubmit="return sbcheck(this);">
<ul class="list">
<li class="head">
<div style="width:60px;" class="right">Pick</div>
<div style="width:300px;text-align:left;" class="right">Mail</div>
<div>User Name</div>
</li>
<?php if ($this->_tpl_vars['users'] == ''): ?>
<li style="padding:50px;text-align:center;color:#007700;">There was no users,Please <a href="index.php?action=user&cate=add">add one</a></li>
<?php else: ?>
<?php unset($this->_sections['fdsamou']);$this->_sections['fdsamou']['name'] = 'fdsamou';$this->_sections['fdsamou']['loop'] = is_array($_loop=$this->_tpl_vars['users']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);$this->_sections['fdsamou']['show'] = true;$this->_sections['fdsamou']['max'] = $this->_sections['fdsamou']['loop'];$this->_sections['fdsamou']['step'] = 1;$this->_sections['fdsamou']['start'] = $this->_sections['fdsamou']['step'] > 0 ? 0 : $this->_sections['fdsamou']['loop']-1;if ($this->_sections['fdsamou']['show']) { $this->_sections['fdsamou']['total'] = $this->_sections['fdsamou']['loop']; if ($this->_sections['fdsamou']['total'] == 0) $this->_sections['fdsamou']['show'] = false;} else $this->_sections['fdsamou']['total'] = 0;if ($this->_sections['fdsamou']['show']): for ($this->_sections['fdsamou']['index'] = $this->_sections['fdsamou']['start'], $this->_sections['fdsamou']['iteration'] = 1; $this->_sections['fdsamou']['iteration'] <= $this->_sections['fdsamou']['total']; $this->_sections['fdsamou']['index'] += $this->_sections['fdsamou']['step'], $this->_sections['fdsamou']['iteration']++):$this->_sections['fdsamou']['rownum'] = $this->_sections['fdsamou']['iteration'];$this->_sections['fdsamou']['index_prev'] = $this->_sections['fdsamou']['index'] - $this->_sections['fdsamou']['step'];$this->_sections['fdsamou']['index_next'] = $this->_sections['fdsamou']['index'] + $this->_sections['fdsamou']['step'];$this->_sections['fdsamou']['first'] = ($this->_sections['fdsamou']['iteration'] == 1);$this->_sections['fdsamou']['last'] = ($this->_sections['fdsamou']['iteration'] == $this->_sections['fdsamou']['total']);?>
<li>
<div style="width:60px;" class="right">
<input type="checkbox" name="ids[]" value="<?php echo $this->_tpl_vars['users'][$this->_sections['fdsamou']['index']][0]; ?>" onclick="choose(this);" />
<!--a href="javascript:void(0);">↓ Add to sending lists</a-->
</div>
<div style="width:300px;text-align:left;" class="right"><?php echo $this->_tpl_vars['users'][$this->_sections['fdsamou']['index']][2]; ?></div>
<div><?php echo $this->_tpl_vars['users'][$this->_sections['fdsamou']['index']][1]; ?></div>
</li>
<?php endfor; endif; ?>
<?php endif; ?>
</ul>
<div style="margin-top:10px;text-align:right;padding-right:20px;"><a href="javascript:void(0);" onclick="checkAll();" title="Select All">check All</a></div>
<div><a href="javascript:void(0);" onclick="if($('sendingForm').style.display==''){$('sendingForm').style.display='none';this.innerHTML='Open Message Form ↓';}else{$('sendingForm').style.display='';this.innerHTML='Close Message Form ↑';}" style="color:#007700;">Open Message Form ↓</a></div>
<table width="100%" border="0" cellspacing="1" cellpadding="8" class="fdsmain" style="display:none;" id="sendingForm">
<tr>
<td width="150" align="right">TITLE * </td>
<td class="editArea"><input type="text" name="title" id="title" style="width:300px;"></td>
</tr>
<tr>
<td width="150" align="right">HTML/TEXT * </td>
<td class="editArea"><?php echo $this->_tpl_vars['html']; ?></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" value=" Send "></td>
</tr>
</table>
<input type="hidden" name="cate" value="send">
<input type="hidden" name="action" value="user">
</form>
<script>function checkAll(){var ids=document.getElementsByName("ids[]");var len=ids.length;for(i=0;i<len;i++){ ids[i].checked=true;ids[i].parentNode.parentNode.className="checked";}}function choose(obj){if(obj.checked){obj.parentNode.parentNode.className="checked";}else{obj.parentNode.parentNode.className="";}}</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -