<?php
$z[0]=Array("arclist","\r\n    <a href=\"[field:arcurl /\" target=\"_blank\" title=\"[field:title /]\"class=\"tt-[field:global.autoindex/]\">[field:title /]</a>&nbsp;&nbsp;&nbsp;&nbsp;\r\n	",134,383);
$z[0][4]['row']="2";
$z[0][4]['titlelen']="36";
$z[0][4]['orderby']="pubdate";
$z[0][4]['orderway']="asc";
$z[0][4]['noflag']="h";
$z[1]=Array("field","",453,475);
$z[1][4]['name']="typelink";
$z[2]=Array("field","\r\n\$ID = @me; \r\n\$sql = \"SELECT * FROM `dede_arctype` WHERE id=\$ID\";\$query = mysql_query(\$sql);\$row=mysql_fetch_array(\$query); \r\n\$relID = \"\$row[reid]\"; \r\nif(\$relID == 0) {\r\n@me = \"<a href='\".\$row['typedir'].\"'>\".\$row['typename'].\"</a>\";\r\n\$url=\$cfg_basehost.\$cfg_cmspath;@me=str_replace('{cmspath}',\r\n \r\n\$url,@me);\r\n}\r\nelse\r\n{\r\n\$sql = \"SELECT * FROM `dede_arctype` WHERE id=\$relID\";\$query = mysql_query(\$sql);\$row=mysql_fetch_array(\$query); \r\n@me = \"<a href='\".\$row['typedir'].\"'>\".\$row['typename'].\"</a>\";\r\n\$url=\$cfg_basehost.\$cfg_cmspath;@me=str_replace('{cmspath}',\$url,@me);\r\n}\r\n",557,1189);
$z[2][4]['name']="typeid";
$z[2][4]['runphp']="yes";
$z[3]=Array("global","",1260,1288);
$z[3][4]['name']="cfg_indexname";
$z[4]=Array("field","\r\n\$ID = @me; \r\n\$sql = \"SELECT * FROM `dede_arctype` WHERE id=\$ID\";\$query = mysql_query(\$sql);\$row=mysql_fetch_array(\$query); \r\n\$relID = \"\$row[reid]\"; \r\nif(\$relID == 0) {\r\n@me = \"<a href='\".\$row['typedir'].\"'>\".\$row['typename'].\"首页</a>\";\r\n\$url=\$cfg_basehost.\$cfg_cmspath;@me=str_replace('{cmspath}',\r\n \r\n\$url,@me);\r\n}\r\nelse\r\n{\r\n\$sql = \"SELECT * FROM `dede_arctype` WHERE id=\$relID\";\$query = mysql_query(\$sql);\$row=mysql_fetch_array(\$query); \r\n@me = \"<a href='\".\$row['typedir'].\"'>\".\$row['typename'].\"首页</a>\";\r\n\$url=\$cfg_basehost.\$cfg_cmspath;@me=str_replace('{cmspath}',\$url,@me);\r\n}\r\n",2088,2732);
$z[4][4]['name']="typeid";
$z[4][4]['runphp']="yes";
$z[5]=Array("channel","\r\n <div class=\"item\"><a href=\"[field:typeurl/]\">[field:typename/]</a></div>                                            \r\n",2740,2982);
$z[5][4]['type']="son";
$z[5][4]['currentstyle']="<div class='item cu' ><a href='~typelink~'> ~typename~</a></div>";

?>