<?php
$z[0]=Array("field","",43,71);
$z[0][4]['name']="typeurl";
$z[1]=Array("field","",117,146);
$z[1][4]['name']="typename";
$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",157,789);
$z[2][4]['name']="typeid";
$z[2][4]['runphp']="yes";
$z[3]=Array("channel","\r\n       <a href=\"[field:typelink/]\">[field:typename/]</a>\r\n	   ",820,944);
$z[3][4]['type']="son";
$z[3][4]['row']="8";
$z[3][4]['noself']="yes";

?>