</div> <div class="form-item cf"> <label class="item-label">行为名称<span class="check-tips">(输入行为名称)</span></label> <div class="controls"> <input type="text" class="text input-large" name="title" value="<?php echo $data["title"]; ?> "> </div> </div> <div class="form-item cf"> <label class="item-label">行为类型<span class="check-tips">(选择行为类型)</span></label> <div class="controls"> <select name="type"> <?php $_result = get_action_type(null, true); if (is_array($_result)) { $i = 0; $__LIST__ = $_result; if (count($__LIST__) == 0) { echo ""; } else { foreach ($__LIST__ as $key => $vo) { $mod = $i % 2; ++$i; ?> <option value="<?php echo $key; ?> "><?php echo $vo;
echo $vo["id"]; ?> </td> <td><?php echo $vo["name"]; ?> </td> <td><a href="<?php echo U('editAction?id=' . $vo['id']); ?> "><?php echo $vo["title"]; ?> </a></td> <td><span><?php echo get_action_type($vo['type']); ?> </span></td> <td><?php echo $vo["remark"]; ?> </td> <td><?php echo $vo["status_text"]; ?> </td> <td><a href="<?php echo U('User/editAction?id=' . $vo['id']); ?> ">编辑</a> <a href="<?php
require_once "includes/auditCodesManager.php"; $auditManager = new AuditCodesManager(); if ($_GET["filtertype"] == "object" or $_GET["filtertype"] == "user") { ?> <img src="graph/search.gif" style="vertical-align: middle;" alt="search" /> <span class="searchfield"><input type="text" class="searchfieldreal" style="width : 100px;" name="param" id="param" onkeyup="pushSearch(); return false;" /> <img src="graph/croix.gif" alt="suppression" style="position:relative; top : 3px;" onclick="document.getElementById('param').value =''; pushSearch(); return false;" /> </span> <?php } else { $lst = array(); if ($_GET["filtertype"] == "action") { $lst = get_action_type(1, 0); } else { if ($_GET["filtertype"] == "type") { $lst = get_action_type(0, 1); } } ?> <select style="width:100px; vertical-align: middle;" name="param" id="param" onChange="pushSearch(); return false;"> <?php foreach ($lst as $key => $item) { print "\t<option value=\"" . $lst[$key] . "\" >" . $auditManager->getCode($item) . "</option>\n"; } ?> </select> <?php }