webmain/model/inputModel.php
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
class inputClassModel extends Model
{
public function initModel()
{
$this->settable('flow_element');
}
public function getsubtable($modeid,$iszb=1, $hang=1, $ism=0, &$zbshu=1)
{
if($iszb<=0)$iszb=1;
if($hang<=0)$hang=1;
$rows = $this->getall("`mid`='$modeid' and `iszb`=$iszb and `islu`=1",'`isbt`,`fields`,`fieldstype`,`name`','`sort`');
if(!$rows)return '';
$xu = $iszb-1;
$str = '<table class="tablesub" id="tablesub'.$xu.'" style="width:100%;" border="0" cellspacing="0" cellpadding="0">';
$str.='<tr>';
$str.='<td width="10%" nowrap>序号</td>';
$yfsr= array('hidden','fixed');
$yczd= array();
$zlen= 0;
foreach($rows as $k=>$rs){
$zlen++;
$xh = '';
if($rs['isbt']==1)$xh='*';
if(in_array($rs['fieldstype'], $yfsr)){
$yczd[] = $rs['fields'];
continue;
}
$str.='<td nowrap>'.$xh.''.$rs['name'].'</td>';
}
$strm = '<table class="tablesub" id="tablesub'.$xu.'" style="width:100%;" border="0" cellspacing="0" cellpadding="0"><tr style="display:none"><td>{subzbname'.$xu.'}</td></tr>';
$zbshu = $zlen;
$str.='<td width="5%" nowrap>操作</td>';
$str.='</tr>';
$strm1= '';
for($j=0;$j<$hang;$j++){
$str.='<tr>';
$str.='<td>[xuhao'.$xu.','.$j.']</td>';
$yoi =0;
$tstr= '';
foreach($rows as $k=>$rs){
if(in_array($rs['fieldstype'], $yfsr))continue;
$tstr='['.$rs['fields'].''.$xu.','.$j.']';
if(isset($rows[$k+1]) && in_array($rows[$k+1]['fieldstype'], $yfsr)){
$tstr.='['.$rows[$k+1]['fields'].''.$xu.','.$j.']'; //隐藏字段
}
$xh = '';
if($rs['isbt']==1)$xh='*';
$strm1.='<div class="divzb0"><div class="divzb1"><div style="margin-right:8px">'.$xh.''.$rs['name'].'</div></div><div class="divzb2" align="left">'.$tstr.'</div></div>';
$str .='<td>'.$tstr.'</td>';
$yoi++;
}
$str.='<td>{删,'.$xu.'}</td>';
$str.='</tr>';
}
$str.='</table>';
后面还有 18 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
