</div> </div> <div class="form-group"> <label class="col-sm-2 control-label">附属表</label> <div class="col-sm-4 input-group"> <input type="text" class="form-control" value="<?php echo $r['attr_table']; ?> " disabled> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">备注</label> <div class="col-sm-4 input-group"> <textarea name="remark" class="form-control" cols="60" rows="3"><?php echo p_htmlentities($r['remark']); ?> </textarea> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">内容页默认模版</label> <div class="col-sm-4 input-group"> <input type="text" name="template" class="form-control" value="<?php echo $r['template']; ?> " style="text-align: right"> <span class="input-group-addon">.html</span> </div> </div> <div class="form-group">
include $this->core_path . $formtype . '/form_setting.php'; } else { include $this->m_path . $formtype . '/form_setting.php'; } ?> </div> </td> </tr> <tr> <td>扩展代码</td> <td class="hidden-phone"> <div class="col-sm-12"> <div class="row"> <div class="col-sm-4"> <input type="text" name="form[ext_code]" value="<?php echo p_htmlentities($r['ext_code']); ?> " size="100" class="input-text form-control" > </div> <div class="col-sm-8"> <span class="tablewarnings">可以通过此处向表单加入任何属性</span> </div> </div> </td> </tr> <tr> <td>字符长度取值范围</td> <td class="hidden-phone"> <div class="col-sm-12"> <div class="row"> <div class="col-sm-2">最小值:
foreach ($result as $r) { ?> <tr> <td><?php echo $r['id']; ?> </td> <td><?php echo $categorys[$r['cid']]['name']; ?> </td> <td><a href="<?php echo $r['url']; ?> " target="_blank"><?php echo p_htmlentities($r['title']); ?> </a></td> <td title="添加时间:<?php echo date('Y-m-d H:i:s', $r['addtime']); ?> "><?php echo time_format($r['updatetime']); ?> </td> <td> <a href="?m=content&f=content&v=view&id=<?php echo $r['id']; ?> &cid=<?php echo $r['cid'];
private function title($field, $value) { $value = p_htmlentities($value); return $value; }
?> ,<?php echo $r['cid']; ?> );"> <div class="task-checkbox"> <?php echo $r['id']; ?> </div> <div class="task-title"> <span class="task-title-sp" title="<?php echo p_htmlentities($r['title']); ?> "><?php echo p_htmlentities(strcut($r['title'], 45)); ?> </span> <div class="pull-right hidden-phone"> <?php echo date('Y/m/d', $r['updatetime']); ?> </div> </div> </li> <?php } ?> <div style="padding: 3px 50px;"><a class="btn btn-default btn-sm pull-left" href="javascript:;" onclick="changepage(<?php echo max(1, $page - 1);
$showdiy = true; continue; } ?> <div class="form-group"> <label class="col-sm-2 col-xs-4 control-label"><?php echo $field; ?> </label> <div class="col-lg-8 col-sm-8 col-xs-8 input-group"> <textarea name="attform[<?php echo $field; ?> ]" style="width: 100%;height: 80px;"><?php echo p_htmlentities($value); ?> </textarea> </div> </div> <?php } } if ($showdiy) { if (is_string($attach['sex'])) { $attach['sex'] = explode(',', trim($attach['sex'], ',')); $attach['age'] = explode(',', trim($attach['age'], ',')); } ?> <div class="form-group"> <label class="col-sm-2 col-xs-4 control-label">子标题</label>