<?php
$z[0]=Array("field","",45,74);
$z[0][4]['name']="typename";
$z[1]=Array("php","\r\n\$thisid = \$refObj->Fields['id'];\r\n\$dsql->SetQuery(\"Select * from `dede_arctype` where reid=\".\$thisid.\" ORDER BY sortrank\");\r\n\$dsql->Execute();\r\n\$i=0;\r\nwhile(\$arr = \$dsql->getArray()){\r\n\$i = \$i +1;\r\n\$str = implode(',',\$arr);\r\nif(!empty(\$str) && \$i==1){\r\n echo '<ul class=\"cate-list\">'; \r\n}\r\n}\r\n",83,399);
$z[2]=Array("channel","\r\n<li><span class=\"cate-sub-title\"><a href=\"[field:typelink/]\">[field:typename/]</a></span></li>\r\n",401,552);
$z[2][4]['type']="son";
$z[2][4]['noself']="yes";
$z[3]=Array("php","\r\n\$thisid = \$refObj->Fields['id'];\r\n\$dsql->SetQuery(\"Select * from `dede_arctype` where reid=\".\$thisid.\" ORDER BY sortrank\");\r\n\$dsql->Execute();\r\n\$i=0;\r\nwhile(\$arr = \$dsql->getArray()){\r\n\$i = \$i +1;\r\n\$str = implode(',',\$arr);\r\n}\r\nif(!empty(\$str)) echo '</ul>';\r\n",554,837);

?>